Unix Technical Forum

dhclient does not work

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 08:25 PM
Thorsten Kolb
 
Posts: n/a
Default dhclient does not work

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 08:25 PM
Joost Kremers
 
Posts: n/a
Default Re: dhclient does not work

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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 08:25 PM
Thorsten Kolb
 
Posts: n/a
Default Re: dhclient does not work

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 08:25 PM
buck
 
Posts: n/a
Default Re: dhclient does not work

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 08:25 PM
Thorsten Kolb
 
Posts: n/a
Default Re: dhclient does not work

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 08:26 PM
buck
 
Posts: n/a
Default Re: dhclient does not work

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 08:26 PM
Thorsten Kolb
 
Posts: n/a
Default Re: dhclient does not work

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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 08:26 PM
Eivind E
 
Posts: n/a
Default Re: dhclient does not work

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com