You can also install etherconf to set up static and dynamic
addresses.

apt-get install etherconf

If you ever need to change the static IP addresses you will need to:

dpkg-reconfigure etherconf

Jeff Rasmussen


> Message: 11
> Date: Sun, 20 Jul 2003 22:30:14 -0500
> From: Shawn <sfertch at real-time.com>
> To: TCLUG <tclug-list at mn-linux.org>
> Subject: [TCLUG] Permanent IP change
> Reply-To: tclug-list at mn-linux.org
> 
>   Apologies on a simple question, but it's escaping my head right
> now, and I can't find an answer readily out of the the books I have
> in front of me.
> 
>   At the installfest, we got Debian running on my system.  However,
> I need to make a network IP change to it.  Currently, it's running
> DHCP.  I need to make it a permanent static address.
> 
>   I know I can issue the command of:
> # ifconfig eth0 10.0.0.50 netmask 255.255.255.0
> 
> And this will assign the IP address.  However, it's only good
> temporarily until the box is rebooted.  What files/commands to I
> need to issue or modify to make this a permanent change?
> 
>   Looking in the /etc/network directory, there is an interfaces
> file with NIC info.  Is this the correct one?  If so, what should
> it look like for static IP's and netmask?
> 
>   On Slackware, I did a "netconfig" and an interactive prompt came
> up.
> 
>   Thanks, appreciate any help on this.
> 
> 
> -- 
> Shawn
> 
>   The difficult we do today; the impossible take a little longer.
> 
>   Ne Obliviscaris --  "Forget Not"


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list