Page 1 of 4

GL inet AR150 modem support 1.13.x

Posted: Fri Sep 03, 2021 4:41 am
by ispyisail
Hi all

It appears that 1.13.x has no modem support. Tested 1.12.x and it works fine.

Image

Image

1.12.x

Image

Re: GL inet AR150 modem support 1.13.x

Posted: Fri Sep 03, 2021 6:10 am
by pythonic
For some reason with 1.13.x your modem isn't being identified as a USB CDC device - the logic is in /www/basic.sh starting at line 69 and /www/js/basic.js starting at line 1360.

usb-modeswitch and all the necessary kmods seem to be in the 1.13.x ath79.usb_large config.

What sort of a modem is it?

Re: GL inet AR150 modem support 1.13.x

Posted: Fri Sep 03, 2021 2:38 pm
by ispyisail
Just checked with my C7 (same modem) and it works as expected :(

Image

Image

The modem is Huawei E3372 4G LTE USB Modem

Re: GL inet AR150 modem support 1.13.x

Posted: Fri Sep 03, 2021 11:04 pm
by pythonic
I've just successfully tested a Huawei E8372 (also HiLink) with the MT300Nv2 build I've mentioned elsewhere - showed up just as your E3372 showed up on your C7.

Figuring out why it's not showing up on the AR150 will require looking in the logs and checking the device and interface state using tools like lsusb and ifconfig/ip via SSH, particularly in comparison to what happens with the C7.

Re: GL inet AR150 modem support 1.13.x

Posted: Sat Sep 04, 2021 4:24 am
by Lantis
Can you try

Code: Select all

egrep -Hi "(cdc ethernet control|rndis communications control)" /sys/class/net/*/device/interface
Please?

Re: GL inet AR150 modem support 1.13.x

Posted: Sat Sep 04, 2021 7:04 am
by ispyisail
With the modem plugged in

Code: Select all

BusyBox v1.30.1 () built-in shell (ash)

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.13.X   | OpenWrt 19.07 branch               |
| Gargoyle revision 6326b831| OpenWrt commit ffd4452             |
| Built August 16, 2021     | Target  ath79/usb_large            |
------------------------------------------------------------------
root@Gargoyle:~# egrep -Hi "(cdc ethernet control|rndis communications control)"
 /sys/class/net/*/device/interface
egrep: /sys/class/net/*/device/interface: No such file or directory
root@Gargoyle:~#

Re: GL inet AR150 modem support 1.13.x

Posted: Sat Sep 04, 2021 7:10 am
by ispyisail
root@Gargoyle:~# lsusb
-ash: lsusb: not found
root@Gargoyle:~#

Re: GL inet AR150 modem support 1.13.x

Posted: Sat Sep 04, 2021 8:20 am
by Lantis
Can you try a logread after plugging it in? That directory missing seems to indicate it's not being registered.

Re: GL inet AR150 modem support 1.13.x

Posted: Sat Sep 04, 2021 4:16 pm
by ispyisail
I had a look at the logs but I could see nothing interesting.

I'll have a another look

Re: GL inet AR150 modem support 1.13.x

Posted: Sat Sep 04, 2021 4:21 pm
by ispyisail
I unplug then re-plug and wait for the LED's on the modem

The logread shows nothing.

I'm going to flash back to 1.12 and see what the log read shows.

Code: Select all

Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.142.171.235#53 for domain gopher
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.211.32.162#53 for domain gopher
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 66.244.95.20#53 for domain gopher
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.142.171.235#53 for domain geek
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.211.32.162#53 for domain geek
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 66.244.95.20#53 for domain geek
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.142.171.235#53 for domain fur
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.211.32.162#53 for domain fur
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 66.244.95.20#53 for domain fur
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.142.171.235#53 for domain free
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.211.32.162#53 for domain free
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 66.244.95.20#53 for domain free
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.142.171.235#53 for domain bbs
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 95.211.32.162#53 for domain bbs
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using nameserver 66.244.95.20#53 for domain bbs
Sat Sep  4 23:01:22 2021 daemon.warn dnsmasq[2195]: ignoring nameserver 192.168.11.1 - local interface
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: using 12 more nameservers
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: read /etc/hosts - 5 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/odhcpd - 1 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq-dhcp[2195]: read /etc/ethers - 0 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: read /etc/hosts - 5 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/odhcpd - 1 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Sep  4 23:01:22 2021 daemon.info dnsmasq-dhcp[2195]: read /etc/ethers - 0 addresses
Sat Sep  4 23:01:26 2021 daemon.notice procd: /etc/rc.d/S90ddns_gargoyle: ERROR: No valid dynamic DNS service configurations defined
Sat Sep  4 23:01:26 2021 daemon.notice procd: /etc/rc.d/S90ddns_gargoyle: (Did you specify correct configuration file path?)
Sat Sep  4 23:01:34 2021 daemon.info dnsmasq-dhcp[2195]: DHCPDISCOVER(br-lan) 192.168.59.214 1c:1b:0d:09:b6:95
Sat Sep  4 23:01:34 2021 daemon.info dnsmasq-dhcp[2195]: DHCPOFFER(br-lan) 192.168.11.214 1c:1b:0d:09:b6:95
Sat Sep  4 23:01:34 2021 daemon.info dnsmasq-dhcp[2195]: DHCPREQUEST(br-lan) 192.168.11.214 1c:1b:0d:09:b6:95
Sat Sep  4 23:01:34 2021 daemon.info dnsmasq-dhcp[2195]: DHCPACK(br-lan) 192.168.11.214 1c:1b:0d:09:b6:95 DESKTOP-06FUMOV
Sat Sep  4 23:01:52 2021 user.notice root: vsftpd init: mounted = 0
Sat Sep  4 23:01:52 2021 daemon.notice procd: /etc/rc.d/S90vsftpd: ERROR: No drives attached, no directories to share!
Sat Sep  4 23:01:54 2021 daemon.info procd: - init complete -
Sat Sep  4 23:02:00 2021 cron.err crond[1856]: time disparity of 1114 minutes detected
Sat Sep  4 23:02:01 2021 user.notice firewall: Reloading firewall due to ifup of wan6 (eth1)
Sat Sep  4 23:02:06 2021 user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Sat Sep  4 23:02:18 2021 kern.warn kernel: [  117.219798] xt_bandwidth: timezone shift of 720 minutes detected, adjusting
Sat Sep  4 23:02:18 2021 kern.warn kernel: [  117.225314]                old minutes west=0, new minutes west=-720
Sat Sep  4 23:03:23 2021 authpriv.info dropbear[3900]: Child connection from 192.168.11.214:56719
Sat Sep  4 23:03:29 2021 authpriv.notice dropbear[3900]: Password auth succeeded for 'root' from 192.168.11.214:56719
Sat Sep  4 23:06:12 2021 daemon.info dnsmasq[2195]: read /etc/hosts - 5 addresses
Sat Sep  4 23:06:12 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/odhcpd - 0 addresses
Sat Sep  4 23:06:12 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Sep  4 23:06:12 2021 daemon.info dnsmasq-dhcp[2195]: read /etc/ethers - 0 addresses
Sat Sep  4 23:06:13 2021 daemon.info dnsmasq[2195]: read /etc/hosts - 5 addresses
Sat Sep  4 23:06:13 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/odhcpd - 1 addresses
Sat Sep  4 23:06:13 2021 daemon.info dnsmasq[2195]: read /tmp/hosts/dhcp.cfg01411c - 2 addresses
Sat Sep  4 23:06:13 2021 daemon.info dnsmasq-dhcp[2195]: read /etc/ethers - 0 addresses
Sun Sep  5 00:26:34 2021 authpriv.info dropbear[3900]: Exit (root): Exited normally
Sun Sep  5 03:01:16 2021 daemon.notice netifd: wan (1864): udhcpc: sending renew to 192.168.10.1
Sun Sep  5 03:01:16 2021 daemon.notice netifd: wan (1864): udhcpc: lease of 192.168.10.159 obtained, lease time 28800
Sun Sep  5 03:01:16 2021 user.notice firewall: Reloading firewall due to ifupdate of wan (eth1)
Sun Sep  5 05:01:34 2021 daemon.info dnsmasq-dhcp[2195]: DHCPREQUEST(br-lan) 192.168.11.214 1c:1b:0d:09:b6:95
Sun Sep  5 05:01:34 2021 daemon.info dnsmasq-dhcp[2195]: DHCPACK(br-lan) 192.168.11.214 1c:1b:0d:09:b6:95 DESKTOP-06FUMOV
Sun Sep  5 07:01:16 2021 daemon.notice netifd: wan (1864): udhcpc: sending renew to 192.168.10.1
Sun Sep  5 07:01:16 2021 daemon.notice netifd: wan (1864): udhcpc: lease of 192.168.10.159 obtained, lease time 28800
Sun Sep  5 07:01:17 2021 user.notice firewall: Reloading firewall due to ifupdate of wan (eth1)
Sun Sep  5 08:16:56 2021 authpriv.info dropbear[5019]: Child connection from 192.168.11.214:53399
Sun Sep  5 08:17:04 2021 authpriv.notice dropbear[5019]: Password auth succeeded for 'root' from 192.168.11.214:53399
root@Gargoyle:~#