香橙派5B上插入EM05-g(M.2 to USB转接)后,能够枚举串口和usb0网络接口,usb0使能后貌似能够获取ipv6地址,但获取不到ipv4地址。
[ 203.365698] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 203.526235] usb 1-1: New USB device found, idVendor=2c7c, idProduct=030e, bcdDevice= 3.18
[ 203.526323] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 203.526351] usb 1-1: Product: Quectel EM05-G
[ 203.526376] usb 1-1: Manufacturer: Quectel
[ 203.529114] option 1-1:1.0: GSM modem (1-port) converter detected
[ 203.529667] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 203.530360] option 1-1:1.1: GSM modem (1-port) converter detected
[ 203.530870] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 203.531591] option 1-1:1.2: GSM modem (1-port) converter detected
[ 203.532083] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 203.532811] option 1-1:1.3: GSM modem (1-port) converter detected
[ 203.533299] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[ 203.537928] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 203.541149] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing
[ 203.541842] cdc_ether 1-1:1.4 usb0: register ‘cdc_ether’ at usb-fc800000.usb-1, CDC Ethernet Device, c2:13:0193:1f
[ 203.547417] [I/USB_PNP_NOTIFY] UsbPnpNotifyCallback: action=0x1\x0d
[ 203.547498] [I/USB_PNP_NOTIFY] UsbPnpNotifyAddInitInfo:209 i=0, interfaceInfo=0xff-0xff-0xff-0x0\x0d
[ 203.547531] [I/USB_PNP_NOTIFY] UsbPnpNotifyAddInitInfo:209 i=1, interfaceInfo=0xff-0x0-0x0-0x1\x0d
[ 203.547562] [I/USB_PNP_NOTIFY] UsbPnpNotifyAddInitInfo:209 i=2, interfaceInfo=0xff-0x0-0x0-0x2\x0d
[ 203.547592] [I/USB_PNP_NOTIFY] UsbPnpNotifyAddInitInfo:209 i=3, interfaceInfo=0xff-0x0-0x0-0x3\x0d
[ 203.547669] [I/USB_PNP_NOTIFY] UsbPnpNotifyAddInitInfo:209 i=4, interfaceInfo=0x2-0x6-0x0-0x4\x0d
[ 203.547700] [I/USB_PNP_NOTIFY] UsbPnpNotifyAddInitInfo:209 i=5, interfaceInfo=0xa-0x0-0x0-0x5\x0d
[ 203.547978] [I/USB_PNP_NOTIFY] UsbPnpNotifyReportThread: UsbPnpNotifyReportThread start!\x0d
[ 203.548038] [I/USB_PNP_NOTIFY] UsbPnpNotifyHdfSendEvent:375 device information, 3 usbDevAddr=18446743528309749760, devNum=3, busNum=1, infoTable=6-0x2c7c-0x30e!\x0d
ifconfig usb0 up
ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope: Host
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 TX bytes:0
eth0 Link encap:Ethernet HWaddr 36:39:26:33:f4:d7 Driver rk_gmac-dwmac
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 TX bytes:0
Interrupt:87
usb0 Link encap:Ethernet HWaddr c2:13:0193:1f Driver cdc_ether
inet6 addr: fe80::c013:1ff:feab:931f/64 Scope: Link
inet6 addr: 2409:8900:1ae6:527:c013:1ff:feab:931f/64 Scope: Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:520 TX bytes:512