Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NetworkManager dhclient timeout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Duck Man
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2004
Posts: 148
Location: Pleasanton, CA

PostPosted: Sun May 06, 2007 10:26 pm    Post subject: NetworkManager dhclient timeout Reply with quote

I am tring to get NetworkManager working and am having an odd problem. When I try to connect to my network which is protected by WEP it times out tring to get am ip with dhclient. But if I manualy run dhclient I get an ip:
Code:
# iwconfig eth1 essid AccessPointDM
acer1600 duckman # iwconfig eth1 key 56CC180293EC3E343CF27E18F3
acer1600 duckman # dhclient eth1
Internet Systems Consortium DHCP Client V3.0.3-Gentoo-r9
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:12:f0:e8:85:13
Sending on   LPF/eth1/00:12:f0:e8:85:13
Sending on   Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.66.1
bound to 192.168.66.31 -- renewal in 1492 seconds.

How does NetworkManager do it? and why does it not work?
Thank you
Back to top
View user's profile Send private message
linpacman
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2004
Posts: 124

PostPosted: Sun Jul 01, 2007 10:38 am    Post subject: Reply with quote

I have the same problem with networkmanager getting no ip address via dhcp:

Code:

Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) New wireless user key for
network 'test07' received.
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device
Prepare) scheduled...
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device
Prepare) started...
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device
Configure) scheduled...
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 1 of 5 (Device
Prepare) complete.
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device
Configure) starting...
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0/wireless): access point
'test07' is encrypted, and a key exists.  No new key needed.
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'INTERFACE_ADD ath0             
wext     /var/run/wpa_supplicant '
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'AP_SCAN 1'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'ADD_NETWORK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was '0'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 ssid
746573743037'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 key_mgmt
NONE'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0 wep_key0
<key>'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'SET_NETWORK 0
wep_tx_keyidx 0'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: sending command 'ENABLE_NETWORK 0'
Jul  1 12:18:53 notebook NetworkManager: <info>  SUP: response was 'OK'
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 2 of 5 (Device
Configure) complete.
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0/wireless) Stage 2 of 5
(Device Configure) successful.  Connected to access point 'test07'.
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 3 of 5 (IP Configure
Start) scheduled.
Jul  1 12:18:53 notebook NetworkManager: <info>  Activation (ath0) Stage 3 of 5 (IP Configure
Start) started...
Jul  1 12:18:54 notebook NetworkManager: <info>  Activation (ath0) Beginning DHCP transaction.
Jul  1 12:18:54 notebook NetworkManager: <info>  Activation (ath0) Stage 3 of 5 (IP Configure
Start) complete.
Jul  1 12:18:54 notebook NetworkManager: <info>  DHCP daemon state is now 12 (successfully
started) for interface ath0
Jul  1 12:18:54 notebook dhclient: wifi0: unknown hardware address type 801
Jul  1 12:18:55 notebook NetworkManager: <info>  DHCP daemon state is now 1 (starting) for
interface ath0
Jul  1 12:18:55 notebook dhclient: wifi0: unknown hardware address type 801
Jul  1 12:18:58 notebook dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
Jul  1 12:19:02 notebook dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
Jul  1 12:19:07 notebook dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
Jul  1 12:19:12 notebook dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 10
Jul  1 12:19:22 notebook dhclient: DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 18
Jul  1 12:19:39 notebook NetworkManager: <info>  Device 'ath0' DHCP transaction took too long
(>45s), stopping it.
Jul  1 12:19:39 notebook dhclient: wifi0: unknown hardware address type 801
Jul  1 12:19:39 notebook dhclient: wifi0: unknown hardware address type 801
Jul  1 12:19:40 notebook NetworkManager: <info>  Activation (ath0) Stage 4 of 5 (IP Configure
Timeout) started...
Jul  1 12:19:40 notebook NetworkManager: <debug> [1183285180.904621]
real_act_stage4_ip_config_timeout(): Activation (ath0/wireless): could not get IP configuration info
for 'test07', asking for new key.
Jul  1 12:19:40 notebook NetworkManager: <info>  Activation (ath0) New wireless user key
requested for network 'test07'.
Jul  1 12:19:40 notebook NetworkManager: <info>  Activation (ath0) Stage 4 of 5 (IP Configure
Timeout) complete.
Jul  1 12:19:40 notebook NetworkManager: <info>  Activation (ath0) Stage 4 of 5 (IP Configure
Timeout) scheduled...
Jul  1 12:19:40 notebook NetworkManager: <info>  DHCP daemon state is now 14 (normal exit) for
interface ath0
Jul  1 12:19:40 notebook NetworkManager: <info>  DHCP daemon state is now 14 (normal exit) for
interface ath0


Starting the wireless connection by hand it works and gets an ip address after a few seconds. When connected via network cable networkmanager also gets an ip via dhcp.

Does anyone know how to solve this issue?
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Aug 06, 2007 3:45 pm    Post subject: Reply with quote

same issue here, no idea on how to solve this
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Aug 06, 2007 4:18 pm    Post subject: Reply with quote

I read on https://help.ubuntu.com/community/WifiDocs/NetworkManager that the solution for this issue is downgrading to 0.5, the problem is that there isn't 0.5 version on portage.
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Mon Aug 06, 2007 5:28 pm    Post subject: Reply with quote

I solved: i didn't move my /etc/wpa_supplicant/wpa_supplicant.conf file to an another file, also net.wlan0 initscript and /etc/conf.d/net need to be moved.
In addition gnome-keyring-daemon should be started.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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