You are not logged in.

#1 2016-10-15 18:28:38

dmascharka
Member
Registered: 2016-10-15
Posts: 3

[SOLVED] netctl stopped connecting

I had netctl-auto configured for my home, school, and a few other networks and it was all running fine. A few days ago, it stopped connecting to my school network and I can't connect to that network using just netctl (no auto) either. I haven't changed the configurations at all.

Last time I tried connecting with

netctl start school

I got this output:

==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'netctl@school.service'.
Authenticating as: david
Password: 
==== AUTHENTICATION COMPLETE ===
Job for netctl@school.service failed because the control process exited with error code.
See "systemctl status netctl@school.service" and "journalctl -xe" for details.

Then I ran `netctl status school` and got:

* netctl@school.service - School Network
   Loaded: loaded (/etc/systemd/system/netctl@school.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2016-10-15 13:20:00 CDT; 33s ago
     Docs: man:netctl.profile(5)
  Process: 32660 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 32660 (code=exited, status=1/FAILURE)

Oct 15 13:19:28 x260 systemd[1]: Starting School Network...
Oct 15 13:19:28 x260 network[32660]: Starting network profile 'school'...
Oct 15 13:20:00 x260 network[32660]: WPA association/authentication failed for interface 'wlp4s0'
Oct 15 13:20:00 x260 network[32660]: Failed to bring the network up for profile 'school'
Oct 15 13:20:00 x260 systemd[1]: netctl@school.service: Main process exited, code=exited, status=1/FAILURE
Oct 15 13:20:00 x260 systemd[1]: Failed to start School Network.
Oct 15 13:20:00 x260 systemd[1]: netctl@school.service: Unit entered failed state.
Oct 15 13:20:00 x260 systemd[1]: netctl@school.service: Failed with result 'exit-code'.

My configuration (/etc/netctl/school) is:

Connection=wireless
Interface=wlp4s0
Security=wpa-configsection
Description="School Network"
IP=dhcp
TimeoutWPA=30
WPAConfigSection=(
    'ssid="school-ssid"'
    'proto=WPA2'
    'key_mgmt=WPA-EAP'
    'auth_alg=OPEN'
    'eap=PEAP'
    'identity="my-identity"'
    'password="my-password"'
    'phase2="auth=MSCHAPv2"'
)

Why might it have suddenly stopped connecting to this network but work fine for all the other networks?

Last edited by dmascharka (2016-10-16 21:11:14)

Offline

#2 2016-10-15 19:00:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: [SOLVED] netctl stopped connecting

> WPA association/authentication failed for interface 'wlp4s0'
bad username or password or the network changed the security protocol?

Offline

#3 2016-10-16 16:41:04

dmascharka
Member
Registered: 2016-10-15
Posts: 3

Re: [SOLVED] netctl stopped connecting

The username and password are both good - nothing has changed in the config file and I haven't changed my password since it was working. I can't imagine the school suddenly changing the security protocol. My phone still connects to it and shows WPA2 EAP. Any other ideas or ways to check if the config is incorrect?

Offline

#4 2016-10-16 17:23:38

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: [SOLVED] netctl stopped connecting

Can you connect manually using wpa_supplicant?
Try creating a new profile with wifi-menu. Compare that one's WPAConfigSection with your existing profile.

See the Wireless network configuration, wpa_supplicant and netctl wiki pages.

Edit: just seen https://bbs.archlinux.org/viewtopic.php?id=218253 maybe you're having the same issue with the woa_supplicant bug?

Last edited by ukhippo (2016-10-16 17:26:21)

Offline

#5 2016-10-16 21:11:01

dmascharka
Member
Registered: 2016-10-15
Posts: 3

Re: [SOLVED] netctl stopped connecting

Looks like it's the same bug. Downgrading wpa_supplicant lets me connect again. Not idea but it works for now.

Offline

Board footer

Powered by FluxBB