You are not logged in.

#1 2020-04-27 05:16:01

mathmethmoth
Member
Registered: 2019-01-12
Posts: 4

[SOLVED] Can't connect to wireless network

Hi everyone, I've been using Arch for about two years now and I've never had any issues until now.

I had a problem that forced me to reinstall Arch, deleting all my previous configuration in the process, now I can't connect to WiFi even though I followed the installation guide step by step, I sometimes have issues connecting a wired connection.
The controller is listed in ip link, but whenever I try to connect to a wireless connection it just sits indefinitely.
Here are some outputs:

 $ journalctl -p 3 -xb
-- Logs begin at Sat 2020-04-25 14:36:24 MST, end at Sun 2020-04-26 21:45:36 MST. --
Apr 26 21:38:28 archlinux kernel: platform MSFT0101:00: failed to claim resource 1: [mem 0xfed40000-0xfed40fff]
Apr 26 21:38:28 archlinux kernel: acpi MSFT0101:00: platform device creation failed: -16
Apr 26 21:38:36 archlinux kernel: Bluetooth: hci0: command 0x1003 tx timeout
Apr 26 21:38:36 archlinux kernel: Bluetooth: hci0: unexpected event for opcode 0x1003
Apr 26 21:38:38 archlinux dhcpcd[443]: dhcpcd_prestartinterface: Operation not possible due to RF-kill
Apr 26 21:38:43 archlinux dhclient[502]: Can't bind to dhcp address: Address already in use
Apr 26 21:38:43 archlinux dhclient[502]: Please make sure there is no other dhcp server
Apr 26 21:38:43 archlinux dhclient[502]: running and that there's no entry for dhcp or
Apr 26 21:38:43 archlinux dhclient[502]: bootp in /etc/inetd.conf.   Also make sure you
Apr 26 21:38:43 archlinux dhclient[502]: are not running HP JetAdmin software, which
Apr 26 21:38:43 archlinux dhclient[502]: includes a bootp server.
Apr 26 21:38:43 archlinux dhclient[502]: 
Apr 26 21:38:43 archlinux dhclient[502]: If you think you have received this message due to a bug rather
Apr 26 21:38:43 archlinux dhclient[502]: than a configuration issue please read the section on submitting
Apr 26 21:38:43 archlinux dhclient[502]: bugs on either our web page at www.isc.org or in the README file
Apr 26 21:38:43 archlinux dhclient[502]: before submitting a bug.  These pages explain the proper
Apr 26 21:38:43 archlinux dhclient[502]: process and the information we find helpful for debugging.
Apr 26 21:38:43 archlinux dhclient[502]: 
Apr 26 21:38:43 archlinux dhclient[502]: exiting.
Apr 26 21:39:36 archlinux lightdm[656]: gkr-pam: unable to locate daemon control file
Apr 26 21:39:42 archlinux lightdm[694]: gkr-pam: unable to locate daemon control file
Apr 26 21:42:21 archlinux dhclient[1303]: can't create /var/lib/dhclient/dhclient.leases: Permission denied
Apr 26 21:42:22 archlinux dhclient[1303]: Open a socket for LPF: Operation not permitted
Apr 26 21:42:22 archlinux dhclient[1303]: 
Apr 26 21:42:22 archlinux dhclient[1303]: If you think you have received this message due to a bug rather
Apr 26 21:42:22 archlinux dhclient[1303]: than a configuration issue please read the section on submitting
Apr 26 21:42:22 archlinux dhclient[1303]: bugs on either our web page at www.isc.org or in the README file
Apr 26 21:42:22 archlinux dhclient[1303]: before submitting a bug.  These pages explain the proper
Apr 26 21:42:22 archlinux dhclient[1303]: process and the information we find helpful for debugging.
Apr 26 21:42:22 archlinux dhclient[1303]: 
Apr 26 21:42:22 archlinux dhclient[1303]: exiting. 

My hardware is

 $ sudo lspci -vnn -d 14e4: 
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)
	Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at b1100000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [40] Power Management version 3
	Capabilities: [58] Vendor Specific Information: Len=78 <?>
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [d0] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [13c] Virtual Channel
	Capabilities: [160] Device Serial Number 00-00-a8-ff-ff-f9-44-1c
	Capabilities: [16c] Power Budgeting <?>
	Kernel driver in use: wl
	Kernel modules: bcma, wl 

I had to stop dhcpcd in order to be able to connect to a wired connection. I read the Broadcom wireless in the wiki but didn't seem to help.

Any guidelines will be appreciated.

Last edited by mathmethmoth (2020-04-27 08:57:12)

Offline

#2 2020-04-27 05:19:05

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

Re: [SOLVED] Can't connect to wireless network

mathmethmoth wrote:

Apr 26 21:38:38 archlinux dhcpcd[443]: dhcpcd_prestartinterface: Operation not possible due to RF-kill

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-04-27 05:25:10

mathmethmoth
Member
Registered: 2019-01-12
Posts: 4

Re: [SOLVED] Can't connect to wireless network

I've already run rfkill unblock all because the modules were soft blocked and didn't help.

Offline

#4 2020-04-27 05:37:44

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

Re: [SOLVED] Can't connect to wireless network

The work your way methodically through this page, from the very top: https://wiki.archlinux.org/index.php/Wireless

And the first instruction that fails, post the exact command and the full output.

Last edited by jasonwryan (2020-04-27 05:38:03)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-04-27 08:32:58

mathmethmoth
Member
Registered: 2019-01-12
Posts: 4

Re: [SOLVED] Can't connect to wireless network

I think I know the issue, for some reason dhcpcd was conflicting with NetworkManager, I did

 $ sudo systemctl disable dhcpcd 

and

 $ sudo systemctl enable --now dhclient@wlp2s0.service 

which created a new log, now I have wireless but for some reason I cannot access some websites, says site not available, my /etc/NetworkManager/conf.d/dhcp-client.conf looks like this:

[main]
dhcp=dhclient 

Does this looks right?

Offline

#6 2020-04-27 08:53:48

mathmethmoth
Member
Registered: 2019-01-12
Posts: 4

Re: [SOLVED] Can't connect to wireless network

Solved,

$ sudo netctl enable wlp2s0 

did the trick. Thanks.

Offline

#7 2020-04-27 12:02:08

Intr0sp3ctive
Member
Registered: 2020-04-14
Posts: 8

Re: [SOLVED] Can't connect to wireless network

mathmethmoth,,

Out of curiosity,

As far as i can read/see, you seem to have two network managers installed/running - NetworkManager well as netctl..
Whilst reading wiki it explicitly says that:

Note: There are many solutions to choose from, but remember that all of them are mutually exclusive; you should not run two daemons simultaneously.

https://wiki.archlinux.org/index.php/Ne … k_managers

..and dhcpcd too..

Unless you disabled one of the network managers?

Admins, apologise beforehand if asking further questions in [SOLVED] topic is not permitted.

Offline

Board footer

Powered by FluxBB