Connect to a device's Wi-Fi without losing the internet on a Mac
Many devices open their own Wi-Fi network for setup or control. That network has no internet. A second connection keeps the Mac online while it talks to the device.
My Mac has this problem: Connect to a device's Wi-Fi without losing the internet on a Mac. Read https://kilobat.app/guides/device-wifi-keep-internet-mac.md and work through it with me. Install the Kilobat CLI if it’s missing: brew install seifip/kilobat/kilobat. Run the guide’s Terminal and kilobat checks yourself and tell me what you find. List the steps only I can do. Ask before you change any setting.
When this helps
- The internet stops when the Mac joins a drone's, camera's, robot's or printer's Wi-Fi.
- The Wi-Fi menu shows that the network has no internet.
- The device's app or web page opens, but mail, calls and websites stop.
- You do not know the device's address on its own network.
Why the internet stops
A device's own Wi-Fi connects the Mac to that device only. The device has no route to the internet.
The Mac sends internet traffic through the first working service in its service order. Wi-Fi is usually first.
Many device networks give the Mac a router address. The Mac then sends every request to the device, and no answer comes back.
A device network without a router address can leave another connection in charge. The result depends on the device.
What you need: a second connection
The Mac joins one Wi-Fi network at a time. While the Wi-Fi is on the device, the internet must come another way.
- iPhone USB. Turn on Personal Hotspot and connect the iPhone with a USB cable. The Mac shows the iPhone USB service.
- Ethernet. A cable to a router, a dock or a hotel room port. A USB or Thunderbolt adapter works too.
- Bluetooth. Apple also lists Bluetooth for an iPhone's Personal Hotspot. It is slower than USB, but needs no cable.
A phone's Wi-Fi hotspot does not work here. The Mac's Wi-Fi is already on the device.
Keep the internet and reach the device
Connect the second connection first. Make sure that the Mac has internet on it.
Join the device's network from the Wi-Fi menu. Use the name and password from the device or its manual.
Choose Apple menu > System Settings, then click Network.
Click the Action pop-up menu, then choose Set Service Order.
Drag iPhone USB or Ethernet above Wi-Fi. Click OK.
Check that internet traffic now uses the other interface.
route -n get defaultOutput The
interfaceline names the iPhone USB or Ethernet interface, not the Wi-Fi.Open the device's app or web page. Traffic for the device's own network stays on the Wi-Fi.
The same steps help on a firewalled venue Wi-Fi. Keep the Wi-Fi for a local device, and use the cable for the internet. See Use USB or Ethernet for the internet while you stay on Wi-Fi on a Mac.
Find the device's address
On its own network, the device is usually also the router. Many setup networks use 192.168.4.1. The ESP8266 docs give it as the default address of a soft access point.
Show the router address that the device gave the Mac. Wi-Fi is usually
en0.ipconfig getoption en0 routerOutput This is often the device itself. If Wi-Fi is not
en0, find its name withnetworksetup -listallhardwareports.Show the addresses that the Mac knows on this network.
arp -a -nLook for devices that announce a web page over Bonjour. Press Control-C to stop.
dns-sd -B _http._tcpOpen the address in a browser, for example
http://192.168.4.1.
Tasmota's docs name its setup network tasmota_ with letters and numbers after it. They give the setup page as http://192.168.4.1, active for only 3 minutes.
A printer's Wi-Fi Direct network has a name such as DIRECT-xx-HP … Only that printer is on it.
If a Mac app cannot reach the device
On macOS 15 Sequoia and later, an app needs Local Network permission to reach devices. See An app cannot find devices on the local network.
A VPN can send local traffic into its tunnel. Allow local network access in the VPN app, or turn the VPN off while you use the device.
A name can fail when DNS goes through the other connection. Use the device's address instead.
When you finish
Join your usual Wi-Fi network again.
Choose Apple menu > System Settings, then click Network.
Click the Action pop-up menu, then choose Set Service Order. Drag Wi-Fi back to the top. Click OK.
If you skip this, the Mac can prefer iPhone USB the next time that you plug in the iPhone. That uses mobile data.
If the device needs the internet itself
Some devices need the internet for activation or a firmware update. Their own network cannot give it.
Connect the device to your home Wi-Fi in its app, if it offers that. Or share the Mac's internet with Internet Sharing. See Share a Mac's internet connection with other devices.
With Kilobat
Kilobat recognises a device's setup network, or a Wi-Fi without internet. It offers to put USB, Ethernet or a hotspot first.
macOS asks for an administrator's approval. Kilobat puts your previous order back afterwards.
Kilobat shows the device's address, its Bonjour names and its open ports. Open web interface and Copy address take one click.
It measures latency, jitter and loss to the device. It tells you when the link gets worse.
When you finish, one click takes the Mac back to your previous Wi-Fi network.
Show where traffic leaves the Mac, with the interface and the public address.
kilobat ipBrowse for devices that announce a web page over Bonjour.
kilobat bonjour _http._tcpMore on Kilobat on a device's Wi-Fi.
Questions
Why does the Mac show no internet on the device's Wi-Fi?
The network has no route to the internet. That is normal for a setup or control network.
Can I use a phone's Wi-Fi hotspot instead of a cable?
No. The Mac joins one Wi-Fi network at a time, and that network is the device's. Use USB or Bluetooth.
Do I have to change the order every time?
Only when you want both at once. Without a second connection, the Mac has no internet while it is on the device.
Sources
- Apple Support: Change the order of the network services your Mac uses
- Apple Support: Share the internet connection from your iPhone or iPad with your Mac
- Apple Developer: TN3179 Understanding local network privacy
- ESP8266 Arduino Core: Soft Access Point Class
- Tasmota: Getting Started
- HP Support: Wi-Fi Direct printing
- networksetup(8), route(8), ipconfig(8), arp(8) and dns-sd(1), man pages installed with macOS 27.2
Checked on 21 November 2026.