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: How do I set up a static IP permanently??< Next Oldest | Next Newest >
althena77 Offline





Group: Members
Posts: 3
Joined: April 2005
Posted: April 26 2005,21:37 QUOTE

Hello!!

I have the problem that every time I reboot DSL the static IP I set last time is lost and the network switched back to DHCP.
Searching this forum I found out that I have to edit it into the file bootlocal.sh. However I an not that much experienced with Linux yet and have no idea what I should edit in this file. Could perhaps someone give me an example on how to edit it??

Thank you very much and greetings :)
althena77
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: April 27 2005,02:58 QUOTE

Welcome..

Let the search button at the top of this page be your guide..

I entered " static " as the keyword.
I chose " All Forums"
I chose " From the Beginning"
Then clicked "search"

and I came up with many useful posts describing your exact question.

Here is an example to get you started that you requested..
http://damnsmalllinux.org/cgi-bin....-static

We can't give you exact texts to type into your bootlocal.sh,
because we don't know the details of your network setup.
( the actual numbers, etc.. - those should remain private - known by you only )

But the above link should get you going in the right direction.

Basically, it's like this..

ifconfig eth0 ip xx.xx.xx.xx
route add default gw yy.yy.yy.yy
echo nameserver aa.aa.aa.aa > /etc/resolv.conf
echo nameserver bb.bb.bb.bb >> /etc/resolv.conf
ifup eth0

which I just copy/pasted from the link above

To edit the bootlocal.sh file..
open a shell, and type

" sudo beaver /opt/bootlocal.sh "

Let us know..

73
ke4nt
Back to top
Profile PM 
SaidinUnleashed Offline





Group: Members
Posts: 1428
Joined: Mar. 2004
Posted: April 27 2005,03:34 QUOTE

Or, you can go into your router's configuration and assign your NIC's mac address to a specific IP address.

It makes it a LOT easier when you run several OSes on the same box.


--------------
They say if you play a Microsoft CD backwards, you hear satanic messages. That's nothing, cause if you play it forwards, it installs Windows.

Unleash the power of the TILDE~~~
Back to top
Profile PM AOL MSN YIM 
althena77 Offline





Group: Members
Posts: 3
Joined: April 2005
Posted: April 27 2005,18:44 QUOTE

Thank you very much for your replies :) I will try this all out.

Great and noob friendly forum ;)
Back to top
Profile PM 
3 replies since April 26 2005,21:37 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: How do I set up a static IP permanently??

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