How do I disable dhcp request at boot?
I have several computers using DHCP to get IP addresses. I want to change that and give them static IPs. How do I disable the dhcp request made at system startup?
I use Debian sarge, have no graphical interfaces installed. |
You need to alter /etc/network/interfaces. The entry for the card needs to be changed from something like
iface eth0 auto dhcp to iface eth0 auto static ie change dhcp to static you also need to add lines for address, netmask etc. man interfaces should help you with the different options and syntax of the file Good luck |
On my system (Slackware), you would edit /etc/rc.d/inet1.conf. The line enabling dhcp on eth0 would read USE_DHCP[0]="YES". Just edit "YES" to "".
We all use Linux on Intel or Intel clone machines, and yet, we speak a different language. LOL. |
All times are GMT -5. The time now is 06:29 PM. |