Sign in with
Sign up | Sign in
Your question

Share mac wifi to ubuntu linux

Last response: in Networking
Share
June 27, 2012 12:47:33 AM

I am wondering how to share my mac desktop's wifi to an ubuntu 12.04 box via ethernet. I know how to share the internet from the mac but don't know how to connect to it on the ubuntu box. I have made ipv4 connection but internet doesnt work on both.
June 27, 2012 1:03:30 AM

I'm not a Mac user, but I would think from the perspective of the Linux box, it shouldn’t require any special handling. The Mac is doing all the routing. The only thing the Linux box has to do is behave normally; make its DHCP request over the ethernet cable between itself and the Mac. IOW, the Mac is doing all the heavy lifting and behaving like a WAN.

If it’s still not working, and your Mac machine is using a wireless router, then you don’t even need routing. Again, leaving the Linux machine as-is (w/ DHCP enabled), you just need to bridge the Mac and Linux network connections on the Mac.
m
0
l
June 27, 2012 2:41:43 AM

A connection was made, but internet is not working. I left the connection settings on default, is there anything i need to change? Big n00b here.
m
0
l
Related resources
June 27, 2012 2:52:04 AM

Connection was made from what to what?? You mean the ethernet (wired) connection between the machines?
m
0
l
June 27, 2012 5:05:36 AM

Now no connection at all occurs. Ubuntu searches once the ethernet is plugged in but doesn't establish a connection. Do I need change some setting? I just installed new so nothing has been messed with.
m
0
l
June 27, 2012 2:41:02 PM

Again, I'm not a Mac person. But I did a little research and found the following video. It only applies to OSX Lion (10.7) or later.

http://www.youtube.com/watch?v=2G_mtele6TM&feature=rela...

So if you have Lion, the setup is identical. Notice he has the XBOX initially setup for w/ manual network settings because it was connected to a Mac prior to Lion. Apparently using internet sharing was more laborious prior to Lion (perhaps there wasn’t a DHCP server on the Mac back then, so the ethernet adapters on both the Mac and XBOX had to be set manually). Notice he changes the XBOX from manual settings to DHCP (automatic). And that’s just how your Linux machine’s ethernet adapter is setup by default, w/ DHCP (not unless you messed w/ it). As I said initially, it’s likely you don’t have to do anything on the Linux machine. It’s all a Mac configuration problem, complicated by the fact that internet sharing methods have changed from release to release.

So if you have Lion or later, follow the video. Leave the Linux network adapter to defaults (DHCP), just like the XBOX. Just configure the Mac as he shows. It should work.
m
0
l
June 28, 2012 10:18:33 PM

I was more confused on the linux side of things, the mac part is pretty easy. I discovered that I was not using the default networking option. Thanks for the help!
m
0
l
!