You are not logged in.

#1 2013-05-06 06:37:20

phil
Member
Registered: 2012-09-22
Posts: 72

netctl usage

I have two questions about netctl:

1. I use netctl-auto@wlan0.service to connect to wifi hotspots. It works, but when I type:

netctl list

It does not show the network, I am connected to (with a star). If I connect manually, it does.


2. When I am connected to some wifi hotspot, the only way to reconnect is to type

ip link set wlan0 down

.

netctl switch-to

or

netctl stop/start

does not work.

Do you also experience these problems?
Thanks for answering.

Offline

#2 2013-05-06 11:41:39

Archdove
Member
Registered: 2011-09-23
Posts: 118

Re: netctl usage

Make sure you've deactivated any other netctl targets when using netctl-auto.

Me using netctl-auto@wlan0.servcie to auto connect to any wlan0 targets and
netctl-sleep@...service for reconnecting after sleep/suspend

Reconnecting however does not work properly right know and i couln't fild out why yet.

But anyway: use either netctl or netctl-auto. Both wont work properly.

netctl-auto stop wlan0 does the trick for me right know

Offline

#3 2013-05-06 12:02:17

HalosGhost
Member
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 1,486
Website

Re: netctl usage

This is a known bug.

$ netctl list

does not accurately reflect connections when using the systemd netctl-auto service.  Easy reconnection (unless you want to connect to a specific profile) can be achieved with the following:

# systemctl restart netctl-auto@<wireless_interface>.service

All the best,

-HG


"All errors are ᴘᴇʙᴋᴀᴄ errors—It's just a matter of narrowing down which keyboard and chair." -Trilby
\ldots

Offline

#4 2013-05-07 14:33:57

kelloco2
Member
Registered: 2012-02-13
Posts: 121

Re: netctl usage

When can we expect to solve the bug? It will replace the netcfg, but so far it works poorly. Bug is old. Update to version 1.0-1 does not fix it. Can we propose amendments to the author of this script?


sorry for my english. {Arch Linux, Debian} User

Offline

#5 2013-05-07 14:45:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: netctl usage

Of course you can - post your patches in bug reports and/or feature requests in the bugtracker.

Offline

Board footer

Powered by FluxBB