Skip to content

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).


Step 1: Reset the Device

  1. Hold the Reset button on the back of the TL-WA1201 for 5–10 seconds until the lights flash.
  2. This ensures a clean, default configuration.

Step 2: Power On and Connect for Setup

  1. Plug in the TL-WA1201.
  2. On your laptop, connect to its default Wi-Fi network (SSID/password printed on the device label), or connect via Ethernet cable directly.
  3. 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

  1. Open a browser and go to:
    http://tplinkwifi.net
    
    or
    http://<AP_DEFAULT_IP>
    
    (Check the sticker on the device for the exact default IP.)
  2. Log in with the default username/password (also on the device label).

Step 4: Configure Access Point Mode

  1. Go to Operation Mode and select Access Point (AP) mode.
  2. Since you are not connecting the WAN/LAN port to any router, the device will still broadcast its own Wi-Fi network.
  3. Go to Wireless Settings:
  4. Set a custom SSID (e.g. Demo-Private-Net)
  5. Set a strong Wi-Fi password
  6. 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.
  7. Save settings.

Step 5: Configure DHCP

  1. Go to DHCP Settings.
  2. Check whether DHCP Server is already enabled (in AP mode, this can sometimes be off by default — if so, turn it on).
  3. Set an IP range, for example:
    Start IP: <DHCP_RANGE_START>
    End IP:   <DHCP_RANGE_END>
    
  4. Save settings.

Step 6: Connect Your Devices

  1. Laptop: Connect to the TL-WA1201's Wi-Fi (SSID created in Step 4).
  2. 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)

  1. Click the Apple menu → System Settings (or System Preferences on older macOS).
  2. Go to Network.
  3. Select your active connection (Wi-Fi).
  4. Click Details...:
  5. IP Address — shown directly
  6. Click TCP/IP tab → shows Router (this is your gateway)

Option B: Via Terminal

Open Terminal and run:

ifconfig

Look under your active interface (usually en0 for Wi-Fi):

en0: flags=...
    inet <LAPTOP_IP> netmask 0xffffff00 broadcast <BROADCAST_IP>
→ inet value is your IP address

For the gateway:

route -n get default

Output example:

   destination: default
       gateway: <AP_IP>
     interface: en0
→ That's your gateway (router/AP IP)


Part 3: Configuring Network Settings on the Android TV

  1. On the remote, press the 9-box grid icon to open the settings/apps menu.
  2. Go to Settings > Network & Internet (naming may vary slightly by device).
  3. Select the Wi-Fi network matching your TL-WA1201 SSID (e.g. Demo-Private-Net) and connect using the password you set.
  4. Once connected, select the network again and choose Modify Network (or long-press / gear icon) to set it to Static/Manual IP.
  5. 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
  1. Save the settings.
  2. Confirm the Android TV shows as Connected with the static IP you assigned.

Part 4: Verifying Connectivity

  1. On your laptop terminal, ping the Android TV's static IP:
    ping <TV_STATIC_IP>
    
  2. If you get replies, the two devices can reach each other.
  3. Proceed with ADB:
    ./adb connect <TV_STATIC_IP>
    
  4. Accept the Allow prompt on the Android TV screen.
  5. Reconnect and verify:
    ./adb connect <TV_STATIC_IP>
    ./adb devices
    

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.