OpenWrt Forum Archive

Topic: davidc502 1900ac 3200acm builds

The content of this topic has been archived between 26 Feb 2018 and 7 May 2018. Unfortunately there are posts – most likely complete pages – missing.

wrt1900ac v1, system stable with 27/12 build, but had initial issues with 2GHz wifi.

The frequent reboots seems to have been solved with the new kernel changes, but now it instead it seems the 2GHz wifi is less stable compared to the 4.4 based build. Wifi is not entirely stable in the 4.4 build either with often loosing connectivity between wifi stations (ethernet<->wifi works), but in the 27/12 build 2GHz wifi (i think, not entirely clear, have the same SSID on both channels) sometimes completely loose network connectivity, not even ARP of the wrt1900ac works. Strangely it seems DHCP do work.

A reboot fixes the wifi in both versions. If it were not for this then the new version would have much higher uptime (currently 6 days).

T-Troll wrote:
adri wrote:

To achieve the same result as the old reghack, you'll need to compile a new regulatory.db yourself and place it in /lib/firmware. sad
This needs to be signed with the same key as was used when building the image, otherwise it will be rejected and fall back to the build-in world domain '00'.
If @davidc502 would make the key, used to sign the regulatory.db, available this is not too difficult.
Otherwise you'll have to compile and generate your own image.

Aha... Thank you, seems like i can make it into play later.

I would also like to have this key provided as I can't use any DFS channels at all. I want to be able to use the upper band of my 5GHz which is currently not possible on my 1900ACS v1

arebokert wrote:

I would also like to have this key provided as I can't use any DFS channels at all. I want to be able to use the upper band of my 5GHz which is currently not possible on my 1900ACS v1

How interesting... Did they block country code change on hardware level as well? If not, just choose less regulated country. If yes... Well, maybe buy 1900acv1 was a bright idea for me.

T-Troll wrote:
arebokert wrote:

I would also like to have this key provided as I can't use any DFS channels at all. I want to be able to use the upper band of my 5GHz which is currently not possible on my 1900ACS v1

How interesting... Did they block country code change on hardware level as well? If not, just choose less regulated country. If yes... Well, maybe buy 1900acv1 was a bright idea for me.

This is what iw reg get returns, no matter if I change the country code in my wifi settings on either radio, it always returns France (I do not live in France btw). As far as I know I need to disable DFS for the upper channels to work.

i.imgur.com/3r601Aq.png

arebokert wrote:
T-Troll wrote:
arebokert wrote:

I would also like to have this key provided as I can't use any DFS channels at all. I want to be able to use the upper band of my 5GHz which is currently not possible on my 1900ACS v1

How interesting... Did they block country code change on hardware level as well? If not, just choose less regulated country. If yes... Well, maybe buy 1900acv1 was a bright idea for me.

This is what iw reg get returns, no matter if I change the country code in my wifi settings on either radio, it always returns France (I do not live in France btw). As far as I know I need to disable DFS for the upper channels to work.

i.imgur.com/3r601Aq.png

@arebokert,

If iw reg get always returns France, than you have a v2 with hardcoded country for the EU and you can't enable the upper band or disable the DFS channels.
The v1 allows you to change the country and iw reg get should return the new country if properly set by you.

@T-Troll,

There is no less regulated country available with enables the upper channels 52-136 without DFS.
The only way is to use reghack2 for older firmware or a new regulatory.db on newer firmware.

adri wrote:
arebokert wrote:
T-Troll wrote:

How interesting... Did they block country code change on hardware level as well? If not, just choose less regulated country. If yes... Well, maybe buy 1900acv1 was a bright idea for me.

This is what iw reg get returns, no matter if I change the country code in my wifi settings on either radio, it always returns France (I do not live in France btw). As far as I know I need to disable DFS for the upper channels to work.

i.imgur.com/3r601Aq.png

@arebokert,

If iw reg get always returns France, than you have a v2 with hardcoded country for the EU and you can't enable the upper band or disable the DFS channels.
The v1 allows you to change the country and iw reg get should return the new country if properly set by you.

@T-Troll,

There is no less regulated country available with enables the upper channels 52-136 without DFS.
The only way is to use reghack2 for older firmware or a new regulatory.db on newer firmware.

I was under the assumption that I had a V1. I will check when I get home.

Either way, DFS should be supported so even if I can't disable it I should be able to pick the upper channels if DFS was actually working right? Problem is that it doesn't work.

