You are not logged in.
Hi guys,
I have a new Arch Linux installation on a HP ProBook 4540s. Upon installation, I have also run the following command:
pacman -S iw wpa_supplicant dialog
and all three packages were successfully installed.
A few days ago, I installed Virtual Box, and, my wifi connection broke. I have since removed Virtual Box in an attempt to restore my machine's ability to connect via wifi but that did not help.
Every time I connect using
wifi-menu
the result is CONNECTION FAILED.
May I please be assisted with this. I have tried
ip link set wlo1 down
and
ip link set wlo1 up
without any luck.
The following was return by iw wlo1 info:
Interface wlo1
ifindex 3
wdev 0x1
addr 9c:d2:1e:1f:1f:27
type managed
wiphy 0
The following is returned when I type ip link:
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: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 9c:b6:54:20:4f:17 brd ff:ff:ff:ff:ff:ff
3: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 9c:d2:1e:1f:1f:27 brd ff:ff:ff:ff:ff:ff
Offline
wifi-menu creates configuration files for netctl, what I am using. I'm not sure if these qualify for wpa_supplicant as well.
Try the following:
1.) switch to root
2.) set your interface up via
ip link set wlo1 up
3.) scan for networks via
iw dev wlo1 scan | grep SSID
and tell us if yours shows up
"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway
Offline
I noticed a change in DHCP behavior in more recent versions of Arch. I'm not sure if this is related to your problem, but it is worth a shot.
I describe the situation I'm having here.
In the end I get my wifi working by utilizing the dhclient package. I also required wpa_actiond for auto connection (these are already on the install media so you don't need it during that part):
pacman -S dhclient wpa_actiond
I then attempt a connection with wifi-menu and allow it to create a profile for the network even if it fails. I can then modify the netctl profile under /etc/netctl by adding two lines:
ForceConnect=yes
DHCPClient="dhclient"
This allows me to connect to wifi via wifi-menu or netctl directly. To automate the process I found that NetworkManager wouldn't work for me, so I used netctl auto connect instead:
systemctl enable netctl-auto@wlp61s0.service
You can obviously replace the wlp61s0 part with your wireless interface.
I'd be curious if this makes any impact in your situation.
Last edited by matthew_TKA (2016-06-15 14:52:09)
MSI GS40 6QE PHANTOM
Website
Offline
As a sanity check, what are the output of:
ip link
uname -a
and
pacman -Qi linux (Assuming you run the stock kernel.)
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
wifi-menu creates configuration files for netctl, what I am using. I'm not sure if these qualify for wpa_supplicant as well.
Try the following:
1.) switch to root
2.) set your interface up viaip link set wlo1 up
3.) scan for networks via
iw dev wlo1 scan | grep SSID
and tell us if yours shows up
This is what shows up:
[goodman@localhost ~]$ su
Password:
[root@localhost goodman]# ip link set wlo1 up
[root@localhost goodman]# iw dev wlo1 scan | grep SSID
SSID: Spongebob
Spongebob is the network I am trying to connect to.
Offline
As a sanity check, what are the output of:
ip link
uname -a
and
pacman -Qi linux (Assuming you run the stock kernel.)
This is the output of ip link:
[goodman@localhost ~]$ ip link
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: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 9c:b6:54:20:4f:17 brd ff:ff:ff:ff:ff:ff
3: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 9c:d2:1e:1f:1f:27 brd ff:ff:ff:ff:ff:ff
The uname -a output is:
[goodman@localhost ~]$ uname -a
Linux localhost 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux
And the output of pacman -Qi linux is:
[goodman@localhost ~]$ pacman -Qi linux
Name : linux
Version : 4.6.2-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : http://www.kernel.org/
Licenses : GPL2
Groups : base
Provides : None
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
Optional Deps : crda: to set the correct wireless channels of your country
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 75.85 MiB
Packager : Tobias Powalowski <tpowa@archlinux.org>
Build Date : Wed 08 Jun 2016 08:42:24 SAST
Install Date : Fri 10 Jun 2016 13:59:21 SAST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
Offline
Thank you for your responses, guys. They lead me to this post here that solved my problem.
I disabled DHCPCD and set both enp4s0 (eth0) and wlo1 (wlan0) down, and then enabled and started Network Manager. I can now connect to Wi-Fi using the Network Manager applet.
Offline
Glad you got it solved. Thanks for sharing your solution!
I'm pretty sure I ran those same steps and still had issues with NetworkManager, but I may try that out again in the future. So far that auto connect is a nice light weight alternative for me.
MSI GS40 6QE PHANTOM
Website
Offline