Set up an isolated TP-Link access point for ADB
This guide covers setting up a TP-Link TL-WA1201 as an isolated private access point, and configuring network settings on both your laptop (MacBook) and the Android TV so they can communicate directly for ADB installation purposes.
Overview¶
| Component | Role |
|---|---|
| TL-WA1201 | Creates an isolated Wi-Fi network — no internet, just a private local network |
| Laptop | Connects to the AP, acts as DNS server for the TV, runs ADB |
| Android TV | Connects to the AP, gets configured with static IP, gateway, and DNS |
Note: This private network is for ADB installation only. The SignageBoard app itself requires real internet access to function (see Appendix B).
Part 1: Setting Up the TP-Link TL-WA1201 as a Private Access Point¶
Step 1: Reset the Device¶
- Hold the Reset button on the back of the TL-WA1201 for 5–10 seconds until the lights flash.
- This ensures a clean, default configuration.
Step 2: Power On and Connect for Setup¶
- Plug in the TL-WA1201.
- On your laptop, connect to its default Wi-Fi network (SSID/password printed on the device label), or connect via Ethernet cable directly.
- Do not plug its WAN/LAN port into any router — it should remain fully disconnected from any outside network.
Step 3: Access the Admin Panel¶
- Open a browser and go to: or (Check the sticker on the device for the exact default IP.)
- Log in with the default username/password (also on the device label).
Step 4: Configure Access Point Mode¶
- Go to Operation Mode and select Access Point (AP) mode.
- Since you are not connecting the WAN/LAN port to any router, the device will still broadcast its own Wi-Fi network.
- Go to Wireless Settings:
- Set a custom SSID (e.g.
Demo-Private-Net) - Set a strong Wi-Fi password
- Consider disabling Smart Connect (if present) and using a single band (e.g. 2.4GHz only) for simpler, more predictable connections between just two devices.
- Save settings.
Step 5: Configure DHCP¶
- Go to DHCP Settings.
- Check whether DHCP Server is already enabled (in AP mode, this can sometimes be off by default — if so, turn it on).
- Set an IP range, for example:
- Save settings.
Step 6: Connect Your Devices¶
- Laptop: Connect to the TL-WA1201's Wi-Fi (SSID created in Step 4).
- Android TV: Go to Settings > Network and connect to the same SSID.
Part 2: Finding Your Laptop's IP and Gateway (MacBook)¶
You'll need your laptop's IP address to set it as the DNS server on the Android TV, and the gateway address to set as the Gateway on the Android TV.
Option A: Via System Settings (GUI)¶
- Click the Apple menu → System Settings (or System Preferences on older macOS).
- Go to Network.
- Select your active connection (Wi-Fi).
- Click Details...:
- IP Address — shown directly
- Click TCP/IP tab → shows Router (this is your gateway)
Option B: Via Terminal¶
Open Terminal and run:
Look under your active interface (usually en0 for Wi-Fi):
inet value is your IP address
For the gateway:
Output example:
→ That's your gateway (router/AP IP)Part 3: Configuring Network Settings on the Android TV¶
- On the remote, press the 9-box grid icon to open the settings/apps menu.
- Go to Settings > Network & Internet (naming may vary slightly by device).
- Select the Wi-Fi network matching your TL-WA1201 SSID (e.g.
Demo-Private-Net) and connect using the password you set. - Once connected, select the network again and choose Modify Network (or long-press / gear icon) to set it to Static/Manual IP.
- Enter the following:
| Field | Value |
|---|---|
| IP address | A free static IP within the DHCP range, e.g. <TV_STATIC_IP> |
| Gateway | The TL-WA1201's IP (same as what you'd see as "Router"/"Gateway" on the laptop), e.g. <AP_IP> |
| Network prefix length / Subnet mask | Usually 24 (or 255.255.255.0) |
| DNS 1 | Your laptop's IP address, e.g. <LAPTOP_IP> |
| DNS 2 (optional) | Leave blank, or same as DNS 1 |
- Save the settings.
- Confirm the Android TV shows as Connected with the static IP you assigned.
Part 4: Verifying Connectivity¶
- On your laptop terminal, ping the Android TV's static IP:
- If you get replies, the two devices can reach each other.
- Proceed with ADB:
- Accept the Allow prompt on the Android TV screen.
- Reconnect and verify:
Quick Reference Checklist¶
- Reset TL-WA1201 to factory defaults
- Set TL-WA1201 to Access Point mode
- Configure custom SSID + password
- Enable DHCP with defined IP range
- Connect laptop to TL-WA1201 Wi-Fi
- Find laptop's IP (
ifconfig) and gateway (route -n get default) - Connect Android TV to TL-WA1201 Wi-Fi
- Set Android TV to static IP within DHCP range
- Set Android TV Gateway = TL-WA1201 IP
- Set Android TV DNS = laptop IP
- Ping Android TV from laptop to confirm connectivity
- Proceed with
adb connect
Appendix: Important Note on Internet Access¶
This private network setup is intended only for the ADB installation process (pushing the APK to the Android TV). It has no internet access.
The SignageBoard app itself requires internet access to function — it needs to reach api.hotel.castis.io and wss://hotel.castis.io for device registration and communication. Without internet:
- The app will fail to register the device (SSL/connection errors).
- The Android TV's clock may not sync via NTP, which can cause certificate validation errors (
SSLHandshakeException: Unacceptable certificate) since HTTPS certificate validity is time-dependent.
Workflow recommendation: 1. Use the TL-WA1201 private network only while installing the APK via ADB. 2. After installation, switch the Android TV to a network with real internet access (e.g. the hotel Wi-Fi) so the app can register and run correctly.