Need help configuration 4g dongle sur AR300M

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 !

Would it be caused by the insufficient power supply?

There is enough power to charge the phone in tethering mode though. Dongle is supposed to use far less power than a smart phone used as modem, isn’t it ?

i’ll test with a 3A charger anyway thanks for suggestion

update : dongle tested with max 3A charger, same error…

Could it be the “service type” setting (in luci) ? in the dropdown, no lte option so i use custom then entered “lte” (i did try with umts for no results either).

anyone using successfully a 4g dongle to share settings with me ?

It is wired. What does the modem model? Here is a list of modem you can choose.

I have a good news from ROOter.

http://www.ofmodemsandmen.com/upload/

pls find firmware for AR300M, both Nand flash and Nor flash version.

I have nand flash model, but i’m not sure which one is which !

→ GO20181113 or 16GO2018… ?

I think it is this one

http://www.ofmodemsandmen.com/upload/gl-ar300m-GO2018-11-13.zip

ok thanks will test asap (not right now though)

the dongle is generic, no brand no model name, searching for the imei, nothing came :

  idVendor           0x05c6 Qualcomm, Inc.
  idProduct          0x6000 Siemens SG75
  • does this mean i have to get my hands dirty to add a config file with the correct settings in ROOter ?

  • i have a doubt: it could be a 3.5g modem sold (with a lie) as LTE. For service type field (in luci) i tried umts & lte but not hspa+. However this service type field is confusing as the list is not exhaustive (not updated since 10years ?!) and it feels as a guessing game which value to enter

  • last but not least i just realised date/time was not properly set on the router, I will fix that, could be a cause as well.

hope i’ll get somewhere, thanks for the help

1 Like

Seems LTE is more popular.

Why? What time is it on your router?