You are not logged in.
Pages: 1
I'm trying to configure my WPA network with netctl. I can currently connect manually to my network by manually doing everything:
# ip link set wifi up
# wpa_supplicant -B -D nl80211 -i wifi -c /etc/wpa_supplicant/wpaface.conf
# dhcpcd -A wifi
but when I go to generate the netctl profile with say "wifi-menu -o" it fails to connect and when I try to start the profile using netctl start after I enabled it it fails.
here is my wpa_supplicant config:
ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel
update_config=1
ap_scan=1network={
ssid="-_-;5"
psk=7e3edfdf8a8c9bb1d194e62a96aac65d33e48e69a44fe3c2fe29ed0f9e8a612d
}
my netctl profile that wifi-menu generated:
Description='Automatically generated profile by wifi-menu'
Interface=wifi
Connection=wireless
Security=wpa
ESSID=-_-\;5
IP=dhcp
Key=\"7e3edfdf8a8c9bb1d194e62a96aac65d33e48e69a44fe3c2fe29ed0f9e8a612d
Here is the journalctl snippet
$ sudo journalctl -xn
-- Logs begin at Mon 2012-11-05 00:41:33 EST, end at Fri 2013-07-12 23:02:30 EDT. --
Jul 12 23:01:32 kousoku dhcpcd[1926]: wifi: carrier lost
Jul 12 23:01:32 kousoku dhcpcd[1926]: wifi: waiting for carrier
Jul 12 23:01:33 kousoku network[2303]: The WPA supplicant did not start for interface 'wifi'
Jul 12 23:01:33 kousoku network[2303]: Failed to bring the network up for profile 'wifi--_-;5'
Jul 12 23:01:33 kousoku systemd[1]: netctl@wifi\x2d\x2d_\x2d\x3b5.service: main process exited, code=exited, st
Jul 12 23:01:33 kousoku systemd[1]: Failed to start Automatically generated profile by wifi-menu.
-- Subject: Unit netctl@wifi\x2d\x2d_\x2d\x3b5.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/li … temd-devel
-- Documentation: http://www.freedesktop.org/wiki/Softwar … e9d022f03d
--
-- Unit netctl@wifi\x2d\x2d_\x2d\x3b5.service has failed.
--
-- The result is failed.
Jul 12 23:01:33 kousoku systemd[1]: Unit netctl@wifi\x2d\x2d_\x2d\x3b5.service entered failed state.
Jul 12 23:01:33 kousoku sudo[2295]: pam_unix(sudo:session): session closed for user root
Last edited by james2432 (2013-07-13 05:21:38)
Offline
Do you have access to the router? If so, you might want to try a different ESSID. Netctl *should* be able to handle things like that, but I have seen reports of this failing.
Otherwise, you might try to manually create the profile using the /etc/netctl/examples/wireless-wpa-configsection template. I am not sure that this is precisely what the configsection is meant for, but it allows you to pass to netctl exactly what is working for you with the output of wpa_passphrase.
Offline
Seems to not like ";" character, I renamed it to "Ihatewpa2" and working like a charm
Offline
Pages: 1