JimR Posted August 10, 2018 Share Posted August 10, 2018 I've got a USB ethernet adapter working on my Packet Squirrel, but am stumped as to how to save my config file changes between boots. Perhaps I'm missing something simple. I'm adding my interface configuration (in Arming mode while testing...) via the command line: uci set network.wye=interface uci set network.wye.ifname='eth2' uci set network.wye.proto='static' uci set network.wye.ipaddr='192.168.1.18' uci set network.wye.netmask='255.255.255.0' uci set network.wye.ip6assign='64' uci commit /etc/init.d/network restart -------- Everything works great and my changes appear in /etc/config/network But when I reboot, my interface config is gone from /etc/config/network, and of course, my interface fails to come up. What am I missing? Quote Link to comment Share on other sites More sharing options...
JimR Posted August 18, 2018 Author Share Posted August 18, 2018 Anyone? Anyone? Buehler? So, let me ask this: Is it possible to change the boot config of a Packet Squirrel, or are changes limited to what happens after the boot is done? Is there documentation I’ve missed? Quote Link to comment Share on other sites More sharing options...
trashbo4t Posted August 18, 2018 Share Posted August 18, 2018 Maybe try saving them to /root/ and write a bash script, or cron job to run those uci commands on startup. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.