bigbrovar

January 17, 2009

Share You Internet wirelessly on Ubuntu

Filed under: Connectivity — Bigbrovar @ 2:21 pm

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.

32 Comments »

  1. very nice. thanks. this will be very useful.

    Comment by Duane — January 17, 2009 @ 7:14 pm | Reply

  2. thanks a million bigbrovar. u re d man

    Comment by Chinedu — January 17, 2009 @ 10:44 pm | Reply

  3. […] share your internet using your wireless connection use this guide Possibly related posts: (automatically generated)20 unusual ways to save money: Share Netflix, […]

    Pingback by How to share your Internet connection on Ubuntu « bigbrovar — January 23, 2009 @ 7:10 am | Reply

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

    Comment by Mark — February 4, 2009 @ 1:55 am | Reply

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

    Comment by Bigbrovar — February 4, 2009 @ 5:59 am | Reply

  6. […] Share your internet connection on ubuntu Commenta 18th January , 2009 I just want to share this incase anybody is finding a way to share their internet on ubuntu .. i wrote a small guide that shows how u can achieve that on intrepid ibex .. hope some one finds it useful. https://bigbrovar.wordpress.com/2009/…sly-on-ubuntu/ […]

    Pingback by Share your internet connection on ubuntu — March 6, 2009 @ 8:01 am | Reply

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

    Comment by Alberto — April 14, 2009 @ 5:56 am | Reply

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

    Comment by Bigbrovar — April 14, 2009 @ 7:34 am | Reply

  9. 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 .. 😦

    Comment by Natthu — June 18, 2009 @ 4:24 pm | Reply

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

      Comment by Bigbrovar — June 18, 2009 @ 10:43 pm | Reply

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

    Comment by Colin — July 5, 2009 @ 11:23 pm | Reply

  11. […] I thought it was going to be another frustrating process. After a bit of research I stumbled upon this post on how easy it is to share an existing (non-WiFi) internet connection through WiFi. It was written […]

    Pingback by Wireless Internet Connection Sharing in Ubuntu 9.10 (Karmic Koala) « Rico on Flex — November 5, 2009 @ 6:19 am | Reply

  12. will this work in Kubuntu?

    Comment by Jeffrey — December 10, 2009 @ 10:49 am | Reply

  13. 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).

    Comment by Jean Jordaan — December 22, 2009 @ 10:33 am | Reply

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

    Comment by Akin — January 24, 2010 @ 10:59 pm | Reply

  15. nice share friend 🙂
    thanks

    Comment by idhanz — May 19, 2010 @ 5:17 am | Reply

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

    Comment by Lazlo — July 3, 2010 @ 5:53 pm | Reply

    • I have this issue as well.
      Tried it on several laptops, with the same result. 😦

      Comment by Magnus — November 15, 2011 @ 4:17 pm | Reply

  17. tsingtor

    Comment by yrdy — July 3, 2010 @ 6:47 pm | Reply

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

    Comment by zicka — August 6, 2010 @ 4:27 pm | Reply

  19. […] Tether Ubuntu internet-connection via Hotspot […]

    Pingback by Tethering on the N900 – Visual Summary « My N900 Diary — August 27, 2010 @ 6:01 am | Reply

  20. Good one, keep it up

    Comment by dammy — September 8, 2010 @ 7:37 am | Reply

  21. Thanks a million times for this information.Kudos

    Comment by mathew — September 9, 2010 @ 10:31 pm | Reply

  22. Danke

    Comment by GMT — October 30, 2010 @ 5:01 am | Reply

  23. wireless internet is simply the best though sometimes the signal fluctuates depending on the weather condition ,,

    Comment by Post Nasal Drip Treatment : — October 30, 2010 @ 5:43 pm | Reply

  24. […] think I can handle steps 1, 2, 3 and 5. I just have no idea if step 4 even makes sense, let alone is […]

    Pingback by Can make the proxy settings invisible when I share my internet connection via wifi? Drija — November 12, 2010 @ 12:31 pm | Reply

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

    Comment by Jean Jordaan — December 4, 2010 @ 9:54 am | Reply

    • here too… 😦 ..

      Comment by wildabdat — March 9, 2011 @ 9:00 am | Reply

  26. beyonce jay z baby,

    Comment by Tnggvlbq — July 4, 2011 @ 11:18 am | Reply

  27. can u do the same with wifi and share the internet through the ethernet cord?

    Comment by Joel Herbert — September 3, 2011 @ 7:02 am | Reply

  28. 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!.

    Comment by Carrick — September 14, 2011 @ 6:06 am | Reply

  29. Thanks. Works !

    Comment by gahramanov — November 22, 2011 @ 11:51 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.