1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WAG354G Telnet

Discussion in 'Other Linksys Equipment' started by 4square, Jan 12, 2007.

  1. 4square

    4square LI Guru Member

    I am having problems with my internet connection and I want to use ADSLMonitor. To do this I need to use telnet. However, I cannot telnet the router. I get the following message:
    Could not open connection to host, on port 23: Connect failed.

    I have tried disabling all firewalls and that makes no difference. I have tried specifying a different port and, whilst I don't get the message, I don't get the prompt for my username and password either.

    Any help appreciated.
    Thanks.
    Chris
     
  2. masterb

    masterb LI Guru Member

  3. 4square

    4square LI Guru Member

    Thanks :) I do have a version 1 Annex A.

    I have downloaded the file and it has a .tar.tar ending to it. The normal firmware is a bin file. Do I just change it to .bin or do I need something to extract it? Or is there another way to upgrade the firmware?
     
  4. masterb

    masterb LI Guru Member

    the file is tar.bz2, and is a compression used in linux. However maybe I should just have used "zip". Do this:
    1)download winrar, you should be able to decompress tar.bz2 archives.
    2)take a look at the README file with a text editor.
    3)Download http://www.toast442.org/md5/ program to calculate the md5 checksum. Control that the checksum string is the same of the one written in the README file.
    4)flash the .bin file
     
  5. 4square

    4square LI Guru Member

    Thanks I now have telnet access :)

    Is there any reference document that describes what the commands do?

    Specifically I am looking for adsl status information.
     
  6. masterb

    masterb LI Guru Member

    hi, you have to know that wag354g runs linux.
    1)if you dont wanna bore yourself with long descrption type:
    cd / (enter)
    cat /proc/avalanche/avsar_modem_stats (enter)
    After that, scroll up till you get the beginning of the file
    Wanna other info?
    type:
    cat /proc/avalanche/avsar_ (hit tab)
    a list of other files appear, simply type their name to get the content
    Wanna more info?
    type:
    cat /proc/avalanche/ (hit tab)
    ...
    cat ...the same as first ... in the /proc folder, there are all the info about wag.

    2)long and boring description
    If you are familiar with linux, you can use most of the basic commands you would use on a linux desktop pc.
    Anyway, I think you are not familiar with it. I hope you have used at least dos some time. In poor word, you type something, hit enter, and you get an answer. After the answer, you can again type something, and so on.
    Most of commands you can type are here:
    http://en.wikipedia.org/wiki/List_of_Unix_programs#Filesystem_Utilities
    As windows, linux has a set of folders, where you can navigate in. In windows, the root is c:. Here instead, the root is /.
    If you know dos, these are the equivalent on unix:
    dir=ls
    cd=cd
    del=rm
    type=cat
    more? ask google :)
    So if you wanna info on the router, simply navigate in the /proc folder. So:
    cd /proc (enter)
    ls (what's inside here?)
    cd _foldername_ enter in a folder
    cat _filename_ list (content of a file) or cd _anotherfolder_
     
  7. 4square

    4square LI Guru Member

    Thankyou, thankyou, thankyou......:halo:

    I have used CLI with other routers and I know nothing about linux. Your help is greatly appreciated.

    Chris
     
  8. maddogza

    maddogza LI Guru Member

    Hi, the link above doesn seem to be alive any more. Does anyone else have a link that i could use?
     
  9. masterb

    masterb LI Guru Member

  10. maddogza

    maddogza LI Guru Member

    Got it. Thanks alot.. i will enjoy playing with the router now :)
     

Share This Page