i have a long list of port forwards (more than 10) as well as static ips (about 10) that need to be after a reset. inputting them manually takes too long--what are my options?
nvram get vts_rulelist
nvram get dhcp_staticlist
nvram set vts_rulelist="<PC1>600:601>192.168.1.100>>BOTH<PC2>610:619>192.168.1.101>>BOTH"
nvram set dhcp_staticlist="<08:00:27:66:44:33>192.168.1.100>PC1"
nvram commit
I''ve searched other posts, and can't find any reference to this.
I'm running the latest beta on my AC66R, and I keep getting some odd behaviour on the 2.4Ghz radio. Occasionally (maybe once a day) it starts dropping / refusing new client connections. When I look in the wireless log I see an entry like this (check the top station in the list);
I'm theorising here, but as soon as I stop / restart the radio then everything is back to normal (including in this example, the same MAC address that has the garbage next to it) - I'm not sure if its the reporting thats causing the problem, or if the radio is actually generating the info and the UI is passing it on directly.
30-8C-FB (hex) Dropcam
308CFB (base 16) Dropcam
160 Spear Street
Suite 1700
San Francisco CA 94105
UNITED STATES
i have a long list of port forwards (more than 10) as well as static ips (about 10) that need to be after a reset. inputting them manually takes too long--what are my options?
Nothing. You have none. Either stick with the old settings or manually enter your settings.
Not exactly true. A couple of nvram commands can easily let you store or apply specific settings.
Not exactly true. A couple of nvram commands can easily let you store or apply specific settings.
Is here are a complete list of the possible commands and variables from the nvram?
read settings into a temp file on USB stick:
----------------------
nvram get vts_rulelist > /tmp/mnt/tmp/portlist.txt
nvram get dhcp_staticlist > /tmp/mnt/tmp/dhcp.txt
nvram get acc_list > /tmp/mnt/tmp/acclist.txt
nvram get wl_maclist_x > /tmp/mnt/tmp/wlmac.txt
nvram get wl0_maclist_x > /tmp/mnt/tmp/wl0mac.txt
nvram get wl1_maclist_x > /tmp/mnt/tmp/wl1mac.txt
After resetting to factory mode:
rewrite settings with:
----------------------------
nvram set vts_rulelist="`cat /tmp/mnt/tmp/portlist.txt`"
nvram set dhcp_staticlist="`cat /tmp/mnt/tmp/dhcp.txt`"
nvram set acc_list= "`cat /tmp/mnt/tmp/acclist.txt`"
nvram set wl_maclist_x="`cat /tmp/mnt/tmp/wlmac.txt`"
nvram set wl0_maclist_x="`cat /tmp/mnt/tmp/wl0mac.txt`"
nvram set wl1_maclist_x="`cat /tmp/mnt/tmp/wl1mac.txt`"
Is here are a complete list of the possible commands and variables from the nvram?
nvram show
nvram show > /mnt/sda1/nvram.txt
Is there a benefit to using the aggressive DHCP requests compared to the normal setting?
Hey thats awesome, thanks!
Can we do the same thing with parental controls?
nvram show | grep MULTIFILTER
It would also seem that automatic swap creation is failing in this build. I've had to manually execute the swap file creation process.
I've noticed one of the repos that ipkg refers to is not present. May or may not be related.Asus has made a few changes to the Optware-related scripts to accommodate for the fact they are switching to a new Asusware repo (with support for both mipsel and arm architectures). I'll have to see if they didn't remove the swap-related code in the process.
I've noticed one of the repos that ipkg refers to is not present. May or may not be related.
/opt/.asusrouter still contains code to create the swap file if the nvram bit is set. By default, it was disabled, but changing the nvram option to enable doesn't seem to make much difference.
As for the earlier (now deleted) post, busybox was referencing some old/bad libs in /opt/lib causing some calls to it to fail (artifact of some extra packages that were installed). Installing a full coreutils package confirmed that. To resolve the problem for now, I nuked the asusware directory and then reinstalled, then updated DownloadMaster (though uninstalling whatever owned /opt/lib/* may have been the quicker approach).
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!