This is a discussion on dhclient does not work within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi there, I want my notebook to be connected with a linksys wrt54gs. I use slackware-11.0 and an intel ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi there, I want my notebook to be connected with a linksys wrt54gs. I use slackware-11.0 and an intel wlan-card which works with the ipw-2200 driver from linux 2.6.19.1. If I do a "dhclient eth1" I get this: ------------------------------------------------------------------------------------------- root@thinkpadomat:/home/simon# dhclient eth1 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on Socket/eth1 Sending on Socket/eth1 DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 17 DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10 DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11 No DHCPOFFERS received. No working leases in persistent database - sleeping. root@thinkpadomat:/home/simon# ----------------------------------------------------------------------------------------------- instead of this connecting to the router with a fixed ip works without problems. Also using the other dhcp-program "dhcpcd" works perfect and gives me a working ip-address. But I need doing this with dhclient, because networkmanager needs this and I want to use it for my networks. It would be nice if someone of you can give me a little hint how to solve this. regards Thorsten |
| |||
| Thorsten Kolb wrote: > instead of this connecting to the router with a fixed ip works without > problems. Also using the other dhcp-program "dhcpcd" works perfect and > gives me a working ip-address. > But I need doing this with dhclient, because networkmanager needs this and I > want to use it for my networks. what "network manager" needs dhclient? anything a simple symlink could solve? -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) |
| |||
| Joost Kremers wrote: > Thorsten Kolb wrote: >> instead of this connecting to the router with a fixed ip works without >> problems. Also using the other dhcp-program "dhcpcd" works perfect and >> gives me a working ip-address. >> But I need doing this with dhclient, because networkmanager needs this >> and I want to use it for my networks. > > what "network manager" needs dhclient? anything a simple symlink could > solve? > NetworkManager is an application which manages your networks (wlan, lan & DSL) Its very nice program. See http://www.gnome.org/projects/NetworkManager/ It uses dhcdbd (some dbus-thing for dhclient). So a symlink can not help to solve it. Thorsten |
| |||
| On Wed, 20 Dec 2006 18:49:01 +0100, Thorsten Kolb <thorsten_kolb@urz.uni-hd.de> wrote: >Joost Kremers wrote: > >> Thorsten Kolb wrote: >>> instead of this connecting to the router with a fixed ip works without >>> problems. Also using the other dhcp-program "dhcpcd" works perfect and >>> gives me a working ip-address. >>> But I need doing this with dhclient, because networkmanager needs this >>> and I want to use it for my networks. >> >> what "network manager" needs dhclient? anything a simple symlink could >> solve? >> > >NetworkManager is an application which manages your networks (wlan, lan & >DSL) Its very nice program. See >http://www.gnome.org/projects/NetworkManager/ >It uses dhcdbd (some dbus-thing for dhclient). So a symlink can not help to >solve it. > >Thorsten Did you create a real executable from the sample in /etc/dhcpc? -- buck |
| |||
| buck wrote: > On Wed, 20 Dec 2006 18:49:01 +0100, Thorsten Kolb > <thorsten_kolb@urz.uni-hd.de> wrote: > >>Joost Kremers wrote: >> >>> Thorsten Kolb wrote: >>>> instead of this connecting to the router with a fixed ip works without >>>> problems. Also using the other dhcp-program "dhcpcd" works perfect and >>>> gives me a working ip-address. >>>> But I need doing this with dhclient, because networkmanager needs this >>>> and I want to use it for my networks. >>> >>> what "network manager" needs dhclient? anything a simple symlink could >>> solve? >>> >> >>NetworkManager is an application which manages your networks (wlan, lan & >>DSL) Its very nice program. See >>http://www.gnome.org/projects/NetworkManager/ >>It uses dhcdbd (some dbus-thing for dhclient). So a symlink can not help >>to solve it. >> >>Thorsten > > Did you create a real executable from the sample in /etc/dhcpc? > -- > buck As I said before, the program I want to use is dhclient specific. I do not think that it can be used with dhcpc. The dhcdbd-site says that it has to be used with dhclient. |
| |||
| On Wed, 20 Dec 2006 22:43:17 +0100, Thorsten Kolb <thorsten_kolb@urz.uni-hd.de> wrote: >As I said before, the program I want to use is dhclient specific. I do not >think that it can be used with dhcpc. The dhcdbd-site says that it has to >be used with dhclient. I tried to use dhclient and never could make it work. It compiled and acted like it was dong OK but I never got an IP address with it. I fail to believe that the software one uses to obtain an IP matters a damn. Run this "special" program and tell us What Bad Thing Happens when you use the "wrong" dhcp client software. -- buck |
| |||
| buck wrote: > On Wed, 20 Dec 2006 22:43:17 +0100, Thorsten Kolb > <thorsten_kolb@urz.uni-hd.de> wrote: >>As I said before, the program I want to use is dhclient specific. I do not >>think that it can be used with dhcpc. The dhcdbd-site says that it has to >>be used with dhclient. > > I tried to use dhclient and never could make it work. It compiled and > acted like it was dong OK but I never got an IP address with it. > > I fail to believe that the software one uses to obtain an IP matters a > damn. Run this "special" program and tell us What Bad Thing Happens > when you use the "wrong" dhcp client software. > -- > buck Believe me it needs dhclient ... NetworkManager communicates over dbus with dhclient and dhcpcd has not implemented this. But however, i finaly get dhclient running!!! The slackbuild mades something strange things, I compiled dhcp just with ./configure; make etc. and now it works!!! Try it out, maybe in your case it was the same problem. Thank you all very much - have a nice & wonderfull Christmas !!! Thorsten |
| ||||
| On Fri, 22 Dec 2006 13:12:45 +0100, Thorsten Kolb wrote: > The slackbuild mades something > strange things, I compiled dhcp just with ./configure; make etc. and now it > works!!! Try it out, maybe in your case it was the same problem. I noticed exactly the same on Slackware 9.1 once, dhclient wouldn't work, but worked very well as soon as I recompiled it. -- _ // _ // \\ // \\// \/ Eivind E |
| Thread Tools | |
| Display Modes | |
|
|