Hello.
So I managed to connect to UART as suggested.
This is the debugging result (I changed script you sent to have rmnet_data0 instead of rmnet0.
But still something is not working. What IP should I assign to PC ecm interface? I tried the same as was given to LTE, but it doesn’ work.
Regards.
root@swi-mdm9x28-wp:~# iptables -S
-P INPUT DROP
-P FORWARD DROP
-P OUTPUT ACCEPT
-A FORWARD -i rmnet_data0 -o usb0 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i usb0 -o rmnet_data0 -j ACCEPT
root@swi-mdm9x28-wp:~# iptables -L
Chain INPUT (policy DROP)
target prot opt source destination
Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all – anywhere anywhere state RELATED,ESTABLISHED
ACCEPT all – anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# ifconfig
bridge0 Link encap:Ethernet HWaddr F2:DA:9B:D9:EC:50
inet addr:192.168.225.1 Bcast:192.168.225.255 Mask:255.255.255.0
inet6 addr: fe80::f0da:9bff:fed6:e94d%1127227260/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:76 (76.0 B)
ecm0 Link encap:Ethernet HWaddr 6A:84:E1:93:A6:61
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6884:e1ff:fe93:a661%1127227260/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:101 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13628 (13.3 KiB) TX bytes:648 (648.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1127227260/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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
rmnet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:2000 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1152 (1.1 KiB) TX bytes:1464 (1.4 KiB)
rmnet_data0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:192.168.222.4 Mask:255.255.255.248
inet6 addr: fe80::204a:d8f4:53a1:6243%1127227260/64 Scope:Link
UP RUNNING MTU:1500 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1024 (1.0 KiB) TX bytes:1464 (1.4 KiB)
root@swi-mdm9x28-wp:~# cm data
Index: 1
APN: im.hdo
PDP Type: IPV4
Connected: yes
Auth type: PAP
User name: name
Password: passwd
Interface: rmnet_data0
Family[IPv4]: inet
IP[IPv4]: 192.168.222.4
Gateway[IPv4]: 192.168.222.5
Dns1[IPv4]: 185.103.144.3
Dns2[IPv4]: 194.228.175.185