You are not logged in.

#1 2014-11-19 21:15:17

leonax
Member
Registered: 2014-10-20
Posts: 47

Solved wpa_supplicant error no /dev/fd//63 config file

hi i am trying to get wifi going and i am following the wike wireless network configuration.  Did all steps to wpa_supplicant -B -i wlp3s0 -c (wpa_passphrase MYSSID passphrase) but get this error

Successfully initialised wpa_supplicant
Failed t open config file '/dev/fd/63', error no such file or directory

I already run sudo wpa_passphrass  myssid my passphrase - wpa/wpa2 encryption.

Any ideas of that error.  My wireless is atheros ar 9462 and the ath9k driver is loaded.

thanks

Last edited by leonax (2014-11-19 23:12:44)

Offline

#2 2014-11-19 21:18:25

ackt1c
Banned
From: Visalia, California
Registered: 2012-10-10
Posts: 241

Re: Solved wpa_supplicant error no /dev/fd//63 config file

Wiki
https://wiki.archlinux.org/index.php/Wi … management

Last edited by ackt1c (2014-11-19 21:18:55)

Offline

#3 2014-11-19 21:26:52

leonax
Member
Registered: 2014-10-20
Posts: 47

Re: Solved wpa_supplicant error no /dev/fd//63 config file

I believe I indicated that I am following that wiki but i am stuck at this error

Offline

#4 2014-11-19 21:29:15

ackt1c
Banned
From: Visalia, California
Registered: 2012-10-10
Posts: 241

Re: Solved wpa_supplicant error no /dev/fd//63 config file

ip link set wlan0 up

Last edited by ackt1c (2014-11-19 21:29:42)

Offline

#5 2014-11-19 21:29:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved wpa_supplicant error no /dev/fd//63 config file

wpa_supplicant -B -i wlp3s0 -c (wpa_passphrase MYSSID passphrase) 

You are missing an `<`...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-11-19 21:48:46

leonax
Member
Registered: 2014-10-20
Posts: 47

Re: Solved wpa_supplicant error no /dev/fd//63 config file

If I i do
sudo wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase MYSSID passphrase )

I get the same error no config file /dev/fd/63

If I do the same command as normal user I get
could not set interface wlp3s0 flags (Down):operation not permitted
repeated several times
then
nl80211:could not configure driver mode
wlp3s0 failed to initialise driver interface

I am writing this on another laptop

Offline

#7 2014-11-19 22:01:14

leonax
Member
Registered: 2014-10-20
Posts: 47

Re: Solved wpa_supplicant error no /dev/fd//63 config file

ip link gives
wlp3s0: <NO-CARRIER,BROADCAS,MULTICAST,up> MTU 1500 qdisk mq state DOWN mode DEFAULT group default glen 1000 link/ether 08;3e:8:13:ac:81 brd ff:ff:ff:ff:ff:ff

Offline

#8 2014-11-19 22:19:22

leonax
Member
Registered: 2014-10-20
Posts: 47

Re: Solved wpa_supplicant error no /dev/fd//63 config file

Before I entered the wpa_supplicant command I was reading the wiki on wpa_supplicant and I used the comman
sudo wpa_passphrase myssid passphrase but I did not save it anywhere.  Perhaps this is issue.  I see further down on the wike sudo wpa_passphrase ssid  passphrase > /etc/wpa_supplicant/example.  But what to do then?

Offline

#9 2014-11-19 23:09:20

leonax
Member
Registered: 2014-10-20
Posts: 47

Re: Solved wpa_supplicant error no /dev/fd//63 config file

ok I got it working with I may say not much help form the forum. 

sudo wpa_passphrase my ssid my wpa passphrase </etc/wpa_supplicant/example.conf. 
then I put in the other lines in the example.conf on the wpa supplicnt wiki page.  Then I read this page lucily
https://help.ubuntu.com/community/WifiDocs/WPAHowTo

I then entered sudo wpa_supplicant -iath9k -iwlp3s0 -c/etc/wpa_supplicant/example.conf

and it worked. Connection commpleted.  I can now surf the net.  So I know now it works and can hopefully go on from here to get it working with networkmanager or something in kde.  But how?

Last edited by leonax (2014-11-19 23:09:49)

Offline

#10 2014-11-19 23:24:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved wpa_supplicant error no /dev/fd//63 config file

leonax wrote:

ok I got it working with I may say not much help form the forum.

That's because it is in the wiki...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2014-11-20 07:15:31

leonax
Member
Registered: 2014-10-20
Posts: 47

Re: Solved wpa_supplicant error no /dev/fd//63 config file

Oh I must give myself a lot of credit.

Offline

#12 2014-11-20 07:29:38

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Solved wpa_supplicant error no /dev/fd//63 config file

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2017-10-14 08:55:54

skoval
Member
Registered: 2017-10-14
Posts: 1

Re: Solved wpa_supplicant error no /dev/fd//63 config file

I bumped into the same problem, solved it and decided to post solution here since this thread appears on Yandex search.

leonax wrote:

If I i do
sudo wpa_supplicant -B -i wlp3s0 -c <(wpa_passphrase MYSSID passphrase )

One shouldn't run this command as sudo because `<' redirection does not work as expected with some sudo commands.
Run this in a root shell, i.e. after you launch it with `sudo -s'.

PS There is a good explanation of this error on StackExchange
https://unix.stackexchange.com/a/279889/255597

Last edited by skoval (2017-10-14 09:02:23)

Offline

#14 2017-10-14 09:12:48

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: Solved wpa_supplicant error no /dev/fd//63 config file

Please do not necrobump, skoval, especially with information that is well documented on the wiki.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

Board footer

Powered by FluxBB