Static IP
How do I change my Linux box from DHCP to a static IP? I'm useing Debian with KDE. :)
:newbie: |
I just went through this,how do you connect?What distro?What isp?Give us the numbers you have like;
Code:
ifconfig_eth0=( "192.168.1.97 netmask 255.255.255.0 broadcast 255.255.255.255" ) |
What you're asking is very easy to do. The file that you need to edit is /etc/network/interfaces.
If you're currently set to accept a DHCP address, you should change the line that reads Code:
iface eth0 inet dhcp Code:
iface eth0 inet static Code:
address X.X.X.X Once all that is changed to how you like it, do Code:
ifdown eth0 Code:
ifup eth0 Peace, JimBass |
Very helpful. Works great. Thanks alot :D
|
All times are GMT -5. The time now is 10:47 PM. |