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

Re: dhclient



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

Hello,

> Everytime when i plug in the lan cable, i run dhclient. I know there's
> a package called laptop-net, maybe i'll try it later. Now i'm just
> manually start dhclient. After running for awhile, i cannot ping other
> website anymore but the internet connection is still ok though, still
> can browsing, chat, etc. just cannot ping. And the etc/resolv.conf
> contains a line "search". Everytime i must edit the file, type in
> nameserver [the ip]. And after running awhile, it will disappear and
> change to a line "search" again. How can i configure, so that the
> nameserver value i enter remains there. Lease timeout? Many thx in
> advance for the advice.
> 

if i were use, i'd exchange dhclient with dhcpcd (dhcp client daemon)
which works much better for me. You have to set the /etc/resolv.conf
yourself then, as far as i know, at least i do it that way. (i've
written a small script which linkes the /etc/resolv.something to
/etc/resolv.conf depending on what connection i give on the command line
cause i have several networks to connect on ) 

Hope that helps

Greets

Martin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBqgWkQhKguG3eJz0RAjSaAKDO3LcVpfi0qKml8McxmDhOOtGzQACeN7cR
5PY7AKZVMR84xBBMmB8cAUw=
=S3JD
-----END PGP SIGNATURE-----



Reply to: