Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: could  not save the internet setting when restart< Next Oldest | Next Newest >
vavisky Offline





Group: Members
Posts: 13
Joined: Sep. 2006
Posted: Sep. 25 2006,10:48 QUOTE

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
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Sep. 25 2006,12:38 QUOTE

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.
Back to top
Profile PM 
vavisky Offline





Group: Members
Posts: 13
Joined: Sep. 2006
Posted: Sep. 25 2006,17:12 QUOTE

Thank you for your reply, I will read the WIKI to learn someting about DSL.;)
Back to top
Profile PM 
2 replies since Sep. 25 2006,10:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: could  not save the internet setting when restart

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code