You are not logged in.

#1 2014-07-27 11:11:13

frojnd
Member
Registered: 2008-09-20
Posts: 125

dhcp problems after upgrade for wlan0

Hi there.

After upgrade of the system I am not able to connect to my android wifi hotspot. These are the logs I get from systemctl and jorunalctl:

 systemctl status netctl@s1.service
● netctl@s1.service - Networking for netctl profile s1
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
   Active: failed (Result: exit-code) since Sun 2014-07-27 12:56:14 CEST; 38s ago
     Docs: man:netctl.profile(5)
  Process: 26362 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 26362 (code=exited, status=1/FAILURE)

Jul 27 12:55:43 traktor dhcpcd[26448]: DUID 00:01:00:01:19:90:ed:ab:f4:6d:04:63:36:4d
Jul 27 12:55:43 traktor dhcpcd[26448]: wlan0: IAID 4c:91:50:33
Jul 27 12:55:44 traktor dhcpcd[26448]: wlan0: soliciting a DHCP lease
Jul 27 12:56:13 traktor dhcpcd[26448]: timed out
Jul 27 12:56:13 traktor dhcpcd[26448]: exited
Jul 27 12:56:14 traktor network[26362]: DHCP IP lease attempt failed on interface 'wlan0'
Jul 27 12:56:14 traktor network[26362]: Failed to bring the network up for profile 's1'
Jul 27 12:56:14 traktor systemd[1]: netctl@s1.service: main process exited, code=exited, status=1/FAILURE
Jul 27 12:56:14 traktor systemd[1]: Failed to start Networking for netctl profile s1.
Jul 27 12:56:14 traktor systemd[1]: Unit netctl@s1.service entered failed state.
journalctl -xn
-- Logs begin at Sat 2014-03-29 23:32:25 CET, end at Sun 2014-07-27 12:56:15 CEST. --
Jul 27 12:56:13 traktor dhcpcd[26448]: exited
Jul 27 12:56:14 traktor network[26362]: DHCP IP lease attempt failed on interface 'wlan0'
Jul 27 12:56:14 traktor kernel: wlan0: deauthenticating from f8:e0:79:c7:32:c1 by local choice (Reason: 3=DEAUTH_LEAV
Jul 27 12:56:14 traktor kernel: cfg80211: Calling CRDA for country: CN
Jul 27 12:56:14 traktor network[26362]: Failed to bring the network up for profile 's1'
Jul 27 12:56:14 traktor systemd[1]: netctl@s1.service: main process exited, code=exited, status=1/FAILURE
Jul 27 12:56:14 traktor systemd[1]: Failed to start Networking for netctl profile s1.
-- Subject: Unit netctl@s1.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@s1.service has failed.
-- 
-- The result is failed.
Jul 27 12:56:14 traktor systemd[1]: Unit netctl@s1.service entered failed state.
Jul 27 12:56:14 traktor sudo[24193]: pam_unix(sudo:session): session closed for user root
Jul 27 12:56:15 traktor ntpd[318]: Deleting interface #8 wlan0, fe80::da5d:4cff:fe91:5033%3#123, interface stats: rec

Also I tried to downgrade dhcpcp and netcl but the problem is still here:

[2014-07-21 18:49] [PACMAN] Running 'pacman -U dhcpcd-6.3.2-1-x86_64.pkg.tar.xz'
[2014-07-21 18:49] [PACMAN] downgraded dhcpcd (6.4.0-1 -> 6.3.2-1)
[2014-07-21 19:00] [PACMAN] Running 'pacman -U netctl-1.7-1-any.pkg.tar.xz'
[2014-07-21 19:00] [PACMAN] downgraded netctl (1.8-1 -> 1.7-1)

Complete log file can be found here: http://sprunge.us/ZKPf

I then tried to manually connect to with wpa_supplicant but I got failed to open error:

sudo wpa_supplicant -B -i wlan0 -D nl80211 -c <(wpa_passphrase s1 hidden123pass)
Successfully initialized wpa_supplicant
Failed to open config file '/dev/fd/63', error: No such file or directory
Failed to read or parse configuration '/dev/fd/63'.

Any help would be appreciated.

Note: dhcpcd works if I try to connect with usb0

Last edited by frojnd (2014-07-27 11:12:08)

Offline

#2 2014-07-27 15:52:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: dhcp problems after upgrade for wlan0

What is the output of ip link   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2014-07-27 16:13:16

frojnd
Member
Registered: 2008-09-20
Posts: 125

Re: dhcp problems after upgrade for wlan0

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether f4:6d:04:63:36:4d brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether d8:5d:4c:91:50:33 brd ff:ff:ff:ff:ff:ff

Offline

#4 2014-07-27 16:36:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: dhcp problems after upgrade for wlan0

Okay, thanks.  I was making sure that network names did not change on you.  Are we sure that the wireless is associating with the access point?   Can you post your service file?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2014-07-27 16:45:51

frojnd
Member
Registered: 2008-09-20
Posts: 125

Re: dhcp problems after upgrade for wlan0

Thank you for your help ewaller.

I'm not quite sure if Wireless is associating with AP as AP is in my case android phone:
- When I try to connect with wifi-menu I see my AP and I select it and then try to connect. I tried to look at /data/misc/dhcp/dnsmasq.leases to see if connection is made with android phone but obviously this file only shows connection that were successfully made in last n minutes/seconds?

If by service file you mean netcl file then this is it:

Description='Automatically generated profile by wifi-menu'
Interface=wlan0
Connection=wireless
Security=wpa
ESSID=s1
IP=dhcp
Key=hidden123pass

Last edited by frojnd (2014-07-27 17:01:10)

Offline

#6 2014-07-27 17:39:33

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: dhcp problems after upgrade for wlan0

Any chance that anything has changed on the phone?
The next step would be to try it by hand.  That would mean using wpa_supplicant to connect to the phone and to see if you can associate with the phone.  Then, after associating, we can try to obtain an address.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2014-07-27 18:34:56

frojnd
Member
Registered: 2008-09-20
Posts: 125

Re: dhcp problems after upgrade for wlan0

Nothing changed on the phone. I tried with 2 different android phones.

I tried by hand as statedn in the first step:

sudo wpa_supplicant -B -i wlan0 -D nl80211 -c <(wpa_passphrase s1 hidden123pass)

But I get following:

Successfully initialized wpa_supplicant
Failed to open config file '/dev/fd/63', error: No such file or directory
Failed to read or parse configuration '/dev/fd/63'.

Offline

#8 2014-07-29 20:29:58

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,429

Re: dhcp problems after upgrade for wlan0

Offline

Board footer

Powered by FluxBB