Enable Internet Sharing in Mac OS X to Turn Your Mac Into a Wireless Router

Jan 5, 2012 - 27 Comments

Mac Internet Sharing

Did you know you can turn your Mac into a wireless access point by using Internet Sharing? Internet Sharing works for both Mac OS X 10.6 and Mac OS X 10.7 Lion, and with internet sharing enabled, your internet connected Mac will broadcast a wifi signal that can be used by another Mac, PC, iPad, iPhone, or whatever else you need to get online from.

Here are situations where Internet Sharing is particularly useful:

  • You don’t own a wireless router – no problem, let the Mac become one
  • There is only a wired internet connection (ethernet) available, and you need to get a wireless-only device online, like an iPad or MacBook Air
  • You’re at a location that charges internet access per device, rather than a flat rate for all devices, this is fairly common at hotels and airports
  • Skirt the connected device limitations of Personal Hotspot (iOS) and Internet Tethering from mobile phones

Hotels in particular have a bad habit of charging customers a per device fee rather than a single per room cost for internet access, using Internet Sharing gets around that greatly inflated expense.

The setup we are going to use in this example is as follows: Wired internet connection -> Mac -> Other Devices, here’s a simple diagram to demonstrate this:

How Mac Internet Sharing Works

It’s easy to set up, let’s get started.

How to Share Internet from a Mac to Other Computers & Devices

We’ll walk you through the process of setting up a secured wireless access point, broadcast from an internet connected Mac to be shared with other Macs, PC’s, or iOS devices.

  • Connect the ethernet cable to the Mac
  • Launch “System Preferences” from the  Apple menu and click on “Sharing”
  • Click on “Internet Sharing” from the left menu
  • Select the pull-down menu next to “Share your connection from:” and choose “Ethernet”
  • Mac Internet Sharing

  • Alongside “To computers using:” check the box next to “Wi-Fi” or “AirPort” (name depends on OS X 10.7 vs 10.6)
  • Next click on “Wi-Fi Options” and name the network, and then click to enable security/encryption, and then type in a WEP key as the wireless password
  • Share Internet from Mac Wirelessly

  • Click “OK” and confirm that you want to start internet sharing

Enable Internet Sharing from a Mac

You’re done. Your Mac is now broadcasting a wireless signal that can be picked up by any other wi-fi enabled devices. Connecting to the Mac’s shared internet connection is now the same as connecting to any other wireless network, find the wifi access point name you set, enter the password, and you’re online. The network is relatively secure thanks to the WEP password you set, if you forgot that password you just have to disable security and re-enable it to set a new one.

If you’re a perfectionist, you could then run the Wi-Fi Diagnostics tool and get the optimal signal for the network, but in a brief hotel or airport situation, the the devices will be close enough together that this won’t matter much.

Related articles:

Posted by: AJ in Mac OS X, Tips & Tricks

27 Comments