This is my log when I try to pick a DFS channel

Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 54:60:09:4f:75:ea
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Jan 16 14:29:41 2018 kern.info kernel: [14856.965456] device wlan0 left promiscuous mode
Tue Jan 16 14:29:41 2018 kern.info kernel: [14856.970022] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:41 2018 kern.debug kernel: [14857.003209] ieee80211 phy0: change: 0x40
Tue Jan 16 14:29:42 2018 kern.debug kernel: [14857.069218] ieee80211 phy0: change: 0x100
Tue Jan 16 14:29:42 2018 daemon.notice netifd: Network device 'wlan0' link is down
Tue Jan 16 14:29:42 2018 daemon.notice netifd: radio0 (26773): command failed: Not supported (-95)
Tue Jan 16 14:29:42 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_multiport is already loaded
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_connmark is already loaded
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_comment is already loaded
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_length is already loaded
Tue Jan 16 14:29:42 2018 kern.debug kernel: [14857.541182] ieee80211 phy0: change: 0xffffffff
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.618091] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.626288] br-lan: port 2(wlan0) entered blocking state
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.631697] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.637208] device wlan0 entered promiscuous mode
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.641957] br-lan: port 2(wlan0) entered blocking state
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.647297] br-lan: port 2(wlan0) entered forwarding state
Tue Jan 16 14:29:42 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Jan 16 14:29:43 2018 daemon.info odhcpd[1487]: Using a RA lifetime of 0 seconds on br-lan
Tue Jan 16 14:29:43 2018 kern.info kernel: [14858.085189] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14862.655407] ieee80211 phy0: change: 0x100
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14862.664485] ieee80211 phy0: change: 0x60
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14862.845091] ieee80211 phy0: change: 0x40
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s
Tue Jan 16 14:29:47 2018 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Tue Jan 16 14:29:47 2018 daemon.err hostapd: Interface initialization failed
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state DFS->DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Jan 16 14:29:47 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14863.025086] ieee80211 phy0: change: 0x60
Tue Jan 16 14:29:48 2018 kern.info kernel: [14863.065121] device wlan0 left promiscuous mode
Tue Jan 16 14:29:48 2018 kern.info kernel: [14863.069623] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:48 2018 kern.debug kernel: [14863.090097] ieee80211 phy0: change: 0x100
Tue Jan 16 14:29:48 2018 daemon.notice hostapd: ELOOP: remaining socket: sock=21 eloop_data=0xb6f746b0 user_data=0 handler=0x36c28
Tue Jan 16 14:29:48 2018 daemon.notice netifd: radio0 (26773): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3350 path ()
Tue Jan 16 14:29:48 2018 kern.debug kernel: [14863.267122] ieee80211 phy0: change: 0xffffffff
Tue Jan 16 14:29:48 2018 kern.info kernel: [14863.341147] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

@davidc502, it appears that the LinkSys team got the Marvel team to fix the android WiFi crash issue with yet another updated driver.  I'd put in the link but I can't seem to get the forum tool to allow a link so I had to remove it but if you search for

WRT3200ACM and WRT32X Firmware update available 1-11-2018

it'll come up.

Any chance a respin of your (most excellent) packaging of OpenWRT for the WRT3200ACM with the new driver is coming soon?

Thank you for all the work you put in to help the rest of us out!

You can just replace the firmware on your rango with the updated 9.3.2.4 BLOB.

arebokert wrote:

I was under the assumption that I had a V1. I will check when I get home.

Either way, DFS should be supported so even if I can't disable it I should be able to pick the upper channels if DFS was actually working right? Problem is that it doesn't work.

