Not-DHCP booting


Forum: Networking
Topic: Not-DHCP booting
started by: Divago

Posted by Divago on Oct. 09 2007,11:09
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???

Posted by Juanito on Oct. 09 2007,12: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.
Posted by Divago on Oct. 09 2007,13:55
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

Posted by roberts on Oct. 09 2007,14:06
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.

Posted by curaga on Oct. 09 2007,17:40
ifcfg-eth0 is not used in DSL..
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.