Ubuntu 使用电信3G网络
2013-04-14 by dongnan
环境描述
系统版本:Ubuntu 12.04.2 LTS
3G上网卡设备: Huawei ec122
配置网络
路徑:插入上3G上网卡 -> 点击网络连接 -> 选择 Mobile Broadband -> Add 添加,如下圖:
连接网络
成功拨入3G网络,会增加一个 ppp0
虚拟网络设备:
ifconfig ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:1.203.1.224 P-t-P:172.16.126.235 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1380 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1863 (1.8 KB) TX bytes:1859 (1.8 KB)
系统日志:
tail /var/log/messages
Apr 13 13:55:09 dongnan-T6Series pppd[3328]: CHAP authentication succeeded
Apr 13 13:55:09 dongnan-T6Series kernel: [ 240.298995] PPP BSD Compression module registered
Apr 13 13:55:09 dongnan-T6Series kernel: [ 240.314752] PPP Deflate Compression module registered
Apr 13 13:55:09 dongnan-T6Series pppd[3328]: local IP address 1.203.1.224
Apr 13 13:55:09 dongnan-T6Series pppd[3328]: remote IP address 172.16.126.235
Apr 13 13:55:09 dongnan-T6Series pppd[3328]: primary DNS address 219.141.136.10
Apr 13 13:55:09 dongnan-T6Series pppd[3328]: secondary DNS address 219.141.140.10
测试网络
下载ISO镜像文件: