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: Not-DHCP booting, how to start dsl with fixed IP?< Next Oldest | Next Newest >
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Oct. 09 2007,11:09 QUOTE

Hi all again
now i need to start DSL not in dhcp, i mean: with static IP

i launched "netcardconfig" with static IP, and it created a /etc/sysconfig/network-scripts/ifcfg-eth0 file

then i added this file to /home/dsl/.flietool.lst so i'm sure it'll be here next reboot

i added
"/BOOTPROTO-static"/ into ifcfg-eth0

then reboot-ed machine

and machine is again in dhcp

(how i know it? i configured ifcfg-eth0 with different ip than the one on dhcp server... and now it use the ip on dhcp.conf)

what i need to configure so i'm sure machine start with static ip???
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Oct. 09 2007,12:38 QUOTE

You could come at this from the other direction and have your router assign your machine a static ip address - this is what I do with a dsl desktop I have. Basically the router looks for the dsl machine's netcard mac and assigns a fixed address to it.
Back to top
Profile PM 
Divago Offline





Group: Members
Posts: 83
Joined: April 2007
Posted: Oct. 09 2007,13:55 QUOTE

Quote (Juanito @ Oct. 09 2007,08:38)
You could come at this from the other direction and have your router assign your machine a static ip address - this is what I do with a dsl desktop I have. Basically the router looks for the dsl machine's netcard mac and assigns a fixed address to it.

well...
i need to boo tmy machine with a static ip address 'cause router does not assign ip address

i mean: i got no machine who can assign static address to this machine :D
[ sorry for bad english :( ]

really need to boot the machine with static ip
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Oct. 09 2007,14:06 QUOTE

Booting with static IP is discussed in the Wiki (manually adding command to /opt/bootlocal.sh).

In DSL 3.4.4 & DSL 4.0 I updated netcardconf.lua to more easily handle static IP and persisting the setup. I recommend you download the latest and try it.
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 09 2007,17:40 QUOTE

ifcfg-eth0 is not used in DSL..

--------------
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 
4 replies since Oct. 09 2007,11:09 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: Not-DHCP booting

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