This is my log when I try to pick a DFS channel

Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 54:60:09:4f:75:ea
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Jan 16 14:29:41 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Jan 16 14:29:41 2018 kern.info kernel: [14856.965456] device wlan0 left promiscuous mode
Tue Jan 16 14:29:41 2018 kern.info kernel: [14856.970022] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:41 2018 kern.debug kernel: [14857.003209] ieee80211 phy0: change: 0x40
Tue Jan 16 14:29:42 2018 kern.debug kernel: [14857.069218] ieee80211 phy0: change: 0x100
Tue Jan 16 14:29:42 2018 daemon.notice netifd: Network device 'wlan0' link is down
Tue Jan 16 14:29:42 2018 daemon.notice netifd: radio0 (26773): command failed: Not supported (-95)
Tue Jan 16 14:29:42 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_multiport is already loaded
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_connmark is already loaded
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_comment is already loaded
Tue Jan 16 14:29:42 2018 daemon.err modprobe: xt_length is already loaded
Tue Jan 16 14:29:42 2018 kern.debug kernel: [14857.541182] ieee80211 phy0: change: 0xffffffff
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.618091] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.626288] br-lan: port 2(wlan0) entered blocking state
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.631697] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.637208] device wlan0 entered promiscuous mode
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.641957] br-lan: port 2(wlan0) entered blocking state
Tue Jan 16 14:29:42 2018 kern.info kernel: [14857.647297] br-lan: port 2(wlan0) entered forwarding state
Tue Jan 16 14:29:42 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Tue Jan 16 14:29:43 2018 daemon.info odhcpd[1487]: Using a RA lifetime of 0 seconds on br-lan
Tue Jan 16 14:29:43 2018 kern.info kernel: [14858.085189] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:43 2018 daemon.notice hostapd: handle_probe_req: send failed
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14862.655407] ieee80211 phy0: change: 0x100
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14862.664485] ieee80211 phy0: change: 0x60
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14862.845091] ieee80211 phy0: change: 0x40
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state HT_SCAN->DFS
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: DFS-CAC-START freq=5500 chan=100 sec_chan=1, width=1, seg0=106, seg1=0, cac_time=60s
Tue Jan 16 14:29:47 2018 daemon.err hostapd: DFS start_dfs_cac() failed, -1
Tue Jan 16 14:29:47 2018 daemon.err hostapd: Interface initialization failed
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state DFS->DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Tue Jan 16 14:29:47 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Tue Jan 16 14:29:47 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Tue Jan 16 14:29:47 2018 kern.debug kernel: [14863.025086] ieee80211 phy0: change: 0x60
Tue Jan 16 14:29:48 2018 kern.info kernel: [14863.065121] device wlan0 left promiscuous mode
Tue Jan 16 14:29:48 2018 kern.info kernel: [14863.069623] br-lan: port 2(wlan0) entered disabled state
Tue Jan 16 14:29:48 2018 kern.debug kernel: [14863.090097] ieee80211 phy0: change: 0x100
Tue Jan 16 14:29:48 2018 daemon.notice hostapd: ELOOP: remaining socket: sock=21 eloop_data=0xb6f746b0 user_data=0 handler=0x36c28
Tue Jan 16 14:29:48 2018 daemon.notice netifd: radio0 (26773): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3350 path ()
Tue Jan 16 14:29:48 2018 kern.debug kernel: [14863.267122] ieee80211 phy0: change: 0xffffffff
Tue Jan 16 14:29:48 2018 kern.info kernel: [14863.341147] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

It seems the firmware refuses to even do a DFS scan on a WRT1900ACS v2.
My WRT1900ACS v1 completes the scan without any problems, using david's image, but then falsely detects radar signals and switches to a different, non DFS channel after a while.
@yourhalin has refused to fix the DFS problems on older firmware, stating the official Linksys firmware doesn't support DFS, so the open source mwlwifi drivers isn't going to either. sad
So it seems you're out of luck using DFS channels.

@beginner67890 I just had another reboot, and I can tell it is related to at least the processes sleep, tinyproxy and uhttpd (luci). Because I had a crash on all of the three. I dont have other resources running on the router, and if I deactivate all three of the above, the router is stable (20days no reboot, if I enable one of them, reboot will happen in the next days). The moment I use one of these, there is a large probability, it will sooner or later crash/reboot. I honestly dont know what you mean with "I just ran a test to sleep for just 1 second without difficulty" ? Like I said... these processes just rise the probability of a reboot. If I let a sleep 20 script run, the router will reboot in the next x days for sure. If I open Luci maybe 500 times, it will reboot one of the trys. If I use tinyproxy then whatever random time, it will reboot. If I let the router just "be", and have nothing run on it, and it just routes traffic, it is stable. OpenVPN also doesnt add to the instability, which I am using per default and had no instability issues. So my theory is, like I stated before, that it must be a process which is RAM related, whatever reason OpenVPN doesnt seem to be. But sleep, uhtpd and tinyproxy seem to be. Let this sh script run for a week or two and look if it gives any page faults via dmesg.

/root/test.sh &

#!/bin/sh
getStatus() {
  ifconfig | grep $1 >/dev/null && (((ping -4 -c 2 -W 2 -I $1 8.8.8.8 | grep -v '0 packets received' | grep 'packets received') >/dev/null || (ping -4 -c 2 -W 2 -I $1 8.8.4.4 | grep -v '0 packets received' | grep 'packets received') >/dev/null)) && return 1
  return 0
}
while true; do
  getStatus eth1
  if [[ $? == 0 ]]; then
    sleep 5
  else
    sleep 5
  fi
done
exit 0

(Last edited by makedir on 17 Jan 2018, 03:50)

adri wrote:

@T-Troll,

There is no less regulated country available with enables the upper channels 52-136 without DFS.
The only way is to use reghack2 for older firmware or a new regulatory.db on newer firmware.

