networking – tplink router: how to route default traffic to another specific IP

I have a tp-link router TD-W8960N 300Mbps Wireless N ADSL2+ Modem Router, which I use to connect to the internet via PPPoE. I have a backup internet connection with its own router, connected to the tp-link one through a LAN cable.

tp-link 192.168.1.1
backup router 192.168.1.2

What I want is changing the routing table when the first PPPoE connection is down, and routing all the incoming traffic on the tp-link to the second router, but I’m not figuring it out how. What I did is connecting via the telnet and do the following:

 > route show
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
81.174.0.21     *               255.255.255.255 UH    0      0        0 ppp2
192.168.1.0     *               255.255.255.0   U     0      0        0 br0
default         *               0.0.0.0         U     0      0        0 ppp2
 > route delete default 0.0.0.0
Invalid destination IP address
 > route add default 0.0.0.0 192.168.1.2
Invalid destination IP address
 > route add 0.0.0.0 0.0.0.0 192.168.1.2
Please at least enter gateway IP or interface

I also tried to add it via the HTTP interface, but it tells me that 0.0.0.0 is an invalid address. Maybe I can’t do it with this specific router and its firmware, but I don’t know. Any help is appreciated.

networking – How to set Open DNS settings on router Tp-Link ARCHER MR600 with a 4G network?

I’m trying to use OpenDNS to make my network safer. I use a TP-Link ARCHER MR600 which is a 4G modem router (I have a Sim Card inside it, I’m not on Adsl).

I created my account on OpenDSN.com but when I try to add my network here I’m told that

“you cannot add a network in private IP space”

The IP Address I entered was under the section Internet in the Basic -> Network Map page (see image 1)–>

image 1 - IP Address in the Network Map

I also entered the following command in the command line, by following a thread (what is this for?):

nslookup -type=txt debug.opendns.com

and I got the following output (I override the possible sensitive info with a custom message between < > ):

    Server:  UnKnown
Address:  10.202.0.1

opendns.com
        primary name server = auth1.opendns.com
        responsible mail addr = noc.opendns.com
        serial  = <a set of 10 number here>
        refresh = 16384 (4 hours 33 mins 4 secs)
        retry   = 2048 (34 mins 8 secs)
        expire  = 1048576 (12 days 3 hours 16 mins 16 secs)
        default TTL = 2560 (42 mins 40 secs)

C:UsersmyUserName>nslookup
Default Server:  UnKnown
Address:  <here there are 4 sequences of numbers separated by comma, like "00.000.0.0">

I also tried to change the DNS manually, but I noticed that my router control panel is missing the WAN section under the NETWORK Page, therefore I entered the LAN settings and found Primary DNS and Secondary DNS there, see image 2:

image 2 - DNS in LAN settings

As I can edit them, I substituted the 0.0.0.0. by entering some others indicated in the OpenDNS page, I saved and rebooted. But I still saw the old DNS server in the Network Map section (see image 1), so I reset to the factory settings.

I can’t figure out where I should go in order to set Open DNS:

  1. Should I change DNS manually from the router control panel? In this case, why do I see two different places with different DNS values and which one should I focused on? In any case, I can’t edit the DNS server in the Network Map (see image 1) and I miss the WAN section under “Network”.

  2. Should I change them from the OpenDNS web page? If yes, why I’m told that the IP is private? Did I add the wrong one or it’s a problem related to 4G modem routers or something else?

  3. What the nslookup -type=txt debug.opendns.com does and what does the output above mean?

networking – Cannot Access LAN through VPN on TPLink TL-R600VPN

I would like to use my TP-Link TL-R600VPN router to access my home network. Here is a rough sketch of my setup:

Network Topology

My internet service comes through a Hub that has built in modem, router and Mesh WiFi. The LAN on this router is 192.168.2.0/24. I have a couple of servers on this LAN that I need to be able to access while traveling.

I have connected the WAN port on my VPN Router to the Hub with a fixed IP address: 192.168.2.2. I have put this IP address into the DMZ on the Hub, and am successfully able to connect to my VPN router from outside. I have also connected one of the Ethernet ports on the VPN router back to the Hub.

Here is the problem. The VPN router does not let me assign remote connections an IP address within the same subnet (192.168.2.*) as its WAN port. I’ve configured the VPN router’s LAN as 192.168.3.0/24 so the remote connection gets an address in that range. Here is the routing table on the VPN Router:

ID  Destination IP  Subnet Mask     Next Hop    Interface   Metric
1   0.0.0.0         0.0.0.0         192.168.2.1 WAN1        0
2   85.203.37.1     255.255.255.255 192.168.2.1 WAN1        0
3   85.203.37.2     255.255.255.255 192.168.2.1 WAN1        0
4   127.0.0.0       255.0.0.0       0.0.0.0     lo          0
5   192.168.2.0     255.255.255.0   0.0.0.0     WAN1        0
6   192.168.3.0     255.255.255.0   0.0.0.0     LAN         0

I cannot reach the servers on home LAN (192.168.2.*) from a remote computer connected to the VPN Router.

What do I need to do to achieve this? Any help/suggestions would be greatly appreciated. One thing I should mention is that my Hub’s interface does not allow me to add any static routes, but the VPN Router allows static routes to be added.

networking – Use wi-fi as source of internet for TP-Link router

Short question: Is there a way for a router to use an existing wi-fi as source of internet instead of the internet cable from ISP?

Detailed explanation: I share my neighbour’s internet connection (due to the excessively high base price per connection charged by the only ISP who services my area). I have my own TP-Link router connected in Range Extender mode. Eventually, I realized that his router was getting old and randomly drops the connection sometimes. This causes the repeater (secondary router) to also go down. I understand that I can’t access Internet when his router is down, but I was wondering if there’s a possible way to configure my router such that the local connection between all devices connected to the secondary router stays alive even when the primary router goes down?

networking – Tp-link AC1900 wifi card with ubuntu 20.04

I can’t seem to get this to work on Ubuntu 20.04 kernel 5.4.0-40-generic (it works in Windows when I tested it).
It lists with lsusb as ‘TP-Link Archer T9UH v1 (Realtek RTL8814AU)’

I have tried
git clone https://github.com/zebulon2/rtl8814au.git;
sudo dkms add ./rtl8814au;
sudo dkms install rtl8814au/4.3.21

but received the message
“Good news! Module version v4.3.21_17997.20160531 for 8814au.ko
exactly matches what is already found in kernel 5.4.0-40-generic”

Any ideas? Thanks

TP-Link AC 1300 Driver details with a dual booting system?

Can you find the necessary driver online? My adapter works fine in windows mode, can I use windows to grab all onto flash drive and transfer over? – I am a first time Ubuntu user and already hitting a pretty big road block

internet – Scheduling method for guest network in TPlink (TD-W8960N) ADSL modem

I have the ADSL modem like this:
enter image description here

and i want to have one time scheduled sharing internet, but the TPlink page not have the time schedule as you can see here:

enter image description here

I have tried this upgrade file but no change in the guest network options.

And see the page of TPlink site which said Archer D2 and TD-W9980(B) have this option,

I was thinking to find some auto web scraping script to automatically open the guest network setting page on my modem page and tick this option in the modem every day, but i have doubt which, this work have bad effect on the modem and maybe this action reset it every day and damage it!.

So what methods do you suggest to do this?

Thanks.

firmware – Struggling to get my tp-link archer t2uh to function with kali linux

I am currently using Kali Linux with virtual box versions 2020.1 and 6.0.20 respectively. I have a tp-link archer t2uh that was working fine on my previous kali build with an older kernel. But since I did a fresh install of the os it has not been working.

(I am a complete newbie to Linux so please excuse my lack of understanding in certain areas)

First and foremost I know my card is recognized by kali, lsub recognizes a “MT7160U (“Archer T2U”) 2.4G+5G WLAN Adapter”

but ifconfig does not show any kind of wlan device…

so I decided to run a dmesg and found that the mt7610e driver was missing with error “usb 1-1: firmware: failed to load mediatek/mt7610e.bin”. I installed it in the right folder (/usr/lib/firmware/mediatek) and ran the dmesg again.

Kali found the driver “usb 1-1: firmware: direct-loading firmware /mediatek/mt7610e.bin” but two new errors appear at the bottom: “usb 1-1: vendor request req:06 off:0800 failed:-110” and “usb 1-1: firmware upload failed: -110″ followed by mt76x0u: probe of 1-1:1.0 failed with error -110″ and usbcore: registered new interface driver mt76x0u”

I have tried a dozen “fixes” from other online forums but I still get this same error code from dmesg. I have also tried a couple of different websites for the drivers with the same error.

Thank you for your help 🙂

Brute Force: Why do THC Hydra and Medusa give false positives when used on TP-Link Netcam?

I am a college student doing a senior project on IoT device security within an isolated network.

One of the tests I did was brute force, I already knew what the username and password was for a factory reset Netcam IP, but I wanted to see how it would work in practice and if it even worked on IoT devices.

The commands I used for both tools are as follows:

Medusa -h "IP Address" -u "Default Login" -P Desktop / rockyou.txt -n 80 -M http

Hydra -l "default login" -P Desktop / rockyou.txt -e ns -f -V "IP Address" http-get

Hydra seemed to work fine on other devices and would try to go through the entire list. But for this TP-Link Netcam it seemed that both tools would only partially go through the lists and sometimes give multiple false positives within the few attempts made.

While I no longer have access to these devices to continue testing, at least I would like to know if it was something I entered wrong. Or if the device has something that could stop this?

Any ideas would be highly appreciated, thanks for your time.

networks: Android phones connecting to TPLink TL-WR940N will not be able to use some applications

I am connecting to a TL-WR940N router using wifi. I can access all the websites and applications of Facebook, Telegram, Spotify, Netflix for Android, but I cannot use the Gmail application, the Google translation application and some other applications.
I have done some tests below

  1. I connect iPhones to the same wifi and try to use apps that I can't use on my Android phones. iPhones work well

  2. Connect Android phones to another wifi (different router). Now I can use gmail, google translation apps without any problem.

=> so I think there is a problem with TL-WR940N and Android, I have tried it on 3 Android phones and 2 iPhones, all Android will not work with Gmail and Google transate and iPhone will work as expected.
Has anyone experienced my problem?