Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #3108

Re: Cant' connect to router using telnet

From Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid>
Newsgroups comp.os.linux.networking
Subject Re: Cant' connect to router using telnet
Date 2014-09-30 15:11 +0000
Message-ID <c8vvg7Fnu2U1@mid.individual.net> (permalink)
References <20140927103349.78d1c686@johnnyspc> <c8qk46FjatmU1@mid.individual.net> <20140928100949.2d9874ca@johnnyspc>

Show all headers | View raw


On 2014-09-28, Johnny <johnny@invalid.net> wrote:
> On 28 Sep 2014 14:26:14 GMT
> Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> wrote:
>
>> On 2014-09-27, Johnny <johnny@invalid.net> wrote:
>> >
>> > I have a Motorola nvg589 and wanted to see if it's using bash.
>> > According to the user's manual, it has a CLI, and it even shows how
>> > to use telnet to connect and change he settings, but when I enter:
>> > telnet my/ipaddress, I get this error message:  telnet: could not
>> > resolve http://my.ipaddress/cgi-bin/remoteaccess.ha/telnet: Name or
>> > service not known
>> >
>> > I had remote access enabled when I tried this.
>> >
>> > My ISP is ATT Uverse.
>> 
>> http://community.arubanetworks.com/aruba/attachments/aruba/unified-wired-wireless-access/26009/1/Motorola%20NVG589%20VDSL2%20Gateway.pdf
>> [tiny url of above link, below:]
>> http://tinyurl.com/p94ymkr
>> 
>> Read pages 107 - 109 of this PDF.
>> Note if you have not changed the default gateway yourself
>> you would run below example in a terminal from a computer
>> running Mint[?] on your lan. 
>> 
>> telnet 192.168.1.254
>> 
>> You then need to login using username and password you setup with.
>> 
>> When logged in, you should see your terminal prompt change as
>> shown on page 108.
>
> I tried to get that manual from AT&T and Motorola, and neither one had
> it.  I was lucky enough to find it on line.
>
> I'm sure the problem is my firewall, when I try to use telnet, I can
> check the firewall logs and see the connection was dropped.

Problem is you do not have the telnet service enabled 
and a proper port number selected. My guess would be that 
the telnet port address is set to zero which disables telnet. 
By the way, this router has SSH available on it, 
If you need to remote admin this router from the WAN side, 
you should use SSH as this router/modem is capable of doing so.
You are at this point, just trying to admin the router using
a computer (GNU/Linux) which is connected to a LAN side interface
port on the router, ...right? 

Note that this router has two major command modes,
SHELL and CONFIG.(pg. 105) You can determine which mode 
you are in via the prompt. On (page 118) it shows how to
switch between the two CLI modes. (page 146) shows you how
to enable LAN management. In CLI Config mode you would type:

set management lanmgmt enable on 

At the bottom of (page 148) note the listed commands 
for the configuration of telnet. 
The manual mentions that by default the port is set to 0
which disables telnet. So from the CLI config
mode prompt you would type:

set management remote-access telnet-port 2323

2323 as an example. Then from a terminal on a computer connected 
to a LAN side port of the router you would type something like
this in CLI SHELL mode:

telnet 192.168.1.64 2323

Double check your Home Network page in GUI for proper gateway ip
address for the above. I have never had access to this model
router/modem, so I do not know if /all/ the settings are available
from the web interface GUI. You may only be able to manage certain
settings from the CLI.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Cant' connect to router using telnet Johnny <johnny@invalid.net> - 2014-09-27 10:33 -0500
  Re: Cant' connect to router using telnet Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-09-27 20:01 +0200
  Re: Cant' connect to router using telnet Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2014-09-28 14:26 +0000
    Re: Cant' connect to router using telnet Johnny <johnny@invalid.net> - 2014-09-28 10:09 -0500
      Re: Cant' connect to router using telnet Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2014-09-29 11:16 +0200
      Re: Cant' connect to router using telnet Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2014-09-30 15:11 +0000
        Re: Cant' connect to router using telnet Johnny <johnny@invalid.net> - 2014-10-03 09:58 -0500
          Re: Cant' connect to router using telnet Joe Beanfish <joebeanfish@nospam.duh> - 2014-10-04 15:16 +0000
            Re: Cant' connect to router using telnet Johnny <johnny@invalid.net> - 2014-10-04 12:04 -0500
          Re: Cant' connect to router using telnet Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2014-10-05 16:25 +0000
            Re: Cant' connect to router using telnet Johnny <johnny@invalid.net> - 2014-10-06 14:07 -0500
              Re: Cant' connect to router using telnet Kirk_Von_Rockstein <Kirk_Von_Rockstein@nowhere.invalid> - 2014-10-07 14:33 +0000

csiph-web