Jump to content

Telnet - Newbies Guide/advice Needed


Wolfie

Recommended Posts

I need to get into my ISP Supplied modem and take a look at the settings - i have been advised that the best way to get these settings is to use TELNET

However, i'm not used to telnet, i vaguely remember using it sometime back in the late 80's - so i could do with some guidance/advice on what i need to do/how to do it...

I'm guessing i just fire up a CMD promt and type 'Telnet' to fire up the 'program' or do i need to do somethign else?

Anyone here a guru on the use of Telnet?

Link to comment
Share on other sites

telnet is only a terminal emulator. You connect to a host with the command 'telnet <ip address' and it connects.

Once you have a connection, the only thing telnet does is showing the data from the host on your screen and send your keyboard strokes to the host. That's it.

What to do next totally depends on the system you're connecting to. In case of your router it will probably be some stripped down version on unix. Try typing 'help' to get started.

Link to comment
Share on other sites

Telnet doesn't come with windows any longer :) Not in Vista, W2k has it but not sure about XP.

To be honest it's likely far easier to use the web interface that most routers have, try http://192.168.1.1/ in IE or Firefox.

XP still has telnet! Just open the command prompt (Run + CMD) and type telnet followed by the IP address of the router.

But you'd need detailed info on the router on how to go about changing settings!

Link to comment
Share on other sites

If it is a relatively new modem/router it should have a web interface accessible via any web browser.

Running ipconfig/all from a command prompt should give you the IP address - the modem/router is the default gateway on most small/home networks.

If it's a USB modem, the only way to change the config may be via software provided with the modem. If you don't have the software you shoyld be able to find it online.

Google the make and model for more info. Or post details here and someone may take pity on you, but its far quicker and easier to google it yourself.

ISP supplied modems are usually pre-configured, so not sure why you need to change anything, or whether the advice you've been given is valid.

Link to comment
Share on other sites

What i am trying to do is to get hold of the settings on my ISP modem and compare them to a new modem i have... (see the other thread about Linksys WAG160N) - as i have established that the Linksys modem settings are at fault. My idea is to compare all the settings from my ISP supplied modem, one by one, and try to figure out the difference - then either set the missing/incorrect setting in the Linksys myself or - if it is not settable - log a ticket with Linksys to help me fix the problem...

Both modems have a web interface, but the ISP modem has a cut down web interface and i was hoping that going in via Telnet i could 'view' the missing settings - you know how these ISP's like to prevent you from seeing/changing some settings. I wanna know what all these 'advanced' settings are pre-set to :)

Link to comment
Share on other sites

What i am trying to do is to get hold of the settings on my ISP modem and compare them to a new modem i have... (see the other thread about Linksys WAG160N) - as i have established that the Linksys modem settings are at fault. My idea is to compare all the settings from my ISP supplied modem, one by one, and try to figure out the difference - then either set the missing/incorrect setting in the Linksys myself or - if it is not settable - log a ticket with Linksys to help me fix the problem...

Both modems have a web interface, but the ISP modem has a cut down web interface and i was hoping that going in via Telnet i could 'view' the missing settings - you know how these ISP's like to prevent you from seeing/changing some settings. I wanna know what all these 'advanced' settings are pre-set to :)

The only settings required for adsl:

  • VPI/VCI circuit numbers
  • PPPoA or PPPoE setting
  • PPP username (usually <phonenumber@realm>)
  • PPP password

If the connection doesn't come up, try a mtu setting of 1452.

As for telnet versus the web-interface:

The web-interface enables everyone to configure a router with just the information mentioned above. In telnet, you will probably have to configure everything yourself, and you'll see settings that you didn't even know they're required!

The ISP should provide the IP address, default gateway and dns addresses.

Link to comment
Share on other sites

i get/have a connection - but it drops/reconnects every 10-15 mins - which the ISP modem does not.

I have tried all available firmwares (1.00.09, 1.00.10, 1.00.12) - before anyone suggests updating firmware :)

I've tried several MTU's ranging from 1300 upto 1500 (raising in increments of 25)

The VPI/VCI settings are correct as per the ISP's specifications, the 'Keep alive' setting is a default 30secs - The Wireless connection (local) is strong and i have no problems there (obviously internet access drops when the modems ADSL connection drops)

Any ideas guys?

/Edit: Here is the log file entries - in case anyone can gleen any information from them

Thu, 2009-04-30 23:29:35 - lcp echos pending >= lcp_echo_fails!

Thu, 2009-04-30 23:29:35 - No response to 3 echo-requests

Thu, 2009-04-30 23:29:35 - Serial link appears to be disconnected.

Thu, 2009-04-30 23:29:35 - Couldn't increase MTU to 1500. *** Note that the MTU is set to 1452 in the settings!

Thu, 2009-04-30 23:29:35 - Couldn't increase MRU to 1500

Thu, 2009-04-30 23:29:35 - LCP down.

Thu, 2009-04-30 23:29:41 - Connection terminated.

Thu, 2009-04-30 23:29:41 - Connect time 6.5 minutes.

Thu, 2009-04-30 23:29:41 - Sent 8198261 bytes, received 25538671 bytes.

Thu, 2009-04-30 23:29:41 - Doing disconnect

Thu, 2009-04-30 23:29:41 - Exit.

Thu, 2009-04-30 23:30:01 - Interface "nas0" created sucessfully

Thu, 2009-04-30 23:30:01 - Communicating over ATM 0.1.32, encapsulation: LLC

Thu, 2009-04-30 23:30:01 - Initialize LCP.

Thu, 2009-04-30 23:30:01 - Plugin pppoe loaded.

Thu, 2009-04-30 23:30:01 - PPPoE Plugin Initialized

Thu, 2009-04-30 23:30:01 - Plugin pppoe called.

Thu, 2009-04-30 23:30:01 - pppd 2.4.1 started by root, uid 0

Thu, 2009-04-30 23:30:01 - setting line discipline hook

Thu, 2009-04-30 23:30:01 - Sending PADI

Thu, 2009-04-30 23:30:01 - HOST_UNIQ successful match

Thu, 2009-04-30 23:30:02 - Got connection: 21f0

Thu, 2009-04-30 23:30:02 - Connecting PPPoE socket: 00:30:88:22:ef:37 21f0 nas0 0x1004e180

Thu, 2009-04-30 23:30:02 - using channel 8

Thu, 2009-04-30 23:30:02 - Using interface ppp0

Thu, 2009-04-30 23:30:02 - Connect: ppp0 <--> nas0

Thu, 2009-04-30 23:30:02 - Couldn't increase MTU to 1500.

Thu, 2009-04-30 23:30:02 - Couldn't increase MRU to 1500

Thu, 2009-04-30 23:30:02 - LCP is allowed to come up.

Thu, 2009-04-30 23:30:02 - Couldn't increase MRU to 1500

Thu, 2009-04-30 23:30:02 - PAP authentication success

Thu, 2009-04-30 23:30:02 - local IP address xxx.xxx.xxx.xxx

Thu, 2009-04-30 23:30:02 - remote IP address xxx.xxx.xxx.xxx

Thu, 2009-04-30 23:30:02 - primary DNS address 203.113.127.199

Thu, 2009-04-30 23:30:02 - secondary DNS address 203.113.24.199

Edited by Wolfie
Link to comment
Share on other sites

Nasty one. According to the log, the connection over the phone line drops. That's the (DSL-)link between your router and the DSLAM. Normally I would first look at the signal quality of the line (SNR and error counters), but you already mentioned that a different router works flawless on the same line.

There's not much to configure in a router for the basic dsl link. It's a physical link, which is completely handled by the chipset in the router (usually Alcatel or Broadcom chips).

In your router it's probably a dodgy chip - which can have any cause like power surges / lightning / anything else that can damage electronics.

Anyway, on this level there's nothing to configure. This chip only uses the VPI/VCI number to put a signal on the cable, the negotiation with the dslam is done by the chip itself.

Link to comment
Share on other sites

A friend of mine has the same modem/router - his disconnects every 8hrs (he is on KSC net connection, i'm on ToT) - i gave him my modem to test and he reported that it functions fine at his place (usual disconnect after 480mins) - as i test i have borrowed his unit and tried it at my place - same result - drops every 10-15mins

Ive ran a D-Link 2640T and the ISP router on this line - both operate fine, its just this *pig* of a router thats giving me hassle :)

Link to comment
Share on other sites

A friend of mine has the same modem/router - his disconnects every 8hrs (he is on KSC net connection, i'm on ToT) - i gave him my modem to test and he reported that it functions fine at his place (usual disconnect after 480mins) - as i test i have borrowed his unit and tried it at my place - same result - drops every 10-15mins

Ive ran a D-Link 2640T and the ISP router on this line - both operate fine, its just this *pig* of a router thats giving me hassle :)

Well. That's my last theory down the drain....

To be honest, I wouldn't know from here on. What brand/model did the ISP-engineers bring?

Link to comment
Share on other sites

A friend of mine has the same modem/router - his disconnects every 8hrs (he is on KSC net connection, i'm on ToT) - i gave him my modem to test and he reported that it functions fine at his place (usual disconnect after 480mins) - as i test i have borrowed his unit and tried it at my place - same result - drops every 10-15mins

Ive ran a D-Link 2640T and the ISP router on this line - both operate fine, its just this *pig* of a router thats giving me hassle :)

Well. That's my last theory down the drain....

To be honest, I wouldn't know from here on. What brand/model did the ISP-engineers bring?

Yeah looks like im screwed until Linksys fix this problem with a firmware update

My ISP gave me a Thompson ST536 v6 'Speedtouch' modem - looks like im gunna be using that for a while

someone wants to get a better ping? :D

Actually i was looking for a solid wireless, cos my old D-Link keeps dropping wireless all the time, it is 2 years old, time to retire it :D

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.










×
×
  • Create New...