[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to reconfigure network settings easily?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 04, 2003 at 10:46:56AM +0100, Jon Ramsey wrote:
> I'm running a testing/unstable system on a new machine for home. I set
> up the machine at work with a static ip, gateway and dns for our work
> network. I've now moved the machine home and I just got cable
> broadband so I need to change the network settings to use dhcp - whats
> the best way to make the changes? 

By hand.

Make sure you have a DHCP client installed before doing all this.  In
/etc/network/interfaces, you should see a section similar to this:

auto eth0
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

Change it to this:

auto eth0
iface eth0 inet dhcp

Your resolv.conf will be updated automatically by your DHCP client in
most cases, consult your DHCP client's documentation for it's exact
behavior.

Hope this helps.

- -- 
 .''`.     Baloo Ursidae <baloo@ursine.ca>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+3caNJ5vLSqVpK2kRAgE0AJ0TeKeOhq2DMZiNm7e43GwDk5pUYACg3eHe
H7cOIRcU/K2aQqwZDhbKcM0=
=e56v
-----END PGP SIGNATURE-----



Reply to: