You are not logged in.

#1 2018-10-21 00:06:09

GrantFleming
Member
From: Glasgow
Registered: 2018-02-16
Posts: 6

Having trouble automatically connecting to network on boot. [Solved]

I am using netctl. On boot it tries the appropriate enabled profiles but fails to start them. In the systemd journal it is giving the error:

The WPA supplicant did not start for interface xyz123etc
Failed to bring the network up for profile profilename

After the machine has booted I am able to start the profile manually with sudo netctl start profilename

It is as if it is trying to start netctl too early before wpa_supplicant is ready?

Any help would be much appreciated.

Last edited by GrantFleming (2018-10-21 03:11:19)

Offline

#2 2018-10-21 00:12:46

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

Re: Having trouble automatically connecting to network on boot. [Solved]

Please paste the output of `systemctl list-unit-files --state=enabled`

And post full logs/error messages, not isolated excerpts.



Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-10-21 01:24:45

GrantFleming
Member
From: Glasgow
Registered: 2018-02-16
Posts: 6

Re: Having trouble automatically connecting to network on boot. [Solved]

Thanks noted will post full logs in future. Thanks for the move too.

The result of running the command is:

UNIT FILE               STATE 
autovt@.service         enabled
display-manager.service enabled
getty@.service          enabled
lxdm.service            enabled
remote-fs.target        enabled

5 unit files listed.

If there is a better way to post outputs please do let me know. Happy to oblige.

Offline

#4 2018-10-21 01:54:30

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

Re: Having trouble automatically connecting to network on boot. [Solved]

You have no networking service enabled, therefore there is nothing to connect you automatically. Ie., everything is working as expected.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-10-21 02:11:59

GrantFleming
Member
From: Glasgow
Registered: 2018-02-16
Posts: 6

Re: Having trouble automatically connecting to network on boot. [Solved]

Would this require a service for netctl or a service for wpa_supplicant?

Offline

#6 2018-10-21 02:30:53

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

Re: Having trouble automatically connecting to network on boot. [Solved]

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


Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-10-21 02:55:36

GrantFleming
Member
From: Glasgow
Registered: 2018-02-16
Posts: 6

Re: Having trouble automatically connecting to network on boot. [Solved]

Oh sorry. I should have prefaced with I have tried the steps in the netctl wiki already. so I have tried to start the netctl service with systemctl enable netctl-auto@wlp1s0b1.service (where wlp1s0b1 is the name of my interface) this problem is appearing despite this. What would be the best way to post my journalctl -r command so you can see the specific errors?

Offline

#8 2018-10-21 03:10:54

GrantFleming
Member
From: Glasgow
Registered: 2018-02-16
Posts: 6

Re: Having trouble automatically connecting to network on boot. [Solved]

Please disregard my previous post. I'm an idiot who clearly did not read the wiki closely enough. I did not disable the netctl profiles after enabling the netctl-auto daemon. After doing this everything works as it should. Apologies. Marking as solved now.

Offline

Board footer

Powered by FluxBB