Wireless Daemon for Linux
 help / color / mirror / Atom feed
* iwctl force autoconnect
@ 2021-03-26 21:28 Yuri D'Elia
  2021-03-29 16:12 ` Denis Kenzior
  0 siblings, 1 reply; 8+ messages in thread
From: Yuri D'Elia @ 2021-03-26 21:28 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

Is it possible to force iwd to connect to a known network without
explicitly giving a network name? That is, to force attempting to
autoconnect?

Currently "station <net> connect" requires a ssid. It would be nice if
that would be made optional, causing iwd to go through the automatic
connect logic.

I assumed that issuing a "station <net> scan" *would* attempt to
autoconnect if a known network is seen and we're currently disconnected,
but it's not always the case. If we disconnected from a known network
due to AP disappearing and reappearing sometime later, "scan" will the
network, but connection is still performed after some longer timeout.

I want to bind an action to force a scan+connect without having to wait,
and without having to hardcode a network name. When I'm moving a laptop
between offices and go through some blind spots (elevator) I end-up in a
situation where I'm disconnected, and I want to force a connection right
away.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-03-29 19:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-26 21:28 iwctl force autoconnect Yuri D'Elia
2021-03-29 16:12 ` Denis Kenzior
2021-03-29 16:29   ` Mauro Condarelli
2021-03-29 16:32     ` Yuri D'Elia
2021-03-29 16:37     ` Denis Kenzior
2021-03-29 17:09       ` Mauro Condarelli
2021-03-29 18:11         ` Denis Kenzior
2021-03-29 19:44           ` Mauro Condarelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox