You are not logged in.
Hi,
I'm having trouble configuring my wireless network. At the moment I'm following the guide from the wiki, I can scan for networks but when i try to connect with wpa_supplicant I get following error:
Successfully initialized wpa_supplicant
Failed to open config file '/dev/fd/63', error: No such file or directory
Failed to read or parse configuration '/dev/fd/63'.
So far I've tried to google the problem, but haven't found a solution that works. I hope you can point me in the right direction.
Additional info:
'ip link' provide following output:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wwp0s29u1u4i6: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 02:80:37:ec:02:00 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 00:24:d7:af:98:dc brd ff:ff:ff:ff:ff:ff
4: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether f0:de:f1:53:66:eb brd ff:ff:ff:ff:ff:ff
And lspci:
lspci -k | grep Network
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
03:00.0 Network controller: Intel Corporation Centrino Ultimate-N 6300 (rev 35)
And dmesg:
dmesg | grep firmware
[ 2.379351] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000-6.ucode failed with error -2
[ 2.379368] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-6000-5.ucode failed with error -2
[ 2.382114] iwlwifi 0000:03:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[ 8.560626] psmouse serio2: trackpoint: IBM TrackPoint firmware: 0x0e, buttons: 3/3
I guess it have something to do with the firmware, but I'm not sure, as when I googled the problem I stumbled upon a site stating that the wireless card should be supported by the kernel.
Last edited by cube2 (2015-01-07 14:00:34)
Offline
Please post the wpa_supplicant command you are using. I gather you are using wpa_supplicant and wpa_passphrase on the same line, right? I know this is advised in the wiki, but for troubleshooting it will be much easier if you separate them:
wpa_passphrase YOURNETWORKNAME YOURPASSKEY > temp_file
sudo wpa_supplicant -B -i wlp3s0 -c temp_file
Also, just to get some other background can you post the output of each of the following:
systemctl list-units
pstree
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Yes it is on the same line as this:
sudo wpa_supplicant -D nl80211,wext -i wlp3s0 -c <(wpa_passphrase "SSID" "key")
systemtcl list-units
systemctl list-units
UNIT LOAD ACTIVE SUB DESCRIPTION
proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.0-backlight-acpi_video1.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/backlight/acpi_video1
sys-devices-pci0000:00-0000:00:01.0-0000:01:00.0-drm-card0-card0\x2dLVDS\x2d1-nv_backlight.device loaded active plugged /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0/card0-LVDS-1/nv_backlight
sys-devices-pci0000:00-0000:00:02.0-backlight-acpi_video0.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
sys-devices-pci0000:00-0000:00:02.0-drm-card1-card1\x2dLVDS\x2d2-intel_backlight.device loaded active plugged /sys/devices/pci0000:00/0000:00:02.0/drm/card1/card1-LVDS-2/intel_backlight
sys-devices-pci0000:00-0000:00:16.3-tty-ttyS0.device loaded active plugged 6 Series/C200 Series Chipset Family KT Controller
sys-devices-pci0000:00-0000:00:19.0-net-enp0s25.device loaded active plugged 82579LM Gigabit Network Connection
sys-devices-pci0000:00-0000:00:1a.0-usb3-3\x2d1-3\x2d1.4-3\x2d1.4:1.0-bluetooth-hci0-rfkill2.device loaded active plugged /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.4/3-1.4:1.0/bluetooth/hci0/rfkill2
sys-devices-pci0000:00-0000:00:1a.0-usb3-3\x2d1-3\x2d1.4-3\x2d1.4:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.4/3-1.4:1.0/bluetooth/hci0
sys-devices-pci0000:00-0000:00:1b.0-sound-card0.device loaded active plugged 6 Series/C200 Series Chipset Family High Definition Audio Controller
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-ieee80211-phy0-rfkill3.device loaded active plugged /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill3
sys-devices-pci0000:00-0000:00:1c.1-0000:03:00.0-net-wlp3s0.device loaded active plugged Centrino Ultimate-N 6300 (3x3 AGN)
sys-devices-pci0000:00-0000:00:1d.0-usb4-4\x2d1-4\x2d1.4-4\x2d1.4:1.1-tty-ttyACM0.device loaded active plugged F5521gw
sys-devices-pci0000:00-0000:00:1d.0-usb4-4\x2d1-4\x2d1.4-4\x2d1.4:1.3-tty-ttyACM1.device loaded active plugged F5521gw
sys-devices-pci0000:00-0000:00:1d.0-usb4-4\x2d1-4\x2d1.4-4\x2d1.4:1.6-net-wwp0s29u1u4i6.device loaded active plugged F5521gw
sys-devices-pci0000:00-0000:00:1d.0-usb4-4\x2d1-4\x2d1.4-4\x2d1.4:1.9-tty-ttyACM2.device loaded active plugged F5521gw
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda1.device loaded active plugged INTEL_SSDSA2M160G2LE 1
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda-sda2.device loaded active plugged INTEL_SSDSA2M160G2LE 2
sys-devices-pci0000:00-0000:00:1f.2-ata1-host0-target0:0:0-0:0:0:0-block-sda.device loaded active plugged INTEL_SSDSA2M160G2LE
sys-devices-pci0000:00-0000:00:1f.2-ata2-host1-target1:0:0-1:0:0:0-block-sr0.device loaded active plugged MATSHITADVD-RAM_UJ8A2
sys-devices-platform-serial8250-tty-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devices-platform-serial8250-tty-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devices-platform-serial8250-tty-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-devices-platform-thinkpad_acpi-rfkill-rfkill0.device loaded active plugged /sys/devices/platform/thinkpad_acpi/rfkill/rfkill0
sys-devices-platform-thinkpad_acpi-rfkill-rfkill1.device loaded active plugged /sys/devices/platform/thinkpad_acpi/rfkill/rfkill1
sys-devices-platform-thinkpad_acpi-sound-card29.device loaded active plugged /sys/devices/platform/thinkpad_acpi/sound/card29
sys-module-configfs.device loaded active plugged /sys/module/configfs
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
sys-subsystem-net-devices-enp0s25.device loaded active plugged 82579LM Gigabit Network Connection
sys-subsystem-net-devices-wlp3s0.device loaded active plugged Centrino Ultimate-N 6300 (3x3 AGN)
sys-subsystem-net-devices-wwp0s29u1u4i6.device loaded active plugged F5521gw
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
run-user-1000.mount loaded active mounted /run/user/1000
sys-kernel-config.mount loaded active mounted Configuration File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted Temporary Directory
systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
session-c1.scope loaded active running Session c1 of user jakob
dbus.service loaded active running D-Bus System Message Bus
dhcpcd@enp0s25.service loaded active running dhcpcd on enp0s25
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required static device nodes for the current kernel
systemd-backlight@backlight:acpi_video0.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video0
systemd-backlight@backlight:acpi_video1.service loaded active exited Load/Save Screen Backlight Brightness of backlight:acpi_video1
systemd-backlight@backlight:intel_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:intel_backlight
systemd-backlight@backlight:nv_backlight.service loaded active exited Load/Save Screen Backlight Brightness of backlight:nv_backlight
systemd-fsck@dev-disk-by\x2duuid-69c2b129\x2dd95a\x2d48f7\x2d84de\x2d058ba5f97b42.service loaded active exited File System Check on /dev/disk/by-uuid/69c2b129-d95a-48f7-84de-058ba5f97b42
systemd-journal-flush.service loaded active exited Trigger Flushing of Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-rfkill@rfkill0.service loaded active exited Load/Save RF Kill Switch Status of rfkill0
systemd-rfkill@rfkill1.service loaded active exited Load/Save RF Kill Switch Status of rfkill1
systemd-rfkill@rfkill2.service loaded active exited Load/Save RF Kill Switch Status of rfkill2
systemd-rfkill@rfkill3.service loaded active exited Load/Save RF Kill Switch Status of rfkill3
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
pstree
systemd─┬─chromium─┬─chrome-sandbox───chromium─┬─chrome-sandbox───nacl_helper
│ │ └─chromium─┬─chromium─┬─2*[{Blink GC Sweepe}]
│ │ │ ├─2*[{Blink Heap Mark}]
│ │ │ ├─{Chrome_ChildIOT}
│ │ │ ├─{Compositor}
│ │ │ ├─{HTMLParserThrea}
│ │ │ ├─{OptimizingCompi}
│ │ │ ├─{WorkerPool/662}
│ │ │ └─{WorkerPool/663}
│ │ ├─chromium─┬─2*[{Blink GC Sweepe}]
│ │ │ ├─2*[{Blink Heap Mark}]
│ │ │ ├─{Chrome_ChildIOT}
│ │ │ ├─{Compositor}
│ │ │ ├─{HTMLParserThrea}
│ │ │ └─{OptimizingCompi}
│ │ ├─12*[chromium─┬─2*[{Blink GC Sweepe}]]
│ │ │ ├─2*[{Blink Heap Mark}]]
│ │ │ ├─{Chrome_ChildIOT}]
│ │ │ ├─{CompositorRaste}]
│ │ │ ├─{Compositor}]
│ │ │ ├─{HTMLParserThrea}]
│ │ │ └─{OptimizingCompi}]
│ │ ├─chromium─┬─2*[{Blink GC Sweepe}]
│ │ │ ├─2*[{Blink Heap Mark}]
│ │ │ ├─{Chrome_ChildIOT}
│ │ │ ├─{CompositorRaste}
│ │ │ ├─{Compositor}
│ │ │ ├─{HTMLParserThrea}
│ │ │ ├─{OptimizingCompi}
│ │ │ ├─{WorkerPool/155}
│ │ │ └─{WorkerPool/156}
│ │ ├─chromium─┬─2*[{Blink GC Sweepe}]
│ │ │ ├─2*[{Blink Heap Mark}]
│ │ │ ├─{Chrome_ChildIOT}
│ │ │ ├─{CompositorRaste}
│ │ │ ├─{Compositor}
│ │ │ ├─{HTMLParserThrea}
│ │ │ ├─{OptimizingCompi}
│ │ │ ├─{WorkerPool/666}
│ │ │ └─{WorkerPool/667}
│ │ └─chromium─┬─{AudioOutputDevi}
│ │ ├─2*[{Blink GC Sweepe}]
│ │ ├─2*[{Blink Heap Mark}]
│ │ ├─{Chrome_ChildIOT}
│ │ ├─{CompositorRaste}
│ │ ├─{Compositor}
│ │ ├─{FFmpegDemuxer}
│ │ ├─{HTMLParserThrea}
│ │ ├─{Media}
│ │ ├─{OptimizingCompi}
│ │ ├─{WorkerPool/688}
│ │ └─{WorkerPool/693}
│ ├─chromium─┬─chromium
│ │ ├─{Chrome_ChildIOT}
│ │ └─{Watchdog}
│ ├─{AudioThread}
│ ├─{Blink GC Sweepe}
│ ├─2*[{Blink Heap Mark}]
│ ├─3*[{BrowserBlocking}]
│ ├─{BrowserWatchdog}
│ ├─3*[{CachePoolWorker}]
│ ├─{Chrome_CacheThr}
│ ├─{Chrome_DBThread}
│ ├─{Chrome_FileThre}
│ ├─{Chrome_FileUser}
│ ├─{Chrome_HistoryT}
│ ├─{Chrome_IOThread}
│ ├─{Chrome_ProcessL}
│ ├─{Chrome_SafeBrow}
│ ├─{Chrome_SyncThre}
│ ├─{CrShutdownDetec}
│ ├─{IndexedDB}
│ ├─{LevelDBEnv.IDB}
│ ├─{LevelDBEnv}
│ ├─{NSS SSL ThreadW}
│ ├─{NetworkChangeNo}
│ ├─{OptimizingCompi}
│ ├─2*[{Proxy resolver}]
│ ├─{WorkerPool/1890}
│ ├─{WorkerPool/1936}
│ ├─{chromium}
│ ├─{extension_crash}
│ ├─{gpu-process_cra}
│ ├─{handle-watcher-}
│ ├─{inotify_reader}
│ ├─{renderer_crash_}
│ └─{sandbox_ipc_thr}
├─2*[dbus-daemon]
├─dbus-launch
├─dhcpcd
├─login───startx───xinit─┬─Xorg.bin─┬─xf86-video-inte
│ │ └─{Xorg.bin}
│ └─awesome───{gmain}
├─systemd───(sd-pam)
├─systemd-journal
├─systemd-logind
├─systemd-udevd
├─xterm───bash───pstree
└─xterm───bash
Offline
Thanks - what about splitting the wpa commands onto two lines?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Please post the wpa_supplicant command you are using. I gather you are using wpa_supplicant and wpa_passphrase on the same line, right? I know this is advised in the wiki, but for troubleshooting it will be much easier if you separate them:
wpa_passphrase YOURNETWORKNAME YOURPASSKEY > temp_file sudo wpa_supplicant -B -i wlp3s0 -c temp_file
Also, just to get some other background can you post the output of each of the following:
systemctl list-units pstree
Running the command as you suggested (also without the "-D nl80211,wext") it worked fine... Can you explain what I have missed?
Last edited by cube2 (2015-01-07 13:36:35)
Offline
You could test whether it was the use of two lines, or the absence of the "-D" flag, I can't be sure. Both of those are relatively recent additions to the wiki. I've considered reverting those changes as I've seen a lot of problems on these forums due specifically to that revision. But I don't know which part is the problem, nor why. I just know the pattern.
The error message itself suggests it is the redirection (running them together on one line). When you run them as separate lines, a file is created, then that file is used. As one line, the shell redirects the wpa_passphrase output to a shell file descriptor then wpa_supplicant uses the fd rather than a real file. This should work, and it does for me and many others. But the error you received (which I've now seen several times on these forums) suggests that it doesn't work for you.
Out of curiousity is there any substantial custimization to your shell? Do you use bash, or did you switch to zsh, or something else?
I'd love to learn more about this error, but as I can't replicate it on my system, I can't test variations.
As the for "-D ..." flag, I have no idea why that ever started being recommended. Wpa_supplicant autodetects the best driver, and it does quite well at it. The "-D" flag overrides this entirely and AFAIK should only be used in special cases when you know better than wpa_supplicant what your hardware requires.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I'm using bash and my shell isn't really modified by any means (yet...).
I will look further into the "problem" later, but as for now I mark this as solved.
Last edited by cube2 (2015-01-07 14:01:00)
Offline
sudo wpa_supplicant -D nl80211,wext -i wlp3s0 -c <(wpa_passphrase "SSID" "key")
The problem is that sudo doesn't work with redirects and substitutions, you'll need a root shell, see also Help:Reading#Regular_user_or_root.
Offline