I am intalling the LTE module in a BananaPi R3. What i did:
- Installed kmod-usb-net-cdc-ether
- Be sure that the mode is ECM
picocom /dev/ttyUSB2
picocom v3.1
port is : /dev/ttyUSB2
flowcontrol : none
baudrate is : 9600
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
AT+QCFG="usbnet",1
OK
AT+CFUN=1,1
OK
- Created wan interface:
network.lte_wan=interface
network.lte_wan.proto='dhcp'
network.lte_wan.device='usb0'
network.lte_wan.metric='1'
firewall.@zone[1].network='wan wan6 lte_wan'
- Check ifconfig:
usb0 Link encap:Ethernet HWaddr 02:0C:29:A3:9B:6D
inet addr:192.168.43.100 Bcast:192.168.43.255 Mask:255.255.255.0
inet6 addr: fe80::c:29ff:fea3:9b6d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:988 (988.0 B) TX bytes:3826 (3.7 KiB)
- Check routes:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 1-181-19-190.fi 0.0.0.0 UG 0 0 0 wan
default 192.168.43.1 0.0.0.0 UG 1 0 0 usb0
190.19.181.0 * 255.255.255.0 U 0 0 0 wan
192.168.3.0 * 255.255.255.0 U 0 0 0 br-lan
192.168.43.0 * 255.255.255.0 U 1 0 0 usb0
192.168.100.0 * 255.255.255.0 U 0 0 0 br-lan
- Ping FAILS:
root@OpenWrt-Controller:~# ping -I usb0 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
dmesg:
[61725.296068] usb 1-2: new high-speed USB device number 22 using xhci-mtk
[61725.763976] usb 1-2: USB disconnect, device number 22
[61733.297953] usb 1-2: new high-speed USB device number 23 using xhci-mtk
[61733.480538] cdc_ether 1-2:1.0 usb0: register 'cdc_ether' at usb-11200000.usb-2, CDC Ethernet Device, 02:0c:29:a3:9b:6d
[61733.492414] option 1-2:1.2: GSM modem (1-port) converter detected
[61733.498805] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[61733.506061] option 1-2:1.3: GSM modem (1-port) converter detected
[61733.512481] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[61733.520781] option 1-2:1.4: GSM modem (1-port) converter detected
[61733.527134] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
Also I tested that the module works on Windows in RNDIS mode (I can browse internet)
Any suggestion to solve this?
Thanks in advance.
Pablo