Site hosted by Angelfire.com: Build your free website today!
Here is a script I made which automaticall sets up your nameservers in your dhcpd.conf. This is useful if you move your coputer around a lot, or generally use different name servers often. Instead of editing dhcpd.conf each time, just put this script to start up sometime before you dhcpd server does, but after your internet is setup.

! Here is the script !

--Here is a sample dhcpd.1st.conf

# dhcpd.conf
#
# Configuration file for ISC dhcpd (see 'man dhcpd.conf')
#
ddns-update-style none;
default-lease-time 21600;
max-lease-time 90000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;

--And here is a sample dhcpd.2nd.conf

subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.100;
}

Send any questions/comments to tomownsyou@hotmail.com