Hi,
i’ve been struggling for a few hours now to get data through a 4g dongle & the router AR300M to ubuntu clients.
- I can tether through the router with a phone & the same sim card out of the box
- I can use the dongle plugged in my ubuntu computers (just by setting the APN)
But I can’t get the dongle to connect when plugged in the router. It kinna of connect sometimes (i see an IP in luci & the firmware) & lets a few kb through but hangs very quickly.
The dongle is recognized by the router, always in “connecting to internet” status until it connects and quickly drops the connection to get back to “connecting to internet status”.
root@GL-AR300M:~# gcom -d /dev/ttyUSB0
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "Cdiscount mob",7
Signal Quality: 25,99
root@GL-AR300M:~# logread
Tue Nov 13 18:04:37 2018 kern.err kernel: [ 1476.778929] hub 1-1:1.0: hub_hub_status failed (err = -71)
Tue Nov 13 18:04:37 2018 kern.err kernel: [ 1476.784614] hub 1-1:1.0: config failed, can't get hub status (err -71)
Tue Nov 13 18:04:37 2018 kern.info kernel: [ 1476.805931] usb 1-1: USB disconnect, device number 32
Tue Nov 13 18:04:37 2018 kern.info kernel: [ 1477.096707] usb 1-1: new high-speed USB device number 33 using ehci-platform
Tue Nov 13 18:04:38 2018 kern.info kernel: [ 1477.546702] usb 1-1: new high-speed USB device number 34 using ehci-platform
Tue Nov 13 18:04:38 2018 kern.err kernel: [ 1477.812900] usb 1-1: device descriptor read/all, error -71
Tue Nov 13 18:04:53 2018 daemon.warn pppd[8925]: Could not determine remote IP address: defaulting to 10.64.64.64
Tue Nov 13 18:04:53 2018 daemon.err miniupnpd[6692]: Failed to get IP for interface 3g-modem
Tue Nov 13 18:04:53 2018 daemon.warn miniupnpd[6692]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Tue Nov 13 18:04:53 2018 daemon.err miniupnpd[6692]: Failed to get IP for interface 3g-modem
Tue Nov 13 18:04:53 2018 daemon.warn miniupnpd[6692]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Tue Nov 13 18:04:53 2018 daemon.err miniupnpd[6692]: Failed to get IP for interface 3g-modem
Tue Nov 13 18:04:53 2018 daemon.warn miniupnpd[6692]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Tue Nov 13 18:04:48 2018 daemon.notice netifd: Interface 'modem' is setting up now
Tue Nov 13 18:04:50 2018 daemon.notice pppd[8925]: pppd 2.4.7 started by root, uid 0
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: abort on (BUSY)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: abort on (NO CARRIER)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: abort on (ERROR)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: report (CONNECT)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: timeout set to 10 seconds
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: send (AT&F^M)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: expect (OK)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: AT&F^M^M
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: OK
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: -- got it
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: send (ATE1^M)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: expect (OK)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: ^M
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: ATE1^M^M
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: OK
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: -- got it
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: send (AT+CGDCONT=1,"IP","fnetnrj"^M)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: timeout set to 30 seconds
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: expect (OK)
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: ^M
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: AT+CGDCONT=1,"IP","fnetnrj"^M^M
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: OK
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: -- got it
Tue Nov 13 18:04:51 2018 local2.info chat[8965]: send (ATD*99#^M)
Tue Nov 13 18:04:52 2018 local2.info chat[8965]: expect (CONNECT)
Tue Nov 13 18:04:52 2018 local2.info chat[8965]: ^M
Tue Nov 13 18:04:52 2018 local2.info chat[8965]: ATD*99#^M^M
Tue Nov 13 18:04:52 2018 local2.info chat[8965]: CONNECT
Tue Nov 13 18:04:52 2018 local2.info chat[8965]: -- got it
Tue Nov 13 18:04:52 2018 local2.info chat[8965]: send ( ^M)
Tue Nov 13 18:04:52 2018 daemon.info pppd[8925]: Serial connection established.
Tue Nov 13 18:04:52 2018 daemon.info pppd[8925]: Using interface 3g-modem
Tue Nov 13 18:04:52 2018 daemon.notice pppd[8925]: Connect: 3g-modem <--> /dev/ttyUSB0
Tue Nov 13 18:04:52 2018 kern.info kernel: [ 1491.509680] 3g-modem: renamed from ppp0
Tue Nov 13 18:04:53 2018 daemon.warn pppd[8925]: Could not determine remote IP address: defaulting to 10.64.64.64
Tue Nov 13 18:04:53 2018 daemon.err miniupnpd[6692]: Failed to get IP for interface 3g-modem
Tue Nov 13 18:04:53 2018 daemon.warn miniupnpd[6692]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Tue Nov 13 18:04:53 2018 daemon.err miniupnpd[6692]: Failed to get IP for interface 3g-modem
Tue Nov 13 18:04:53 2018 daemon.warn miniupnpd[6692]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Tue Nov 13 18:04:53 2018 daemon.err miniupnpd[6692]: Failed to get IP for interface 3g-modem
Tue Nov 13 18:04:53 2018 daemon.warn miniupnpd[6692]: SendNATPMPPublicAddressChangeNotification: cannot get public IP address, stopping
Someone saves me please !