Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2

Author Topic: How to see TP-Link or Billion modems on WAN cable of Asus DSL-N55U router  (Read 3870 times)

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

[Moderator note -- The first six posts of this thread have been split from Chysalis's Billion 8800NL - Guide How to Get Stats and Access GUI Over the WAN Cable thread.]



I am trying this on an ASUS DSL-N55U and a TP-Link WD-9970 with the secondary address of the TP-Link LAN set as 192.168.2.254 but can't get it to work. Help!
« Last Edit: June 21, 2017, 10:25:57 PM by burakkucat »
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

kitzuser87430

  • Reg Member
  • ***
  • Posts: 432

Banger... I will reply on this forum rather that TBB..

1) Set modem (TP-LINK or BILLION) IP address to 192.168.2.10 (I prefer not to use 192.168.2.254)
2) Open telnet prompt on ASUS and type the two commands in reply 2 on this thread

If these 2 commands do not enable access to modem , delete the interface and try the 2 commands in reply #3

You should then be able connect to the modem on 192.168.2.10 (This should then work with either modem)

Ian
Logged

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

Right so I entered the ifconfig command in telnet on the Asus except I had to use eth2:4 as my Wan port is on LAN port 4 and the firmware seems to lack eth0 when I look at the interfaces.

The command went through ok but I cant ping 192.168.2.10 just times out, any help?


eth2.4     Link encap:Ethernet  HWaddr E0:3F:49:97:43:68
           inet addr:192.168.2.253  Bcast:192.168.2.255  Mask:255.255.255.0
           inet6 addr: fe80::e23f:49ff:fe97:4368/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:284663 errors:0 dropped:0 overruns:0 frame:0
           TX packets:207339 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:323286474 (308.3 MiB)  TX bytes:56895821 (54.2 MiB)

eth2:4     Link encap:Ethernet  HWaddr E0:3F:49:97:43:6C
           inet addr:192.168.2.253  Bcast:192.168.2.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           Interrupt:3

How do I delete eth2:4 as it may be causing confusion?
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

Sorted I need to enter

ifconfig eth2.4 192.168.2.9 netmask 255.255.255.0

I can now ping and access the modem from my desktop with just the above command.

How do you make this permanent as saveall doesnt seem to work and the config is lost after a reboot?
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

kitzuser87430

  • Reg Member
  • ***
  • Posts: 432

Quote
How do you make this permanent

On the default asus firmware you probably cannot; you need a script to run a boot time.

How often do you need to reboot the router, just enter the two lines of code every time
Logged

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

I didn't need the two lines of code just the first one to enable me to see the modem on the WAN cable. My router has uptimes of 100s of days so not a problem to re-enter the line of code. Cheers. Think I will write this up as a new post.
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

This is a short post to enable users of the DSL-N55U router and similar to see the TP-Link TD-WD9970 and Billion 8800NL R2 on the WAN cable and get stats.

First set the modem in bridge mode if not already and set the IP address of the router/modem to 192.168.2.10 of the TP-Link or Billion.

Next open telnet to the Asus after enabling in the GUI on 192.168.1.1 (default). User and password are same as for GUI.

At the telnet prompt enter
Code: [Select]
ifconfig eth2.4 192.168.2.9 netmask 255.255.255.0
This is where the LAN4 port is the WAN port on the Asus router. Use eth2.1 for LAN1 etc.

giving:-

eth2.4     Link encap:Ethernet  HWaddr E0:3F:49:97:43:68
           inet addr:192.168.2.9  Bcast:192.168.2.255  Mask:255.255.255.0
           inet6 addr: fe80::e23f:49ff:fe97:4368/64 Scope:Link
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:110825 errors:0 dropped:0 overruns:0 frame:0
           TX packets:91002 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:104415615 (99.5 MiB)  TX bytes:9379910 (8.9 MiB)

Now ping 192.168.2.10 from the CLI to check connectivity.

You may need an extra line of code depending on your setup which is
Code: [Select]
iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.2.0/24 -j SNAT --to 192.168.2.253
But I didn't need the second line of code to enable getting stats and web page access on 192.168.2.10

I haven't found a way to save the settings yet if someone could suggest anything I am open to ideas. This just means the telnet command will need to be entered when the router reboots but Asus routers stay up for 100s of days so shouldn't be a problem.

Cheers

Tim
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

Rhubarb

  • Just arrived
  • *
  • Posts: 9

Banger, can you acccess the W9970's Webpage and get DSLStats to work with just the one line?

I'm playing with this and like you I can ping the modem from the router and computers on my network after entering my version of the first line:

ifconfig eth0:1 192.168.2.1 netmask 255.255.255.0

in my router (Asus RT-AC68U).

However I cannot access the modem's webpage on 192.168.2.1 or get DSLStats to access the modem. The webpage says that the modem has refused the connection and DSLStats says Unable to login to modem/router.

I've tried adding the second line:

iptables -t nat -I POSTROUTING ! -s $(nvram get lan_ipaddr) -d 192.168.2.0/24 -j SNAT --to 192.168.2.1 )

but it still doesn't work. I've tried turning Windows firewall & the Router firewall off and still no joy.



Logged
Plusnet Unlimited Fibre Extra Broadband - TP-W9970 - RT-AC68U

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

First I would check you havent restricted the modem by MAC ID or IP address as I did when playing with the TP Link settings it is very easy to do.

What I did was enable the LAN secondary address and set at 192.168.2.10 so you dont have to reboot and upset DLM.

I used 192.168.2.9 in the ifconfig command so try that after setting the secondary LAN address and you should be able to access on 192.168.2.10 not 9, I dont know why it just works over 1 cable both web GUI and DSLStats set at 192.169.2.10.

Not being able to save the config is annoying though as Asus like to reboot with a setting change.

Edit: I think what you are trying to do opening 192.168.2.1 on your computer is sending the web browser to the ethernet port and that will respond to pings try my above suggestion of 9 and 10.

Cheers
« Last Edit: June 21, 2017, 10:05:54 PM by banger »
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

Rhubarb

  • Just arrived
  • *
  • Posts: 9

Thanks for the reply.  :) Could you clarify what you mean by "secondary LAN address". Are you referring to the second subnet or some setting in the W9970? Cheers - Andy
Logged
Plusnet Unlimited Fibre Extra Broadband - TP-W9970 - RT-AC68U

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

Secondary lan address is under the place where you set the primary lan address.

Network/Lan Setting/Second LAN IP on the W9970 and set to 192.168.2.10 after enabling it with a mask of 255.255.255.0
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

I've found a vbs script to automate the process of setting up the Asus router for my setup here is a copy feel free to change it to your configuration. Should run natively under Windows 10.

Code: [Select]
set oShell = CreateObject("WScript.Shell")
oShell.run("Telnet")
WScript.Sleep 1000
oShell.SendKeys("Open 192.168.1.1 ")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys"admin"
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("PASSWORD")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000
oShell.SendKeys("ifconfig eth2.4 192.168.2.9 netmask 255.255.255.0 ")
WScript.Sleep 1000
oShell.SendKeys("{Enter}")
WScript.Sleep 1000

Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

Rhubarb

  • Just arrived
  • *
  • Posts: 9

Secondary lan address is under the place where you set the primary lan address.

Network/Lan Setting/Second LAN IP on the W9970 and set to 192.168.2.10 after enabling it with a mask of 255.255.255.0

Thanks.  :)  I'll have a look tomorrow. Cheers - Andy
Logged
Plusnet Unlimited Fibre Extra Broadband - TP-W9970 - RT-AC68U

banger

  • Kitizen
  • ****
  • Posts: 1186
  • TTB 80/20

Did you have a look Andy?
Logged
Tim
talktalkbusiness.net & freenetname
Asus RT-AC68U and ZyXEL VMG1312-B10A Bridge on 80 Meg TTB Fibre

https://www.thinkbroadband.com/speedtest/1502566996147131655

Rhubarb

  • Just arrived
  • *
  • Posts: 9

Did you have a look Andy?

Hi. Yep, I found and setup an alternative IP in the interface but cannot ping the address from a computer within the 192.168.1.x subnet. I can still get a response from 192.168.2.1 (due to the 'first rule') but nothing from the alternative IP - 192.168.2.10. I haven't had any time to do anything else today I'm afraid. I'll hopefully get back to it in the next day or so. Cheers - Andy
« Last Edit: June 22, 2017, 09:46:45 PM by Rhubarb »
Logged
Plusnet Unlimited Fibre Extra Broadband - TP-W9970 - RT-AC68U
Pages: [1] 2
 

anything