Hey folks...
I'm trying to eliminate the need to run dhclient every time I start Debian. I have read the docs on init.d and rc*.d and am very confused. When I did net install it failed and I had to run dhclient first.
Any and all help greatly appreciated!
Ben
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
dhclient on boot
If I understand you well, you want to assign a static IP address to your computer. You don't need any knowledge about rc.* scripts, just do the following:
Edit (or create) a file called /etc/network/interfaces.
It should contain the following:
After it is done, do a /etc/init.d/networking restart. After it finishes, you should have the address you set up in the interfaces file.
If so, you may safely remove the dhcp client; you won't need it.
Hope this helps.
Edit (or create) a file called /etc/network/interfaces.
It should contain the following:
Code: Select all
# The loopback interface
auto lo
iface lo inet loopback
# The first network card
auto eth0
iface eth0 inet static
address YOUR_IP_HERE
network YOUR_NETWORK_HERE
broadcast BROADCAST_ADDRESS_HERE
netmask NETMASK_HERE
gateway GATEWAY_HERE_IF_ANY
If so, you may safely remove the dhcp client; you won't need it.
Hope this helps.