You are not logged in.

#1 2015-12-18 11:18:26

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

[SOLVED]Wireless not working properly

I installed Arch Linux yesterday and somehow I could connect to WiFi using "wifi-menu". When I tried the same today I was not able to connect. I have Gnome-3 installed on top of this and when I try to open their Network Settings(GUI), it says that Network Manager must be running. I understand that I should have only one network managing daemon running. How do I find out which one I am using for my wireless card/Ethernet? Wired internet works fine.
When I choose my WiFi SSID on the WiFi menu, it returns to the terminal saying that this interfacename is being managed by netctl-auto.
I tried "netctl-auto list" and I found my WiFi SSID profile. It had the correct details(password). Why isn't it auto connecting when I remove my lan cable ?The WiFi switch is set in ON position. It toggles Airplane mode according to Gnome.

How do I go ahead from here ?

Last edited by rnikhil275 (2015-12-21 06:49:46)

Offline

#2 2015-12-18 13:36:41

bosyi
Member
Registered: 2015-02-17
Posts: 22

Re: [SOLVED]Wireless not working properly

Try to enable NetworkManager, and disable anything other you enabled for network.
systemctl enable NetworkManager.service

Offline

#3 2015-12-18 22:32:47

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED]Wireless not working properly

rnikhil275 wrote:

I understand that I should have only one network managing daemon running. How do I find out which one I am using for my wireless card/Ethernet?

You can view all enabled .services with:

systemctl list-unit-files|grep enabled

You can also use:

ls -l /etc/systemd/system/multi-user.target.wants

(this will show up any dangling symlinks)

Note that netctl-auto cannot be used along with the profile-specific version.


Jin, Jîyan, Azadî

Offline

#4 2015-12-19 12:01:11

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Wireless not working properly

I understand that both dhcpcd and netctl-auto are enabled for me. So, here dhcpcd is the daemon controlling my ethernet interface and netctl-auto controls my wireless. Is my understanding correct ?
What is Network Manager here ? I am running Gnome-3 on top of the base installation. When I try accessing the network tab from the settings panel, I get an error  saying that Network Manager should be active ? Is it another daemon which controls network interfaces ? What is it otherwise ?
Is dhcpcd and netctl-auto enough for the proper functioning of the network cards ? As of now, everything seems to be working fine. Actually when I restart, everything just works. After a few times toggling the WiFi switch, things go haywire. Sometimes, I am not able to use my ethernet even when dhcpcd is enabled.  What is the reason ?

I tried

ls -l /etc/systemd/system/multi-user.target.wants

Here is the output:

total 0
lrwxrwxrwx 1 root root 39 Dec 20 17:07 dhcpcd@eno1.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 44 Dec 18 03:10 netctl-auto@wlp10s0b1.service -> /usr/lib/systemd/system/netctl-auto@.service
lrwxrwxrwx 1 root root 40 Dec 18 02:40 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target

I understand these are symlinks. What's their use ? Should I be doing anything else with regards to this ?

Offline

#5 2015-12-19 20:23:02

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED]Wireless not working properly

rnikhil275 wrote:

I tried

ls -l /etc/systemd/system/multi-user.target.wants

Here is the output:

total 0
lrwxrwxrwx 1 root root 39 Dec 20 17:07 dhcpcd@eno1.service -> /usr/lib/systemd/system/dhcpcd@.service
lrwxrwxrwx 1 root root 44 Dec 18 03:10 netctl-auto@wlp10s0b1.service -> /usr/lib/systemd/system/netctl-auto@.service
lrwxrwxrwx 1 root root 40 Dec 18 02:40 remote-fs.target -> /usr/lib/systemd/system/remote-fs.target

I understand these are symlinks. What's their use ? Should I be doing anything else with regards to this ?

The symlinks are to the unit files for the .services -- this is how .services are enabled under systemd, see systemd(1) et al.

So you have dhcpcd.service on your ethernet connection and netctl-auto for your wireless, this should be fine.

wifi-menu doesn't work because you have netctl-auto enabled.

If you want to use NetworkManager instead, disable both dhcpcd and netctl-auto and enable NetworkManager.service (the capitalisation is important).

In respect of your connection problems, look at dmesg(1) and journalctl for any clues.


Jin, Jîyan, Azadî

Offline

#6 2015-12-21 06:49:31

rnikhil275
Member
Registered: 2015-12-18
Posts: 13

Re: [SOLVED]Wireless not working properly

So, finally I got fed up of the inconsistencies(or my inability to configure them properly) of both netctl-auto and dhcpcd. I disabled both of them, and enabled NetworkManager.service. Everything worked well after reboot. Network switching is also seamless. Thanks for the help.

Last edited by rnikhil275 (2015-12-21 06:51:38)

Offline

Board footer

Powered by FluxBB