Skip to content

Terminate on either WiFi or eth0 connection #149

Answered by davesteele
sistemicorp asked this question in Q&A
Discussion options

You must be logged in to vote

The place in the comitup code for that would be hotspot_start() and hotspot_timeout() in states.py.
... but that may not a particularly good place. Looking at the current code status, the timeout is sometimes called every 5 seconds, and sometimes every 3 minutes (if no AP connections are defined). I've done much fiddling with that number in the past - I'm not sure if setting it to 5 seconds always would be OK.
You could kill comitup externally, but you would also be responsible for tearing down the AP via nmcli.

Replies: 2 comments 19 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by davesteele
Comment options

You must be logged in to vote
19 replies
@davesteele
Comment options

@sistemicorp
Comment options

@davesteele
Comment options

@davesteele
Comment options

@sistemicorp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants