You are not logged in.

#1 2020-10-18 04:42:29

huzo11
Member
Registered: 2018-10-31
Posts: 60

Problem with wifi and wifi-menu

Hello all,.
For a long time I have been having trouble connecting to wifi. I have digged all the forums but nothing seems to work.

When I try to connect to a network using

wifi-menu`

it says connection failed, and presents the following in the terminal. 

Job for netctl@wlp4s0\x2dCUHK.service failed because the control process exited with error code.
See "systemctl status "netctl@wlp4s0\\x2dCUHK.service"" and "journalctl -xe" for details.

.
And when I check

 systemctl status "netctl@wlp4s0\\x2dCUHK.service" 

 
This is what I get: 

● netctl@wlp4s0\x2dCUHK.service - Networking for netctl profile wlp4s0-CUHK
     Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
     Active: failed (Result: exit-code) since Sun 2020-10-18 12:23:08 HKT; 1min 31s ago
       Docs: man:netctl.profile(5)
    Process: 4153 ExecStart=/usr/lib/netctl/network start wlp4s0-CUHK (code=exited, status=1/FAILURE)
   Main PID: 4153 (code=exited, status=1/FAILURE)

Oct 18 12:23:08 huzo systemd[1]: Starting Networking for netctl profile wlp4s0-CUHK...
Oct 18 12:23:08 huzo network[4153]: Starting network profile 'wlp4s0-CUHK'...
Oct 18 12:23:08 huzo network[4153]: The interface of network profile 'wlp4s0-CUHK' is already up
Oct 18 12:23:08 huzo systemd[1]: netctl@wlp4s0\x2dCUHK.service: Main process exited, code=exited, status=1/FAILURE
Oct 18 12:23:08 huzo systemd[1]: netctl@wlp4s0\x2dCUHK.service: Failed with result 'exit-code'.
Oct 18 12:23:08 huzo systemd[1]: Failed to start Networking for netctl profile wlp4s0-CUHK.
[huzo_user@huzo ~]$ ● netctl@wlp4s0\x2dCUHK.service - Networking for netctl profile wlp4s0-CUHK

 

I am not sure what should I be doing. What would you suggest, what further information should I provide? 

Thanks a lot!


Be nice and live for others.
https://prismatically.blog

Offline

#2 2020-10-18 08:58:49

seth
Member
Registered: 2012-09-03
Posts: 17,333

Offline

#3 2020-10-18 11:57:12

huzo11
Member
Registered: 2018-10-31
Posts: 60

Re: Problem with wifi and wifi-menu

This is what I got:   

dbus-fi.w1.wpa_supplicant1.service       | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service    | system
dirmngr.socket                           | sockets.target.wants
getty@tty1.service                       | getty.target.wants
gpg-agent-browser.socket                 | sockets.target.wants
gpg-agent-extra.socket                   | sockets.target.wants
gpg-agent-ssh.socket                     | sockets.target.wants
gpg-agent.socket                         | sockets.target.wants
netctl-auto@wlp2s0.service               | sys-subsystem-net-devices-wlp2s0.device.wants
netctl-auto@wlp4s0.service               | sys-subsystem-net-devices-wlp4s0.device.wants
NetworkManager-wait-online.service       | network-online.target.wants
NetworkManager.service                   | multi-user.target.wants
ntpd.service                             | multi-user.target.wants
p11-kit-server.socket                    | sockets.target.wants
pulseaudio.socket                        | sockets.target.wants
remote-fs.target                         | multi-user.target.wants
systemd-resolved.service                 | multi-user.target.wants
wpa_supplicant.service                   | multi-user.target.wants
wpa_supplicant@wlp4s0.service            | multi-user.target.wants
xdg-user-dirs-update.service             | default.target.wants


Be nice and live for others.
https://prismatically.blog

Offline

#4 2020-10-18 12:17:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,259

Re: Problem with wifi and wifi-menu

You have Networkmanager wpa_supplicant and netctl all running at the same time. Decide for one and disable all others.

Offline

#5 2020-10-18 12:51:17

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,621

Re: Problem with wifi and wifi-menu

netctl can start wpa_supplicant for wireless connenctions, seeing those two together is not strange.
netctl can also start dhcpcd if desired, no need to enable it.

disable NetworkManager or netcl .


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#6 2020-10-18 13:04:51

seth
Member
Registered: 2012-09-03
Posts: 17,333

Re: Problem with wifi and wifi-menu

If you have either *SERVICE* enabled, it will run next to the netctl subprocess and collide for sure.

Offline

#7 2020-10-18 13:21:00

huzo11
Member
Registered: 2018-10-31
Posts: 60

Re: Problem with wifi and wifi-menu

May I ask how I can disable either of them permanently? Sorry for the noobness


Be nice and live for others.
https://prismatically.blog

Offline

#8 2020-10-18 13:49:39

seth
Member
Registered: 2012-09-03
Posts: 17,333

Re: Problem with wifi and wifi-menu

How did you enable them?
(No, it's not by default)

Offline

#9 2020-10-18 21:04:00

huzo11
Member
Registered: 2018-10-31
Posts: 60

Re: Problem with wifi and wifi-menu

To be frank, I have no idea.


Be nice and live for others.
https://prismatically.blog

Offline

#10 2020-10-18 21:12:09

seth
Member
Registered: 2012-09-03
Posts: 17,333

Re: Problem with wifi and wifi-menu

https://wiki.archlinux.org/index.php/Systemd

Which tutorial/script did you use to install archlinux?

Offline

#11 2020-10-18 21:39:32

huzo11
Member
Registered: 2018-10-31
Posts: 60

Re: Problem with wifi and wifi-menu

I cannot remember, as it was sometime ago. But I think trying many solutions to solve the issue may have worsen some things.


Be nice and live for others.
https://prismatically.blog

Offline

#12 2020-10-19 06:52:24

seth
Member
Registered: 2012-09-03
Posts: 17,333

Re: Problem with wifi and wifi-menu

Read the link I posted, it explains how to enable and disable services and some other stuff you really should know.

Offline

Board footer

Powered by FluxBB