Fast reconnection to WLAN





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















After losing WLAN connection, I want to reconnect. So I want to switch WLAN off and on again. How can I do this quickly in 18.04?



Up to 14.04 I did this by clicking on the WLAN sign in the top bar and pressing w to switch off, and the same again to switch it on.



In 18.04 however, this much more laborious. Is there a simple way for doing this in 18.04?










share|improve this question























  • Are you trying to solve a network problem? Why do you need/want to do this? Maybe we can help. You should just be able to select the desired wireless network again and it should reconnect, even if it's already connected.

    – heynnema
    yesterday













  • @heynnema: Q1: Up to 14.04 I just clicked twice as explained above and never considered this "a network problem" as it does not happen everywhere and anytime. Q2: I want to be connected to the internet. And, no, it is not sufficient to just connect. I need to disconnect first - also in 18.04

    – false
    yesterday













  • You have a network problem because you say "After losing WLAN connection". Are you saying that you see a "?" where the network icon should appear? It sounds like this occurs on multiple different networks, yes? If you reselect the desired wireless network, don't you see it disconnect, then reconnect? Do you have a function key for airport mode, or wireless enable/disable, or a hard swtich?

    – heynnema
    yesterday













  • See if extensions.gnome.org/extension/904/disconnect-wifi can do what you want.

    – heynnema
    yesterday


















0















After losing WLAN connection, I want to reconnect. So I want to switch WLAN off and on again. How can I do this quickly in 18.04?



Up to 14.04 I did this by clicking on the WLAN sign in the top bar and pressing w to switch off, and the same again to switch it on.



In 18.04 however, this much more laborious. Is there a simple way for doing this in 18.04?










share|improve this question























  • Are you trying to solve a network problem? Why do you need/want to do this? Maybe we can help. You should just be able to select the desired wireless network again and it should reconnect, even if it's already connected.

    – heynnema
    yesterday













  • @heynnema: Q1: Up to 14.04 I just clicked twice as explained above and never considered this "a network problem" as it does not happen everywhere and anytime. Q2: I want to be connected to the internet. And, no, it is not sufficient to just connect. I need to disconnect first - also in 18.04

    – false
    yesterday













  • You have a network problem because you say "After losing WLAN connection". Are you saying that you see a "?" where the network icon should appear? It sounds like this occurs on multiple different networks, yes? If you reselect the desired wireless network, don't you see it disconnect, then reconnect? Do you have a function key for airport mode, or wireless enable/disable, or a hard swtich?

    – heynnema
    yesterday













  • See if extensions.gnome.org/extension/904/disconnect-wifi can do what you want.

    – heynnema
    yesterday














0












0








0








After losing WLAN connection, I want to reconnect. So I want to switch WLAN off and on again. How can I do this quickly in 18.04?



Up to 14.04 I did this by clicking on the WLAN sign in the top bar and pressing w to switch off, and the same again to switch it on.



In 18.04 however, this much more laborious. Is there a simple way for doing this in 18.04?










share|improve this question














After losing WLAN connection, I want to reconnect. So I want to switch WLAN off and on again. How can I do this quickly in 18.04?



Up to 14.04 I did this by clicking on the WLAN sign in the top bar and pressing w to switch off, and the same again to switch it on.



In 18.04 however, this much more laborious. Is there a simple way for doing this in 18.04?







wireless 18.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









falsefalse

66021338




66021338













  • Are you trying to solve a network problem? Why do you need/want to do this? Maybe we can help. You should just be able to select the desired wireless network again and it should reconnect, even if it's already connected.

    – heynnema
    yesterday













  • @heynnema: Q1: Up to 14.04 I just clicked twice as explained above and never considered this "a network problem" as it does not happen everywhere and anytime. Q2: I want to be connected to the internet. And, no, it is not sufficient to just connect. I need to disconnect first - also in 18.04

    – false
    yesterday













  • You have a network problem because you say "After losing WLAN connection". Are you saying that you see a "?" where the network icon should appear? It sounds like this occurs on multiple different networks, yes? If you reselect the desired wireless network, don't you see it disconnect, then reconnect? Do you have a function key for airport mode, or wireless enable/disable, or a hard swtich?

    – heynnema
    yesterday













  • See if extensions.gnome.org/extension/904/disconnect-wifi can do what you want.

    – heynnema
    yesterday



















  • Are you trying to solve a network problem? Why do you need/want to do this? Maybe we can help. You should just be able to select the desired wireless network again and it should reconnect, even if it's already connected.

    – heynnema
    yesterday













  • @heynnema: Q1: Up to 14.04 I just clicked twice as explained above and never considered this "a network problem" as it does not happen everywhere and anytime. Q2: I want to be connected to the internet. And, no, it is not sufficient to just connect. I need to disconnect first - also in 18.04

    – false
    yesterday













  • You have a network problem because you say "After losing WLAN connection". Are you saying that you see a "?" where the network icon should appear? It sounds like this occurs on multiple different networks, yes? If you reselect the desired wireless network, don't you see it disconnect, then reconnect? Do you have a function key for airport mode, or wireless enable/disable, or a hard swtich?

    – heynnema
    yesterday













  • See if extensions.gnome.org/extension/904/disconnect-wifi can do what you want.

    – heynnema
    yesterday

















