rndis模块 linux,【填坑求精】荔枝派rndis-host驱动合宙4G模块,荔枝派插入WIN/Unbutu识别为Rndis网卡...

#

#     拔掉模块

#

# [ 1059.077876] usb 1-1: USB disconnect, device number 3

[ 1059.083457] rndis_host 1-1:1.0 usb1: unregister 'rndis_host' usb-musb-hdrc.1.auto-1, RNDIS device

[ 1059.098645] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0

[ 1059.106833] option 1-1:1.2: device disconnected

[ 1059.116525] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1

[ 1059.124824] option 1-1:1.3: device disconnected

[ 1059.132794] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2

[ 1059.141145] option 1-1:1.4: device disconnected

[2]+  Done                       cat /dev/ttyUSB1

#

#

#  再次插入

#

#

# [ 1066.278029] usb 1-1: new high-speed USB device number 4 using musb-hdrc

[ 1066.463978] rndis_host 1-1:1.0 usb1: register 'rndis_host' at usb-musb-hdrc.1.auto-1, RNDIS device, 82:06:9b:08:30:76

[ 1066.476685] option 1-1:1.2: GSM modem (1-port) converter detected

[ 1066.484978] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0

[ 1066.493156] option 1-1:1.3: GSM modem (1-port) converter detected

[ 1066.501482] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1

[ 1066.509829] option 1-1:1.4: GSM modem (1-port) converter detected

[ 1066.516747] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2

#

#

# ifconfig -a

lo        Link encap:Local Loopback

inet addr:127.0.0.1  Mask:255.0.0.0

UP LOOPBACK RUNNING  MTU:65536  Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr 7A:B3:77:BF:1D:BC

UP BROADCAST MULTICAST  MTU:1500  Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb1      Link encap:Ethernet  HWaddr 82:06:9B:08:30:76

BROADCAST MULTICAST  MTU:1500  Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

#

#

#

# udhcpc -i usb1

udhcpc: started, v1.27.1

udhcpc: sending discover

udhcpc: sending select for 192.168.43.101

udhcpc: lease of 192.168.43.101 obtained, lease time 86400

deleting routers

adding dns 192.168.43.1

#

#

# ping p***.china***.com

PING p***.china***.com (1**.255.205.19): 56 data bytes

64 bytes from 1**.255.205.19: seq=0 ttl=115 time=60.075 ms

64 bytes from 1**.255.205.19: seq=1 ttl=115 time=59.394 ms

64 bytes from 1**.255.205.19: seq=2 ttl=115 time=57.790 ms

64 bytes from 1**.255.205.19: seq=3 ttl=115 time=67.194 ms

64 bytes from 1**.255.205.19: seq=4 ttl=115 time=66.751 ms

64 bytes from 1**.255.205.19: seq=5 ttl=115 time=66.210 ms

64 bytes from 1**.255.205.19: seq=6 ttl=115 time=65.574 ms

64 bytes from 1**.255.205.19: seq=7 ttl=115 time=65.002 ms

^Z[2]+  Stopped                    ping p***.china***.com

#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值