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 to give "nodhcp" boot code at startup?< Next Oldest | Next Newest >
=SERGE= Offline





Group: Members
Posts: 17
Joined: Mar. 2008
Posted: July 29 2008,05:29 QUOTE

Hello

to assign an ip address manually I have to
give "nodhcp" command to the kernel at startup.

How to do it when in my case dsl is installed at HD and there is GRUB comes up immediatly so there is no prompt to pass the nodhcp command?

Thank you
Back to top
Profile PM 
chaostic Offline





Group: Members
Posts: 328
Joined: Mar. 2005
Posted: July 29 2008,05:39 QUOTE

Add nodhcp to the grub command/boot line.
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: July 29 2008,08:41 QUOTE

The file to edit is /boot/grub/menu.lst :)

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
=SERGE= Offline





Group: Members
Posts: 17
Joined: Mar. 2008
Posted: July 31 2008,05:27 QUOTE

Thank you

I made as suggested.
I found in the /boot/grub/menu.lst file
the line #boot (at the and of the file), took out # sign and then wrote nodhcp.

Still I'm not sure it worked because at startup
I can read system message:
Network device eth0 detected. DHCP broadcasting for IP (Backgrounding)


It seems if it did work and there is still DHCP working.

Am I right or wrong?

I need static ip.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: July 31 2008,05:59 QUOTE

You need to put the boot code at the end of the line starting with "kernel"
Back to top
Profile PM 
4 replies since July 29 2008,05:29 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: How to give "nodhcp" boot code at startup?

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