Are you trying to solve a network problem? Why do you need/want to do this? Maybe we can help. You should just be able to select the desired wireless network again and it should reconnect, even if it's already connected.

– heynnema
yesterday







Are you trying to solve a network problem? Why do you need/want to do this? Maybe we can help. You should just be able to select the desired wireless network again and it should reconnect, even if it's already connected.

– heynnema
yesterday















@heynnema: Q1: Up to 14.04 I just clicked twice as explained above and never considered this "a network problem" as it does not happen everywhere and anytime. Q2: I want to be connected to the internet. And, no, it is not sufficient to just connect. I need to disconnect first - also in 18.04

– false
yesterday







@heynnema: Q1: Up to 14.04 I just clicked twice as explained above and never considered this "a network problem" as it does not happen everywhere and anytime. Q2: I want to be connected to the internet. And, no, it is not sufficient to just connect. I need to disconnect first - also in 18.04

– false
yesterday















You have a network problem because you say "After losing WLAN connection". Are you saying that you see a "?" where the network icon should appear? It sounds like this occurs on multiple different networks, yes? If you reselect the desired wireless network, don't you see it disconnect, then reconnect? Do you have a function key for airport mode, or wireless enable/disable, or a hard swtich?

– heynnema
yesterday







You have a network problem because you say "After losing WLAN connection". Are you saying that you see a "?" where the network icon should appear? It sounds like this occurs on multiple different networks, yes? If you reselect the desired wireless network, don't you see it disconnect, then reconnect? Do you have a function key for airport mode, or wireless enable/disable, or a hard swtich?

– heynnema
yesterday















See if extensions.gnome.org/extension/904/disconnect-wifi can do what you want.

– heynnema
yesterday





See if extensions.gnome.org/extension/904/disconnect-wifi can do what you want.

– heynnema
yesterday










1 Answer
1






active

oldest

votes


















1














I wrote a bash script to handle this exact problem. You can get net-o-matic from https://github.com/waltinator/net-o-matic.git - Watch for (WiFi) network going down, then do a user-specified thing to fix it.



walt@bat:~(0)$ net-o-matic --help
net-o-matic [-h|--help] [-v|--verbose] <config.file>

Monitor the wireless network, and when it goes down, Do The
Next Thing (as specified by the <config.file>), to bring
the wireless net up.

The <config.file> contains #comments, blank lines, AND
single line commands, of your choice, to correct the
wireless network down condition. The first command in the
<config.file> will be executed the first time the net goes
down (or if the net is down when net-o-matic begins), the second
command will be executed the next time the net goes down,
and so forth, wrapping around at the end. The number of
single line commands in the <config.file> is unlimited.
walt@bat:~(2)$





share|improve this answer
























  • This requires a config.file, right? Which one?

    – false
    yesterday






  • 1





    An example net-o-matic.conf comes with it.

    – waltinator
    14 hours ago











  • You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

    – waltinator
    11 hours ago












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133402%2ffast-reconnection-to-wlan%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














I wrote a bash script to handle this exact problem. You can get net-o-matic from https://github.com/waltinator/net-o-matic.git - Watch for (WiFi) network going down, then do a user-specified thing to fix it.



walt@bat:~(0)$ net-o-matic --help
net-o-matic [-h|--help] [-v|--verbose] <config.file>

Monitor the wireless network, and when it goes down, Do The
Next Thing (as specified by the <config.file>), to bring
the wireless net up.

The <config.file> contains #comments, blank lines, AND
single line commands, of your choice, to correct the
wireless network down condition. The first command in the
<config.file> will be executed the first time the net goes
down (or if the net is down when net-o-matic begins), the second
command will be executed the next time the net goes down,
and so forth, wrapping around at the end. The number of
single line commands in the <config.file> is unlimited.
walt@bat:~(2)$





