Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 have a successfully running Etherpad install running on my Mac, and when clients on my network connect to my node.js server through the IP address assigned by my router, all is well.

But I'm going to take this Mac offsite to a location which might not have Internet access, so I'd like to create a closed local Wifi network, allowing clients to connect to this same Mac running the server.

But without an active router connection, I don't have an IP address. How should I proceed?

I fumbled around trying to create custom network interfaces and trying to make them available through both 'Create network…' and 'Internet sharing', but no luck.

(I'm aware I can bring a router, or set up another Mac to act as one, but I'd like to figure this one out.)

share|improve this question
You seem to be on the right track, can you post the relevant node.js code where you open the socket? – jnovack Apr 9 '13 at 20:33

Ah, it seems that the problem is that while "Internet Sharing" is ON, OSX does not instantiate the child connection (in your case, the WiFi network) until you actually get an internet connection on the parent connection.

You can potentially fool it with a loopback adapter on your ethernet connection (and perhaps static addressing and setting the router as itself), but I have not tried it.

Loopback RJ-45

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.