You are not logged in.

#1 2016-12-23 13:24:55

linuxos
Member
Registered: 2016-12-23
Posts: 4

[SOLVED] WIFI not working

Hi everybody,
I decided to uninstall some packages, but I unfortunally also uninstalled packages regarding the network connection.

I reinstalled wpa_supplicant, iw and dialog via USB-LiveBoot.
But if I enter sudo wifi-menu (without live-Boot) I get

Scanning for networks... failed
No networks found 

ip link

1: lo
2: enp3so
3: wlp2so

sudo dhcpcd enp3s0

enp3s0: waiting for carrier
timed out
dhcpcd exited

lspci -v

network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
Kernel driver in use: ath9k

netctl 1.12 is installed

Did I miss to install something? Do I need to install some additional firmware packages? Do you have any suggestions?


Best regards & thank you in advance

Last edited by linuxos (2016-12-23 17:07:55)

Offline

#2 2016-12-23 14:18:19

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] WIFI not working

linuxos wrote:

I decided to uninstall some packages, but I unfortunally also uninstalled packages regarding the network connection.

Please check your pacman logs to see which packages exactly you uninstalled.

But if I enter sudo wifi-menu (without live-Boot) I get

Scanning for networks... failed
No networks found 

What happens if you manually scan for wireless networks? Like this:

iw dev wlp2s0 scan

(you might need to first bring the interface up with `ip link set dev wlp2s0 up` - check the output of `ip link` to see if it's really up)

ip link

1: lo
2: enp3so
3: wlp2so

That really does not look like the real output `ip link`. There should be more than this - please check what comes after `state` (see above for how to turn it on if it states DOWN).

sudo dhcpcd enp3s0

enp3s0: waiting for carrier
timed out
dhcpcd exited

enp3s0 is presumably your ethernet interface - is an ethernet cable plugged into your computer? Is it properly connected to a router that gives IP address leases via DHCP?


pkgshackscfgblag

Offline

#3 2016-12-23 14:40:29

linuxos
Member
Registered: 2016-12-23
Posts: 4

Re: [SOLVED] WIFI not working

Thank you for your reply!

ip link set dev wlp2s0 up yields:

RTNETLINK answers: Operation not possible due to RF-kill

iw dev wlp2s0 scan

command failed: Network is down (-100)

ip link (now it is correct, sorry for that)

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 
2: enp3so: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether e8:11:32:4e:b7:f6 brd ff:ff:ff:ff:ff:ff
3: wlp2s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000 link/ether 00:24:54:f1:27:3d brd ff:ff:ff:ff:ff:ff

No ethernet cable is connected to my computer. Maybe it could be an old log file. The router should work fine. I never faced any issues till now.
I basically uninstalled everything but the base group. But  wifi-menu, iw, wpa_supplicant, netctl is installed.

Any suggestions how to turn the state ON?

Offline

#4 2016-12-23 14:58:11

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] WIFI not working

linuxos wrote:

ip link set dev wlp2s0 up yields:

RTNETLINK answers: Operation not possible due to RF-kill

OK, please check whether there is a button on your laptop to toggle the WiFi (usually fn+something - some models also provide a hard switch).
Perhaps you have accidentally disabled WiFi there.

If that doesn't work, post the output of this command:

rfkill list

Alternatively, if you do not have rfkill installed, you might try to check the content of /sys/class/rfkill/rfkill0/{soft,hard}, to see if one of them is set to 1.


pkgshackscfgblag

Offline

#5 2016-12-23 16:59:35

linuxos
Member
Registered: 2016-12-23
Posts: 4

Re: [SOLVED] WIFI not working

Thank you very much for your help. I really appreciate that!!

rfkill list showed:

0: samsung-wlan: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: yes

rfkill unblock wifi yields 4 no's, so that solved my issue and everything works fine.
But I don't understand why they are set by default to yes? I have some buttons (one also for wifi), but they don't work or at least I can't see anything, because I have no GUI installed.

Last edited by linuxos (2016-12-23 17:07:22)

Offline

#6 2016-12-25 01:25:12

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] WIFI not working

linuxos wrote:

I have some buttons (one also for wifi), but they don't work or at least I can't see anything, because I have no GUI installed.

Check if that one button for WiFi affects the state as reported by rfkill.
So far I assume that you have simply accidentally hit that button once, which lead to a disabled WiFi.


pkgshackscfgblag

Offline

#7 2016-12-28 21:56:36

linuxos
Member
Registered: 2016-12-23
Posts: 4

Re: [SOLVED] WIFI not working

ayekat wrote:
linuxos wrote:

I have some buttons (one also for wifi), but they don't work or at least I can't see anything, because I have no GUI installed.

Check if that one button for WiFi affects the state as reported by rfkill.

Hi,
the button affects the state of rfkill (it was a fn-button combination which wasn't activated though).


I have some other problems with the wifi-connection, but since I don't have access to my laptop in the next days and since it is a similar, but nonetheless other topic, I will open a new topic.

Thank you so far smile
Hope you will help me also next time smile

Offline

#8 2016-12-29 06:42:10

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [SOLVED] WIFI not working

linuxos wrote:

Hope you will help me also next time smile

That will depend on the nature of your problem smile

Oh, and welcome to the Arch Linux forums!, by the way.


pkgshackscfgblag

Offline

Board footer

Powered by FluxBB