Offer hotspot service via the LAN ports (wired connection)

NOTE: after you turn the LAN ports to paid ports, you won’t be able to access the router’s admin page, only if you log in to the hotspot first.

Related article: How can we use our own internet without paying?

The solution is different for the hardware/firmware you are using, please click on the appropriate tab to check the examples:

Go to  Services > Hotspot > Hotspot System > Separate WiFi from The Lan Bridge > DISABLE (then press Apply Settings)

Turn off DHCP server: Setup > Basic setup > Network Address Server Settings (DHCP)   > DISABLE (then Save)

NOTE: If you are using virtual SSIDs in your setup, those will also be set to go through the hotspot authentication by setting the LAN ports to paid ports. Also, you have to renew your IP or reboot your computer to see the changes.

Note the port number that you connect to. Any PC connecting to this port should be configured for DHCP, not a static ip address.

Select Bridge > Ports tab > then click on the + sign and add the port to the HS_bridge

Untitled

Go to Hotspot > Configuration and set Hotspot Mode to LAN & Wireless.

Log into your router administrator settings and perform the following changes:

  1. Navigate to Network > Interfaces > click on the Edit button for the LAN network and scroll down at the bottom of the page and tick the “Disable DHCP for this interface” checkbox.UbiquitiLAN0
  2. Click on the “Physical Settings” tab and make sure that the following three checkboxes are ticked:creates a bridge over specified interface(s)
    Ethernet Adapter “eth0″ (lan)
    Wireless Network: Master “HotspotSystem.com” (wifi)

    Save and Apply the changes on the router.

    UbiquitiLAN1

  3. SSH to your router using a programme like PuTTY which is a free telnet/ssh client.You need to edit the “defaults” file located in /etc/chilli using the vi editor

    ubiquitiLAN2

    In that file you need to change the line “HS_LANIF=wlan0” to “HS_LANIF=br-lan“.

    ubiquitiLAN3

    Save and quit the vi editor.

That’s it! Now all the LAN ports on the Ubiquiti router will be offering the hotspot functionality.

20 10

5 Comments

  1. Rafael

    When I’m trying to access the “defaults” file located in /etc/chilli , i get permission denied. How do I fix that?

  2. James Julier

    You Can also do this on a MIkrotik by creating a bridge interface, then adding all the ports and wireless to this interface to joining them all together in a virtual switch. This to remember are that all your IP addresses and hotspots that may have previously resided on a ethernet or wireless interface should be moved to this bridge interface.

  3. Gerhard

    CoovaAP works fine on WRT54GL so far I am happy with that. I try to run the HotSpot Mode “LAN & Wireless”
    after save and configuration update I had no Internet connection. My Hotspot is a second router in cascading mode.
    Anybody has an idea how can fix this issue? Thank in advanced.

Leave a Reply to James Julier Click here to cancel reply.