You are not logged in.

#1 2016-02-11 12:15:12

Lotoras
Member
Registered: 2016-02-10
Posts: 5

[Solved]Can't find/connect to network with wifi-menu or another method

Hello everyone,

I've searched a couple of other forum entries regarding my issue, but no one else seems to have exactly the same problem as I do.

The problem is that I cannot connect to the Internet with my freshly installed Arch Linux using wifi-menu (I installed dialog), but any other method doesn't work either.
The weird thing is that I have another OS installed (Win 8.1) on the same computer and there's no such issue. I don't have the problem with a Live USB (Kali Linux) either - it finds the network and can connect to it. Additionally it worked with Arch Linux before I reinstalled it.
Further more there wasn't any problem connecting to the Internet in the "base install" of Arch. Only the real OS doesn't get it.
But the actual thing is that wifi-menu doesn't find my network. It can find any other network - from neighbours, networks in my surroudning. Everything except mine.
My networks name is "FRITZ!Box Fon WLAN 7270" but wifi-menu can find networks with a similar name.
So I don't think this is a hardware problem or that my network can not be found at all.
I would really appreciate your help.

output of "iwconfig" / "ip link" of the respective interface

iwconfig
wlp0s10f1u2   IEEE 802.11bgn    ESSID:off/any
                Mode:Managed    Access Point: Not-Associated    Tx-Power=20 dBm
                Retry hort limit:7    RTS thr:off    Fragment thr:off
                Power Management:off
ip link
wlps010f1u2: <NO-CARRIER, BROADCAST,MULTICAST,DOWN> mtu 1500  qdisc mq  state DOWN  mode DEFAULT  group default  qlen 1000  link/ether:...

also tried "wpa_passphrase"

$ wpa_passphrase 'FRITZ!Box Fon WLAN 7270' password > /etc/wpa_supplicant/wpa_supplicant.conf

$ wpa_cli
... (some output of wpa_cli, like version etc.)
Interactive mode

could not connect to wpa_supplicant: (nil) - re-trying
$ nano /etc/wpa_supplicant/wpa_supplicant.conf

scan_ssid=1

network={
   ssid="Fritz!Box Fon WLAN 7270"
   #psk="password"
   psk=.....
}

or manually using netctl

$ nano /etc/netctl/WLAN

Description='Automatically generated profile by wifi-menu'
Interface=wlp0s10f1u2
Connection=wireless
Security=wpa
ESSID=FRITZ\!Box\ Fon\ WLAN\ 7270
IP=dhcp
Key=password

$ netctl start WLAN
... (Authentication)
Job for netctl@WLAN.service failed ...
journalctl -xe
Starting network profile 'WLAN' ...
IPv6: ADDRCONF(NETDEV_UP): wlp0s10f1u2: link is not ready
WPA association/authentication failed for interface 'wlp0s10f1u2'
Failed to bring network up for profile 'WLAN'
netctl@WLAN.service: Main process exited, code=exited, status=1/FAILURE
Failed to start Networking for netctl profile WLAN
netctl@WLAN.service: Unit entered failed state.
netctl@WLAN.sevice: Failed with result 'exit-code'
Unregistered Authentication Agent for unix-process:480:250128 (system bus name :1.7, object path /org/freedesktop/PolicyKit1/AuthenticaionAgent, locale C) disconnected from bus)

Thanks in advance, Lotoras

Last edited by Lotoras (2016-02-18 11:30:45)

Offline

#2 2016-02-11 15:28:33

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

Re: [Solved]Can't find/connect to network with wifi-menu or another method

For one, it does not appear that you actually started wpa_supplicant.  I could be wrong.  How do you start it? by hand? As a service? Using NetworkManager, netctl or wicd?

Also, the network shows as down.   As a sanity check, let's try a site survey to see if the radio works.

Look at the output of sudo iw wlp0s10f1u2 scan
It should be rather verbose, Check to see if the access point you are trying to attach and all of its attributes are found in the output.


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

#3 2016-02-12 08:56:32

Lotoras
Member
Registered: 2016-02-10
Posts: 5

Re: [Solved]Can't find/connect to network with wifi-menu or another method

Oh I forgot to mention those 2 things.

I started wpa_supplicant with the command

wpa_supplicant -B -i wlp0s10f1u2 -c /etc/wpa_supplicant/wpa_supplicant.conf

And I already scanned my system with the command you proposed and that's the problem. It doesn't find my network either (but it finds other networks).

Offline

#4 2016-02-12 15:28:06

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

Re: [Solved]Can't find/connect to network with wifi-menu or another method

I missed that point.  I'm not sure how I missed that point, you were quite clear hmm

Two things to check.   First, is the AP to which you want to connect on the same band as the ones you can detect? (2.5 GHz vs 5.0GHz)
Is your regulatory domain set correctly?  If not, your computer may not be searching all of the channels available in your area.  The router may be on a channel you cannot see if they are set for different countries.


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

#5 2016-02-14 18:07:14

Lotoras
Member
Registered: 2016-02-10
Posts: 5

Re: [Solved]Can't find/connect to network with wifi-menu or another method

Oh I think that's the issue.

I checked the regulatory domain

sudo iw reg get
global
country 00: DFS-UNSET
...

But it should be "DE"
Unfortunately I can't change that. I used the command

sudo iw reg set DE

But it doesn't change anything. But I don't know why.

But I'm pretty sure that you're right because I checked the frequencies with

sudo iw list

and the frequencies 2472 Mhz (Channel 13) - this is the one my network works on - and another one are disabled.

I'll update if I figured out how to change that and when I'm sure that this was the problem.
Thanks a lot for your help big_smile

Offline

#6 2016-02-14 18:40:58

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

Re: [Solved]Can't find/connect to network with wifi-menu or another method

I'm not sure why that command did not seem to work.  What happens is you edit /etc/conf.d/wireless-regdom and uncomment the the line for Germany, then reboot?

When you say it did not work, did you try to read it back after setting it?


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

#7 2016-02-15 07:05:57

Lotoras
Member
Registered: 2016-02-10
Posts: 5

Re: [Solved]Can't find/connect to network with wifi-menu or another method

I don't even have a "conf.d" folder in "/etc"??

But if it helps, I have a file called "ieee80211_regdom"

cat /sys/module/cfg80211/parameters/ieee80211_regdom
00

But I can't change that file, even as sudo?

What do you mean by reading back? I tried to set it and then I checked with the "get" command and it's the same as before.

Offline

#8 2016-02-18 11:26:42

Lotoras
Member
Registered: 2016-02-10
Posts: 5

Re: [Solved]Can't find/connect to network with wifi-menu or another method

I solved this little issue
I just forgot to install the crda package, my bad.
It's working now.

Thanks for your help

Offline

Board footer

Powered by FluxBB