... But a lot of countries without DFS at 5700+ (149-161).

@arebokert
Quite pity. Maybe it's reasonable to change to v1 or even ACv1 for you.

T-Troll wrote:
adri wrote:

@T-Troll,

There is no less regulated country available with enables the upper channels 52-136 without DFS.
The only way is to use reghack2 for older firmware or a new regulatory.db on newer firmware.

... But a lot of countries without DFS at 5700+ (149-161).

@arebokert
Quite pity. Maybe it's reasonable to change to v1 or even ACv1 for you.

@T-Troll,

True, but they are of little value if all your other devices don't support this and will never see your router.
149-161 is frequently not enabled on commercial devices, like android phones etc., in Europe. sad

adri wrote:
T-Troll wrote:
adri wrote:

@T-Troll,

There is no less regulated country available with enables the upper channels 52-136 without DFS.
The only way is to use reghack2 for older firmware or a new regulatory.db on newer firmware.

... But a lot of countries without DFS at 5700+ (149-161).

@arebokert
Quite pity. Maybe it's reasonable to change to v1 or even ACv1 for you.

@T-Troll,

True, but they are of little value if all your other devices don't support this and will never see your router.
149-161 is frequently not enabled on commercial devices, like android phones etc., in Europe. sad

Oh... I live in Asia so long, starting to forget about artificial limitations in devices. You right, but it's a way if you lucky.

makedir-
I am running your test.sh script now. I did change the eth1 to the eth1.2 interface to get the pings to complete. I am not sure if you really wanted to send the IPv4 pings to the eth1 IPv6 WAN or maybe my eth1 is not the same as yours. I don't have the IPv6 WAN with my ISP here. Now running with that change...

root@LEDE:~# uptime
root@LEDE:~# 06:30:27 up 41 days, 23 min,  load average: 0.00, 0.00, 0.00
root@LEDE:~# ./test.sh &
root@LEDE:~#

EDIT: I notice where the processes are starting to run up after about 15 minutes. I hope that isn't a bad sign.

 6959 pts/0    Ss     0:00 -ash
 7547 ?        S      0:00 [kworker/u4:0]
 7558 pts/0    S      0:00 /bin/sh ./test.sh
 7802 ?        Ss     0:00 /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 192.168.1.1:22 -p fded:3f9e:84c7::1:22 -K 300 -T 3
 7811 ?        S      0:00 ash -c echo FISH:; /bin/sh
 7812 ?        S      0:00 /bin/sh
 8499 ?        Ss     4:22 /usr/sbin/hostapd -s -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
 9537 ?        S      0:00 /usr/sbin/collectd -f
 9681 ?        S      0:00 [kworker/1:0]
 9692 ?        S      1:32 [kworker/0:1]
10126 ?        S      0:00 [kworker/1:2]
10296 ?        S      0:00 [kworker/u4:1]
10424 pts/0    S      0:00 sleep 5
10425 pts/0    R+     0:00 ps ax
14017 ?        S<     0:00 /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 131.216.7.120 -p 131.216.7.51 -p 1.lede.pool.ntp.org -p 1.pool.ntp.org
16356 ?        S      1:13 /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg02411c -k -x /var/run/dnsmasq/dnsmasq.cfg02411c.pid
20010 ?        S      0:09 /usr/sbin/uhttpd -f -h /www -r LEDE -x /cgi-bin -u /ubus -t 60 -T 30 -k 20 -A 1 -n 3 -N 100 -R -p 0.0.0.0:80 -p [::]:80 -C /etc/uhttpd.crt -K /etc/uhttpd.key -s 0.0.0.0:443 -s [::]:443
22618 ?        S     21:51 /usr/sbin/snmpd -Lf /dev/null -f
25247 ?        S      0:03 [kworker/u4:2]
26118 ?        SL     0:07 /usr/sbin/dnscrypt-proxy /var/etc/dnscrypt-proxy-ns1.conf
27262 ?        S      2:07 [kworker/0:0]
27315 ?        Ss     9:39 /usr/sbin/hostapd -s -P /var/run/wifi-phy1.pid -B /var/run/hostapd-phy1.conf
28847 ?        S      0:19 [kworker/1:1]

EDIT2: Nothing bad in the system log or kernel log after about 30 minutes.

(Last edited by beginner67890 on 17 Jan 2018, 16:22)

@beginner67890 it wont show anything in syslog (logread). It will just show in dmesg something like:

[Dec22 15:53] swap_free: Bad swap file entry 00000c00
[  +0.005019] BUG: Bad page map in process sleep  pte:00060000 pmd:1bd74831 (or grep)

