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,

left-click

left-click

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

name

name

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 http://ppa.launchpad.net/network-manager/ubuntu 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.

33 comments on “Share You Internet wirelessly on Ubuntu

  1. 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?

  2. 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.

  3. @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

  4. 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 .. 🙁

  5. 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?

    Thanks

  6. I followed the steps, and see my network in the dropdown list of networks in the network-manager tool on the laptop, but my wifi device (HTC Hero) doesn’t see the network. It does see other networks. I have dnsmasq-base installed, and network-manager is on 0.7.1~rc4.1.cf199a964-0ubuntu2 (Jaunty).

  7. I am able connect to the created network but I could not connect to the internet with Ipod Touch by using this method. What can be the problem?

    Thanks

  8. Tried this with Ubuntu 9.10 to no avail, I just keep “connecting” and disconnecting from the network, and no other devices can see it. Any suggestions?

  9. Thanks, now I can connect to the internet with my iPod at my granny’s house too, not only at home. 😀

  10. Darn. I followed this guide on Ubuntu 10.10 .. Created a new wifi network, my phone couldn’t see it, so I wanted to switch back to the normal wifi network.

    No go.

    I deleted the new network, restarted networking .. nothing doing, I can’t connect to any of the wireless networks I see.

  11. I discovered your blog site on bing and look some of the early articles. Preserve up great operate. Trying to find to studying added of your stuff at a later date!.

Leave a Reply

Your email address will not be published. Required fields are marked *