Posted: Thu Apr 16, 2020 8:49 Post subject: Linksys WRT3200ACM help bug
Hello,
I have enabled USB Tether following the guide (https://wiki.dd-wrt.com/wiki/index.php/Cellular_Phone/USB_Modem_as_WAN_connection ) on the wiki and it almost works. I'm having two issues and I don't know if they are related:
1. When I boot the router, even if I set the commands on startup it doesn't work and I have to manually ssh inside it and run commands manually)
2. Randomly it doesn't work anymore, last time it happenede I watched at logs and got this:
Some more info: I just bought the router and just installed last available beta build of DD-WRT (Firmware: DD-WRT v3.0-r42872 std (04/10/20). If you need more info just ask, thanks.
Do you have a sleep timer set before the startup commands? A new build is out.
If you decide to upgrade first remove the startup commands, save, disconnect USB then reboot or power cycle.
Yes, I have a sleep timer set between some commands, I will try to put it before all commands. Going to upgrade right now, let's see what happens, thanks.
UPDATE:
Upgraded.
Ok, regarding the first issue, it seems I have solved with a big "sleep 60" before any command, but I did just one reboot, so let's see.
After about one hour, it stopped working, this time I can't see any crash:
Code:
Apr 16 12:48:13 DD-WRT daemon.info hostapd: ath0: STA a8:9c:ed:35:7b:8b IEEE 802.11: authenticated
Apr 16 13:27:59 DD-WRT daemon.info hostapd: ath1: STA 1c:87:2c:b6:45:32 IEEE 802.11: disassociated
Apr 16 13:27:59 DD-WRT kern.debug kernel: [ 3621.468083] ieee80211 phy1: staid 1 deleted
Apr 16 13:28:00 DD-WRT daemon.info hostapd: ath1: STA 1c:87:2c:b6:45:32 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Apr 16 13:29:35 DD-WRT daemon.debug ntpclient[3461]: Connecting to 2.pool.ntp.org [212.45.144.206] ...
Apr 16 13:29:35 DD-WRT daemon.info hostapd: ath0: STA a8:9c:ed:35:7b:8b WPA: group key handshake completed (WPA)
Apr 16 13:29:34 DD-WRT daemon.info ntpclient[3461]: Time set from 2.pool.ntp.org [212.45.144.206].
Apr 16 13:29:34 DD-WRT daemon.info process_monitor[2447]: cyclic NTP Update success (servers 2.pool.ntp.org 212.18.3.19 88.99.174.22)
It seems it stopped working after this line, but there is no track on the log of anything.
Any hint on what's happening? The client can still connect to wifi, but I can't navigate the internet anymore, even if I manually execute the USB tether steps. I thought it could be related to the Lease Time (since it's 1h), but no idea.
Wireless Nodes
Clients
MAC Address Radioname Interface Uptime TX Rate RX Rate Info Signal Noise SNR Signal Quality
A8:9C:ED:35:7B:8B ath0 0:02:08 86M 54M VHT20SGI 0 -107 107
100%
1C:87:2C:B6:45:32 ath1 0:05:07 216M 1M HT20SGI 0 -109 109
100%
Code:
DHCP Clients
Hostname IP Address MAC Address Client Lease Expiration Delete
Mi9T-TelefonoMi 192.168.1.132 A8:9C:ED:35:7B:8B 0 days 23:58:14
Code:
Active Clients
Hostname IP Address MAC Address Interface Connections Ratio [32768]
Mi9T-TelefonoMi 192.168.1.132 A8:9C:ED:35:7B:8B br0 18
0%
* 192.168.42.129 FA:B8:BD:A8:2F:C8 usb0 0
0%
* 192.168.1.114 1C:87:2C:B6:45:32 br0 67
0%
Lease time was already set to 1440, so no, my fault.
I was referring to WAN lease, which I don't know where to modify:
Code:
WAN
Configuration Type
Connection TypeAutomatic Configuration - DHCP
Connection Uptime0:08:15
IP Address192.168.42.101
Subnet Mask255.255.255.0
Gateway192.168.42.129
DNS 11.1.1.1
DNS 21.0.0.1
DNS 38.8.8.8
Remaining Lease Time0 days 00:51:43
I tought I could start as it is now and then by script switching to static IP (with the IP assigned by the USB mobile phone), would it work? Or I'd have the same problem when time to renew the lease?
I didn't, I will try it if the current trial fails. I have added a ping every 30 minutes to the startup commands and I'm still connected (the lease renewed), let's see for some more hours. Thanks for your help.
Any idea of what's happening? Maybe something related to ttraff committing data? I have tried running nvram commit from SSH, but nothing happens, so I don't think.