[EMAIL PROTECTED] wrote: >Hi, >I just installed Debian Sarge, and by mistake I configured the NIC to DHCP. I >don't want DHCP, how can I change the ip address from DHCP to a permanent >static ip address? I tried already ifconfig eth0 ipaddress, it works, but the >change is just temporary. When I reboot the computer, the NIC still picks up a >DHCP address. Please Help >Thanks > > > Edit "/etc/network/interfaces"; comment out the line "iface eth0 inet dhcp", and replace it with the two or three lines similar to what you find in "man interfaces":
> iface eth0 inet static > address 192.168.1.10 > netmask 255.255.255.0 > gateway 192.168.1.1 Then either reboot or run "/etc/init.d/networking restart". -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]