You are not logged in.

#1 2013-04-28 12:48:42

ziv667
Member
Registered: 2012-05-24
Posts: 14

[SOLVED] netctl wpa-enterprise won't connect

Hi,

i have problems connecting to the network of my university.
I'm not quite sure about the syntax of the config file, but this is what the example looked like.


Profile:

Description='university'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="university-ssid"'
    'key_mgmt=WPA-EAP'
    'eap=PEAP'
    'proto=RSN'
    'group=TKIP'
    'pairwise=CCMP'
    'identity="ziv667"'
    'password="XXX"'
    'ca_cert="/etc/ssl/certs/Deutsche_Telekom_Root_CA_2.pem"'
    'priority=1'
    'phase2="auth=MSCHAPV2"'
)

my password has an special charakter, but not at the first place.

for comparison my netcfg profile(worked):

CONNECTION='wireless'
INTERFACE='wlan0'
SECURITY='wpa-configsection'
#HIDDEN=yes
IP='dhcp'
CONFIGSECTION='
   ssid="university_ssid"
   proto=RSN
   key_mgmt=WPA-EAP
   pairwise=CCMP
   eap=PEAP
   identity="ziv667"
   password="XXX"
   ca_cert="/etc/ssl/certs/Deutsche_Telekom_Root_CA_2.pem"
   phase2="auth=MSCHAPV2"'

[root@rm-rf ~]# netctl start uni
Job for netctl@uni.service failed. See 'systemctl status netctl@uni.service' and 'journalctl -xn' for details.
[root@rm-rf ~]# systemctl status netctl@uni.service
netctl@uni.service - Networking for netctl profile uni
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
   Active: failed (Result: exit-code) since So 2013-04-28 14:24:59 CEST; 8s ago
     Docs: man:netctl.profile(5)
  Process: 15785 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)

Apr 28 14:24:41 rm-rf systemd[1]: Starting Networking for netctl profile uni...
Apr 28 14:24:41 rm-rf network[15785]: Starting network profile 'uni'...
Apr 28 14:24:59 rm-rf network[15785]: WPA association/authentication failed for interface 'wlan0'
Apr 28 14:24:59 rm-rf network[15785]: Failed to bring the network up for profile 'uni'
Apr 28 14:24:59 rm-rf systemd[1]: netctl@uni.service: main process exited, code=exited, status=1/FAILURE
Apr 28 14:24:59 rm-rf systemd[1]: Failed to start Networking for netctl profile uni.

[code][root@rm-rf ~]# journalctl -xn
-- Logs begin at Mo 2013-03-04 10:19:09 CET, end at So 2013-04-28 14:24:59 CEST. --
Apr 28 14:24:41 rm-rf network[15785]: Starting network profile 'uni'...
Apr 28 14:24:41 rm-rf wpa_actiond[486]: Terminating wpa_actiond session for interface 'wlan0'
Apr 28 14:24:42 rm-rf kernel: iwlwifi 0000:09:00.0: L1 Disabled; Enabling L0S
Apr 28 14:24:43 rm-rf kernel: iwlwifi 0000:09:00.0: Radio type=0x2-0x2-0x1
Apr 28 14:24:43 rm-rf kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Apr 28 14:24:59 rm-rf network[15785]: WPA association/authentication failed for interface 'wlan0'
Apr 28 14:24:59 rm-rf network[15785]: Failed to bring the network up for profile 'uni'
Apr 28 14:24:59 rm-rf systemd[1]: netctl@uni.service: main process exited, code=exited, status=1/FAILURE
Apr 28 14:24:59 rm-rf systemd[1]: Failed to start Networking for netctl profile uni.
-- Subject: Unit netctl@uni.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: http://www.freedesktop.org/wiki/Software/systemd/catalog/be02cf6855d2428ba40df7e9d022f03d
-- 
-- Unit netctl@uni.service has failed.
-- 
-- The result is failed.
Apr 28 14:24:59 rm-rf systemd[1]: MESSAGE=Unit netctl@uni.service entered failed state.
[/code]
Apr 28 14:24:59 rm-rf systemd[1]: MESSAGE=Unit netctl@uni.service entered failed state.

I'm using netctl-auto@wlan0.service for connecting to known wlans:

systemctl status netctl-auto@wlan0.service 
netctl-auto@wlan0.service - Automatic wireless network connection using netctl profiles
   Loaded: loaded (/usr/lib/systemd/system/netctl-auto@.service; enabled)
   Active: active (exited) since So 2013-04-28 12:43:49 CEST; 1h 51min ago
     Docs: man:netctl.special(7)
  Process: 437 ExecStart=/usr/bin/netctl-auto start %I (code=exited, status=0/SUCCESS)

Apr 28 12:43:49 rm-rf systemd[1]: Started Automatic wireless network connection using netctl profiles.
Apr 28 12:43:49 rm-rf wpa_actiond[486]: Starting wpa_actiond session for interface 'wlan0'
Apr 28 12:43:53 rm-rf netctl-auto[437]: Included profile 'bar'
Apr 28 12:43:53 rm-rf netctl-auto[437]: Included profile 'jan'
Apr 28 12:43:53 rm-rf netctl-auto[437]: Included profile 'uni'
Apr 28 12:43:53 rm-rf netctl-auto[437]: Included profile 'home'
Apr 28 14:24:41 rm-rf wpa_actiond[486]: Terminating wpa_actiond session for interface 'wlan0'

I'm grateful for any help you can give me. Thanks.

Last edited by ziv667 (2013-04-30 10:05:49)

Offline

#2 2013-04-30 04:15:51

ub1quit33
Member
Registered: 2013-04-30
Posts: 58

Re: [SOLVED] netctl wpa-enterprise won't connect

Have you tried testing with another network connection tool, such as wicd?

Offline

#3 2013-04-30 10:03:56

ziv667
Member
Registered: 2012-05-24
Posts: 14

Re: [SOLVED] netctl wpa-enterprise won't connect

I found the solution:

'group=TKIP'

was not supposed to be in the config file.

Offline

Board footer

Powered by FluxBB