Saving Configuration


Forum: HD Install
Topic: Saving Configuration
started by: zakiakhmad

Posted by zakiakhmad on Sep. 27 2007,08:09
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!

Posted by Juanito on Sep. 27 2007,09:15
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.

Posted by zakiakhmad on Sep. 28 2007,04:27
I'm using traditional installation and still has to reconfigure my ip network, and install uci application everytime I reboot my computer.
Posted by curaga on Sep. 28 2007,12:29
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

Posted by ^thehatsrule^ on Sep. 28 2007,14:46
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.

Posted by zakiakhmad on Oct. 03 2007,06:49
Quote (curaga @ Sep. 28 2007,08:29)
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

Thank you for the hint! Finally it's succeed. I shoudn't load uci extension manually.

About the netcardconfig, my DSL get IP from the DHCP server everytime it's reboot. But I prefer to choose my own IP.

Posted by ^thehatsrule^ on Oct. 03 2007,13:24
You could boot with nodhcp to save on a bit of resources.
Posted by chaostic on Oct. 03 2007,17:32
Quote (^thehatsrule^ @ Oct. 03 2007,09:24)
You could boot with nodhcp to save on a bit of resources.

How much does pump actually use?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.