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

I've setup a WiFi network to allow iOS devices (such as my iPad) to connect to other devices on the local network, but I want to be able to use the 3G functionality on my iPad at the same time to connect to the internet. How can I setup the WiFi so that the iOS device doesn't think there's an internet connection through it?

I've tried setting the DHCP Gateway to but this just seems to confuse the iPad - the spinning circle next to the Wifi network never disappears even though it has an IP address from the DHCP server.

Update: I was able to set the DHCP Gateway to 0 and the Router entry now appears as blank, but the spinning circle still doesn't disappear.

Update: Setting the DHCP Gateway to 0 or works fine for Windows, Android and Windows Mobile so I'm beginning to think this is an iOS bug. I've posted a question on the Apple iOS Dev forum here.

share|improve this question
Not sure I understand - if you want to use 3G, why not just turn off Wi-Fi? – JW8 Sep 3 '12 at 5:36
If I understand this correctly you want your iPhone/iPad to connect via WLAN for addresses in your local network and via 3G for all other addresses? – patrix Sep 3 '12 at 6:32
Basically yes. The addresses in the local network will be discovered using Bonjour, but for anything else we want it to fall back to 3G. – parsley72 Sep 3 '12 at 23:43

3 Answers 3

I was able to successfully connect to my Arduino's wifi and still retain access to the web, but I struggled following the instructions from the other questions and comments, so here is my explanation.


  1. Connect to Arduino Yun wifi
  2. Make note of the DHCP IP address and Subnetmask
  3. And use those values with Static IP

Long Version

There's lots of resources explaining the normal methods of connecting, but this is how to connect from an iOS device and still retain access to the web via cell network.

After resetting the Yun's wifi (hold reset button for 6-10 seconds), wait until the device finishes booting and it's wifi network is available.

Connect to the Yun network, and take note of the IP address and Subnet mask in the info view. Then switch to Static IP and enter the aforementioned IP and subnet mask.

You should now be able to connect to the arduino (arduino.local) and still access the web.

share|improve this answer
up vote 4 down vote accepted

This appears to be fixed in iOS7 - I set the DHCP Gateway to and the iPad connects with a tickbox rather than leaving the spinning circle.

share|improve this answer
is this still working iOS8+ ? thanks – 3pic Jul 31 at 8:34
@3pic – yes it is (Tested on iOS 9 actually) See my answer below – Kevin Jantzer Sep 23 at 2:32

You should define a STATIC address for the WiFi/LAN. (define an correct netmask, and dont enter any router/gateway address ). (see the static tab in the @Michiel's screenshot.)

When you done, you can access the computers on WiFi network and you will access the rest of the Internet via 3G.

This is what you looking for?

share|improve this answer
I should have been more specific. We want the Wifi to use DHCP so this isn't an option. How can I set the DHCP gateway to a value that the iPad will read as unset? – parsley72 Sep 3 '12 at 23:45
@parsley72 Why are you so set on DHCP? Unless there's something I'm missing, it's not going to be of a benefit to you in this situation. By the way, nice answer, @kobame! – Andrew Larsson Sep 5 '12 at 17:43
If you don't have DHCP then the iOS device takes about a minute to assign a zeroconfig address. This isn't a good user experience. – parsley72 Sep 5 '12 at 23:29
This is the right answer. Set the Static address to the address you received from the DHCP server, leave out the gateway. This is how I do it, works great. – dennis.hempler Mar 7 '13 at 23:32
I'm trying to setup a network on a product to sell to non-technical customers. Asking them to set a static address isn't very convenient. – parsley72 Sep 21 '13 at 3:52

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.