could  not save the internet setting when restart


Forum: USB booting
Topic: could  not save the internet setting when restart
started by: vavisky

Posted by vavisky on Sep. 25 2006,10:48
My computer is Winxp system and the internet setting is DHCP without any change to the net parameter.

When I boot my computer with DSL from USB drive, I could not take access to the internet and the DHCP broadcasting fails. So I have to set
selected IP: 192.168.1.111
,Net work Mask: 255.255.255.0,
Broadcast Adress: 192.168.1.111
Default Gateway: 192.168.1.1,
Name sever: 206.13.28.12

Then I can enter the intenet.

But if I shut down the system, I had to make the internet setting like this again. It is strange, all setting I make in the DSL could save only excpet the internet setting.

What is the reason? Thanks a lot.haha,    :p

Posted by dtf on Sep. 25 2006,12:38
Did you add the commands to set you static IP in the /opt/bootlocal.sh.  That is what is needed to assign a static IP at boot time.  There are instructions in the wiki.
Quote

How can I enter and save my static IP settings?

To save static IP settings with backup/restore we need to make changes in two areas.

Boot the CD with the cheatcode dsl nodhcp or add nodhcp to the APPEND line in the Lilo or Grub bootloaders.

We need to add the static IP information to the /opt/bootlocal.sh file. This file is backed up in the /home/dsl/.filetool.lst file by default. For this step you will need to know the static IP, Default Gateway and DNS nameserver of your ISP. With this information your /opt/bootlocal.sh file should have the following entries.

ifconfig eth0 xxx.xxx.x.xx
route add default gw xxx.xxx.x.x
echo nameserver xx.xx.xxx.xx > /etc/resolv.conf
ifup eth0

With these two steps you should have your static connection up and running the next boot. Make sure you back them up!


Also I believe you want to set you broadcast IP to 192.168.1.255.  That will send a broadcast packet to all nodes on the 192.168.1.0/24 network.

Posted by vavisky on Sep. 25 2006,17:12
Thank you for your reply, I will read the WIKI to learn someting about DSL.;)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.