You are not logged in.

#1 2012-06-18 03:39:51

velxundussa
Member
Registered: 2012-06-18
Posts: 11

Wifi: DHCP timeout

Hi peoples!

I've got a new arch install on my macbook pro 7,1 and it seems the wifi won't connect unless the encryption's set to WPA.

Here's a wicd log from a connection to a WEP network

2012/06/17 23:39:24 :: ---------------------------
2012/06/17 23:39:24 :: wicd initializing...
2012/06/17 23:39:24 :: ---------------------------
2012/06/17 23:39:24 :: wicd is version 1.7.2.4 768
2012/06/17 23:39:24 :: setting backend to external
2012/06/17 23:39:24 :: trying to load backend external
2012/06/17 23:39:24 :: successfully loaded backend external
2012/06/17 23:39:24 :: trying to load backend external
2012/06/17 23:39:24 :: successfully loaded backend external
2012/06/17 23:39:24 :: Automatically detected wireless interface wlan0
2012/06/17 23:39:24 :: setting wireless interface wlan0
2012/06/17 23:39:24 :: automatically detected wired interface eth0
2012/06/17 23:39:24 :: setting wired interface eth0
2012/06/17 23:39:24 :: setting wpa driver wext
2012/06/17 23:39:24 :: setting use global dns to False
2012/06/17 23:39:24 :: setting global dns
2012/06/17 23:39:24 :: global dns servers are None None None
2012/06/17 23:39:24 :: domain is None
2012/06/17 23:39:24 :: search domain is None
2012/06/17 23:39:24 :: setting automatically reconnect when connection drops True
2012/06/17 23:39:24 :: Setting dhcp client to 0
2012/06/17 23:39:24 :: Wireless configuration file found...
2012/06/17 23:39:24 :: Wired configuration file found...
2012/06/17 23:39:24 :: chmoding configuration files 0600...
2012/06/17 23:39:24 :: chowning configuration files root:root...
2012/06/17 23:39:24 :: Using wireless interface...wlan0
2012/06/17 23:39:24 :: Using wired interface...eth0
2012/06/17 23:39:28 :: Connecting to wireless network microdidak
2012/06/17 23:39:31 :: Putting interface down
2012/06/17 23:39:31 :: Releasing DHCP leases...
2012/06/17 23:39:31 :: Setting false IP...
2012/06/17 23:39:32 :: Stopping wpa_supplicant
2012/06/17 23:39:32 :: Flushing the routing table...
2012/06/17 23:39:32 :: Putting interface up...
2012/06/17 23:39:34 :: Attempting to authenticate...
2012/06/17 23:39:35 :: Running DHCP with hostname velxArch
2012/06/17 23:39:35 :: dhcpcd[6228]: version 5.5.6 starting
2012/06/17 23:39:35 ::
2012/06/17 23:39:35 :: dhcpcd[6228]: wlan0: sending IPv6 Router Solicitation
2012/06/17 23:39:35 ::
2012/06/17 23:39:35 :: dhcpcd[6228]: wlan0: sendmsg: Cannot assign requested address
2012/06/17 23:39:35 ::
2012/06/17 23:39:35 :: dhcpcd[6228]: wlan0: broadcasting for a lease
2012/06/17 23:39:35 ::
2012/06/17 23:39:39 :: dhcpcd[6228]: wlan0: sending IPv6 Router Solicitation
2012/06/17 23:39:39 ::
2012/06/17 23:39:43 :: dhcpcd[6228]: wlan0: sending IPv6 Router Solicitation
2012/06/17 23:39:43 ::
2012/06/17 23:39:47 :: dhcpcd[6228]: wlan0: sending IPv6 Router Solicitation
2012/06/17 23:39:47 ::
2012/06/17 23:39:47 :: dhcpcd[6228]: wlan0: no IPv6 Routers available
2012/06/17 23:39:47 ::
2012/06/17 23:40:05 :: dhcpcd[6228]: timed out
2012/06/17 23:40:05 ::
2012/06/17 23:40:05 :: DHCP connection failed
2012/06/17 23:40:05 :: exiting connection thread
2012/06/17 23:40:07 :: Sending connection attempt result dhcp_failed
2012/06/17 23:40:07 :: Autoconnecting...
2012/06/17 23:40:07 :: No wired connection present, attempting to autoconnect to wireless network

I must admit I'm pretty much lost... I don't really know where to start to fix this problem hmm

Offline

#2 2012-06-18 03:46:42

adamrehard
Member
From: NY, USA
Registered: 2011-11-03
Posts: 154

Re: Wifi: DHCP timeout


"The box said requires Vista or better, so I installed Arch"
Windows != Linux

Offline

#3 2012-06-18 04:34:07

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Wifi: DHCP timeout

Welcome to the forums, velxundussa.

Just a hint: Please use [ code ] tags around listings instead of [ quote ] ones. This will display display monospaced text in a scrollable window which is far better suited esp. for long listings.


To know or not to know ...
... the questions remain forever.

Offline

#4 2012-06-19 04:15:02

velxundussa
Member
Registered: 2012-06-18
Posts: 11

Re: Wifi: DHCP timeout

oh, thanks for the tip bernarcher.. I did search for a list of tags but couldn't find it so got the first one that I knew that'd work ^^'

Anyway, I did try to change to dhclient without any changes on the problem, but the log is indeed a little bit more talkative:

