1、插入中兴的3G无线网卡,终端上显示如下内容:
~ >: usb 1-1.3: new full speed USB device number 11 using s3c2410-ohci
usb 1-1.3: New USB device found, idVendor=19d2, idProduct=2000
usb 1-1.3: New USB device strings: Mfr=2, Product=1, SerialNumber=3
usb 1-1.3: Product: ZTE CDMA Technologies MSM
usb 1-1.3: Manufacturer: ZTE,Incorporated
usb 1-1.3: SerialNumber: 1234567890ABCDEF
scsi3 : usb-storage 1-1.3:1.0
scsi 3:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 2
scsi 3:0:0:0: Attached scsi generic sg0 type 5
。 。 。
5、~ >: ip route show
default via 192.168.1.1 dev eth0
10.64.64.64 dev ppp0 src 10.140.180.254
192.168.1.0/24 dev eth0 src 192.168.1.168
6、~ >: route del default
7、~ >: ip route show
10.64.64.64 dev ppp0 src 10.140.180.254
192.168.1.0/24 dev eth0 src 192.168.1.168
8、~ >: route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
9、~ >: ip route add default dev ppp0
10、~ >: route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp0
10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
10、~ >: ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2): 56 data bytes
64 bytes from 4.2.2.2: seq=0 ttl=49 time=902.492 ms
64 bytes from 4.2.2.2: seq=1 ttl=49 time=337.749 ms
64 bytes from 4.2.2.2: seq=2 ttl=49 time=333.862 ms
--- 4.2.2.2 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 333.862/524.701/902.492 ms
11、~ >: ping www.baidu.com
ping: bad address 'www.baidu.com'
~ >:
12、~ >: ping www.baidu.com
ping: bad address 'www.baidu.com'
~ >: ping www.baidu.com
PING www.baidu.com (115.239.210.27): 56 data bytes
64 bytes from 115.239.210.27: seq=0 ttl=49 time=214.918 ms
64 bytes from 115.239.210.27: seq=1 ttl=49 time=169.642 ms
64 bytes from 115.239.210.27: seq=2 ttl=49 time=178.686 ms
64 bytes from 115.239.210.27: seq=3 ttl=49 time=158.728 ms
--- www.baidu.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 158.728/180.493/214.918 ms
有时候不行有时候行,信号不好。
13、插入RT2070/RT3070无线网卡,显示如下信息。
~ >: usb 1-1.4: new full speed USB device number 5 using s3c2410-ohci
usb 1-1.4: New USB device found, idVendor=148f, idProduct=3070
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4: Product: 802.11 n WLAN
usb 1-1.4: Manufacturer: Ralink
usb 1-1.4: SerialNumber: 1.0