» Comments RSS Feed

  1. Joe says:

    The problem is that the Mac only provides a WEP connection which means the password is easily hacked.

    Investing in an Airport Express will provide better security. Another good solution is to use one of the VPN services out there. This will allow you to connect to the internet over an unsecured connection, like your Mac on WEP, and still be secure.

  2. Christian says:

    Great trick, didn’t know you could do this!

  3. Brah says:

    An oldie but a goodie Tip. Been doing this for years now

  4. Tom says:

    It doesn’t work for me. I set it up just like you said, with my MacBook connected to ethernet. All went well until I tried to use it. Found the name I’d set up on my Android phone, selected it, entered the WEP password, phone said “obtaining IP address” for a few minutes, and then went to “Disabled WEP secured”, and never connected. Tried several times…same result. Nice idea, I would love to use it at home, but I can’t make it work, and I don’t know why.

    • Voxiferous says:

      Try setting it without WEP encryption or by using a different encryption strength. Figures that if any device was to have a problem though, it’s an Android trying to connect to an Apple… LOL.

      • Tom says:

        No, it’s an Android trying to connect THROUGH an Apple.

        Tried it both ways, first with 40-bit WEP, then wide open. Same result – first says “obtaining IP address” then “Disabled”. Oh well…

  5. J says:

    I’d like to share from my connection airport to airport. Is there a way to create a virtual adapter a la windows 7?

  6. J says:

    I’d like to share my connection from airport to airport. Is there a way to create a virtual adapter a la windows 7?

  7. Socapex says:

    You are actually encouraging people to setup WEPs!? Come on guys, that is insane! The internet sharing on OSX, even though it could be really useful if it supported WPA2, should NEVER be used and should be considered obsolete. Nobody should be using WEPs in 2012.

    • jo says:

      using it all the time, hope apple doesn’t think like that and removes this useful feature (like it has been doing with other stuff on lion)

  8. Llion Vaughan says:

    Anyone actually got this working on lion?

  9. Roman says:

    I tried this at work – but when I start the WiFi-Diagnosis-Tool I can see that my set up network has no signal… I tried it with WEP and without (just to check if this causes the failure).

    The Channel (10, I tried others as well) isn’t used by any other network around here (my early 2011 iMac has a AirPort Extreme-Card in it) – anyone any ideas why there’s no signal?

  10. Susan says:

    Does not work for me.

    “Wi-fi has the self assigned IP address 169.x.x.x and will not be able to connect to the Internet.”

    “Network name: Internet Sharing: On”

    My ethernet connection works ok. Wi-fi devices still can’t use it.

  11. Peter Sims says:

    It should be noted that enabling Internet Sharing this way is likely to cause one’s computer to fail to go to sleep.

  12. smudge says:

    is there any way to change the WEP to WPA2?

    • Randy says:

      Strange. I set up Internet Sharing a few OS versions ago, and the “Airport Setup” screen had a “Security” dropdown to choose between WEP, WPA, WPA2, and WPA2 Enterprise. Now, running 10.6.8, the “Security” dropdown is gone, and WEP seems to be the only choice. Yet, when I enable sharing on the machine, it still uses the previously-configured WPA2. So, maybe the work-around is to boot into an older version of the OS, configure WPA2, and the boot back?

  13. martin luter says:

    And how can I share my internet using N wifi, i can create only G adhoc ;[

  14. davide says:

    I got to share internet through iMac with wep128 with iPhone. B
    ut the PC cannot connect.
    I think because of Wep encoding (not sure therefore not accepted by windows).
    If this is the problem, is there a way to use WPA ?
    thanks

  15. Dean Windass says:

    I’ve been doing this for a little while now. Yes, you mac needs to be constantly on for ti to work, but work it does. I live in a little cottage where it’s just me and my cat, but with this method I can use my android tablet and iphone wirelessly without a router. As mentioned, also good for when you’re travelling. It amazes me how many hotels still don’t have a wireless connection, just an ethernet cable sticking out of the wall.

  16. a says:

    hey
    i never get a connection. always a self assigned ip.
    any ideas ?
    10.7.3
    iphone 3gs 5.1

    thanks

  17. a says:

    remember to turn firewall off!!

  18. Randy says:

    Strange. I set up Internet Sharing a few OS versions ago, and the “Airport Setup” screen had a “Security” dropdown to choose between WEP, WPA, WPA2, and WPA2 Enterprise. Now, running 10.6.8, the “Security” dropdown is gone, and WEP seems to be the only choice. Yet, when I enable sharing on the machine, it still uses the previously-configured WPA2. So, maybe the work-around is to boot into an older version of the OS, configure WPA2, and the boot back?

  19. I have been using this for several years now. It works fine on Snow Leopard, and I believe it also works on Lion. What is not often mentioned is that you can also use it to enable Ethernet access of non-WiFi devices to access a Wireless net. An excellent feature which I hope Apple continues to support.

  20. Big problem …!!
    My new iPad3 is asking for a password..!! And I have forgotten the password I ve been using earlier on my iPad1 ..!!!
    How to solve this problem..?
    I would be very thankful for any assistance.
    Kind regards, Johan

  21. Fred says:

    Frustrated now. This worked great for me until I upgraded to 10.7.4 and now the connection is constantly dropping. I’ve reset everything (router, iMac, iPhone) multiple times and it’s not helping. Occasionally an off/on switch of Wi-Fi on iMac and iPhone will temporarily bring it back but that’s not an acceptable solution. I own a Mac so that it will WORK and now it doesn’t. Any ideas?

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Shared on Facebook

Shop at Amazon

Ad

OSXDaily on Facebook