Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] Bekomme keine IP-Adresse - DHCP time out
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 123
Location: Tianjin, CN

PostPosted: Mon Apr 02, 2007 11:38 am    Post subject: [gelöst] Bekomme keine IP-Adresse - DHCP time out Reply with quote

Hallo zusammen,

seit Tagen schlage ich mich mit dem unten dargestellten Problem rum und komme einfach nicht weiter.
"dhcpcd" hat plötzlich aufgehört zu funktionieren. Und zwar nicht nur bei meiner WLAN-Karte sondern auch bei meiner NIC.
Wenn ich eine Adresse und ein Gateway von Hand zuweise funktioniert es.

Folgendes habe ich bisher mit gleichem Ergebnis probiert:
- "dhcpcd" neu gebaut
- "udhcp" und "pump" probiert
- Router neue ESSID gegeben (/etc/conf.d/wireless natürlich angepasst)

Jetzt bin ich mit meinem Latein am Ende - ich hoffe ihr könnt mir weiterhelfen. Meine Mitbewohner haben keine Probleme und auch bei mir funktioniert es unter WindowsXP (Dual-Boot) - es liegt also kein Hardwaredefekt vor.

Code:
mobiletux log # /etc/init.d/net.eth1 start
 * Service net.eth1 starting
 * Starting eth1
 *   Loading networking modules for eth1
 *     modules: apipa arping ccwgroup macchanger macnet rename netplugd iwconfig essidnet iptunnel ifconfig system dhcpcd ip6to4
 *       netplugd provides plug
 *       iwconfig provides wireless
 *       ifconfig provides interface
 *       dhcpcd provides dhcp
 *   Configuring eth1 for MAC address XX:XX:XX:XX:XX:XX ...               [ ok ]
 *   netplug does not work with wireless
 *   Configuring wireless network for eth1
 *   Scanning for access points
 *     Found "MyESSID" at XX:XX:XX:XX:XX:XX (managed, encrypted)
 *   Connecting to "MyESSID" in managed mode (WEP enabled - open) ...       [ ok ]
 *     eth1 connected to ESSID "MyESSID" at FF:FF:FF:FF:FF:FF
 *     in managed mode on channel 4 (WEP enabled - open)
 *   Configuring eth1 for ESSID "MyESSID" ...                               [ ok ]
 *   Configuration not set for eth1 - assuming DHCP
 *   Bringing up eth1
 *     dhcp
 *       Running dhcpcd ...
Error, timed out waiting for a valid DHCP server response                 [ !! ]
 * ERROR:  net.eth1 failed to start
mobiletux log # 

_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.


Last edited by koschi on Wed Apr 04, 2007 4:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Mon Apr 02, 2007 11:49 am    Post subject: Reply with quote

Was steht denn in Deiner /etc/conf.d/net?

Sollte für DHCP --> eth1 so aussehen:
Code:
....
config_eth1=( "dhcp" )
dhcp_eth1="nodns nontp nonis"
....
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 123
Location: Tianjin, CN

PostPosted: Mon Apr 02, 2007 2:42 pm    Post subject: Reply with quote

Also, meine "conf.d/net" sieht momentan so aus:

Code:
config_eth0=( "dhcp" )
config_eth1=( "dhcp" )

dhcp_eth0="nodns nontp nonis"
dhcp_eth1="nodns nontp nonis"


...und "conf.d/wireless" sieht so aus:

Code:
key_ESSID1="s:passwort1"
key_ESSID2="s:passwort2"
key_ESSID3="s:passwort3"
preferred_aps=( "ESSID1" "ESSID2" "ESSID3" )


Funktioniert aber trotzdem nicht...
_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Mon Apr 02, 2007 2:53 pm    Post subject: Reply with quote

hmm..., also
Quote:
Error, timed out waiting for a valid DHCP server response
bedeutet normalerweise dass er nicht zum DHCP-Server durchkommt.

Installiere mal die Wireless-Tools. --> Info
Anschliesend bitte die Ausgabe von iwconfig posten.
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 123
Location: Tianjin, CN

PostPosted: Mon Apr 02, 2007 3:44 pm    Post subject: Reply with quote

Ausgabe von iwconfig:

Code:
eth0      no wireless extensions.

lo        no wireless extensions.

eth2      no wireless extensions.

eth1      IEEE 802.11-DS  ESSID:"BOSCH"
          Mode:Managed  Frequency:2.427 GHz  Access Point: XX:XX:XX:XX:XX:XX
          Bit Rate:11 Mb/s   Tx-Power=20 dBm   Sensitivity=0/65535
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-**   Security mode:open
          Power Management:off
          Link Quality=34/100  Signal level=-78 dBm  Noise level=-86 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:62   Missed beacon:0

wifi0     IEEE 802.11-DS  ESSID:"BOSCH"
          Mode:Managed  Frequency:2.427 GHz  Access Point: XX:XX:XX:XX:XX:XX
          Bit Rate:11 Mb/s   Tx-Power=20 dBm   Sensitivity=0/65535
          Retry limit:16   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-**   Security mode:open
          Power Management:off
          Link Quality=34/100  Signal level=-78 dBm  Noise level=-86 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:62   Missed beacon:0

_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
3PO
Veteran
Veteran


Joined: 26 Nov 2006
Posts: 1110
Location: Schwabenländle

PostPosted: Mon Apr 02, 2007 4:25 pm    Post subject: Reply with quote

Also wenn ich das richtig sehe, hast du "Funkkontakt" zu Deinem AP.
Ich würde mal im Setup vom AP nachsehen.

Bei meiner Fritz!Box 7050 z.B. gibt es einen Menüpunkt:
Quote:
WLAN-Zugang beschränken (MAC-Address-Filter)

[] Neue WLAN-Netzwerkgeräte zulassen

[] Keine neuen WLAN-Netzwerkgeräte zulassen
Back to top
View user's profile Send private message
TheCurse
l33t
l33t


Joined: 21 Jun 2004
Posts: 670
Location: Köln

PostPosted: Mon Apr 02, 2007 7:32 pm    Post subject: Reply with quote

Vielleicht braucht dein DHCP Server einfach ein bisschen länger? Stell mal den Timeout auf vielleicht 30 Sekunden, das hat zumindest bei mir geholfen.
Code:
dhcpcd_eth0="-t 30"
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 123
Location: Tianjin, CN

PostPosted: Tue Apr 03, 2007 3:21 pm    Post subject: Reply with quote

TheCurse wrote:
Vielleicht braucht dein DHCP Server einfach ein bisschen länger? Stell mal den Timeout auf vielleicht 30 Sekunden, das hat zumindest bei mir geholfen.
Code:
dhcpcd_eth0="-t 30"


Nein, das bringt auch nix.

Habe heute die Gentoo Live-CD gebootet und per net-setup mein Netzwerk konfiguriert - hat auch nicht funktioniert. Werde mal 'ne Knoppix-CD organisieren und es mit der probieren.

Das komische ist ja nur, dass es mit Windows anstandslos funktioniert...
_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
koschi
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 123
Location: Tianjin, CN

PostPosted: Wed Apr 04, 2007 3:59 pm    Post subject: Reply with quote

Nach dem heutigen update auf dhcpcd-3.0.16 funktioniert wieder alles tadellos.

Würde aber gerne wissen warum das Problem plötzlich aus dem Nichts aufgetaucht ist...
_________________
Der Digitalrechner ist ein Vollidiot mit einer einseitigen Begabung im schnellen Addieren.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum