山东移动的上网卡怎么在linux下用啊?谁有驱动?

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
chuan1105
帖子: 142
注册时间: 2006-07-17 20:10
送出感谢: 0
接收感谢: 0

山东移动的上网卡怎么在linux下用啊?谁有驱动?

#1

帖子 chuan1105 » 2009-03-07 21:40

最近用山东的无线移动上网卡上网,可惜在linux下面不认这个卡
用wine安装驱动后,提示找不到modem设备。谁能提供一下驱动啊?
头像
angus1980
帖子: 15
注册时间: 2007-10-16 20:14
送出感谢: 0
接收感谢: 0

Re: 山东移动的上网卡怎么在linux下用啊?谁有驱动?

#2

帖子 angus1980 » 2009-03-08 15:18

首先运行终端,sudo wvdialconf,
看系统能否识别网卡的驱动。
成功识别的话显示信息如下:
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- +CME ERROR: 3
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- +CME ERROR: 3
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &D2 -- +CME ERROR: 3
ttyACM0<*1>: ATQ0 V1 E1 S0=0 +FCLASS=0 -- +CME ERROR: 3
ttyACM0<*1>: Modem Identifier: ATI -- OK
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0"
上面是检测成功,并且把网卡的相关信息保存在了/etc/wvdial.conf里,然后我们编辑它,
sudo gedit /etc/wvdial.conf
改为如下:
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","cmwap"
Init2 = ATQ0 V1 E1 S0=0
Modem Type = USB Modem
ISDN = 0
New PPPD = yes
Phone = *99***1#*
Modem = /dev/ttyACM0
Username = any
Password = any
Baud = 460800
我的网卡拨号是*99***1#*,是CMWAP包月卡。
修改完成后,使用
sudo wvdial
显示如下信息就成功了:
sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","cmwap"
OK
--> Sending: ATQ0 V1 E1 S0=0
ATQ0 V1 E1 S0=0
OK
--> Modem initialized.
--> Sending: ATDT*99***1#*
--> Waiting for carrier.
ATDT*99***1#*
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Fri Jun 6 22:49:45 2008
--> Pid of pppd: 6258
--> Using interface ppp0
--> pppd: ��[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> pppd: ��[06][08]H�[06][08]
--> local IP address 10.68.65.216
--> pppd: ��[06][08]H�[06][08]
--> remote IP address 221.177.40.163
--> pppd: ��[06][08]H�[06][08]
回复

回到 “网卡问题以及网络和拨号”