• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

dhclient Fehler?

Ich kann keine Verbindung zu offenen Netzwerken aufbauen. Folgende Fehlermeldungen erscheinen in der Konsole beim Versuch des Verbindungsaufbau´s:
Code:
iwconfig ra0 ap 00:03:c9:7d:51:fe
Error for wireless request "Set AP Address" (8B14) :
    SET failed on device ra0 ; Bad address.
wlassistant:
Code:
No DHCP client running.
No pre-connection command specified.
ifup: /sbin/ifconfig ra0 up
iwconfig_set: /usr/sbin/iwconfig ra0 mode managed channel 11 key off essid Stay Out!!
iwconfig_ap: /usr/sbin/iwconfig ra0 ap 00:03:C9:7D:51:FE
==>stderr: Error for wireless request "Set AP Address" (8B14) :
    SET failed on device ra0 ; Bad address.
ifconfig_dhcp: /sbin/dhcpcd -nd ra0
No DHCP client running.
CONNECTION FAILED.

Liegt es an meinem dhclient oder liegt es am Router?

Hier mal meine dhclient.conf:
Code:
# dhclient configuration file
# see "man dhclient.conf" for further details
# file: /etc/dhclient.conf
#


######################################################
# Suggested configurations for Cable Modem providers #
#
# uncomment and fill in the appropriate section

#####################################################
# @Home -- TCI, etc
#
# Uncomment the following line and enter your Client ID, which should
# have come in your mail from @Home
#
# send dhcp-client-identifier "c32423-a"

#send host-name "andare.fugue.com";
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c;
#supersede domain-name "fugue.com home.vix.com";
#prepend domain-name-servers 127.0.0.1;

send dhcp-lease-time 3600;
request subnet-mask, broadcast-address, time-offset, routers,
	domain-name, domain-name-servers, host-name, nis-domain,
	nis-servers;
require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
script "/sbin/dhclient-script";

#media "-link0 -link1 -link2", "link0 link1";
#reject 192.33.137.209;
Bei der Eingabe von dhclient ra0 gibt die Konsole folgendes aus:
Code:
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/ra0/00:11:6b:35:04:d2
Sending on   LPF/ra0/00:11:6b:35:04:d2
Can't bind to dhcp address: Address already in use
Please make sure there is no other dhcp server
running and that there's no entry for dhcp or
bootp in /etc/inetd.conf.   Also make sure you
are not running HP JetAdmin software, which
includes a bootp server.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.
In der Ausgabe besagte /etc/inetd.conf ist komplett leer und die man-Ausgabe hilft mir auch nicht weiter (kann überhaupt nix damit anfangen).
Die Angaben Listening on/Sending on scheinen zu stimmen, zumindest ra0 und die Hardwareadresse.

Der vollständigkeit halber hier nun noch die Ausgaben iwconfig/ifconfig:
Code:
lo        no wireless extensions.

ra0       RT61 Wireless  ESSID:""  Nickname:"linux"
          Mode:Managed  Frequency:2.412 GHz  Bit Rate=54 Mb/s   
          RTS thr:off   Fragment thr:off
          Link Quality=0/100  Signal level:-83 dBm  Noise level:-111 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.

Code:
lo        Protokoll:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3479 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3479 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenlänge:0 
          RX bytes:305822 (298.6 Kb)  TX bytes:305822 (298.6 Kb)

ra0       Protokoll:Ethernet  Hardware Adresse 00:11:6B:35:04:D2  
          inet6 Adresse: fe80::211:6bff:fe35:4d2/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST NOTRAILERS RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:4418 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:25 Sendewarteschlangenlänge:1000 
          RX bytes:383556 (374.5 Kb)  TX bytes:608 (608.0 b)
          Interrupt:5

Sind sonst noch Ausgaben zur Fehleranalyse nötig? Vielen Dank schonmal!
 
jengelh schrieb:
Leute, lest die Fehlermeldungen:
Schaltbert schrieb:
Can't bind to dhcp address: Address already in use
Da läuft wohl schon dhcpcd...

Danke für den Tipp, aber ich lese die Fehlermeldungen...
Zum Beispiel diese hier die mich stutzig macht ob die Konfiguration für den Dhclient richtig ist:
Code:
No DHCP client running. 
No pre-connection command specified. 
ifup: /sbin/ifconfig ra0 up 
iwconfig_set: /usr/sbin/iwconfig ra0 mode managed channel 11 key off essid Stay Out!! 
iwconfig_ap: /usr/sbin/iwconfig ra0 ap 00:03:C9:7D:51:FE 
==>stderr: Error for wireless request "Set AP Address" (8B14) : 
    SET failed on device ra0 ; Bad address. 
ifconfig_dhcp: /sbin/dhcpcd -nd ra0 
No DHCP client running. 
CONNECTION FAILED.

Dieses SET failed macht mich kirre, weil die Angaben stimmen auf jeden Fall - aber irgendwie will er mich nicht verbinden!

Das RaConfig-Konfigurationsprogramm, gibt es das auch für die Rt2561? Weil ich finde es nur für die Rt2500 und bekomme das Programm mit der Rt2561 auch nicht zum laufen.
 
Oben