I usually do a lot o development/testing on my local Mac / MAMP installation and then accessing it from my smartphone/tablet by just entering the proper IP address when the devices are on the same network.
However, I'm also often in a situation that I need to demo or test my web apps in places where there is no internet and my devices are not on the same network. What could I do then?
So again what I'd like to do is the following:
Again there is no "real" internet or other APs involved. It would be ideal if my Mac could also act as a DHCP server (so automatically assign IPs to devices connected via WiFi), but if thats too complex then I'll just enter the static IPs manually. BTW I don't need any fancy stuff like local domain names - just IPs are fine :)
Any ideas how one could accomplish something like this? If needed or it makes this workflow easier or quicker - I'm also not beyond buying other software to accomplish this.
BTW for example I had high hopes for this solution but it seems incomplete since my devices are still reporting that the network has no internet and are refusing to connect. Built in Mac connection sharing might also help somehow (not yet sure how?) but what connection to share if they're all offline?
I'll post my partial answer here - it will hopefully benefit somebody in the future.
In the end it was pretty easy:
Its unfortunately partial because it works only with Apple's Mac/iOS devices - other devices (have tried it with Android) will simply not see the personal network you've created (I assume details are being transmitted via Apple's Bonjour anyway so thats why). But better something than nothing.
But its still pretty cool - I can now connect my iPhone and iPad to the MAMP running on my Mac even without being connected to the Internet or having a DHCP-enabled AP taking care of the networking details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With