You are not logged in.
Hi, I'm using netctl and dhcpcd to connect to my university wireless network (WPA Enterprise), unfortunately it doesn't work. Here is the log:
-- Unit netctl@<profile>.service has begun starting up.
Oct 02 18:39:02 saeed-xps network[798]: Starting network profile '<profile>'...
Oct 02 18:39:03 saeed-xps kernel: ath10k_pci 0000:02:00.0: Unknown eventid: 90118
Oct 02 18:39:03 saeed-xps kernel: IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: authenticate with 9c:50:ee:27:7c:00
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: send auth to 9c:50:ee:27:7c:00 (try 1/3)
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: authenticated
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: associate with 9c:50:ee:27:7c:00 (try 1/3)
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: RX AssocResp from 9c:50:ee:27:7c:00 (capab=0x1431 status=0 aid=4)
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: associated
Oct 02 18:39:08 saeed-xps kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
Oct 02 18:39:08 saeed-xps kernel: wlp2s0: Limiting TX power to 20 (20 - 0) dBm as advertised by 9c:50:ee:27:7c:00
Oct 02 18:39:09 saeed-xps systemd[1]: Started Networking for netctl profile <profile>.
-- Subject: Unit netctl@<profile>.service has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit netctl@<profile>.service has finished starting up.
--
-- The start-up result is done.
Oct 02 18:39:09 saeed-xps dhcpcd[1013]: DUID 00:01:00:01:21:64:fd:ab:9c:b6:d0:ea:b3:dd
Oct 02 18:39:09 saeed-xps dhcpcd[1013]: wlp2s0: IAID d0:ea:b3:dd
Oct 02 18:39:09 saeed-xps dhcpcd[1013]: wlp2s0: soliciting a DHCP lease
Oct 02 18:39:17 saeed-xps sudo[1038]: root : TTY=pts/0 ; PWD=/home/saeed ; USER=root ; COMMAND=/bin/systemctl status netctl
Oct 02 18:39:17 saeed-xps sudo[1038]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 02 18:39:17 saeed-xps sudo[1038]: pam_unix(sudo:session): session closed for user root
Oct 02 18:39:32 saeed-xps sudo[1080]: root : TTY=pts/0 ; PWD=/home/saeed ; USER=root ; COMMAND=/bin/systemctl --type=service
Oct 02 18:39:32 saeed-xps sudo[1080]: pam_unix(sudo:session): session opened for user root by (uid=0)
Oct 02 18:39:32 saeed-xps sudo[1080]: pam_unix(sudo:session): session closed for user root
Oct 02 18:39:39 saeed-xps dhcpcd[1013]: timed out
Oct 02 18:39:39 saeed-xps dhcpcd[1013]: dhcpcd exitedAs you can see dhcp has failed configuring the interface. The netctl@<profile> service is already loaded:
# systemctl --type=service | grep netctl
● netctl@<profile>.service loaded failed failed Networking for netctl profile <profile>and here is its status:
# systemctl status netctl@<profile>.service
● netctl@eth.service - Networking for netctl profile <profile>
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: active (running) since Mon 2017-10-02 18:55:19 CEST; 23s ago
Docs: man:netctl.profile(5)
Main PID: 778 (network)
Tasks: 3 (limit: 4915)
CGroup: /system.slice/system-netctl.slice/netctl@<profile>.service
├─778 /bin/bash /usr/lib/netctl/network start <profile>
├─790 wpa_supplicant -q -B -P /run/wpa_supplicant-wlp2s0.pid -i wlp2s0 -D nl80211,wext -c/run/netctl/wpa_supplicant-wlp2s0.conf
└─981 dhcpcd -4 -q -t 30 -L wlp2s0
Oct 02 18:55:13 saeed-xps systemd[1]: Starting Networking for netctl profile <profile>...
Oct 02 18:55:13 saeed-xps network[778]: Starting network profile '<profile>'...
Oct 02 18:55:19 saeed-xps systemd[1]: Started Networking for netctl profile <profile>.
Oct 02 18:55:19 saeed-xps dhcpcd[981]: DUID 00:01:00:01:21:64:fd:ab:9c:b6:d0:ea:b3:dd
Oct 02 18:55:19 saeed-xps dhcpcd[981]: wlp2s0: IAID d0:ea:b3:dd
Oct 02 18:55:20 saeed-xps dhcpcd[981]: wlp2s0: soliciting a DHCP leaseIn the case you want to double check my netctl profile, here it is:
Description='University'
Interface=wlp2s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="<ssid>"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'identity="<username>"'
'password="<password>"'
'phase2="auth=MSCHAPV2"'
)Not to mention that I don't have problem connecting to, for instance a WPA Personal network. Also our university doesn't require a certificate.
Here is my system info:
Linux saeed-xps 4.13.3-1-ARCH #1 SMP PREEMPT Thu Sep 21 20:33:16 CEST 2017 x86_64 GNU/LinuxI'm getting really frustrated since I'm struggling to fix this for a while now and I would really appreciate any help. Thanks
Last edited by s.sarpas (2017-10-02 17:35:57)
Offline
Tried to change duid to clientid in /etc/dhcpcd.conf? (it's explained there)
Offline