Share You Internet wirelessly on Ubuntu

I wrote a guide earlier on how to share your internet connection on ubuntu. But the guide was  for non wireless sharing . well here is an updated version that allows you to share your internet connection wirelessly to other wireless  devices in your home by showing you how to create a ad-hoc wireless network on your laptop .

This guide works on ubuntu intrepid ibex with the new network manager  0.7. (am not sure if this would work on hardy heron using the backported network manager 0.7) anyway. to make this work we need to a package called dnsmasq-base which can be installed from synaptic or geekily via the terminal

sudo apt-get install dnsmasq-base

once installed the rest is easy

just left-click on the Network Manager Applet-> Create new wireless connection,



give your connection a name (you can even add encyption if you want.) click on “Create”



you should now see a message that says “Now you are connected to xxxx wireless Network”. well that is all. Now when you search for a wifi connection on your wifi device you would see the one  you just created connect to it and happy surfing.

Note: This will only work if the sharing system is not using wireless as its means of connection. if it is then the older guide would work for you.

hope this helps somebody.

Note: for some reasons i couldnt connect to the ad hoc wireless created using this guide wicd on my laptop (which uses mint-xfce) but i could connect and browse with my nokia N810 without a problem. so it must be an issue with wicd which i would find out more on.

Edit I can conforim that this guide works with Hardy Heron. But the network manager 0.7 has to be installed. to do this is quite easy.

first we add this repository to your sources.list with this command

echo deb hardy main | sudo tee -a '/etc/apt/sources.list'

then we update and upgrade

sudo aptitude update && sudo aptitude full-upgrade ; sudo update-icon-caches

once this is done reboot and you should have a new shinny network manager 0.7 plus all the goodies that comes with it.

This content is published under the Attribution-Noncommercial-Share Alike 3.0 Unported license.

This entry was posted in Connectivity. Bookmark the permalink.
  • Duane

    very nice. thanks. this will be very useful.

  • Chinedu

    thanks a million bigbrovar. u re d man

  • Pingback: How to share your Internet connection on Ubuntu « bigbrovar

  • http://emailme Mark

    HEy there I’m having a problem. 2 days ago I had this working,

    Now since I’ve re-installed ubuntu when I try to connect from windows, it tries to acquire network address then disconnects

    Have you any advie for me on this mate?

  • Bigbrovar

    @Mark did you install this package dnsmasq-base it is needed for the sharing to work

  • Pingback: Share your internet connection on ubuntu

  • Alberto

    Good guide, but I connected to the net using a N810 but couldn’t browse anything.

    Do I need to chnage some configuration like you did in the previous guide?

    Thanks a lot.

  • Bigbrovar

    @Alberto that is weird because i use the same it to connect with my N810 without any problems what so ever, and no you dont need to change any configuration like the last guide, just make sure you are using the latest network manager 7, and dnsmasq-base is installed. also note that is there is a proxy networking then u will have to indicate it while setting up the wireless for your nokia. cheers

  • Natthu

    How can i use this with ipod touch?
    what abt settings in ipod ? dhcp/static ?
    plz reply … i have been trying a lot of methods but havent had any success .. :(

    • Bigbrovar

      i think choosing dhcp should work. but please dont take my word for it .. i dont own an ipod touch (at least not anymore)

  • Colin

    Thanks for the great tip.. Worked like a charm. But I was wondering how (if possible) I can set up the ssid so that it’s hidden. Any suggestions?


  • Pingback: Wireless Internet Connection Sharing in Ubuntu 9.10 (Karmic Koala) « Rico on Flex

  • Jeffrey

    will this work in Kubuntu?