You are not logged in.
I am working on connecting to my university's WIFI which uses WPA2 enterprise. A classmate who uses arch sent me his netctl profile and I used it, the code is below. The cert is downloaded from the university's page.
Description='school wifi'
Interface=wlp61s0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
'ssid="schoolwifi"'
'key_mgmt=WPA-EAP'
'eap=PEAP'
'proto=RSN'
'identity="name"'
'password="password"'
'ca_cert="/etc/ssl/certs/addtrustexternalcaroot.crt"'
'priority=1'
'phase2="auth=MSCHAPV2"'
)I then run
sudo netctl start SCHOOLwhich returns
Job for netctl@CMU.service failed because the control process exited with error code.
See "systemctl status netctl@SCHOOL.service" and "journalctl -xe" for details.systemctl status netctl@SCHOOL.service returns:
● netctl@CMU.service - Networking for netctl profile CMU
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2018-08-29 23:52:55 EDT; 1min 4s ago
Docs: man:netctl.profile(5)
Process: 3837 ExecStart=/usr/lib/netctl/network start CMU (code=exited, status=1/FAILURE)
Main PID: 3837 (code=exited, status=1/FAILURE)and journalctl -xe returns:
-- Subject: User manager start-up is now complete
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The user manager instance for user 1000 has been started. All services queued
-- for starting have been started. Note that other services might still be starting
-- up or be started at any later time.
--
-- Startup of the manager took 20040 microseconds.
Aug 29 21:59:25 absurd systemd[444]: Starting Sound Service...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Aug 29 21:59:25 absurd systemd[444]: Started D-Bus User Message Bus.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is RESULT.
Aug 29 21:59:25 absurd pulseaudio[506]: W: [pulseaudio] authkey.c: Failed to open cookie file '/home/filipp/.config/pulse/cookie': No such file or directory
Aug 29 21:59:25 absurd pulseaudio[506]: W: [pulseaudio] authkey.c: Failed to load authentication key '/home/filipp/.config/pulse/cookie': No such file or directory
Aug 29 21:59:25 absurd systemd[444]: Started Sound Service.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is RESULT.
Aug 29 22:25:52 absurd dbus-daemon[528]: [session uid=1000 pid=528] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.3' (uid=1000 pid=613 comm="termite ")
Aug 29 22:25:52 absurd systemd[444]: Starting Accessibility services bus...
-- Subject: Unit UNIT has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has begun starting up.
Aug 29 22:25:52 absurd dbus-daemon[528]: [session uid=1000 pid=528] Successfully activated service 'org.a11y.Bus'
Aug 29 22:25:52 absurd systemd[444]: Started Accessibility services bus.
-- Subject: Unit UNIT has finished start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit UNIT has finished starting up.
--
-- The start-up result is RESULT.
Aug 29 22:25:52 absurd at-spi-bus-launcher[615]: dbus-daemon[620]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=613 comm="termite ")
Aug 29 22:25:52 absurd at-spi-bus-launcher[615]: dbus-daemon[620]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 29 22:25:52 absurd at-spi-bus-launcher[615]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 29 22:28:11 absurd dbus-daemon[528]: [session uid=1000 pid=528] Activating service name='org.gnome.GConf' requested by ':1.9' (uid=1000 pid=663 comm="/usr/lib/firefox/firefox ")
Aug 29 22:28:11 absurd dbus-daemon[528]: [session uid=1000 pid=528] Successfully activated service 'org.gnome.GConf'
Aug 29 22:47:05 absurd svn[1943]: DIGEST-MD5 common mech free
Aug 29 23:20:53 absurd sudo[3219]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty=/dev/pts/2 ruser=<myname> rhost=m user=<myname>However, connecting to other wifi networks work. Here is an example profile that works:
Description='Automatically generated profile by wifi-menu'
Interface=wlp61s0
Connection=wireless
Security=wpa
ESSID=name
IP=dhcp
Key=keySo I'm rather confused on why systemctl status points to /usr/lib/network/CMU.
Any help would you be appreciated. Thank you!
Last edited by fshelobolin (2018-08-30 16:10:42)
Offline
stat /etc/ssl/certs/addtrustexternalcaroot.crtThe journal output is useless (the systemd error suggestion is BS) - please post "journalctl -b" (if you tried to connect that network during this boot)
Offline
Didn't change anything but it spontaneously worked this morning when I connected, so that's cool. Thanks for the reply anyways! This community has been very helpful. For reference, I will post the outputs of journalctl and stat below.
stat /etc/ssl/certs/addtrustexternalcaroot.crt
File: /etc/ssl/certs/addtrustexternalcaroot.crt
Size: 1521 Blocks: 8 IO Block: 4096 regular file
Device: 10302h/66306d Inode: 2622488 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 1000/ <myname>) Gid: ( 1000/ <myname>)
Access: 2018-08-30 11:58:09.768385656 -0400
Modify: 2018-08-29 17:48:26.732759031 -0400
Change: 2018-08-29 23:24:56.376852241 -0400
Birth: -journalctl -b
Aug 30 11:59:30 absurd systemd[432]: Listening on GnuPG network certificate management daemon.
Aug 30 11:59:30 absurd systemd[432]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 30 11:59:30 absurd systemd[432]: Listening on Sound System.
Aug 30 11:59:30 absurd systemd[432]: Starting D-Bus User Message Bus Socket.
Aug 30 11:59:30 absurd systemd[432]: Reached target Timers.
Aug 30 11:59:30 absurd systemd[432]: Listening on p11-kit server.
Aug 30 11:59:30 absurd systemd[432]: Reached target Paths.
Aug 30 11:59:30 absurd systemd[432]: Listening on GnuPG cryptographic agent and passphrase cache.
Aug 30 11:59:30 absurd systemd[432]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Aug 30 11:59:30 absurd systemd[432]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Aug 30 11:59:30 absurd systemd[432]: Listening on D-Bus User Message Bus Socket.
Aug 30 11:59:30 absurd systemd[432]: Reached target Sockets.
Aug 30 11:59:30 absurd systemd[432]: Reached target Basic System.
Aug 30 11:59:30 absurd systemd[432]: Reached target Default.
Aug 30 11:59:30 absurd systemd[432]: Startup finished in 22ms.
Aug 30 11:59:32 absurd systemd[432]: Starting Sound Service...
Aug 30 11:59:32 absurd systemd[432]: Started D-Bus User Message Bus.
Aug 30 11:59:32 absurd pulseaudio[491]: W: [pulseaudio] authkey.c: Failed to open cookie file '/home/filipp/.config/pulse/cookie': No such file or directory
Aug 30 11:59:32 absurd pulseaudio[491]: W: [pulseaudio] authkey.c: Failed to load authentication key '/home/filipp/.config/pulse/cookie': No such file or directory
Aug 30 11:59:32 absurd systemd[432]: Started Sound Service.
Aug 30 11:59:34 absurd dbus-daemon[515]: [session uid=1000 pid=515] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.3' (uid=1000 pid=576 comm="termite ")
Aug 30 11:59:34 absurd systemd[432]: Starting Accessibility services bus...
Aug 30 11:59:34 absurd dbus-daemon[515]: [session uid=1000 pid=515] Successfully activated service 'org.a11y.Bus'
Aug 30 11:59:34 absurd systemd[432]: Started Accessibility services bus.
Aug 30 11:59:34 absurd at-spi-bus-launcher[578]: dbus-daemon[583]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=576 comm="termite ")
Aug 30 11:59:34 absurd at-spi-bus-launcher[578]: dbus-daemon[583]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 30 11:59:34 absurd at-spi-bus-launcher[578]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 30 11:59:43 absurd dbus-daemon[515]: [session uid=1000 pid=515] Activating service name='org.gnome.GConf' requested by ':1.9' (uid=1000 pid=668 comm="/usr/lib/firefox/firefox ")
Aug 30 11:59:43 absurd dbus-daemon[515]: [session uid=1000 pid=515] Successfully activated service 'org.gnome.GConf'Again, thanks to everyone in this community for their willingness to help newcomers!
Last edited by fshelobolin (2018-08-30 16:10:21)
Offline