Yes, there's already quite a lot of posts about that specifically. Search for dhcp_staticlist.Is there any way to export/import things like DHCP reservations and simple stuff like that? I really don't want to manually do all that stuff if I don't have to.
Then it’s quite likely the reason(s) you installed that stuff may have been overtaken by events over the years eg removal of devices, changes to network .. Perhaps you should just do all those steps up to but not including AMTM, and then, if you find that something you previously took for granted no longer works, that may well jog your memory, but you’ll simply come back and ask how to achieve a specific aim/function... Frankly, I do not even remember what optware does and why I installed it. ...
You are 100% correct. I built a lot of this a long time ago and just don't remember what I did after all the years and the changes. I know I have optware. Is there any way to find out what, if anything, I have installed in or with optware? I was confusing the files/scripts/configs in the jffs with what is stored on my usb drive.Then it’s quite likely the reason(s) you installed that stuff may have been overtaken by events over the years eg removal of devices, changes to network .. Perhaps you should just do all those steps up to but not including AMTM, and then, if you find that something you previously took for granted no longer works, that may well jog your memory, but you’ll simply come back and ask how to achieve a specific aim/function.
But it may well be that everything works and you’ll never know why you previously installed Optware until you meet the Great Network Administrator in the sky.
You are 100% correct. I built a lot of this a long time ago and just don't remember what I did after all the years and the changes. I know I have optware. Is there any way to find out what, if anything, I have installed in or with optware? I was confusing the files/scripts/configs in the jffs with what is stored on my usb drive.
I just browsed what I believe is my usb drive at: /tmp/mnt/OPTWARE. I have 3 directories: lost+found, Download2, and asusware.arm. The Download2 directory seems to have some files and directories that indicate it was for something bittorrent related. I do not remember it at all, but they're all very old, so I assume I can delete it. I assume lost+ found is something default for orphaned files or something. The asusware.arm, I have no idea about. Does this indicate that I do not have anything installed with/in Optware? I am sure that I installed optware because I read on here that I should lol. I vaguely remember using the usb drive and thinking that it could be used for some kind of storage, but I don't think I have ever used it.
The only other "files" I am aware of are in the jffs directory, and they are scripts/configs, etc. After I upgrade and wipe this thing, can I just copy those files to the new jffs and will they work? I think that is what RMerlin said, if I am not mistaken.
I know
...I also feel that you’re confusing the purpose of your USB stick with the built-in JFFS partition of your router’s nvram.
...just start from scratch using the base features until you realize something is missing or lacking.
I really wouldn’t install anything into jffs or anywhere else unless you know exactly why. By all means make a backup, which hopefully will turn out to be redundant.
Reading through your post I’m all the more convinced you would do well to completely forget about Optware, Entware; just set up the router up to, but not including AMTM, get it all working, run all your devices and then after a few days when you’re confident all’s well, by all means think about installing Skynet and Diversion via that outstanding AMTM, “the SNB Forum Asuswrt-Merlin Terminal Menu”.
Just make sure you carefully follow the steps for factory resetting/initialising including wiping jffs. And if eventually you do end up with scripts in jffs remember to allow the setting that allows those scripts to run. But that’s a way off yet, I think.
Thanks.
I have reviewed all of the files in my jffs and I do know what they are there for. I need all of that to continue working. I basically have the following:
Scripts Directory
init-start: Adding a schedule task to reboot daily.
dnsmaq.postconf: Command to remove the "local=" tag.
firewall-start: The ipset script to block request from certain countries.
Ipset-Lists
ipset-lists(directory): Used to download the country block lists.
Configs
dnsmasq.conf.add: Some entries to better control distribution of DNS resolution (local vs public).
That's all I have. Like I said, I basically have nothing in my usb drive OPTWARE directory, so I assume I do not have anything installed. Does this sound like I could just import my jffs files into the new jffs directory at the end and it will work?
I do plan to keep the install simple and such. I know that once I validate it is working, I will want to add the usb back for storage (if necessary) and turn on entware. Is there a post or something that shows all of the "apps" that are available to Optware or Entware? I cannot say if I will want or need anything unless I know whats available. I have searched, but there are hundreds of posts with those keywords and I haven't see one that answers that question.
Well I put it in a while back because there seemed to be some occasional slowness in my house. I got complaints and a restart always seemed to improve it. That's what I put it in. Maybe I don't need it, but i seemed to make more consistent performance.Daily reboot: do you really need to do that? Seems only people with some rare, impossible-to-troubleshoot snag that grinds the router down do that, otherwise they run indefinitely. Unnecessary reboots may well affect lifespan (of router!)?
Country blocklists dead easy under Skynet.
http://bin.entware.net/armv7sf-k3.2/Packages.htmlIs there a post or something that shows all of the "apps" that are available to Optware or Entware? I cannot say if I will want or need anything unless I know whats available.
# opkg list-installed
bind-dig - 9.11.5-2
bind-libs - 9.11.5-2
drill - 1.7.0-3
entware-opt - 227000-3
entware-release - 1.0-2
entware-upgrade - 1.0-1
findutils - 4.6.0-1
grep - 3.1-1
htop - 2.2.0-2
libc - 2.23-8
libgcc - 7.3.0-8
libldns - 1.7.0-3
libncurses - 6.1-1
libncursesw - 6.1-1
libopenssl - 1.0.2p-1a
libpcre - 8.42-1
libpthread - 2.23-8
libreadline - 7.0-1
librt - 2.23-8
libsqlite3 - 3250300-1
libssp - 7.3.0-8
libstdcpp - 7.3.0-8
libtirpc - 1.1.4-1
locales - 2.23-8
lsof - 4.91-1
opkg - 2011-04-08-9c97d5ec-17c
pixelserv-tls - 2.2.0-1
sqlite3-cli - 3250300-1
terminfo - 6.1-1
zlib - 1.2.11-2
zoneinfo-asia - 2018g-1
zoneinfo-europe - 2018g-1
Wow, there is a lot in there. There's so much, I would never get thru just reviewing it all. I will make that a separate effort, to determine what I might want out of entware. I am building my final checklist for doing my upgrade. Here is what I have:
1) Backup (JFFS dir, dhcp list, client list, etc)
2) Remove USB Stick
3) Install Firmware 378.55
4) Factory Reset (optional)
5) Install Firmware 384,8_2
6) Factory Reset (optional)
7) Start to implement basic settings in the UI and verify functionality. Work towards entry of all previous settings from screenshots.
8) Insert USB and enable usb storage in UI.
9) Use commands to restore clientlists and reservations. (nvram get dhcp_staticlist > /tmp/mnt/ASUS/dhcplist.txt, nvram set dhcp_staticlist="`cat /tmp/mnt/ASUS/dhcplist.txt`") & (nvram get custom_clientlist > /tmp/mnt/ASUS/custom_clientlist.txt, nvram set custom_clientlist="`cat /tmp/mnt/ASUS/custom_clientlist.txt`")
10) Copy of files from original jffs directory to the new one.
::OPTIONAL::
8) Install AMTM?
9) Use AMTM to install xx? (So far the only things I can validate I have installed is optware and some customer config/scripts on the jffs (usb).
::Steps to Flash/Install the Dirmware::
1. Use ISP router as your main router for a while. Download the firmwares you need.
2. Unplug all network cables from Asus router and put on a desk next to your PC. Disable wifi on PC and plug PC into Asus router via Ethernet cable.
3. Hold factory reset button on router for about 10 seconds until lights flash? It'll probably take a minute or two to finish.
4. As soon as your PC can load the router webpage you should quickly disable the WiFi (you can use the button on side of router) so that strangers don't connect.
5. Use PC to upload the new firmware via router web UI and let it do it's thing. You don't want to interrupt the process. Even after it says its completed and my PC is able to load the router webpage again I like to leave it another minute so I'm sure it did get a chance to finish it's reboot.
6. Turn off the router, unplug the power cord, leave it 10 seconds, then press the power button, leave it 15 seconds, then plug back in the power cord and press the power button to turn it back on.
7. I'd just repeat steps 3 and 4 and 5 and 6 for each firmware version until you're on the latest.
8. Manually put back in all the router settings. Use those recommended by people on this forum.
9. Unplug from PC and put it back into place on your network how it was before.
How does this look?
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!