You are not logged in.
Hello,
This is my first post to Arch community, and I have a problem with laptop Compaq Presario CQ50. I installed Arch & XFCE on it, but I can't figure, how to enable the wi-fi.
I've tried several threads, and the only one, which is seemed to give some.. result is this:
1) sudo rmmod -f ath5k
2) sudo rfkill unblock all
3) sudo modprobe ath5k
But, I think that it is something strange. Because it is the only way to make some ping.. And even ping is not working properly. If I will do that actions(which work from time to time), I got "Destination Host unreachable". This all works with blacklisted wmi and "options ath5k nohwcrypt" in /etc/modprobe.d/ . On windows 10 wireless is working. The problem is that when i boot my os and type
rfkill list
in terminal it says, that there's no locks, as hardware, as software, but if I will do one of the following:
ip link set wls1 up
wpa_supplicant -B -i wls1 -c /etc/wpa_password.conf -Dwext
dhcpcd wls1
rfkill say, that there exist hardware block.
lspci -k
02:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Hewlett-Packard Company Device 137b
Kernel driver in use: ath5k
Kernel modules: ath5k
Thanks for a help
Offline
Have you installed dialog, try after installng dialog,
sudo wifi-menu
I hope that you don't have any conflicting services running (like networkmanager)
EDIT: welcome to the arch!
Last edited by Docbroke (2016-01-24 14:53:31)
Arch is home!
https://github.com/Docbroke
Offline
Try modinfo ath5k. It has an option for ignoring the rfkillswitch. You can place this in /etc/modprobe.d as an option if it works for you.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
Have you installed dialog, try after installng dialog,
sudo wifi-menu
I hope that you don't have any conflicting services running (like networkmanager)
EDIT: welcome to the arch!
Thanks for the help !
I've already installed it( forgot to mention) , when I haven't done rmmod -f ath5k , it says's that "Scanning for networks... falied". I think, it must be due to the frkill block? And I haven' networkmanager installed yet. Was thinking to install it later to have a widget in XFCE.
Try modinfo ath5k. It has an option for ignoring the rfkillswitch. You can place this in /etc/modprobe.d as an option if it works for you.
Ehm.. I didn't understand, what should I really do?
modinfo ath5k
filename: /lib/modules/4.3.3-3-ARCH/kernel/drivers/net/wireless/ath/ath5k/ath5k.ko.gz
license: Dual BSD/GPL
description: Support for 5xxx series of Atheros 802.11 wireless LAN cards.
author: Nick Kossifidis
author: Jiri Slaby
alias: pci:v0000168Cd0000FF1Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000014sv*sd*bc*sc*i*
alias: pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias: pci:v000010B7d00000013sv*sd*bc*sc*i*
alias: pci:v0000A727d00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000011sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000007sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000207sv*sd*bc*sc*i*
depends: mac80211,led-class,cfg80211,ath
intree: Y
vermagic: 4.3.3-3-ARCH SMP preempt mod_unload modversions 686
parm: nohwcrypt:Disable hardware encryption. (bool)
parm: fastchanswitch:Enable fast channel switching for AR2413/AR5413 radios. (bool)
parm: no_hw_rfkill_switch:Ignore the GPIO RFKill switch state (bool)
Offline
When you modprobe ath5k, you can add no_hw_rfkill_switch=0/1 to it call, and it might help with the rfkill problem. Apparently, somebody else was annoyed by this problem, so they included it with the module if it was annoying for someone else.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
When you modprobe ath5k, you can add no_hw_rfkill_switch=0/1 to it call, and it might help with the rfkill problem. Apparently, somebody else was annoyed by this problem, so they included it with the module if it was annoying for someone else.
I checked it. Still the same :
[svetlana@ArchLinux ~]$ modprobe ath5k no_hw_rfkill_switch=0/1
[svetlana@ArchLinux ~]$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
Offline
The 0 or 1 is the state you want it in either true or false not literally 0/1.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
The 0 or 1 is the state you want it in either true or false not literally 0/1.
Sorry, my mistake. When I tried that command, I have following:
dhcpcd wls1
wls1: waiting for carrier
timed out
dhcpcd exited
Offline
nomorewindows wrote:The 0 or 1 is the state you want it in either true or false not literally 0/1.
Sorry, my mistake. When I tried that command, I have following:
dhcpcd wls1 wls1: waiting for carrier timed out dhcpcd exited
Do your rfkill list.
Will have to try it both ways rmmod first then modprobe again with the other option setting.
This probably turned the wifi off.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
[svetlana@ArchLinux ~]$ modprobe ath5k no_hw_rfkill_switch=0/1
[svetlana@ArchLinux ~]$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
I have seen similar case of hard-blocked wifi on this forum, try this
1. check that you wifi card is not blocked in bios
2. if you have windows on other partition, try starting wifi in that and reboot
3. remove charger/battery for few minutes and reboot (this worked in previous case as there was no such option in bios)
Arch is home!
https://github.com/Docbroke
Offline
Sorry guys for such a late reply, I have my birthday yesterday.
Soo, I checked both options, that you give me, and.. I must say, that for now I haven't issued rfkill hardware block yet. But it is so only if I don't change my BIOS(yep, checked that too). I removed the battery, but the result is just the same. It just can't connect to my wifi-spot. Seems strange. Because other laptop with Arch Linux(Lenovo Y5070) connect successfully, and WIndows on this PC connects to wi-fi as well. So it is not an issue in a router or in hardware, I think. Anyway, here is the output:
[root@ArchLinux svetlana]# ip link set wls1 up
[root@ArchLinux svetlana]# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[root@ArchLinux svetlana]# wpa_supplicant -B -i wls1 -c /etc/wpa_passphrase.conf -Dwext
Successfully initialized wpa_supplicant
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
[root@ArchLinux svetlana]# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[root@ArchLinux svetlana]# wifi-menu
Scanning for networks... failed
No networks found
[root@ArchLinux svetlana]# rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
[root@ArchLinux svetlana]# dhcpcd wls1
wls1: waiting for carrier
timed out
dhcpcd exited
Once again, I'm very thankful to both of you guys, that you're helping me with this issue
Offline
Some thing is fishy, here are outputs from my laptop, (for comparision)
~ > rfkill list
1: dell-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
--
4: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
and
~ >lscpi -k
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
Subsystem: Dell Device 0532
Kernel driver in use: e1000e
Kernel modules: e1000e
02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01)
Subsystem: Dell Device 0015
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma
Which wireless card you are using, in your case it looks like ath5k is single driver handling both ethernet and wireless?? Can you connect to wifi after disconnecting ethernet?
Arch is home!
https://github.com/Docbroke
Offline
Let's try a different tack. What is the output of sudo iw wls1 scan ?
Also, the name wls1 seems a bit odd to me. What are the output of:
ip link
and of
journalctl -b | grep iwlwifi
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
The output of `ip link` will be helpful, but just to note "wls1" seems like a reasonable interface name to me. That's what my current computers interface is listed as too.
Often we will see a wlp#s# where each of the # signs is a number (my work computer's interface is wlp3s0). I don't remember exactly what they represent, but the s# is - at least conceptually - a subset of the p#. But I'm guessing if there is only one p-thingy (not a technical term) on the hardware, the p1 is left out as redundant: so wlp1s1 become wls1 if there is no option for a p2. [Note this explanation is a bit of speculation - but the observation that wls1 works is fact.]
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Trilby, okay, I trust you For me, it was just another format I had no seen before. I'm still not sold on all this newfangled interface renaming stuff. When I was a youngster, we used MACs to make things deterministic -- and we were lucky to have 'em!
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
Some thing is fishy, here are outputs from my laptop, (for comparision)
~ > rfkill list 1: dell-wifi: Wireless LAN Soft blocked: no Hard blocked: no -- 4: phy0: Wireless LAN Soft blocked: no Hard blocked: no
and
~ >lscpi -k 00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04) Subsystem: Dell Device 0532 Kernel driver in use: e1000e Kernel modules: e1000e 02:00.0 Network controller: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter (rev 01) Subsystem: Dell Device 0015 Kernel driver in use: bcma-pci-bridge Kernel modules: bcma
Which wireless card you are using, in your case it looks like ath5k is single driver handling both ethernet and wireless?? Can you connect to wifi after disconnecting ethernet?
Yep, something really strange. Because I have two Ehernet adpaters, as it state lspci -k :
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 360b
Kernel driver in use: r8169
Kernel modules: r8169
02:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Hewlett-Packard Company Device 137b
Kernel driver in use: ath5k
Kernel modules: ath5k
for rfkill only one device showing. Still the same:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
If i disconnect ethernet, I still can't connect to wi-fi :\
Let's try a different tack. What is the output of sudo iw wls1 scan ?
Also, the name wls1 seems a bit odd to me. What are the output of:
ip link
and of
journalctl -b | grep iwlwifi
Okay, got it. Here's the output:
[svetlana@ArchLinux ~]$ sudo iw wls1 scan
command failed: Network is down (-100)
[svetlana@ArchLinux ~]$ sudo ip link set wls1 up
[svetlana@ArchLinux ~]$ sudo iw wls1 scan
\command failed: Network is down (-100)
[svetlana@ArchLinux ~]$ rfkill list
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
Strange, but after the wls1 up - rfkill show, that device is blocked. Strange.
Command " journalctl -b | grep iwlwifi " outputs nothing :c
The output of `ip link` will be helpful, but just to note "wls1" seems like a reasonable interface name to me. That's what my current computers interface is listed as too.
Often we will see a wlp#s# where each of the # signs is a number (my work computer's interface is wlp3s0). I don't remember exactly what they represent, but the s# is - at least conceptually - a subset of the p#. But I'm guessing if there is only one p-thingy (not a technical term) on the hardware, the p1 is left out as redundant: so wlp1s1 become wls1 if there is no option for a p2. [Note this explanation is a bit of speculation - but the observation that wls1 works is fact.]
Okay, got it. Now the output of ip link:
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: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 00:1f:16:46:d9:73 brd ff:ff:ff:ff:ff:ff
3: wls1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 00:23:4d:62:2f:1c brd ff:ff:ff:ff:ff:ff
Offline
This all works with blacklisted wmi
What happens if you remove the blacklist and reboot?
Is the interface still hard blocked?
Are there more rfkill entries?
Offline
FallenAngel wrote:This all works with blacklisted wmi
What happens if you remove the blacklist and reboot?
Is the interface still hard blocked?
Are there more rfkill entries?
Yep, checked with removing that blacklised wmi. Still no wireless. Should I blacklist wmi again?
Offline
Any mention of "firmware" in the journal that pertain to the wireless card?
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
Any mention of "firmware" in the journal that pertain to the wireless card?
I'm not an expert in Arch.. Is this a journal, that you mentioned?
[root@ArchLinux svetlana]# ls /var/log/journal/
db5fbd88c87943468ab456e5215dbd06 remote
[root@ArchLinux svetlana]# ls /var/log/journal/db5fbd88c87943468ab456e5215dbd06/
system@00052a065d155a6c-13811a7cd17f8569.journal~
system.journal
user-1000@00052a065db4f04d-cf02ce67727555bf.journal~
user-1000.journal
If I open that with nano, I've got some symbols, that I cannot rproduce by typing on thge keyboard. Something like he wrong encoding(UTF8, CP-1251). Will try to open it with something, taht exists in XFCE and report.
Offline
Yep, mousepad refuse to open that files too. It says something about the wrong encoding.
Offline
journalctl
Offline
journalctl
Thanks, you're best. Now looking through that. Found this line, but, I think, that this warning is not the issue.
янв 23 16:28:47 ArchLinux kernel: Notice: NX (Execute Disable) protection cannot be enabled: non-PAE kernel!
Offline
Some warnings and this line in red:
янв 23 16:28:47 ArchLinux kernel: Failed to find cpu0 device node
Oh, wait. Here's something :
янв 23 16:28:52 ArchLinux kernel: fbcon: inteldrmfb (fb0) is primary device
янв 23 16:28:52 ArchLinux systemd[1]: Starting Load/Save RF Kill Switch Status...
янв 23 16:28:52 ArchLinux systemd[1]: Started Load/Save RF Kill Switch Status.
янв 23 16:28:53 ArchLinux kernel: ath: EEPROM regdomain: 0x67
янв 23 16:28:53 ArchLinux kernel: ath: EEPROM indicates we should expect a direct regpair map
янв 23 16:28:53 ArchLinux kernel: ath: Country alpha2 being used: 00
янв 23 16:28:53 ArchLinux kernel: ath: Regpair used: 0x67
янв 23 16:28:53 ArchLinux kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
янв 23 16:28:53 ArchLinux kernel: ath5k: phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
янв 23 16:28:53 ArchLinux kernel: ath5k 0000:02:00.0 wls1: renamed from wlan0
янв 23 16:28:53 ArchLinux kernel: Console: switching to colour frame buffer device 160x50
янв 23 16:28:53 ArchLinux kernel: i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
янв 23 16:28:53 ArchLinux systemd[1]: Created slice system-systemd\x2dbacklight.slice.
Is it a thing?
EDIT:
Also, it recognize button. Or it just mention it. IDK
янв 23 16:28:53 ArchLinux systemd-logind[269]: Watching system buttons on /dev/input/event3 (Power Button)
янв 23 16:28:53 ArchLinux systemd-logind[269]: Watching system buttons on /dev/input/event12 (Video Bus)
янв 23 16:28:53 ArchLinux systemd-logind[269]: Watching system buttons on /dev/input/event1 (Lid Switch)
янв 23 16:28:53 ArchLinux systemd-logind[269]: Watching system buttons on /dev/input/event2 (Sleep Button)
янв 23 16:28:53 ArchLinux systemd-logind[269]: Watching system buttons on /dev/input/event9 (HP WMI hotkeys)
Last edited by FallenAngel (2016-01-27 16:10:47)
Offline
Please post the *entire* output, use a pastebin if it's massive.
Offline