Re: Newbie question: DHCP set up
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday, 12.11.2004 at 07:50 -0600, Kent West wrote:
> >I've just started using Debian on my machine (which dual boots with
> >Windoze - need to keep it for work)... I've been using Knoppix for a
> >while but wanted to have a more permanent system. My friend helped me
> >with the setup but since we did it in his home, the DHCP points to his
> >IP/Router... How do I release it and reconfigure my laptop to capture
> >an IP? I use cable modem...
> >
> >I am sure this is a very basic question,so please be patient with a newbie
> >:)
>
> As root, type at a command line:
>
> # /etc/init.d/networking restart
>
> which should work, although with networking, it seems I've had better
> luck with:
>
> # /etc/init.d/networking stop
> # /etc/init.d/networking start
>
> Neither of these should be necessary, as when you booted into Debian the
> necessary functions of these scripts should have automatically taken
> place. So I wonder if your network is configured for static instead of
> DHCP. You can configure DHCP vs static in /etc/networking/interfaces.
> The command "man interfaces" will provide more info if you need it.
You may wish to try:
dpkg-reconfigure etherconf
(or install that package if you don't have it)
# apt-cache show etherconf
...
Etherconf is a debconf-based interface for configuring Ethernet devices
on your system. It supports both manual and DHCP-based configurations.
It will ask questions about your network setup and write the files
/etc/networking/interfaces and /etc/resolv.conf etc. automatically.
Very useful. And I think this is The Debian Way To Do It.
Dave.
- --
Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBlMOunhBnac0o2pIRAvbYAKD2RmzhENRtw/mFFGkEcHYyYB0s7ACfbYhI
pLz52PS7RD6VdnvRV40o5EI=
=8De3
-----END PGP SIGNATURE-----
Reply to: