chaostic
Group: Members
Posts: 328
Joined: Mar. 2005 |
|
Posted: Sep. 25 2006,06:32 |
|
Basicly, I want to create a script that runs on either boot (Opt/bootlocal.sh) or when starting X (.xintrc). THe script would check to see if a dhcp ip has been assigned, and if so, exit without chaning anything. Else, it assigns a static ip address using the commands listed in the wiki:faq. This is for a hd install, so it should be simpler.
Is there a way to check for a dhcp address specificly?
And also, as a side question, does linux have a feature similar to Mac Os X's "DHCP with Manual address"? Basiclly, manually choose an address within the dhcp pool, but pull the defualt gateway, subnetmask and dns server info from dhcp?
|