You are not logged in.
hi everybody
I recently installed archlinux on my new laptop. When I tried connecting to a wifi network with
wpa_supplicant -i wlp3s0 -c <(wpa_passphrase ssid password)
it gave
Successfully initialized wpa_supplicant
Failed to open config file '/dev/fd/63'.
Failed to read or parse configuration '/dev/fd/63'.
All the steps in the wiki (interface activation, access point discovery) were successful so far.
Any idea?
thank you very much
Last edited by idiotz (2014-03-26 21:36:20)
Offline
In the past, I seem to recall having issues with this kind of process substitution of 'wpa_passphrase'. Can you try to simply redirect the output to a file?
# wpa_passphrase ssid password > /path/to/wpa_supplicant.conf
Then run it as before, but using the new config file instead of the process substitution:
# wpa_supplicant -i wlp3s0 -c /path/to/wpa_supplicant.conf
Offline
alright it worked! Thanks a lot.
However when I try with NetworkManager nothing works (neither cable nor wifi).
But I haven't looked thoroughly in the forums for a solution yet.. I'll go check.
Offline
You shouldn't be using any other service manually if you want to use NetworkManager. NetworkManager will call the necessary services on its own. Hence, if you have wpa_supplicant running (whether directly from the command line or from the service), it is going to interfere with the functionality of whatever other network management daemon you choose to use. The same thing goes for other networking tools like dhcpcd or dhclient.
If you want to use NetworkManager, make sure that all other network management services are disabled, no dhcp client is running, and you hvaen't already tried to manually associate with anything via iw or iproute2.
Offline
okay thanks problem solved. I disabled dhcpcd.service and everything ran smoothly.
Offline
Please mark the thread title as [Solved] then. You can edit the title by editing the first post.
Offline