share|improve this answer
























  • This requires a config.file, right? Which one?

    – false
    yesterday






  • 1





    An example net-o-matic.conf comes with it.

    – waltinator
    14 hours ago











  • You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

    – waltinator
    11 hours ago
















1














I wrote a bash script to handle this exact problem. You can get net-o-matic from https://github.com/waltinator/net-o-matic.git - Watch for (WiFi) network going down, then do a user-specified thing to fix it.



walt@bat:~(0)$ net-o-matic --help
net-o-matic [-h|--help] [-v|--verbose] <config.file>

Monitor the wireless network, and when it goes down, Do The
Next Thing (as specified by the <config.file>), to bring
the wireless net up.

The <config.file> contains #comments, blank lines, AND
single line commands, of your choice, to correct the
wireless network down condition. The first command in the
<config.file> will be executed the first time the net goes
down (or if the net is down when net-o-matic begins), the second
command will be executed the next time the net goes down,
and so forth, wrapping around at the end. The number of
single line commands in the <config.file> is unlimited.
walt@bat:~(2)$





share|improve this answer
























  • This requires a config.file, right? Which one?

    – false
    yesterday






  • 1





    An example net-o-matic.conf comes with it.

    – waltinator
    14 hours ago











  • You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

    – waltinator
    11 hours ago














1












1








1







I wrote a bash script to handle this exact problem. You can get net-o-matic from https://github.com/waltinator/net-o-matic.git - Watch for (WiFi) network going down, then do a user-specified thing to fix it.



walt@bat:~(0)$ net-o-matic --help
net-o-matic [-h|--help] [-v|--verbose] <config.file>

Monitor the wireless network, and when it goes down, Do The
Next Thing (as specified by the <config.file>), to bring
the wireless net up.

The <config.file> contains #comments, blank lines, AND
single line commands, of your choice, to correct the
wireless network down condition. The first command in the
<config.file> will be executed the first time the net goes
down (or if the net is down when net-o-matic begins), the second
command will be executed the next time the net goes down,
and so forth, wrapping around at the end. The number of
single line commands in the <config.file> is unlimited.
walt@bat:~(2)$





share|improve this answer













I wrote a bash script to handle this exact problem. You can get net-o-matic from https://github.com/waltinator/net-o-matic.git - Watch for (WiFi) network going down, then do a user-specified thing to fix it.



walt@bat:~(0)$ net-o-matic --help
net-o-matic [-h|--help] [-v|--verbose] <config.file>

Monitor the wireless network, and when it goes down, Do The
Next Thing (as specified by the <config.file>), to bring
the wireless net up.

The <config.file> contains #comments, blank lines, AND
single line commands, of your choice, to correct the
wireless network down condition. The first command in the
<config.file> will be executed the first time the net goes
down (or if the net is down when net-o-matic begins), the second
command will be executed the next time the net goes down,
and so forth, wrapping around at the end. The number of
single line commands in the <config.file> is unlimited.
walt@bat:~(2)$






share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









waltinatorwaltinator

23k74169




23k74169













  • This requires a config.file, right? Which one?

    – false
    yesterday






  • 1





    An example net-o-matic.conf comes with it.

    – waltinator
    14 hours ago











  • You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

    – waltinator
    11 hours ago



















  • This requires a config.file, right? Which one?

    – false
    yesterday






  • 1





    An example net-o-matic.conf comes with it.

    – waltinator
    14 hours ago











  • You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

    – waltinator
    11 hours ago

















This requires a config.file, right? Which one?

– false
yesterday





This requires a config.file, right? Which one?

– false
yesterday




1




1





An example net-o-matic.conf comes with it.

– waltinator
14 hours ago





An example net-o-matic.conf comes with it.

– waltinator
14 hours ago













You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

– waltinator
11 hours ago





You can call the "config file" anything you like, this is Linux. Invoke it with net-o-matic MyFavouriteConfinFileName if you like. The "config file" contains single line to "fix the connection" or "call a script to fix the connection. In the example net-o-matic.conf you'll see nmcli con up id Nick and nmcli con up uuid 886ee877-a13c-43c0-a491-9de17f7fb55e, but it could also use /home/walt/bin/DoTwoThings.

– waltinator
11 hours ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133402%2ffast-reconnection-to-wlan%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

connect to host localhost port 22: Connection refused

Getting a Wifi WPA2 wifi connection