Posts

How to configure a PPPoE Server on TP-LINK Router

Image
Configuring PPPoE Server on TP-LINK Router     Step 1 :   Access the router’s management webpage, go to  Services->PPPoE Server .     Step 2 :  Enable  PPPoE Server , enter”8.8.8.8” for DNS Server in this example. Step 3 :  Look for  Authentication , here we selected  Local . Step 4 :  Look for  Auth Protocol , there are PAP, CHAP, MS-CHAP, MS-CHAP v2, we picked them all in this example. Step 5 :  Click on  Save . NOTE  :  If Dial-up Access Only is enabled, only the dial-in users can access the Internet; If PPPoE User Isolation is enabled, the dial-in users will be unable to communicate with each other. Step 6 :  Go to  IP Address Pool , enter  “test”  for Pool Name and  ”172.31.10.10-172.31.10.20”  IP Address Range, and then click on  Add. NOTE:  IP Address pool must be different range from LAN IP address range  . Step 7 :...

How do I configure wireless G Access Point to wireless AP-Client mode?

Image
Definition : The Access Point is connected to another device via Ethernet cord and acts as an adapter to send/receive the wireless signal from your wireless network.   Step 1 Connect your computer to TL-WA501G/TL-WA601G, and then log into the Webbased Utility by entering the IP address  192.168.1.1  into Web Browser.   If you cannot log into the Web-based Utility, please click  here  and follow the instruction for a try.   Step 2 Change the LAN IP address of the access point (TL-WA501G/TL-WA601G) to avoid IP conflict if necessary. Please refer to  FAQ_173  for some detailed information. After changing the IP address of your access point, you need to re-log into it by using the new IP address.   Step 3 Configure the wireless mode to Client and connect to the wireless network. 1. Click  Wireless  ->  Wireless Mode  on the left, select Client. Note : If the wireless router or Ac...

How to configure TL-WA501G/TL-WA601G/WA500G as a repeater(range extender/range expander)

Image
TL-WA501G and TL-WA601G can be configured as a repeater. The repeater extends the range of the wireless network by relaying the wireless signal of the remote Access Point or Wireless Router. NOTE:  In the following sections, TL-WA501G/TL-WA601G is represented as “ REPEATER ”, and the wireless device to be repeated is represented as “ main AP ”. To configure the access point as a wireless repeater, please connect your computer to the REPEATER’s LAN port via an Ethernet cable (wireless connection isn’t recommended to use for configuration). Then you need to perform five procedures: Assign a static IP address for your computer. Change the REPEATER’s IP address to fit your main AP’s network. Change your computer’s IP address to fit your main AP’s network. Configure repeater mode on the REPEATER. Wireless Security settings. NOTE:  Procedure  2  and  3  are required because we need make sure that both the computer and the REPEATER are in t...

MikroTik – Configuration backup and forward on Gmail Account.

Image
In this new article, we’ll be able to send an e-mail Gmail, an automatic daily backup of our systems MikroTik. n. 1  MikroTik RB951-2n ; The RouterBoard is updated with the firmware version 3.10 and with RouterOS 6.20. 1° Step  – Add in  System/Script  a new script that will call  backup_mail  Fig. 1. 2° Step  – Inside the Script window  we copy the following script, remembering to replace the parameters in bold with the credentials of our e-mail Gmail Fig.2. :log warning “Start Backup MikroTik Router . . . “ :global backupfile configbackup :global mikrotikexport mtexport_backup :global sub1 ([/system identity get name]) :global sub2 ([/system clock get time]) :global sub3 ([/system clock get date]) :global adminmail1  your_email@gmail.com :global gmailid  your_email@gmail.com :global gmailpwd  your_password :global gmailip :set gmailip [:resolve “smtp.gmail.com”]; :log warning “Creating a new...

Java Home Directory Fail Issue on Ubuntu – RESOLVED

Java Home Directory Fail Issue on Ubuntu – RESOLVED For those of you who’re building your Ubuntu from scratch or even if you did like me and install UniFi on an AirVision NVR, , you might or might not get this after installing UniFi Controller *Setting Java Home….fail If that do happen, this might be because since the new Ubuntu, the name of the Java homedir changed according to the CPU architecture used and UniFi is using a hard-coded variable for the Java path in its startup script for some reason. You should change the homedir by editing the init script. (We won’t get into much detail about what is init) 1. Open the init script sudo nano /etc/init.d/unifi 2. Scroll down with your arrow key, look for a variable called JAVA_HOME=/usr/lib/jvm/java-6-openjdk 3. Add your instance architecture type after that string. For example, I’m using amd64bit in my instance, the string should become JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64 DO NOT touch anything else. 4. After the ...

Ubiquiti airVision, airCams & “Unsupported Firmware” Errors

Image
I have always been a big fan of the  Ubiquiti  AirVision-2 software and especially the  AirVision-C NVR .  I have an installation at my office, my home and my cabin in Colorado.   Many of you have seen the images and video I have captured of the huge Elk that hang out at our cabin in Estes Park.  Today, I went to check on our home in Texas and I was greeted by this: “Unsupported Firmware” simply means the version of firmware running on the cameras is no longer compatible with AirVision.  In my case this happened automatically because I had the settings configured to automatically check for firmware updates and install them. When Ubiquiti introduced the UniFi cameras, they also released UniFi Video, not compatible with airVision firmwares.  Apparently, there is no mechanism in place to prevent the upgrade to the UniFi Video software so the cameras upgraded and thereby broke my airVision installation.  Of course, I have the auto-upgra...

MikroTik Automatic Failover Two Gateways

There’s a million ways to do this on the wiki and the web but none of them fit my particular application.  Let me explain: 1.  The weak point in my network was an AirFiber 24 upstream from the tower I am connected to wirelessly.  This is the link that goes down in heavy rain causing an outage at our office to PROVIDER1.  We have a backup connection through a second provider that is slower but being 5GHz doesn’t drop in the rain, PROVIDER2. The network is like this: [MikroTik CCR1036-12G-4S] —[RBSXT]—[RBOmniTikU-5HnD[—[AF24]—[PROVIDER1] —[RBSXT]—[PROVIDER2] 2. Simple floating static routes with check gateway doesn’t help because on PROVIDER1 we never drop our 5GHz connection to the tower, it’s the upstream link that fails. 3. I tried recursive routes and it works but the failover was still lacking and seemed sporadic at best. 4. When failover did occur, the VOIP PBX would hold the connection open through the dead provider and some phones in the off...