Re: setting up TCP/IP
On 17 Dec 2004 at 23h12, froinds@bellsouth.net wrote:
Hi,
> I'm pretty new to Linux. I need to know how to set up my NIC with a
> static IP instead of DHCP using terminal commands since I'll do it
> remotely through ssh.
edit /etc/network/interfaces with a tool like vi, nano, emacs, whatever
you prefer and put something like this:
iface eth0 inet static
address 192.168.0.4
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
name eth0
--
Colin
"The probability of someone watching you is proportional to the
stupidity of your action."
Reply to: