You are not logged in.

#1 2013-09-14 19:05:21

breithauptclan
Member
Registered: 2013-09-14
Posts: 2

wireless network starts manually, but not automatically

On a fresh install of Arch (new computer). Initally the wireless network was called wlp0s26f7u2, so I set up the netctl profile using that. It would start manually, so I enabled the profile using the basic method ("home" is the name of the profile file):

netctl enable home

That didn't work - it doesn't start at boot. I checked the journal and something was complaining that "wlan0 doesn't exist".

So I disabled the connection based naming and now the network adapter is called wlan0. I changed the netctl profile to use the new name and disabled, then re-enabled the services. Again, the network will connect properly when started manually, but not when connecting during boot. I checked the journal again and it looks like the dhcpcd service is starting and timing out before the wlan0 interface is brought up.

So I installed wpa_actiond and tried using that to set things up. I disabled the netctl@home profile and enabled the netctl-auto@home profile. It still doesn't start at boot. The journal now gives me the error

Job sys-subsystem-net-devices-home.device/start timed out.

In searching for a solution to that error message, I came across this post https://bbs.archlinux.org/viewtopic.php … 0#p1303720. So I ran the command

grep -ir wlp0s26f7u2 /etc/systemd/*

It didn't come back with anything though.

Any other thoughts?

Offline

#2 2013-09-15 01:26:43

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,156

Re: wireless network starts manually, but not automatically

Welcome to Arch's forums.

Doesn't netctl handle dhcpcd itself? So you shouldn't have dhcpcd.service enabled if you are using netctl. In general, if two or more things are trying to manage your connection, they will get in each other's way and it likely won't work.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-09-15 21:29:13

breithauptclan
Member
Registered: 2013-09-14
Posts: 2

Re: wireless network starts manually, but not automatically

dhcpcd is disabled.

# systemctl is-enabled dhcpcd
disabled

I don't understand why it would be starting dhcp before the network adapter is started. That is just what I saw in the journal log.

Offline

Board footer

Powered by FluxBB