You are not logged in.

#1 2014-06-17 00:06:02

Darooma
Member
Registered: 2014-04-29
Posts: 31

[CLOSED] Can't connect to WiFi

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

#2 2014-06-17 00:32:37

philomathean
Member
Registered: 2013-09-17
Posts: 17

Re: [CLOSED] Can't connect to WiFi

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

#3 2014-06-17 00:37:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [CLOSED] Can't connect to WiFi

Darooma wrote:

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

#4 2014-06-17 01:12:45

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

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

#5 2014-06-17 01:19:33

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

$ 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

#6 2014-06-17 01:39:24

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [CLOSED] Can't connect to WiFi

Darooma wrote:

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

#7 2014-06-17 01:50:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: [CLOSED] Can't connect to WiFi

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

#8 2014-06-17 04:39:35

mshan
Member
Registered: 2013-05-05
Posts: 105

Re: [CLOSED] Can't connect to WiFi

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

#9 2014-06-17 11:24:44

iodine
Member
Registered: 2011-09-20
Posts: 16

Re: [CLOSED] Can't connect to WiFi

It's funny that we have this sticker in the forum, but nobody seems to care.
P. S. Sorry for offtopic.

Offline

#10 2014-07-05 02:00:53

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

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

#11 2014-07-05 02:29:09

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

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

#12 2014-07-05 03:15:39

polks
Member
Registered: 2014-07-02
Posts: 7

Re: [CLOSED] Can't connect to WiFi

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

#13 2014-07-05 05:06:09

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

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

#14 2014-07-05 07:46:55

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [CLOSED] Can't connect to WiFi

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

#15 2014-07-05 11:12:44

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

I am not using wpa_supplicant.conf, I'm using  -c (wpa_passphrase ...)

Offline

#16 2014-07-05 11:54:00

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [CLOSED] Can't connect to WiFi

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

#17 2014-07-05 11:55:53

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: [CLOSED] Can't connect to WiFi

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

#18 2014-07-06 17:04:42

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

loqs wrote:

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

#19 2014-07-06 18:57:34

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [CLOSED] Can't connect to WiFi

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

#20 2014-07-06 19:29:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [CLOSED] Can't connect to WiFi

Darooma wrote:

-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

#21 2014-07-08 10:16:58

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

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)"?

Offline

#22 2014-07-08 10:26:20

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [CLOSED] Can't connect to WiFi

Darooma wrote:
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

#23 2014-07-11 00:07:20

Darooma
Member
Registered: 2014-04-29
Posts: 31

Re: [CLOSED] Can't connect to WiFi

as the second code block - like I showed you.

Offline

#24 2014-07-11 00:13:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: [CLOSED] Can't connect to WiFi

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

#25 2014-07-11 09:40:10

rix
Member
Registered: 2012-07-25
Posts: 238

Re: [CLOSED] Can't connect to WiFi

Darooma wrote:

[...] 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

Board footer

Powered by FluxBB