JUser: :_load: Unable to load user with ID: 3490
Print this page
Sunday, 27 July 2014 22:08

Setting up a wireless hotspot using TP-Link TL-MR3020 Wireless N Router

This is a guide on how to setting up a simple wireless hotspot using a TP-Link TL-MR3020 3G/4G Wireless N Router installaing with NoDogSplash. The goal is to provide a free hotspot with a splash page to advertise who is providing the hotspot, it should work as well for other OpenWRT supported router.
OpenWRT Firmware
The router firmware must upgrade to OpenWRT before you can installing the NoDogSplash.
  • Download the OpenWRT firmware for TP-Link TL-MR3020 to the computer.
  • I'm download openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin to my computer since my router hardware version is Version 1.
  • Connect the router to the computer via a network patch cable.
  • Launch the browser and navigate to which is the default IP for TP-LinkTL-MR3020.
  • Log in to router, enter admin for both User Name and Password.
  • Click on System Tools and select Firmware Upgrade
  • Click on Browse button and choose the OpenWRT firmware that you had downloaded to your computer.
  • Finally click on Upgarde button to start the firmware upgrading as shown in figure below.
    Firmware upgrade
Login to OpenWRT
  • Navigate to (notice that the IP had been changed from
  • Click on Login button without enter any password.
  • For first time login, please click on Go to password configuration to change the password and SSH will be enabled automatically.OpenWRT Login
  • As shown in figure below is the OpenWRT status for my TP-Link TL-MR3020
    OpenWRT version
Overview of my network setup
For security purposes, it is setup to two different IP ranges on the network, so the external network will not link to my internal network. Here’s an overview of my network setup.
  1. AP (existing WIFI with internet connection):
  2. TP-Link TL-MR3020:
Network configuration
Changing the router IP address
  • Select Network->Interfaces and click on Edit button as shown in figure below.
    Network interfaces
  • Change to desired network IP, I'm using for my router.
    Change network interface
  • Reboot the router and waiting the router to boot up.
  • Renew your computer IP and matching with the router IP range.
Connect to the internet
The computer is connected to the TP-Link TL-MR3020 router via a network patch cable, there is no other spare network (RJ45) port on the route since it has only single network port. To make the router on-line, I have to use its WIFI to link to my AP (home WIFI).
Note: With the following configuration, the TP-Link TL-MR3020 is configured to client mode, your internet may not work correctly if you setting the TP-Link TL-MR3020's IP range same as your AP.
  • Navigate to (use your own router IP) and login to OpenWRT.
  • Select Network->wifi and click on Scan button.
    Wireless Overview
  • Click on Join Network button which is associate to your AP (your home WIFI)
    Join Network
  • Enter key/passphrase which is matching to your existing AP and click on Submit button.
    Join Network Settings
  • Do not change any settings for the next screen, just click on Save button and continue.
    Wireless Network
  • Click on Wireless Security tab to view your network security settings (this step is not necessary)
    Wireless Network Security
  •  Finally click on Save & Apply button, the changes will take effect immediately.
  • After the router is ready, you shoud able to surf internet from your computer which is connected to the TP-Link TL-MR3020 via a network patch cable.
Setup a public WIFI
Offering wireless Internet access for guests (public),  the TP-Link TL-MR3020 router must configure as CLIENT mode and AP mode at the same time.
  1. When TP-Link TL-MR3020 router work as a client, it connect to your existing AP (home WIFI) wirelessly.
  2. When TP-Link TL-MR3020 router work as an AP, it offer free Wireless Internet Access for  guests.
The following steps adding an AP network interface to the router.
  • Select Network->wifi and click on Add button as shown.
    Adding a new wireless network interface
  • Enter your ESSID, this is the network name for guests to access your internet (link to TP-Link TL-MR3020).
  • The network is not selected by default, make sure you have select the lan as shown in figure below.
    Setting the wireless network interface
  • Click on Wireless Security tab to allow you to set the security key for your SSID, I leave it to No Encryption since it is open for public access.
    Setting the Wireless Network Security
  • Reboot the router, when the router is ready, any one is able to connect to the TL-Link TL-MR3020 via WIFI with the 123 SSID.
    Available wireless
Installaing NoDogSplash
NoDogSplash offers a simple way to open a free Hotspot (WIFI) providing restricted access to an Internet connection. NodogSplash is similar to NoCatSplash, but based on WifiDog.
  • Make sure your TP-Link TL-MR3020 have internet connection.
  • Click on System->Software and click on Available packages tab,  notice that there is no packages list available.
  • Click on Update lists button on the same screen allow it to download and install OpenWRT packages from local package repositories or ones located in the Internet.
  • Click on Available packages tab again, there is a list of available packages for you to install
    Available Packages
  • Enter the package name in the Filter text box to find out the package that you want to install.
  • Here we enter nodogsplash and click on Find package button since we want to install NoDogSplash.
    Install nodogsplash
  • Click on Install button as shown in figure above to start installing NoDogSplash. NoDogSplash installing successful as shown in figure below.
    Installing NoDogSplash successful
Starting NoDogSplash
You must enable NoDogSplash before you can use NoDogSplash.
  • Select System->Startup, click on Disable button next to nodogsplash as shown in figure below.
    System Startup
  • Click on Restart button to start NoDogSplash service as shown in figure below, the service is take effect inmmediately (NoDogSplash may consist of bug, sometime you need to restart twice in order to start the service correctly, but there is no problem if you reboot the router).
    Restart nodogsplash
  • Navigate to any website (eg. google.com or your router IP), the NoDosgSplash splash page (landing page) should appear.
    NoDogSplash splash page
  •  Click on the NoDogSplash icon to start surfiing internet.

Customise splash page
The splash pages (landing page) is stored on /etc/nodogsplash/htdocs/ directory. Edit the splash.hml file to customize your "splash page". I'm using WinSCP to edit files on the router. You can use standard html and javascript for coding.

Navigate to your router IP with port 2050 to view your splash page before or after authentication. Use this to test your splash page.
NoDogSplash configuration file
NoDogSplash should work very well without any changes to the configuration file, however you may want to modify this file to adequate your free WIFI network system.
The NoDogSplash configuration is store on the /etc/nodogsplash/nodogsplash.conf file.
GatewayInterface at line 14 is set to br-lan by default, br-lan or br0 are used to make multiple virtual or physical network interfaces act as if they were just one network interface. With the GatewayInterface set to br-lan, NoDogSplash is bind to wireless and wired interface.
GatewayInterface br-lan
You may want to access to certain port after authentication. Adding the following two lines inside FirewallRuleSet authenticated-users (after FirewallRule allow tcp port 22 at line 55) allow the Gmail to send and receive email using an email client software (eg. Microsoft Outlook).
FirewallRule allow tcp port 995
FirewallRule allow tcp port 465
You may want to access to certain IP address before  authentication. Adding your router IP address inside the  FirewallRuleSet preauthenticated-users section (at line 89) allow you to login to OpenWRT web interface without  authentication.
FirewallRule allow tcp port 80 to
Open port 443 allow you to access https webpage before authentication. Adding the following two lines inside FirewallRuleSet preauthenticated-users section (at line 89) allow you to access facebook without  authentication.
FirewallRule allow tcp port 443
FirewallRule allow tcp port 80 to


You may want to redirect the URL to your own website after authentication. Example below will redirect the URL to my personal website after authentication.
RedirectURL http://www.ediy.com.my
You may want to force the guests to see the splash screen after certain amount of time. Adding following lines will fource the guests to see the splash screen at least every two hours (120 minutes).
ClientIdleTimeout 120
ClientForceTimeout 120
NoDogSplash status
SSH to router, you will able to show a lot of nice info.
ndsctl status
Here is the example of output.

NoDogSplash Status
Version: 0.9_beta9.9.8
Uptime: 0d 5h 42m 3s
Gateway Name: NoDogSplash
Managed interface: br-lan
Managed IP range:
Server listening:
Splashpage: /etc/nodogsplash/htdocs/splash.html
Redirect URL: http://ediy.com.my
Traffic control: no
Total download: 0 kByte; avg: 0 kbit/s
Total upload: 0 kByte; avg: 0 kbit/s
Client authentications since start: 6
Current clients: 2

Client 0
IP: MAC: 00:11:22:33:44:55
Added: Mon Jul 28 07:26:51 2014
Active: Mon Jul 28 07:56:41 2014
Active duration: 0d 0h 29m 50s
Added duration: 0d 0h 29m 50s
Token: 9660d3fc
State: Authenticated
Download: 2170 kByte; avg: 9.69893 kbit/s
Upload: 401 kByte; avg: 1.79455 kbit/s


Client 1
IP: MAC: 11:22:33:44:55:66
Added: Sat Jul 19 12:23:34 2014
Active: Sat Jul 19 12:29:15 2014
Active duration: 0d 0h 5m 41s
Added duration: 0d 0h 5m 41s
Token: ac37311a
State: Authenticated
Download: 1575 kByte; avg: 36.9634 kbit/s
Upload: 169 kByte; avg: 3.96788 kbit/s


Blocked MAC addresses: none
Allowed MAC addresses: N/A
Trusted MAC addresses: none

Read 60413 times Last modified on Thursday, 21 September 2017 16:56


  • Comment Link Clurce Thursday, 22 August 2019 12:57 posted by Clurce

    Нам известно, что он-лайн-знакомства довольно часто они не дают желанного результата, потому мы сформировали собственный онлайн-сервис с единственной идеей: сделать online-знакомства бесплатными, легкими и увлекательными для всех без исключения. Абсолютно не можете найти свою вторую половинку?
    Но существует отличная замена этому - онлайн-ресурсы знакомств без учетной записи в Российской федерации. Возможно в любое подходящее вам время дня увидеть родственную душу без особых затруднений на данном спец сайте в режиме онлайн, где множество граждан каждый день знакомятся друг с другом.Даже пару минут милого обычного человеческого общения сумеют изменить вашу реальность, в ней, наконец, поселится страсть и удовольствие.
    Не важно, где вы лично пребывайте, в России либо в другом крае, у вас есть возможность завести знакомство с мужчиной или дамою из Российской федерации.
    Для этого не нужно осуществлять процедуру регистрации на вебсайте, с тем чтобы получить доступ к базе данных.

    Мы знаем, что интернет-знакомства очень часто они не приносят желаемого эффекта, поэтому здесь мы основали российский интернет-сервис с одной задачей: сделать онлайн-знакомства бесплатными, легкими и увлекательными в интересах всех без исключения. Еще не можете встретить свою вторую половинку?

    Кстати существуют современная замена этому - страницы вэб-сайтов знакомств не регистрируясь в Рф. Возможно в подходящее для вас лично время подыскать родственную душу легко на этом спец интернет-сайте, где массу современных людей повседневно контактируют между собой.Только пару минуток приятного контакта позволят поменять вашу сегодняшнюю реальность, в ней, наконец, появится любовь и наслаждение.
    Независимо от того, где вы всегда находитесь, в Российской федерации или в ином крае, у вас имеется возможность знакомиться с мужчиной либо женщиной из Рф.
    Для этого не обязательно осуществлять процедуру регистрации, дабы получить доступ к базе данных.
    Все переписки и знаки заинтересованности в виде даров являются конфиденциальными.
    Если у вас особое желание отыскать другую половинку намного раньше, создайте ВИП аккаунт, на котором имеется услуги личных характеристик. Для тех людей, кто не любит спешки в поиске родного человека, сможет радоваться приятным общением. Подарите для себя шанс быть счастливым.

    Сайт знакомств Бийск - [url=https://simpotka.ru]badoo сайт знакомств вход[/url]

  • Comment Link maid service Saturday, 17 August 2019 20:10 posted by maid service

    The cleansing company carries out cleansing of rooms of different sizes and arrangements.

    The business's professionals give cleaning with the help of contemporary innovations, have unique devices, and also have licensed detergents in their arsenal. In addition to the above advantages, wines use: desirable rates; cleansing quickly; top quality outcomes; greater than 100 favorable reviews. Cleansing workplaces will aid maintain your work environment in order for the most productive job. Any company is exceptionally vital environment in the group. Cleansing services that can be bought cheaply currently can aid to organize it as well as supply a comfortable space for labor.

    If required, we leave cleaning up the kitchen area 2-3 hrs after positioning the order. You get cleaning immediately.

    We give professional [url=https://maidservicenyc.pro/]housemaid[/url] for personal customers. Using European devices as well as accredited devices, we attain optimal outcomes as well as provide cleaning in a short time.

    We offer discounts for those who make use of the solution for the very first time, along with favorable regards to participation for regular customers.

    Our pleasant team uses you to get accustomed with positive regards to collaboration for business customers. We sensibly approach our activities, clean making use of specialist cleansing items and specialized devices. Our workers are educated, have medical books as well as recognize with the subtleties of eliminating complex and hard-to-remove dirt from surfaces.

    We supply premium cleaning for big ventures and also small companies of different instructions, with a price cut of up to 25%.

  • Comment Link cleaning agency near me Sunday, 11 August 2019 18:41 posted by cleaning agency near me

    The cleaning firm performs cleansing of areas of different sizes and setups.

    The business's professionals supply cleaning up with the aid of contemporary innovations, have special devices, and likewise have accredited detergents in their arsenal. In addition to the above advantages, white wines supply: positive rates; cleansing quickly; top quality outcomes; more than 100 favorable testimonials. Cleansing workplaces will certainly aid keep your workplace in order for the most efficient job. Any type of business is very crucial ambience in the group. Cleaning up services that can be bought cheaply currently can help to arrange it as well as offer a comfy room for labor.

    If needed, we leave cleansing the kitchen 2-3 hours after placing the order. You obtain cleaning as soon as possible.

    We give specialist [url=https://maidservicenyc.pro/]maid service company[/url] for exclusive clients. Utilizing European tools as well as licensed devices, we achieve optimal outcomes and supply cleaning quickly.

    We provide price cuts for those that use the service for the first time, as well as beneficial terms of teamwork for normal clients.

    Our friendly team offers you to obtain familiarized with positive regards to collaboration for company customers. We properly approach our tasks, clean utilizing professional cleansing products and specific equipment. Our workers are trained, have clinical books and also recognize with the nuances of eliminating complex as well as hard-to-remove dust from surface areas.

    We supply top quality cleansing for large ventures as well as little firms of various directions, with a price cut of up to 25%.

  • Comment Link Zakaria Saturday, 24 March 2018 07:56 posted by Zakaria

    Hello Brother,

    I already installed the nodosplash on my MR3040, and it worked perfectly, my question and request is how can I put my personal "captive portal" I created one and has a index.html page and css folder and images folder, but when I put it inside the htdocs directory of nodogsplash it doesn't work, when I renamed the index.html to splash it works but without css animation and some pictures are not appearing.
    So can you help me please, on how can I do it properly, is there any places in my css files should I rename index to splash or is there any location in the config files where should I define splash page as the page with "index" name.
    Thank you

  • Comment Link Martin Wednesday, 10 January 2018 22:35 posted by Martin

    I am using Unifi AP flashed to OpenWrt Barrier Breaker 14.07.
    As far as i understand, my first mistake was trying to set up nodogsplash to router, not AP.
    I tried guide at official site https://wiki.openwrt.org/doc/howto/wireless.hotspot.nodogsplash (down: NoDogSplash on OpenWRT 12.09+ Access Point)
    but failed, since the steps arent explained much and im not good with this stuff. Is there possibility that you will create some day guide for AP ? If not, could you please explain a bit further the steps ?

    Sorry for inconvinience, many thanks for your time and replies.

  • Comment Link admin Wednesday, 10 January 2018 17:17 posted by admin

    Are you using TL-MR3020?
    Please check you nodogsplash.conf file, is line 14 "GatewayInterface br-lan" enable?

  • Comment Link Martin Monday, 08 January 2018 23:17 posted by Martin

    Hello, i followed the steps but when i connect to Access point, im allowed to browse internet without showing splash page. It only shows splash when entering ip address of router running nodogsplash. How can i achieve to show splash page (or jus tredirect to some url without splash) after connecting to Access point ?

  • Comment Link admin Thursday, 21 September 2017 16:58 posted by admin

    What is your hardware version?

  • Comment Link Jono Wednesday, 20 September 2017 18:08 posted by Jono

    i flashed the openwrt file and my router re-booted. after that I can't connect via or any other ip (there is no ipv4 registered under LAN status).. The lights on my mr3020 = the power light and WPS light are on constantly (no blinking after inital boot)

    Is my router now bricked? I used the firmware version you told me to install.

    Please help me out.


  • Comment Link Steve Thursday, 20 October 2016 14:58 posted by Steve

    I want every time the wifi user must authenticate itself to captive portal not one time only, tell me how to d it?

  • Comment Link Maritza Friday, 25 March 2016 03:33 posted by Maritza

    Appreciation to my father who shared with me concerning this weblog, this blog is really remarkable.

  • Comment Link Elvira Thursday, 25 February 2016 01:46 posted by Elvira

    Useful info. Fortunate me I discovered your site by accident, and I'm stunned why this
    twist of fate didn't came about in advance! I bookmarked it.

  • Comment Link admin Wednesday, 24 February 2016 17:45 posted by admin

    I have never used bandwidth control myself, you can take a look on the Network Traffic Control page.

    and the plain simple bandwidth sharing example.

  • Comment Link Joyel Tuesday, 23 February 2016 18:06 posted by Joyel

    How to limit data usage in TP-Mr-3020 based on downloading & uploading....to different users... Its [possibe in OpenWRT using nodogsplash or any other.....

    Please guide me...

  • Comment Link admin Monday, 22 February 2016 22:32 posted by admin

    What is your router hardware version & what is the OpenWRT version you are using?
    I'm using OpenWRT Attitude Adjustment 12.09 without any problem.
    If you are using Chaos calmer 15.05, you should download the ipk packages (libpthread &iptables-mod-ipopt)and installing manually.

  • Comment Link Joyel Monday, 22 February 2016 20:07 posted by Joyel

    Thanks for your Immediate Replay..
    Now Error Rectified, But Nodogsplash not installed,, Following Error Message Notified...

    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for nodogsplash:
    * libpthread * iptables-mod-ipopt *
    * opkg_install_cmd: Cannot install package nodogsplash.

    Please guide me

  • Comment Link admin Monday, 22 February 2016 19:13 posted by admin

    Use telnet instead WinSCP since SSH may have disabled.
    Can you ping the router in failsafe mode?

    Read this if problem remained:

  • Comment Link Joyel Monday, 22 February 2016 18:09 posted by Joyel

    in failsafe mode,,, my system IP Changed, But after that also not connected,, Error ssage shown as "Connecting to is refused" in winSCP...please guide me

  • Comment Link admin Saturday, 20 February 2016 22:58 posted by admin

    Set your computer to static IP.
    Your router IP should be or
    Read this to recover your router:

  • Comment Link Joyel Saturday, 20 February 2016 15:23 posted by Joyel

    I connected in failsafe mode, but how to start mongoose http server, its displayed in notification panel & in that only three process only shown...like Install service, start browsing on port 8080, Edit settings.... how to do that.... Please Guide me....