How to create an ad-hoc wireless network in Ubuntu





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







1















This should be very easy but I am finding it quite hard in Ubuntu.



I want to create a network so that I can connect other devices to my computer wirelessly. I do not need an internet connection, I just need an ad-hoc network from my Ubuntu computer which is running Gnome.



These directions are inaccurate, there is no "Use as a..." in step 4.



These directions imply that I can not change the automatically generated password for the Wi-Fi network. Also, see below, the network disappears after a few minutes.



The closest I have found is clicking the "hamburger nav" in settings and clicking "Turn On Wi-Fi hotspot" (pictured):



enter image description here



This does create an ad-hoc network but:




  • The name of the nework is fixed (can't change it)

  • The password is fixed (can't change it)

  • After about 20 seconds the hotspot menu (pictured below) goes away and I can't connect any devices to it even when it does appear.


enter image description here



Why is this so ghetto? I could do this on mac in about 10 seconds.
How can I rename the ad-hoc network and how do I make it persist (i.e. not go anywhere)?



The output of dpkg -l *dnsmasq* is as follows:



Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un dnsmasq <none> <none> (no description available)
un dnsmasq-base <none> <none> (no description available)









share|improve this question

























  • Edit your question and show me dpkg -l *dnsmasq*.

    – heynnema
    1 hour ago











  • @heynnema I updated my question with the output of that command.

    – Startec
    1 hour ago


















1















This should be very easy but I am finding it quite hard in Ubuntu.



I want to create a network so that I can connect other devices to my computer wirelessly. I do not need an internet connection, I just need an ad-hoc network from my Ubuntu computer which is running Gnome.



These directions are inaccurate, there is no "Use as a..." in step 4.



These directions imply that I can not change the automatically generated password for the Wi-Fi network. Also, see below, the network disappears after a few minutes.



The closest I have found is clicking the "hamburger nav" in settings and clicking "Turn On Wi-Fi hotspot" (pictured):



enter image description here



This does create an ad-hoc network but:




  • The name of the nework is fixed (can't change it)

  • The password is fixed (can't change it)

  • After about 20 seconds the hotspot menu (pictured below) goes away and I can't connect any devices to it even when it does appear.


enter image description here



Why is this so ghetto? I could do this on mac in about 10 seconds.
How can I rename the ad-hoc network and how do I make it persist (i.e. not go anywhere)?



The output of dpkg -l *dnsmasq* is as follows:



Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un dnsmasq <none> <none> (no description available)
un dnsmasq-base <none> <none> (no description available)









share|improve this question

























  • Edit your question and show me dpkg -l *dnsmasq*.

    – heynnema
    1 hour ago











  • @heynnema I updated my question with the output of that command.

    – Startec
    1 hour ago














1












1








1








This should be very easy but I am finding it quite hard in Ubuntu.



I want to create a network so that I can connect other devices to my computer wirelessly. I do not need an internet connection, I just need an ad-hoc network from my Ubuntu computer which is running Gnome.



These directions are inaccurate, there is no "Use as a..." in step 4.



These directions imply that I can not change the automatically generated password for the Wi-Fi network. Also, see below, the network disappears after a few minutes.



The closest I have found is clicking the "hamburger nav" in settings and clicking "Turn On Wi-Fi hotspot" (pictured):



enter image description here



This does create an ad-hoc network but:




  • The name of the nework is fixed (can't change it)

  • The password is fixed (can't change it)

  • After about 20 seconds the hotspot menu (pictured below) goes away and I can't connect any devices to it even when it does appear.


enter image description here



Why is this so ghetto? I could do this on mac in about 10 seconds.
How can I rename the ad-hoc network and how do I make it persist (i.e. not go anywhere)?



The output of dpkg -l *dnsmasq* is as follows:



Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un dnsmasq <none> <none> (no description available)
un dnsmasq-base <none> <none> (no description available)









share|improve this question
















This should be very easy but I am finding it quite hard in Ubuntu.



I want to create a network so that I can connect other devices to my computer wirelessly. I do not need an internet connection, I just need an ad-hoc network from my Ubuntu computer which is running Gnome.



These directions are inaccurate, there is no "Use as a..." in step 4.



These directions imply that I can not change the automatically generated password for the Wi-Fi network. Also, see below, the network disappears after a few minutes.



The closest I have found is clicking the "hamburger nav" in settings and clicking "Turn On Wi-Fi hotspot" (pictured):



enter image description here



This does create an ad-hoc network but:




  • The name of the nework is fixed (can't change it)

  • The password is fixed (can't change it)

  • After about 20 seconds the hotspot menu (pictured below) goes away and I can't connect any devices to it even when it does appear.


enter image description here



Why is this so ghetto? I could do this on mac in about 10 seconds.
How can I rename the ad-hoc network and how do I make it persist (i.e. not go anywhere)?



The output of dpkg -l *dnsmasq* is as follows:



Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
un dnsmasq <none> <none> (no description available)
un dnsmasq-base <none> <none> (no description available)






networking gnome network-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago







Startec

















asked 3 hours ago









StartecStartec

3842317




3842317













  • Edit your question and show me dpkg -l *dnsmasq*.

    – heynnema
    1 hour ago











  • @heynnema I updated my question with the output of that command.

    – Startec
    1 hour ago



















  • Edit your question and show me dpkg -l *dnsmasq*.

    – heynnema
    1 hour ago











  • @heynnema I updated my question with the output of that command.

    – Startec
    1 hour ago

















Edit your question and show me dpkg -l *dnsmasq*.

– heynnema
1 hour ago





Edit your question and show me dpkg -l *dnsmasq*.

– heynnema
1 hour ago













@heynnema I updated my question with the output of that command.

– Startec
1 hour ago





@heynnema I updated my question with the output of that command.

– Startec
1 hour ago










2 Answers
2






active

oldest

votes


















3














Install dnsmasq-base. This should take care of your problem.



sudo apt-get update # update the software database



sudo apt-get install dnsmasq-base # install dnsmasq-base






share|improve this answer
























  • That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

    – Startec
    56 mins ago











  • @Startec you're very welcome!

    – heynnema
    54 mins ago



















0














For connecting an Android tablet with bvnc, Ad-hoc is not the way to go. Instead, Right Click on the networkicon, and in the drop-down menu, select Edit connections/ under WI-FI tab, mode dropdown, select Infrastructure (instead of Ad-hoc), then under IPV4 settings, connection method, set it to shared with other computers. Then the Android tablet could see the network, and connect wirelessly.






share|improve this answer


























  • where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

    – Startec
    1 hour 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%2f1139008%2fhow-to-create-an-ad-hoc-wireless-network-in-ubuntu%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














Install dnsmasq-base. This should take care of your problem.



sudo apt-get update # update the software database



sudo apt-get install dnsmasq-base # install dnsmasq-base






share|improve this answer
























  • That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

    – Startec
    56 mins ago











  • @Startec you're very welcome!

    – heynnema
    54 mins ago
















3














Install dnsmasq-base. This should take care of your problem.



sudo apt-get update # update the software database



sudo apt-get install dnsmasq-base # install dnsmasq-base






share|improve this answer
























  • That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

    – Startec
    56 mins ago











  • @Startec you're very welcome!

    – heynnema
    54 mins ago














3












3








3







Install dnsmasq-base. This should take care of your problem.



sudo apt-get update # update the software database



sudo apt-get install dnsmasq-base # install dnsmasq-base






share|improve this answer













Install dnsmasq-base. This should take care of your problem.



sudo apt-get update # update the software database



sudo apt-get install dnsmasq-base # install dnsmasq-base







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









heynnemaheynnema

22k32361




22k32361













  • That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

    – Startec
    56 mins ago











  • @Startec you're very welcome!

    – heynnema
    54 mins ago



















  • That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

    – Startec
    56 mins ago











  • @Startec you're very welcome!

    – heynnema
    54 mins ago

















That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

– Startec
56 mins ago





That fixed it. I still can't set the password or network name (bummer) but now it stays open and I can connect. I have no idea why you knew that would fix it but thank you.

– Startec
56 mins ago













@Startec you're very welcome!

– heynnema
54 mins ago





@Startec you're very welcome!

– heynnema
54 mins ago













0














For connecting an Android tablet with bvnc, Ad-hoc is not the way to go. Instead, Right Click on the networkicon, and in the drop-down menu, select Edit connections/ under WI-FI tab, mode dropdown, select Infrastructure (instead of Ad-hoc), then under IPV4 settings, connection method, set it to shared with other computers. Then the Android tablet could see the network, and connect wirelessly.






share|improve this answer


























  • where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

    – Startec
    1 hour ago
















0














For connecting an Android tablet with bvnc, Ad-hoc is not the way to go. Instead, Right Click on the networkicon, and in the drop-down menu, select Edit connections/ under WI-FI tab, mode dropdown, select Infrastructure (instead of Ad-hoc), then under IPV4 settings, connection method, set it to shared with other computers. Then the Android tablet could see the network, and connect wirelessly.






share|improve this answer


























  • where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

    – Startec
    1 hour ago














0












0








0







For connecting an Android tablet with bvnc, Ad-hoc is not the way to go. Instead, Right Click on the networkicon, and in the drop-down menu, select Edit connections/ under WI-FI tab, mode dropdown, select Infrastructure (instead of Ad-hoc), then under IPV4 settings, connection method, set it to shared with other computers. Then the Android tablet could see the network, and connect wirelessly.






share|improve this answer















For connecting an Android tablet with bvnc, Ad-hoc is not the way to go. Instead, Right Click on the networkicon, and in the drop-down menu, select Edit connections/ under WI-FI tab, mode dropdown, select Infrastructure (instead of Ad-hoc), then under IPV4 settings, connection method, set it to shared with other computers. Then the Android tablet could see the network, and connect wirelessly.







share|improve this answer














share|improve this answer



share|improve this answer








edited 22 mins ago

























answered 1 hour ago









ubfan1ubfan1

10k41730




10k41730













  • where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

    – Startec
    1 hour ago



















  • where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

    – Startec
    1 hour ago

















where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

– Startec
1 hour ago





where are these options. I don't see "Edit connections" anywhere under WI-FI tab, not any option for Ad-hoc (see above picture).

– Startec
1 hour 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%2f1139008%2fhow-to-create-an-ad-hoc-wireless-network-in-ubuntu%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

Ponta tanko

Tantalo (mitologio)

Erzsébet Schaár