Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to use my iPhone as remote control for VLC.
I use and it is working fine when I am connected to my AP.

I will use my MacBook on place where no AP connection will be available (actually even current is not available) for playing videos.

Is it possible and how to run my mac as default gateway and AP but just for local network so that I can connect my iPhone to it ?


share|improve this question
up vote 0 down vote accepted

To create an ad hoc (IBSS) network, just pull down the Wi-Fi Menu Extra to "Create Network…". This is probably all you need. The Mac won't actually be acting as a true AP; it will just be a peer in the ad-hoc network. Also, the Mac won't be acting as a default gateway or DHCP server or anything, but it'll give itself IPv4 and IPv6 link-local (a.k.a. "self assigned") addresses, as will your iPhone. You don't need a DHCP server if all your devices know how to self-assign unique addresses like that, you don't need a default (or otherwise) gateway if you don't need this network to connect to another one.

If you really want your Mac to act as a true AP, default IPv4 gateway (a gateway to nowhere), and DHCP server, then go to System Preferences > Sharing > Internet Sharing and choose to share connection "From:" <any interface other than Wi-Fi>, "To computers using:" Wi-Fi.

share|improve this answer
for part starting with "If you really want your Mac to act as a true AP, ..." do I need to do "To create an ad hoc (IBSS) network,..." or just this first part ? – WebOrCode Jan 10 '14 at 6:50
No, turning on Internet Sharing over Wi-Fi automatically puts the radio into AP mode, regardless of whether it was previously in client or IBSS mode. – Spiff Jan 10 '14 at 17:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .