You are not logged in.

#1 2014-06-12 21:53:38

JohnHL
Member
Registered: 2014-06-12
Posts: 3

netctl/dhcp issue: can't stay connected to wifi

Hi guys, long time Arch users, first time forum poster.

Back story: A few days ago, netctl just suddenly stopped working and I could no longer connect to my wifi. I hadn't touched any settings or upgraded any packages. I tried doing a system upgrade but it did not help. After hours of searching for a solution, I gave up and decided to reinstall Arch entirely. Connecting to my wifi from the live USB worked, and I managed to reinstall Arch with no issues. Then, I booted into my new Arch system, and I received the same issues with netctl that I had before. Thinking this was an issue with my ISP, I asked some of my family members if their internet was working - and it was. Ever since then, netctl's would either refuse to connect (Error #1) or connect and then disconnect moments later (Error #2).

Here's the logs

Error #1:

% sudo systemctl status netctl@internet.service
● netctl@internet.service - Internet
   Loaded: loaded (/etc/systemd/system/netctl@internet.service; enabled)
   Active: failed (Result: exit-code) since Thu 2014-06-12 17:25:22 EDT; 7s ago
     Docs: man:netctl.profile(5)
  Process: 1506 ExecStop=/usr/lib/network/network stop %I (code=exited, status=0/SUCCESS)
  Process: 1522 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 1522 (code=exited, status=1/FAILURE)

Jun 12 17:25:06 i network[1522]: Starting network profile 'internet'...
Jun 12 17:25:22 i network[1522]: WPA association/authentication failed for interface 'wlo1'
Jun 12 17:25:22 i network[1522]: Failed to bring the network up for profile 'internet'
Jun 12 17:25:22 i systemd[1]: netctl@internet.service: main process exited, code=exited, status=1/FAILURE
Jun 12 17:25:22 i systemd[1]: Failed to start Internet.
Jun 12 17:25:22 i systemd[1]: Unit netctl@internet.service entered failed state

Error #2

% sudo systemctl status netctl@internet.service
● netctl@internet.service - Internet
   Loaded: loaded (/etc/systemd/system/netctl@internet.service; enabled)
   Active: active (exited) since Thu 2014-06-12 17:19:39 EDT; 4min 59s ago
     Docs: man:netctl.profile(5)
  Process: 235 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
 Main PID: 235 (code=exited, status=0/SUCCESS)

Jun 12 17:23:01 i dhcpcd[637]: wlo1: rebinding lease of 192.168.1.121
Jun 12 17:23:06 i dhcpcd[637]: wlo1: DHCP lease expired
Jun 12 17:23:06 i dhcpcd[637]: wlo1: soliciting a DHCP lease
Jun 12 17:23:07 i dhcpcd[637]: wlo1: offered 192.168.1.121 from 192.168.1.254
Jun 12 17:23:11 i dhcpcd[637]: wlo1: leased 192.168.1.121 for 86400 seconds
Jun 12 17:23:11 i dhcpcd[637]: wlo1: adding route to 192.168.1.0/24
Jun 12 17:23:11 i dhcpcd[637]: wlo1: adding default route via 192.168.1.254
Jun 12 17:23:15 i dhcpcd[637]: wlo1: carrier lost
Jun 12 17:23:15 i dhcpcd[637]: wlo1: deleting route to 192.168.1.0/24
Jun 12 17:23:15 i dhcpcd[637]: wlo1: deleting default route via 192.168.1.254

And here's my netctl profile:

Description='Internet'
Interface=wlo1
Connection=wireless
Security=wpa

IP=dhcp

ESSID='ATT7A...'
# Prepend hexadecimal keys with \"
# If your key starts with ", write it as '""<key>"'
# See also: the section on special quoting rules in netctl.profile(5)
Key='5r4%2...'
# Uncomment this if your ssid is hidden
#Hidden=yes

Offline

#2 2014-06-13 09:40:13

fungle
Member
Registered: 2014-05-01
Posts: 81

Re: netctl/dhcp issue: can't stay connected to wifi

Open a console and run

journalctl -f

then try to connect to your wifi in another console and see what your log spits out.

Offline

#3 2014-06-13 14:09:01

cgrinea
Member
Registered: 2014-03-25
Posts: 1

Re: netctl/dhcp issue: can't stay connected to wifi

You're not the only one. Did you have any luck with it?

Offline

#4 2014-06-13 16:12:08

JohnHL
Member
Registered: 2014-06-12
Posts: 3

Re: netctl/dhcp issue: can't stay connected to wifi

fungle wrote:

Open a console and run

journalctl -f

then try to connect to your wifi in another console and see what your log spits out.

Here's the results:

Jun 13 12:06:52 i network[331]: Starting network profile 'internet'...
Jun 13 12:06:52 i kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Jun 13 12:06:53 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 12:06:53 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 12:06:53 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 12:06:53 i kernel: wlo1: authenticated
Jun 13 12:06:53 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 12:06:54 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 12:06:54 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 12:06:54 i kernel: wlo1: RX AssocResp from 20:e5:64:ae:XX:XX (capab=0x411 status=0 aid=1)
Jun 13 12:06:54 i kernel: wlo1: associated
Jun 13 12:06:54 i kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
Jun 13 12:06:59 i kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 13 12:07:08 i network[331]: WPA association/authentication failed for interface 'wlo1'
Jun 13 12:07:08 i network[331]: Failed to bring the network up for profile 'internet'
Jun 13 12:07:08 i systemd[1]: netctl@internet.service: main process exited, code=exited, status=1/FAILURE
Jun 13 12:07:08 i systemd[1]: Failed to start Networking for netctl profile internet.
Jun 13 12:07:08 i systemd[1]: Unit netctl@internet.service entered failed state.
Jun 13 12:07:08 i systemd[1]: Starting Network.
Jun 13 12:07:08 i systemd[1]: Reached target Network.
Jun 13 12:07:08 i sudo[325]: pam_unix(sudo:session): session closed for user root
cgrinea wrote:

You're not the only one. Did you have any luck with it?

Unfortunately, no.

Offline

#5 2014-06-13 16:53:58

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: netctl/dhcp issue: can't stay connected to wifi

Can you connect with netctl's wifi-menu?

Offline

#6 2014-06-13 17:22:39

JohnHL
Member
Registered: 2014-06-12
Posts: 3

Re: netctl/dhcp issue: can't stay connected to wifi

Kopkins wrote:

Can you connect with netctl's wifi-menu?

I loaded my netctl profile from wifi-menu, and it worked for a few seconds until it disconnected me again.

Here's the logs:

Jun 13 13:14:38 i kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Jun 13 13:14:51 i systemd[1]: Stopped Networking for netctl profile internet.
Jun 13 13:14:51 i systemd[1]: Stopped Networking for netctl profile linksys.
Jun 13 13:14:51 i systemd[1]: Starting system-netctl.slice.
Jun 13 13:14:51 i systemd[1]: Created slice system-netctl.slice.
Jun 13 13:14:51 i systemd[1]: Starting Networking for netctl profile internet...
Jun 13 13:14:51 i network[385]: Starting network profile 'internet'...
Jun 13 13:14:51 i kernel: IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Jun 13 13:14:52 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:14:52 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:14:52 i kernel: wlo1: authenticated
Jun 13 13:14:52 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:14:52 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:14:53 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 13:14:53 i kernel: wlo1: association with 20:e5:64:ae:XX:XX timed out
Jun 13 13:14:54 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:14:54 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:14:54 i kernel: wlo1: authenticated
Jun 13 13:14:54 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:14:54 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:14:54 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 13:14:54 i kernel: wlo1: association with 20:e5:64:ae:XX:XX timed out
Jun 13 13:14:56 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:14:56 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:14:56 i kernel: wlo1: authenticated
Jun 13 13:14:56 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:14:56 i kernel: wlo1: RX AssocResp from 20:e5:64:ae:XX:XX (capab=0x411 status=0 aid=1)
Jun 13 13:14:56 i kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
Jun 13 13:14:56 i kernel: wlo1: associated
Jun 13 13:15:06 i dhcpcd[843]: version 6.3.2 starting
Jun 13 13:15:06 i dhcpcd[843]: DUID 00:01:00:01:1b:2b:ee:d8:20:68:9d:c3:88:6b
Jun 13 13:15:06 i dhcpcd[843]: wlo1: IAID 9d:c3:88:6b
Jun 13 13:15:06 i dhcpcd[843]: wlo1: rebinding lease of 192.168.1.115
Jun 13 13:15:15 i dhcpcd[843]: wlo1: leased 192.168.1.115 for 86400 seconds
Jun 13 13:15:15 i dhcpcd[843]: wlo1: adding route to 192.168.1.0/24
Jun 13 13:15:15 i dhcpcd[843]: wlo1: adding default route via 192.168.1.254
Jun 13 13:15:15 i dhcpcd[843]: forked to background, child pid 849
Jun 13 13:15:15 i network[385]: Started network profile 'internet'
Jun 13 13:15:15 i systemd[1]: Started Networking for netctl profile internet.
Jun 13 13:15:15 i systemd[1]: Starting Network.
Jun 13 13:15:15 i systemd[1]: Reached target Network.
Jun 13 13:15:15 i sudo[324]: pam_unix(sudo:session): session closed for user root
Jun 13 13:17:21 i dhcpcd[849]: wlo1: carrier lost
Jun 13 13:17:21 i dhcpcd[849]: wlo1: deleting route to 192.168.1.0/24
Jun 13 13:17:21 i dhcpcd[849]: wlo1: deleting default route via 192.168.1.254
Jun 13 13:17:21 i kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 13 13:17:22 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:17:22 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:22 i kernel: wlo1: authenticated
Jun 13 13:17:22 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:22 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:17:23 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 13:17:23 i kernel: wlo1: association with 20:e5:64:ae:XX:XX timed out
Jun 13 13:17:24 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:17:24 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:24 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:17:25 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 13:17:25 i kernel: wlo1: authenticated
Jun 13 13:17:25 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:25 i kernel: wlo1: RX AssocResp from 20:e5:64:ae:XX:XX (capab=0x411 status=0 aid=1)
Jun 13 13:17:25 i kernel: wlo1: associated
Jun 13 13:17:29 i dhcpcd[849]: wlo1: carrier acquired
Jun 13 13:17:29 i dhcpcd[849]: wlo1: IAID 9d:c3:88:6b
Jun 13 13:17:29 i dhcpcd[849]: wlo1: rebinding lease of 192.168.1.115
Jun 13 13:17:34 i dhcpcd[849]: wlo1: leased 192.168.1.115 for 86400 seconds
Jun 13 13:17:34 i dhcpcd[849]: wlo1: adding route to 192.168.1.0/24
Jun 13 13:17:34 i dhcpcd[849]: wlo1: adding default route via 192.168.1.254
Jun 13 13:17:42 i dhcpcd[849]: wlo1: carrier lost
Jun 13 13:17:42 i dhcpcd[849]: wlo1: deleting route to 192.168.1.0/24
Jun 13 13:17:42 i dhcpcd[849]: wlo1: deleting default route via 192.168.1.254
Jun 13 13:17:42 i kernel: cfg80211: Calling CRDA to update world regulatory domain
Jun 13 13:17:43 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:17:43 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:43 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:17:44 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 13:17:44 i kernel: wlo1: authentication with 20:e5:64:ae:XX:XX timed out
Jun 13 13:17:51 i kernel: wlo1: authenticate with 20:e5:64:ae:XX:XX
Jun 13 13:17:51 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:51 i kernel: wlo1: send auth to 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:17:51 i kernel: wlo1: authenticated
Jun 13 13:17:51 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 1/3)
Jun 13 13:17:52 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 2/3)
Jun 13 13:17:52 i kernel: wlo1: associate with 20:e5:64:ae:XX:XX (try 3/3)
Jun 13 13:17:52 i kernel: wlo1: association with 20:e5:64:ae:XX:XX timed out

Last edited by JohnHL (2014-06-13 17:23:06)

Offline

Board footer

Powered by FluxBB