And 30 is way too short. I had the first bug result after maybe a few days (7-12 days), and then a reboot between that time or a little bit later. It seems to me, that the script will allocate a little bit of RAM everytime the loop runs, and everytime, there is a little chance it will result in a page fault. I could reproduce this now three times over 2 months of using the unit. Same with uhttpd (opening luci, I had two crashes the moment I opened luci, maybe out of 200 times, same with using tinyproxy, using it daily maybe 30 times, I had two crashes using it in a month window. Yes, the eth1 is wrong in there, I just replaced it because mine is tun0 for checking the OpenVPN connection, and I just simplified the script of course for test reasons only. I am also wondering why it says "Bad swap file entry" where the units dont have a swap file enabled.

(Last edited by makedir on 17 Jan 2018, 16:51)

makedir-

There could be a memory leak or something hogging the memory. The kernel must have the swap enabled and maybe wants to try a swap and finds there is no good swap found. I wonder if there is a kernel parameter to disable the swapping. I have heard about swapiness as an alternative. I am also curious if the sleep 5 calls the busybox sleep from the ash shell.

The test.sh is still running with no escalation of the process numbers so that was maybe a false alarm. I can let that continue and check the uptime to find how long the system lasts before a reboot because I don't have an external log set up now.

So I should watch the memory useage.

root@LEDE:~# free
             total       used       free     shared    buffers     cached
Mem:        513080      84268     428812       1932       6260      22908
-/+ buffers/cache:      55100     457980
Swap:            0          0          0
root@LEDE:~#

P.S. I last used my wired Windows 7 desktop to flash the router with the davidc502 LEDE REBOOT r4901 and just looked to find the r4901 image still on the disk. That version was from just before the change to remove the RTC support from the kernel. I only have the WRT1200AC version and could post that someplace if needed except that version doesn't have the krack protection if memory serves. I wonder if some of the problems might have started around the time of those changes.

tcsoft wrote:
persson wrote:

I have an issue.. I get "nan" values on all my grapth for my WRT1900ACSv2 in Statistics > Graphs. How can I fix it?

(with r5621)

This issue is described here: url

How can I solve the issue?

Hi All,

How to change the Tx power to 30mW for wrt3200acm router? I tried selecting Canada as country but power still 23mW. I'm not getting signal in my other room, may be changing Tx power would help .

Thanks
--

pankajet wrote:

Hi All,

How to change the Tx power to 30mW for wrt3200acm router? I tried selecting Canada as country but power still 23mW. I'm not getting signal in my other room, may be changing Tx power would help .

Thanks
--

The WRT3200ACM has the powertables hard-coded in the rom/firmware, due to the new FCC regulations.
The power levels can't be changed by software, so you can't go above the official maximum of 23 dbm.

adri wrote:
pankajet wrote:

Hi All,

How to change the Tx power to 30mW for wrt3200acm router? I tried selecting Canada as country but power still 23mW. I'm not getting signal in my other room, may be changing Tx power would help .

Thanks
--

The WRT3200ACM has the powertables hard-coded in the rom/firmware, due to the new FCC regulations.
The power levels can't be changed by software, so you can't go above the official maximum of 23 dbm.



Power is also governed by the channel you are using.  i.e.  149-165 will be allowed to reach 30dbm

Great it worked, power changed to 30dbm. But very marginal difference in signal. Is there any more tweaks can be done to improve range ?

Hello David,
I have two WRT routers I wish to exchange its Linksys firmware for OpenWRT. I have the WRT1900ACS and WRT3200ACM. I can see that you have Shelby and Rango ready to download yet having never done this before are there some very simple instruction on how to install and update?
Any help would be much appreciated.

Morrile wrote:

Hello David,
I have two WRT routers I wish to exchange its Linksys firmware for OpenWRT. I have the WRT1900ACS and WRT3200ACM. I can see that you have Shelby and Rango ready to download yet having never done this before are there some very simple instruction on how to install and update?
Any help would be much appreciated.

I don't recommend jumping in for the first time until you know most of the risks and what's involved.

If you haven't already start getting familiar with this page ->  https://wiki.openwrt.org/toh/linksys/wr … wrt1200ac7

After you are comfortable with everything involved and know how to back out if you need to, then you might consider testing one of your units first before doing the second one.

pankajet wrote:

Hi All,

How to change the Tx power to 30mW for wrt3200acm router? I tried selecting Canada as country but power still 23mW. I'm not getting signal in my other room, may be changing Tx power would help .

Thanks
--

Try BM (for 2.4) or BZ (for 5G).