Re: setting a static ip for my lenny box
On Fri, May 29, 2009 at 7:28 PM, ghe <email@example.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hey! One I can answer!
Donald Raikes wrote:
> I installed lenny yesterday on my desktop system. I would like to change
> it so it has a static ip address rather than a dhcp assigned one.
> How do I go about setting the ip address?
> If there is a console-based method I would prefer that since icannot
> edit the network configuration through the networking tools applet (I
> don't have permissions).
Here's a known working interfaces file from my LAN:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet static
# dns-* options are implemented by the resolvconf package, if installed
Then reboot. It's possible to get eth0 to reconfig without a reboot, but
I don't remember how...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
You need to have permissions whether you edit the /etc/network/interface or the network manager applet.
"It is human nature to think wisely and act in an absurd fashion."
"Todo el desorden del mundo proviene de las profesiones mal o mediocremente servidas"