2012/06/19 00:12:17 :: Connecting to wireless network test1234
2012/06/19 00:12:17 :: attempting to set hostname with dhclient
2012/06/19 00:12:17 :: using dhcpcd or another supported client may work better
2012/06/19 00:12:18 :: attempting to set hostname with dhclient
2012/06/19 00:12:18 :: using dhcpcd or another supported client may work better
2012/06/19 00:12:20 :: Putting interface down
2012/06/19 00:12:20 :: Releasing DHCP leases...
2012/06/19 00:12:20 :: attempting to set hostname with dhclient
2012/06/19 00:12:20 :: using dhcpcd or another supported client may work better
2012/06/19 00:12:20 :: Setting false IP...
2012/06/19 00:12:20 :: Stopping wpa_supplicant
2012/06/19 00:12:20 :: Flushing the routing table...
2012/06/19 00:12:20 :: Putting interface up...
2012/06/19 00:12:22 :: Attempting to authenticate...
2012/06/19 00:12:23 :: Running DHCP with hostname velxArch
2012/06/19 00:12:23 :: attempting to set hostname with dhclient
2012/06/19 00:12:23 :: using dhcpcd or another supported client may work better
2012/06/19 00:12:23 :: Internet Systems Consortium DHCP Client 4.2.3-P2
2012/06/19 00:12:23 :: Copyright 2004-2012 Internet Systems Consortium.
2012/06/19 00:12:23 :: All rights reserved.
2012/06/19 00:12:23 :: For info, please visit https://www.isc.org/software/dhcp/
2012/06/19 00:12:23 :: 
2012/06/19 00:12:24 :: Listening on LPF/wlan0/78:ca:39:b2:5b:90
2012/06/19 00:12:24 :: Sending on   LPF/wlan0/78:ca:39:b2:5b:90
2012/06/19 00:12:24 :: Sending on   Socket/fallback
2012/06/19 00:12:24 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
2012/06/19 00:12:29 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
2012/06/19 00:12:34 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
2012/06/19 00:12:46 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
2012/06/19 00:13:04 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
2012/06/19 00:13:17 :: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
2012/06/19 00:13:25 :: No DHCPOFFERS received.
2012/06/19 00:13:25 :: No working leases in persistent database - sleeping.
2012/06/19 00:13:25 :: DHCP connection failed
2012/06/19 00:13:25 :: exiting connection thread
2012/06/19 00:13:30 :: Sending connection attempt result dhcp_failed

edit:
the change to dhclient, however does change the fact that now I can't even connect to WPA networks...
Changed back to dhcpcd. Here's a log of a successfull connection to the very same network with the security changed to WPA2 personnal

2012/06/19 00:21:10 :: Connecting to wireless network test1234
2012/06/19 00:21:13 :: Putting interface down
2012/06/19 00:21:13 :: Releasing DHCP leases...
2012/06/19 00:21:13 :: Setting false IP...
2012/06/19 00:21:13 :: Stopping wpa_supplicant
2012/06/19 00:21:13 :: Flushing the routing table...
2012/06/19 00:21:13 :: Putting interface up...
2012/06/19 00:21:15 :: Attempting to authenticate...
2012/06/19 00:21:16 :: Running DHCP with hostname velxArch
2012/06/19 00:21:16 :: dhcpcd[2500]: version 5.5.6 starting
2012/06/19 00:21:16 :: 
2012/06/19 00:21:16 :: dhcpcd[2500]: wlan0: sending IPv6 Router Solicitation
2012/06/19 00:21:16 :: 
2012/06/19 00:21:16 :: dhcpcd[2500]: wlan0: sendmsg: Cannot assign requested address
2012/06/19 00:21:16 :: 
2012/06/19 00:21:16 :: dhcpcd[2500]: wlan0: broadcasting for a lease
2012/06/19 00:21:16 :: 
2012/06/19 00:21:16 :: dhcpcd[2500]: wlan0: offered 192.168.1.106 from 192.168.1.1
2012/06/19 00:21:16 :: 
2012/06/19 00:21:16 :: dhcpcd[2500]: wlan0: acknowledged 192.168.1.106 from 192.168.1.1
2012/06/19 00:21:16 :: 
2012/06/19 00:21:16 :: dhcpcd[2500]: wlan0: checking for 192.168.1.106
2012/06/19 00:21:16 :: 
2012/06/19 00:21:20 :: dhcpcd[2500]: wlan0: sending IPv6 Router Solicitation
2012/06/19 00:21:20 :: 
2012/06/19 00:21:22 :: dhcpcd[2500]: wlan0: leased 192.168.1.106 for 86400 seconds
2012/06/19 00:21:22 :: 
2012/06/19 00:21:22 :: dhcpcd[2500]: forked to background, child pid 2529
2012/06/19 00:21:22 :: 
2012/06/19 00:21:22 :: 
2012/06/19 00:21:22 :: DHCP connection successful
2012/06/19 00:21:22 :: not verifying
2012/06/19 00:21:22 :: Connecting thread exiting.
2012/06/19 00:21:23 :: Sending connection attempt result success

Last edited by velxundussa (2012-06-19 04:21:22)

Offline

#5 2012-06-19 13:47:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Wifi: DHCP timeout

I've never been good at reading wicd logs, but there seems to be a conspicuous lack of wpa_supplicant messages*.  Doesn't wicd use wpa_supplicant to connect to WPA(2) networks?

How you tried manually connecting?  Do you get errors then?


*edit: now I see the message about it stopping wpa_supplicant ... but it shouldn't be stopping, it should be starting!

Last edited by Trilby (2012-06-19 13:58:39)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2012-06-19 18:16:25

velxundussa
Member
Registered: 2012-06-18
Posts: 11

Re: Wifi: DHCP timeout

Well, I don't think wpa_supplicant is in fault here since the only wifi connections that does work are the WPA ones!

I think that when the log says that it's stopping wpa_supplicant it means that it resets it's parameters to setup the new connection

Offline

Board footer

Powered by FluxBB