Turn on Wi-Fi hotspot using command line on Ubuntu 18.04How do I create a WiFi hotspot sharing wireless internet connection (single adapter)?wifi hotspot start upHow do I turn off the screen saver using the command line?Ubuntu 13.04 Wireless Hotspot ProblemsConfigure WIreless Hotspot Ubuntu 14.04 Trusty14.04 - Disable SSID broadcast on Wifi Hotspot on Ubuntu LaptopUbuntu 17.10 won't connect to mobile hotspotUbuntu 18.04: Two wireless interfacesUbuntu 18.04 Hotspot doesn't workCan I automatically turn on my hotspot when ethernet is plugged in?
Where do I put nobles/royalty in a scifi military
Are the expansion number tokens in 5-6 players expansion different from the basic Catan?
Why did Magnus join Horus in his Heresy?
Why use Fourier series instead of Taylor?
Horizontally mirror a brainflak program
What's the most rewarding path?
Water Jug Problem in AI
90's or earlier book with a ship called Heinlein
What to do if caught in a physical pentest?
Generating a random string of 6 characters long in Python 3.6.2
Medium - Rare steak as meal prep ok?
What are pitfalls I should be aware of with NPC/PC romantic relationships?
Paying to leave without notice in at-will employment state
What's the difference between words "tongue" and "lingua"?
Why do Muslim refugees seek asylum in Europe and not in rich countries in the Middle East?
Reverse color of overlapping points?
copying files with a string in their name from one folder to another
The quietest classical orchestra instrument to play at home
Is it possible to get reverse life insurance?
Definition of NMR peak
Will you be able to hear a supersonic aircraft flying away from you?
MLE vs Binomial - Beta conjugate pairs
What does Darth Vader think Obi-Wan's referring to when Obi says "If you strike me down..."
How this DIY High-Speed Probe doesn't reflect signals?
Turn on Wi-Fi hotspot using command line on Ubuntu 18.04
How do I create a WiFi hotspot sharing wireless internet connection (single adapter)?wifi hotspot start upHow do I turn off the screen saver using the command line?Ubuntu 13.04 Wireless Hotspot ProblemsConfigure WIreless Hotspot Ubuntu 14.04 Trusty14.04 - Disable SSID broadcast on Wifi Hotspot on Ubuntu LaptopUbuntu 17.10 won't connect to mobile hotspotUbuntu 18.04: Two wireless interfacesUbuntu 18.04 Hotspot doesn't workCan I automatically turn on my hotspot when ethernet is plugged in?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
Is there any way to enable a pre-configured Wi-Fi hotspot from a shell script/command line without going to Settings > Wi-Fi > (settings icon) > Turn On Wi-Fi Hotspot... > Turn On?
command-line 18.04 hot-spot ap-hotspot
add a comment
|
Is there any way to enable a pre-configured Wi-Fi hotspot from a shell script/command line without going to Settings > Wi-Fi > (settings icon) > Turn On Wi-Fi Hotspot... > Turn On?
command-line 18.04 hot-spot ap-hotspot
askubuntu.com/q/1146694/739431
– PRATAP
Aug 10 at 3:26
This answer has a script which does something very similar: It creates the AP interface and shows how to bring it up and down. Bringing an existing interface up and down should be as easy asip link set INTERFACE up/down.
– dessert
Aug 10 at 10:06
add a comment
|
Is there any way to enable a pre-configured Wi-Fi hotspot from a shell script/command line without going to Settings > Wi-Fi > (settings icon) > Turn On Wi-Fi Hotspot... > Turn On?
command-line 18.04 hot-spot ap-hotspot
Is there any way to enable a pre-configured Wi-Fi hotspot from a shell script/command line without going to Settings > Wi-Fi > (settings icon) > Turn On Wi-Fi Hotspot... > Turn On?
command-line 18.04 hot-spot ap-hotspot
command-line 18.04 hot-spot ap-hotspot
edited Aug 18 at 12:06
casper.dcl
asked Aug 9 at 19:57
casper.dclcasper.dcl
1166 bronze badges
1166 bronze badges
askubuntu.com/q/1146694/739431
– PRATAP
Aug 10 at 3:26
This answer has a script which does something very similar: It creates the AP interface and shows how to bring it up and down. Bringing an existing interface up and down should be as easy asip link set INTERFACE up/down.
– dessert
Aug 10 at 10:06
add a comment
|
askubuntu.com/q/1146694/739431
– PRATAP
Aug 10 at 3:26
This answer has a script which does something very similar: It creates the AP interface and shows how to bring it up and down. Bringing an existing interface up and down should be as easy asip link set INTERFACE up/down.
– dessert
Aug 10 at 10:06
askubuntu.com/q/1146694/739431
– PRATAP
Aug 10 at 3:26
askubuntu.com/q/1146694/739431
– PRATAP
Aug 10 at 3:26
This answer has a script which does something very similar: It creates the AP interface and shows how to bring it up and down. Bringing an existing interface up and down should be as easy as
ip link set INTERFACE up/down.– dessert
Aug 10 at 10:06
This answer has a script which does something very similar: It creates the AP interface and shows how to bring it up and down. Bringing an existing interface up and down should be as easy as
ip link set INTERFACE up/down.– dessert
Aug 10 at 10:06
add a comment
|
1 Answer
1
active
oldest
votes
Based on @PRATAP's answer:
nmcli connection up <SSID>
Where <SSID> is likely Hotspot (can check this by running nm-connection-editor or going to Settings > Wi-Fi > (settings icon) > Connect to Hidden Wi-Fi Network... > Connection).
nmcli connection up/down also works for normal (non-hotspot) networks.
add a comment
|
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/4.0/"u003ecc by-sa 4.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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1164673%2fturn-on-wi-fi-hotspot-using-command-line-on-ubuntu-18-04%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
Based on @PRATAP's answer:
nmcli connection up <SSID>
Where <SSID> is likely Hotspot (can check this by running nm-connection-editor or going to Settings > Wi-Fi > (settings icon) > Connect to Hidden Wi-Fi Network... > Connection).
nmcli connection up/down also works for normal (non-hotspot) networks.
add a comment
|
Based on @PRATAP's answer:
nmcli connection up <SSID>
Where <SSID> is likely Hotspot (can check this by running nm-connection-editor or going to Settings > Wi-Fi > (settings icon) > Connect to Hidden Wi-Fi Network... > Connection).
nmcli connection up/down also works for normal (non-hotspot) networks.
add a comment
|
Based on @PRATAP's answer:
nmcli connection up <SSID>
Where <SSID> is likely Hotspot (can check this by running nm-connection-editor or going to Settings > Wi-Fi > (settings icon) > Connect to Hidden Wi-Fi Network... > Connection).
nmcli connection up/down also works for normal (non-hotspot) networks.
Based on @PRATAP's answer:
nmcli connection up <SSID>
Where <SSID> is likely Hotspot (can check this by running nm-connection-editor or going to Settings > Wi-Fi > (settings icon) > Connect to Hidden Wi-Fi Network... > Connection).
nmcli connection up/down also works for normal (non-hotspot) networks.
answered Aug 12 at 15:19
casper.dclcasper.dcl
1166 bronze badges
1166 bronze badges
add a comment
|
add a comment
|
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1164673%2fturn-on-wi-fi-hotspot-using-command-line-on-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
askubuntu.com/q/1146694/739431
– PRATAP
Aug 10 at 3:26
This answer has a script which does something very similar: It creates the AP interface and shows how to bring it up and down. Bringing an existing interface up and down should be as easy as
ip link set INTERFACE up/down.– dessert
Aug 10 at 10:06