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
Pages: (3) </ 1 [2] 3 >/

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

reply to topic new topic new poll
Topic: IFCONFIG Help, Setting up static IP at boot< Next Oldest | Next Newest >
supercluver Offline





Group: Members
Posts: 3
Joined: Jan. 2005
Posted: Jan. 11 2005,13:47 QUOTE

Well, I only need it while I'm here working for this client as I am on their network and they assign me the static IP details (I don't have access to the router or anything)...  All other times I use DHCP so it won't be a big deal then, its just I will be here working for another week and I can't STAND IT when I can't figure something simple like this out!!!   :angry:   But I think I will just leave it booted up for the next week and then it won't matter....  thanks anyway...
Back to top
Profile PM 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Jan. 11 2005,14:10 QUOTE

the dhcp-client is still waiting in the background. when it timesout you can use ifconfig. (may take 1 or 2 minutes)
OR add nodhcp to the bootoptions, so dhcp-client is not started.
Code Sample
dsl nodhcp


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
supertom64 Offline





Group: Members
Posts: 7
Joined: Jan. 2005
Posted: Jan. 12 2005,07:10 QUOTE

hi mikshaw,

you have to edit some files.

1. at boot prompt type nodhcp this disables automatic ip assignment

2. edit the resolv.conf with an dns server and add it to the /home/dsl/filetool.lst
e.g.
nameserver 192.168.1.254 (maybe take the router/gateway which often have an dns proxy or look what the other have for dns server)

3. edit the file
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo eth0
iface lo inet loopback


iface eth0 inet static
address 192.168.xxx.xxx (xxx adjust to you needs)
netmask 255.255.255.0
network 192.168.xxx.0
broadcast 192.168.xxx.255
gateway 192.168.xxx.xxx

and add it to the filetool.lst
4. edit the bootlocal.sh and add the command
/etc/init.d/networking restart

thats it, if you don´t need anymore, remove them from the filetool.lst

hth
TOM
Back to top
Profile PM 
Tyraldur
Unregistered






Posted: Jan. 12 2005,13:06 QUOTE

Hi all,

sorry iam a little bit Nobby and my english is also.

There are any things i dont understand.
1) the files resolv.conf filetools.lst are in the ramdisk, isnt it?
2) where are they saved, because the usb-stick is only mounted ro in /cdrom, how can use DSL this files during the next booting?

Thanks for answering.
Greetings from Germany :)
Back to top
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Jan. 12 2005,13:31 QUOTE

if you used the usb-install script then one of the bootparams is "frugal".
this magicword makes the /cdrom writeable at boottime so you can write to the usb-stick


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
10 replies since Jan. 10 2005,04:27 < Next Oldest | Next Newest >

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

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: IFCONFIG Help

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