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: static ip, how to set a static ip< Next Oldest | Next Newest >
feest Offline





Group: Members
Posts: 2
Joined: Oct. 2005
Posted: Sep. 18 2006,20:50 QUOTE

hi i'm running a server with dsl but i need to set a static ip (ip conflict with other pc) so how do i do this?
Back to top
Profile PM 
dtf Offline





Group: Members
Posts: 196
Joined: Nov. 2005
Posted: Sep. 19 2006,01:24 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!
Back to top
Profile PM 
1 replies since Sep. 18 2006,20:50 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: static ip

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