I’m trying to connect a box with a MC7455 card in it to internet, I use Gobi drivers after many issues with qmi_wwan.
I connected the modem to my Provider and succesfully send messages
~$ sudo mmcli -m 0 --simple-connect=“apn=mmsbouygtel.com”
successfully connected the modem
~$ sudo mmcli -b 0
Bearer ‘/org/freedesktop/ModemManager1/Bearer/0’
Status | connected: ‘yes’
| suspended: ‘no’
| interface: ‘ttyUSB2’
| IP timeout: ‘20’
Properties | apn: ‘mmsbouygtel.com’
| roaming: ‘allowed’
| IP type: ‘none’
| user: ‘none’
| password: ‘none’
| number: ‘none’
| Rm protocol: ‘unknown’
IPv4 configuration | method: ‘ppp’
| address: ‘unknown’
| prefix: ‘0’
| gateway: ‘unknown’
| DNS: none
IPv6 configuration | method: ‘unknown’
Stats | Duration: ‘0’
| Bytes received: ‘N/A’
| Bytes transmitted: ‘N/A’
Then I use pppd to connect to my primary port :
~$ sudo pppd -d -detach /dev/ttyUSB2
using channel 2
Using interface ppp0
Connect: ppp0 <–> /dev/ttyUSB2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2e6af910> ]
rcvd [LCP ConfReq id=0x4 <asyncmap 0x0> <magic 0xfe8ac0d6> ]
sent [LCP ConfNak id=0x4 ]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x2e6af910> ]
rcvd [LCP ConfReq id=0x5 <asyncmap 0x0> <magic 0xfe8ac0d6> ]
sent [LCP ConfAck id=0x5 <asyncmap 0x0> <magic 0xfe8ac0d6> ]
sent [LCP EchoReq id=0x0 magic=0x2e6af910]
sent [PAP AuthReq id=0x1 user="" password=]
rcvd [LCP DiscReq id=0x6 magic=0xfe8ac0d6]
rcvd [LCP EchoRep id=0x0 magic=0xfe8ac0d6 2e 6a f9 10]
rcvd [PAP AuthAck id=0x1 “”]
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [LCP ProtRej id=0x7 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Protocol-Reject for ‘Compression Control Protocol’ (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x3 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x4 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
rcvd [IPCP ConfReq id=0x0]
sent [IPCP ConfNak id=0x0 <addr 0.0.0.0>]
rcvd [IPCP ConfRej id=0x4 <compress VJ 0f 01> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14>]
rcvd [IPCP ConfReq id=0x1]
sent [IPCP ConfAck id=0x1]
rcvd [IPCP ConfNak id=0x5 <addr 10.212.215.109> <ms-dns1 62.201.129.99> <ms-dns2 62.201.159.99>]
sent [IPCP ConfReq id=0x6 <addr 10.212.215.109> <ms-dns1 62.201.129.99> <ms-dns2 62.201.159.99>]
rcvd [IPCP ConfAck id=0x6 <addr 10.212.215.109> <ms-dns1 62.201.129.99> <ms-dns2 62.201.159.99>]
Could not determine remote IP address: defaulting to 10.64.64.64
local IP address 10.212.215.109
remote IP address 10.64.64.64
primary DNS address 62.201.129.99
secondary DNS address 62.201.159.99
Script /etc/ppp/ip-up started (pid 2148)
Script /etc/ppp/ip-up finished (pid 2148), status = 0x0
ifconfig returns
~$ ifconfig
enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet * netmask 255.255.255.0 broadcast *
inet6 * prefixlen 64 scopeid 0x20
ether * txqueuelen 1000 (Ethernet)
RX packets 801 bytes 71305 (71.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 276 bytes 40923 (40.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xdf300000-df320000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Boucle locale)
RX packets 336 bytes 24868 (24.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 336 bytes 24868 (24.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.212.215.109 netmask 255.255.255.255 destination 10.64.64.64
ppp txqueuelen 3 (Protocole Point-à-Point)
RX packets 5 bytes 38 (38.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 6 bytes 65 (65.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.0.1 netmask 255.255.255.0 broadcast 10.10.0.255
inet6 fe80::6f0:21ff:fe1d:78a9 prefixlen 64 scopeid 0x20
ether 04:f0:21:1d:78:a9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22 bytes 2108 (2.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
But if I bring ethernet down and try to ping 8.8.8.8 it doesn’t work
I m newbie in this domain so an help would be nice