Ubuntu下使用Huawei E261 WCDMA 3G Dongle 上网

Step1: 把E261上USB口后, 在Ubuntu里面检查其驱动有没有成功挂载。 确定后已经成功加载GSM modem驱动。

×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

cacy64@cacy64-ubuntu10:~/work/tools/usbview/usbview$ lsusbBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 002 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB HubBus 001 Device 005: ID 0955:7100 NVidia Corp. Notion Ink AdamBus 001 Device 006: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem

cacy64@cacy64-ubuntu10:~/work/tools/usbview/usbview$dmesg

[17526.218157] usb 1-2: new high-speed USB device number 6 using ehci_hcd[17526.369917] option 1-2:1.0: GSM modem (1-port) converter detected[17526.370330] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0[17526.370618] option 1-2:1.1: GSM modem (1-port) converter detected[17526.370823] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1[17526.371164] option 1-2:1.2: GSM modem (1-port) converter detected[17526.371298] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2[17526.372500] scsi10 : usb-storage 1-2:1.3[17527.374702] scsi 10:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2[17527.376763] sd 10:0:0:0: Attached scsi generic sg3 type 0[17527.395583] sd 10:0:0:0: [sdb] Attached SCSI removable disk[22710.722190] PPP BSD Compression module registered[22710.734466] PPP Deflate Compression module registered

*********************************************************************************************************

Step2:

打开 “Network Connections—–>Mobile Broadband—–>Add”, 如果驱动成功挂载的话, 就能找到HUAWEI Mobile broadband device, 选完后“继续”

选国家信息(China), 然后“继续”

选择SIM卡的运营商。 我没有WCDMA的卡,, 所以用的是移动的SIM. 虽然该3G dongle是WCDMA, 但是可以在2G下使用, 在此处我选的是CM, 如果是WCDMA的话, 选CU:

选择要使用internet(cmnet) 还是WAP(cmwap):

最后确认modem的设置信息, 选择APPLY:

选择apply后有个对话框设置Modem的网络配置。 因为我是在WCDMA上面用移动的SIM卡, 所以, Network ID这边选择了2G(GPRS/EDGE)

移动网络图标出来了, 最后用"ping -c 4 " 来检查网络是否通了。 成功!

Step3: 检查网络:

×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

cacy64@cacy64-ubuntu10:~/work/tools/usbview/usbview$ ifconfig

ppp0 Link encap:Point-to-Point Protocol inet addr:10.86.244.242 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:24 errors:0 dropped:0 overruns:0 frame:0 TX packets:38 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:2919 (2.9 KB) TX bytes:2284 (2.2 KB)

cacy64@cacy64-ubuntu10:~/work/tools/usbview/usbview$ ping -c 10PING (119.75.217.56) 56(84) bytes of data.64 bytes from 119.75.217.56: icmp_req=1 ttl=53 time=179 ms64 bytes from 119.75.217.56: icmp_req=2 ttl=53 time=638 ms64 bytes from 119.75.217.56: icmp_req=3 ttl=53 time=633 ms64 bytes from 119.75.217.56: icmp_req=4 ttl=53 time=656 ms

— ping statistics —10 packets transmitted, 10 received, 0% packet loss, time 52062msrtt min/avg/max/mdev = 179.211/598.980/696.131/141.649 ms

×××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××

人生的大部份时间里,承诺同义词是束缚,奈何我们向往束缚。

Ubuntu下使用Huawei E261 WCDMA 3G Dongle 上网

相关文章:

你感兴趣的文章:

标签云: