You are not logged in.

#1 2018-07-30 02:34:50

pa_leca
Member
Registered: 2018-07-30
Posts: 17

[SOLVED]Trying to connect to my wifi network after my arch install

Hi, I've migrated from debian and after installing arch on my desktop I can't connect to my wifi network, I got the following error after trying to connect using wifi-menu in the "journalctl -xe" and I don't know what should I do...
P.s.: I got dialog and wpa_supplicant are already installed.

https://i.imgur.com/p4bKaSP.jpg

Last edited by pa_leca (2018-08-12 00:13:25)

Offline

#2 2018-07-30 02:37:24

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

Re: [SOLVED]Trying to connect to my wifi network after my arch install

1. Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code and don't post screenshots of text, paste the actual text.

2. Connect manually; following the steps on the wiki page methodically and report any error messages in full here.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-07-30 02:50:37

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

jasonwryan wrote:

1. Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code and don't post screenshots of text, paste the actual text.

2. Connect manually; following the steps on the wiki page methodically and report any error messages in full here.


1. Sorry for that, I was a little tired and I've posted without thinking...

2. OK! I'll do it again and report asap.

Offline

#4 2018-07-30 12:32:30

dif
Member
From: Stalowa Wola, Poland
Registered: 2009-12-22
Posts: 137

Re: [SOLVED]Trying to connect to my wifi network after my arch install

Your screenshot shows NetworkManager.
Your post says wifi-menu.
These are two different things. Do not use both at the same time.
When run manually, wifi-menu needs root permissions.

Offline

#5 2018-07-30 19:30:50

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

jasonwryan wrote:

1. Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code and don't post screenshots of text, paste the actual text.

2. Connect manually; following the steps on the wiki page methodically and report any error messages in full here.

I was following the wiki page about Wireless network configuration: https://wiki.archlinux.org/index.php/Wi … ice_driver;
I'm using a USB device, so I run

 dmesg | grep usbcore 

and get a expected output:

 usbcore: registered new interface driver r8188eu 

.
Then I checked

 ip link 

and I got

 wlp0s19f2u5 

as my wireless interface; I set it up using:

 ip link set wlp0s19f2u5 up 

I got no error messages...

When I check the kernel messages for firmware

 dmesg | grep firmware 

I got:

[   6.224010] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 

Then I used:

 dmesg | grep wlp0s19f2u5 

and I got this as a result:

 [   6.526759] r8188eu 2-5:51.0 wlp0s19f2u5: renamed from wlan0  [   10.354432] IPv6 ADDRCONF (NETDEV_UP): wlp0s19f2u5: link is not ready 

I don't know how to proceed.

note: my device worked fine while I was installing arch, but after the install, it doesn't work.

Offline

#6 2018-07-30 19:31:37

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

dif wrote:

Your screenshot shows NetworkManager.
Your post says wifi-menu.
These are two different things. Do not use both at the same time.
When run manually, wifi-menu needs root permissions.

I'm logged as root.

Offline

#7 2018-07-30 19:35:02

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

Re: [SOLVED]Trying to connect to my wifi network after my arch install


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2018-07-30 19:47:07

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

jasonwryan wrote:
 wlp0s19f2u5: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000 link/ether 3c:1e:04:eb:a8:d4 brd ff:ff:ff:ff:ff:ff 

According to wiki the UP in 

<NO-CARRIER, BROADCAST, MULTICAST, UP>

indicates that my interface is up.

Offline

#9 2018-07-30 19:52:26

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

Re: [SOLVED]Trying to connect to my wifi network after my arch install

So, keep going. Don't expect me to keep telling you this... If a step succeeds, move on to the next one.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2018-07-30 19:58:16

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

Side note: when I run wifi-menu, I got the following output before choosing my wifi:

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale:No such file or directory
locale: Cannot set LC_ALL to default locale:No such file or directory
 Scanning for networks... ioctl[SIOCSIWAP]: Operation not permitted
 ioctl[SIOCSIWENCODEEXT]: Invalid argument 

and this error message after:

Job for netctl@wlp0s19f2u5\x2[i]MyWifiName[/i].service failed because the control process exited with error code.

then it tells me to check "journalctl -xe".

Offline

#11 2018-07-30 19:59:45

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

jasonwryan wrote:

So, keep going. Don't expect me to keep telling you this... If a step succeeds, move on to the next one.

I can't, because I don't have iw in my machine.

Offline

#12 2018-07-30 20:00:27

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,045

Re: [SOLVED]Trying to connect to my wifi network after my arch install

Fix your locale https://wiki.archlinux.org/index.php/In … calization


Edit: iw is in core (Hint: I am telling you to install it.  It might be easiest to reboot from the install media)
Edit 2:  Not to be confused with base.

Last edited by ewaller (2018-07-30 20:08:35)


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

#13 2018-07-30 20:41:43

OrdoFlammae
Member
Registered: 2018-07-30
Posts: 1

Re: [SOLVED]Trying to connect to my wifi network after my arch install

One issue that I had is that the interface needs to be down for wifi-menu to work. Try setting it down, and see if that works.

Offline

#14 2018-07-30 20:42:12

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

ewaller wrote:

Fix your locale https://wiki.archlinux.org/index.php/In … calization


Edit: iw is in core (Hint: I am telling you to install it.  It might be easiest to reboot from the install media)
Edit 2:  Not to be confused with base.

I set up my locale, and I've installed iw.
Now following the wiki, when I use

 iw dev wlp0s19f2u5 link 

I got: Not Connected as output.

When I run

 iw dev wlp0s19f2u5 scan 

I got the following massage:

 command failed: No such device (-19) 

Offline

#15 2018-07-30 20:46:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,045

Re: [SOLVED]Trying to connect to my wifi network after my arch install

What is the output of ip link  ?


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

#16 2018-07-30 20:47:00

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

OrdoFlammae wrote:

One issue that I had is that the interface needs to be down for wifi-menu to work. Try setting it down, and see if that works.

I've tried right now, it do not worked for me. sad

Offline

#17 2018-07-30 20:53:08

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

ewaller wrote:

What is the output of ip link  ?

exactly this:

1. lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2. enp2s0: ,NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 link/ether 90:2b:34:fb:b9:c1 brd ff:ff:ff:ff:ff:ff
3. wlp0s19f2u5: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000 link/ether 3c:1e:04:eb:a8:d4 brd ff:ff:ff:ff:ff:ff 

Offline

#18 2018-07-30 21:12:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,045

Re: [SOLVED]Trying to connect to my wifi network after my arch install

Does iw list provide you with a lot of data about your interface?


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

#19 2018-07-30 21:18:56

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

ewaller wrote:

Does iw list provide you with a lot of data about your interface?

I receive no output lol

Offline

#20 2018-07-30 21:26:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,045

Re: [SOLVED]Trying to connect to my wifi network after my arch install

Sounds like we may be missing the firmware for your device.  What type of device is your wireless?  (use the lspci command)
What is the output of pacman -Qs firmware

-- or --

Your running kernel does not match the installed kernel. 
Verify that uname -a and pacman -Q linux both report the same version.


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

#21 2018-07-30 21:50:22

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

ewaller wrote:

Sounds like we may be missing the firmware for your device.  What type of device is your wireless?  (use the lspci command)
What is the output of pacman -Qs firmware

-- or --

Your running kernel does not match the installed kernel. 
Verify that uname -a and pacman -Q linux both report the same version.


My device is a USB.
pacman's output:

local/linux-firmware 20180606.d114732-1
Firmware files for Linux 

uname -a and pacman -Q linux have the same version, namely 4.17.10-1

Offline

#22 2018-07-30 22:01:33

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

Re: [SOLVED]Trying to connect to my wifi network after my arch install

What is the output of dmesg?

Offline

#23 2018-07-30 22:02:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,045

Re: [SOLVED]Trying to connect to my wifi network after my arch install

pa_leca wrote:

My device is a USB.

Very well, what is the output of lsusb


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

#24 2018-07-30 22:08:20

pa_leca
Member
Registered: 2018-07-30
Posts: 17

Re: [SOLVED]Trying to connect to my wifi network after my arch install

ewaller wrote:
pa_leca wrote:

My device is a USB.

Very well, what is the output of lsusb

Sorry, I thought that what type of device wasn't that important.
ID 2001:3310 D-Link Corp.

Offline

#25 2018-07-30 22:20:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,045

Re: [SOLVED]Trying to connect to my wifi network after my arch install

That is a Realtek chipset.  It did not work during the installation, did it?

I think you are going to need the rtl8188eu-git driver from the AUR.  If that does not work, try the other things in the AUR that contain 8188eu


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

Board footer

Powered by FluxBB