Re: How to reconfigure network settings easily?
On Wed, Jun 04, 2003 at 03:14:37AM -0700, Paul Johnson wrote:
> 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.
Thanks Paul, this seems great (if almost too simple... ;)).
Now for another stupid question... Given that the installation network
setup allows me to choose to use dhcp am I likely to have a client
already? (i'm at work so i can't check at the moment)
The reason I ask is that I don't have network access for the machine
thru linux until I set this up... potentially a bit of a catch
22. It's a dual boot machine, so I guess I could try and track down
the necessary debs through windows if not.
Thanks again,
--
Jon Ramsey
Bangoid
111 Stanmore Hill
Stanmore
Middlesex
HA7 3DZ
Tel: 020 8954 2900
Fax: 020 8954 8500
http://www.bangoid.com/
Reply to: