You are not logged in.
I recently installed Arch but didn't set it up yet. In particular, I can't connect to WiFi, although it's visible (in Arch). When I click on it, nothing happens. What might be the issue?
Last edited by Trilby (2015-12-31 19:00:06)
Offline
Did you go through the information here? Are you trying to connect via wifi-menu?
Give us the output of:
lspci -k && ip link
Offline
I recently installed Arch but didn't set it up yet ... When I click on it
When you click on what?
Best case, this is extremely vague - you should specify which wireless management tool you were "clicking on" and/or which DE tool it was. But that would be the best case. Seeing that right after you said you just installed but haven't set it up yet, it makes me suspect you are not actually using archlinux, but rather some spinoff or derivative distro with a GUI as part of the base install.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Trilby, on what could I click? On the sign of the WiFi's name.
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 28:d2:44:16:42:e5 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 68:17:29:70:56:cf brd ff:ff:ff:ff:ff:ff
inet6 fe80::6a17:29ff:fe70:56cf/64 scope link
valid_lft forever preferred_lft forever
Offline
$ lspci -k && ip link
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Lenovo Device 5018
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: Lenovo Device 5018
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: xhci_hcd
Kernel modules: xhci_hcd
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
Subsystem: Lenovo Device 5018
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Lenovo Device 5018
Kernel modules: i2c_i801
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 740M] (rev a1)
Subsystem: Lenovo Device 5019
Kernel driver in use: nouveau
Kernel modules: nouveau
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
Subsystem: Lenovo Device 5018
Kernel driver in use: rtsx_pci
Kernel modules: rtsx_pci
04:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 07)
Subsystem: Lenovo Device 5018
Kernel driver in use: r8169
Kernel modules: r8169
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: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
link/ether 28:d2:44:16:42:e5 brd ff:ff:ff:ff:ff:ff
3: wlp4s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 68:17:29:70:56:cf brd ff:ff:ff:ff:ff:ff
Offline
Trilby, on what could I click? On the sign of the WiFi's name.
Are you trying to be a smart ass?
Post the output of `uname -a`. Are you using archlinux? What wireless management program presents the "wifi's name" that you clicked on? What wireless management programs have you installed and enabled? What DE have you installed, what DE are you using?
If you can't be forthcoming with information, you will receive no help here.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
So, what (specifically) happened when you tried this part of the beginner's guide?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
you have nothing to click, i think.
just use wifi-menu
or
use wpa_supplicant and dhcpcd if wifi is password protected.
(I assume you installed wpa_supplicant when you install Arch)
read wireless network page on Arch wiki.
Amazing !
Offline
It's funny that we have this sticker in the forum, but nobody seems to care.
P. S. Sorry for offtopic.
Offline
Sorry for the long reply. I decided to use wifi-menu instead for the first times. I entered the password for wifi and failed to connect. The error was "job for netctl@wlan... failed". Here is a possible solution:
https://wiki.archlinux.org/index.php/ne … ice_failed
In my case the exact error is "network[2322]: The interface of network profile 'wlp4s0-myssid' is already up"
The official manual suggests using another dhcp client by saying:
"pacman -S dhclient"
But how can I install dhclient if I don't have the Internet connect at all (on Arch)?
Last edited by Darooma (2014-07-05 02:01:27)
Offline
Wpa supplicatnt doesn't work either:
"sudo wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123)"
=>
Successfully initialized wpa_supplicant
Failed to open config file '/dev/fd/63', error: No such file or directory
Failed to read of parse configuration '/dev/fd/63'
What's the matter?
Offline
Open a terminal and issue these commands
echo $(wpa_passphrase your_ssid your_passwd) >> .homenetwork.conf
nano .homenetwork.conf
edit the file so that it looks like this
network={
ssid="ssid"
#psk="passwd"
psk="..."
}
sudo wpa_supplicant -Bi wlp4s0 -c .homenetwork.conf
sudo dhcpcd wlp4s0
But you should do some reading here https://wiki.archlinux.org/index.php/WPA_supplicant
https://wiki.archlinux.org/index.php/beginners'_guide#Wireless_2
also type in a terminal
man wpa_supplicant
man wpa_passphrase
also read the file /etc/wpa_supplicant/wpa_supplicant.conf
Last edited by polks (2014-07-05 03:16:03)
Offline
wpa_supplicant itself doesn't work due to the error showed above. I believe it doesn't matter whether you call it by "sudo wpa_supplicant -Bi wlp4s0 -c .homenetwork.conf" or by "sudo wpa_supplicant -Bi wlp4s0 -c (wpa_passphrase ...)", does it?
Last edited by Darooma (2014-07-05 05:06:37)
Offline
It looks to me as if your wpa_supplicant.conf file is incorrect.
Can you post the uncommented lines from your (without the passwords)?
Andrew
Offline
I am not using wpa_supplicant.conf, I'm using -c (wpa_passphrase ...)
Offline
From man 8 wpa_supplicant
-c filename
Path to configuration file. (Per interface)
There is no mention of directly passing the configuration instead of the filename.
Also the error is failing to open a file descriptor which could well be the parameters being passed to -c being interpreted as a none existent filename.
Offline
wpa_supplicant runs as a daemon and sources its data from the wpa_supplicant.conf file in /etc/wpa_supplicant
Running from the command line, as you have found, does not seem to work. Perhaps it would be better to run it as it is intended? "polks" has said it all.
I assume that you have a laptop. Using the wpa_supplicant.conf file means that you do not need to keep specifying the network to connect to.
Andrew
Offline
From man 8 wpa_supplicant
-c filename
Path to configuration file. (Per interface)There is no mention of directly passing the configuration instead of the filename.
Also the error is failing to open a file descriptor which could well be the parameters being passed to -c being interpreted as a none existent filename.
go read the documentation
-c filename is the same as -c <(wpa_passphrase ssid pass)
Offline
Missed that you were using redirection which fails because it is performed by the shell outside of sudo
sudo wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123)
[sudo] password for user:
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'.
su -
wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123)
Successfully initialized wpa_supplicant
net1: CTRL-EVENT-SCAN-STARTED
Offline
-c filename is the same as -c <(wpa_passphrase ssid pass)
No it is not. It is similar and it will work in many cases, not all.
Darooma, if you want help, you really need to start cooperating with those who are trying to offer help. This thread is full of suggestions and requests for further information which you have either completely ignored, or met with much resistance. No one is obligated to help you - and at this rate, no one will be motivated to do so either.
Last edited by Trilby (2014-07-06 19:32:48)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Missed that you were using redirection which fails because it is performed by the shell outside of sudo
sudo wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123) [sudo] password for user: 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'.
su - wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123) Successfully initialized wpa_supplicant net1: CTRL-EVENT-SCAN-STARTED
what redirection? do you mean "<(wpa_passphrase my_ssid123 mypassword123)"?
Offline
loqs wrote:Missed that you were using redirection which fails because it is performed by the shell outside of sudo
sudo wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123) [sudo] password for user: 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'.
su - wpa_supplicant -i wlp4s0 -c <(wpa_passphrase my_ssid123 mypassword123) Successfully initialized wpa_supplicant net1: CTRL-EVENT-SCAN-STARTED
what redirection? do you mean "<(wpa_passphrase my_ssid123 mypassword123)"?
Yes
Edit:
To be precise the "<" did you try it as root as in the second code block?
Last edited by loqs (2014-07-08 10:33:31)
Offline
as the second code block - like I showed you.
Offline
Darooma, you have not shown that. Loqs showed you how to do it. There is no evidence that you have done so.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
[...] In my case the exact error is "network[2322]: The interface of network profile 'wlp4s0-myssid' is already up" [...]
sudo ip link set wlp4s0 down
Offline