ZTE MF825C Telecom Edition
After plugging in the USB card
#lsusb
19d2:1225 (bus 1, device 3)
0000:0000 (bus 1, device 1)
The network card will automatically convert the mode
#lsusb
19d2:1405 (bus 1, device 3)
0000:0000 (bus 1, device 1)
Select the driver module on the kernel that supports it
650) this.width=650; "title=" 6631901195513482161.jpg "src=" https://s4.51cto.com/wyfs02/M00/06/97/ Wkiom1m6dwpbhu-8aajilodb2ta997.jpg-wh_500x0-wm_3-wmp_4-s_618864094.jpg "alt=" Wkiom1m6dwpbhu-8aajilodb2ta997.jpg-wh_50 "/>
Make sure that all three modules have Rndis_host.ko,cdc_ether.ko,usbnet.ko and then add drivers
#modprobe Rndis_host
The corresponding modules are mounted based on dependencies
Rndis_host 6048 0
Cdc_ether 4992 1 Rndis_host
Usbnet 14160 2 Rndis_host,cdc_ether
#ifconfig-A
Usb0 Link encap:ethernet HWaddr 36:4b:50:b7:ef:61
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:4923 errors:0 dropped:0 overruns:0 frame:0
TX packets:6229 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1287334 (1.2 mib) TX bytes:1315840 (1.2 mib)
If the driver is not a problem, you will see Usb0 's virtual network card
#ifconfig usb0 up
#udhcpc-I. usb0 -s/sbin/udhcpc.sh-p/var/run/udhcpc.pid
UDHCPC (v1.12.1) started
Sending Select for 192.168.0.133 ...
Lease of 192.168.0.133 obtained, Lease time 86400
deleting routers
Route:ioctl 0x890c Failed:no Such process
Adding DNS 192.168.0.1
Igmpproxy, Version 0.1 Beta2, Build 160601
Copyright 2005 by Johnny Egeland <[email protected]>
#ifconfig usb0
Usb0 Link encap:ethernet HWaddr 36:4b:50:b7:ef:61
inet addr:192.168.0.133 bcast:192.168.0.255 mask:255.255.255.0
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4726 (4.6 KiB) TX bytes:5766 (5.6 KiB)
#ping www.baidu.com
PING www.baidu.com (220.181.112.244): Data bytes
Bytes from 220.181.112.244:seq=0 ttl=52 time=57.345 ms
Bytes from 220.181.112.244:seq=1 ttl=52 time=53.074 ms
Bytes from 220.181.112.244:seq=2 ttl=52 time=49.176 ms
To this OK.
This article is from the "Linux_woniu" blog, make sure to keep this source http://llu1314.blog.51cto.com/5925801/1965269
Embedded Linux under MF825C Internet