HD Install :: Saving Configuration
Hello all
I've installed successfully DSL on my harddisk. Unfortunately, my configuration is lost after I reboot my computer. My configuration such as: ip network, and uci application.
Are there any way to save my ip network and uci application so that I shouldn't configure and re-install uci application
Thanks!
Are you speaking of a frugal hd installation or a traditional hd installation?
For a frugal installation, you can set up backup/restore from the dsl control panel and then add the ip network configuration to the backup.
Again, for a frugal installation you can create a directory named /mydsl and copy your uci to this directory then it will auto-load on boot.
More details can be found in the dsl wiki.
I'm using traditional installation and still has to reconfigure my ip network, and install uci application everytime I reboot my computer.
It's supposed to be that way for uci's, they aren't installed in the traditional sense.
To automate all that, just put the commands you want in your /opt/bootlocal.sh, such as
mydsl-load /path/to/uci
ifconfig eth0 192.168.xxx.xxx/24
route add default gw xxx.xxx.xxx.xxx
I'm wondering why you need to set up your network each time. Are you just running netcardconfig or...? I have experienced modules not being used at boot and have had to manually set those up.
For uci's, you can also permanently install them - see wiki. It makes more sense anyways since you are using a traditional setup and would want to avoid any unnecessary overhead.
Next Page...
original here.