Results 1 to 8 of 8

Thread: Telnet to WL-500b/g, SSH

  1. #1
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270

    Telnet to WL-500b/g

    Find the detailed instructions here: http://erhnam.demon.nl/asus-wlan-hack/ . Alhough the webpage is dedicated to WL-300, I can confirm the Telnet daemon activation works fine on the WL-500b (1.6.4.6, 1.6.5.3) as well

    Update: The FTP root trick does not work on new 1.7.5.6 firmware anymore...
    Last edited by Technik; 24-03-2004 at 15:03.

  2. #2
    Join Date
    Nov 2003
    Location
    Eindhoven
    Posts
    2,407
    i've written those instructions (almost.. modified from the wrt54g shell hack into 'hack' for the WL-500g) the wl500g or wl300g do not differ that very much, that's why it works at both wl's

  3. #3
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89

    Re: Telnet to WL-500b/g

    Originally posted by Technik
    Find the detailed instructions here: http://erhnam.demon.nl/asus-wlan-hack/ . Alhough the webpage is dedicated to WL-300, I can confirm the Telnet daemon activation works fine on the WL-500b (1.6.4.6) as well
    hummm, the content on this page looks familiar ...
    but for something completely different (or not). After reading the Seattle wireless pages I got an ssh daemon running on the WL500g by using a USB flash drive. I will post the instructions and start script asap.
    Attached Images Attached Images  

  4. #4
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89

    Re: Re: Telnet to WL-500b/g

    OK here it is:
    • Copy sshd.zip (http://members.chello.nl/~m.kuystermans/sshd.zip) to Flash drive
    • extract zip file, directory structure should be preserved
    • run telnet
    • goto /mnt/usbfs/sshd/mipsel/etc
    • execute the following commands (this takes a while, this is not a P4 2.4GHz you know)
      ../sbin/ssh-keygen -t rsa1 -f ssh_host_key -N ""
      ../sbin/ssh-keygen -t dsa -f ssh_host_dsa_key -N ""
      ../sbin/ssh-keygen -t rsa -f ssh_host_rsa_key -N ""
    • Do not copy the files manually, the following script will set up your sshd environment:
      (execute via telnet or via http://my.router/Main_AdmStatus_Content.asp)
      /mnt/usbfs/sshd/start_ssh
      it uses the default directory structure, edit ./etc/sshd_config to overrule
    • The default user and password in the password file is root and guest. To change the password online goto:
      http://www.desilva.biz/apache/pwdweb.html#encryptpasswd
      and copy and past it into the passwd file. However do not change user name root, otherwise the key files will not be valid.

    The ssh daemon is stable, the router will not reset while loaded.
    Good luck!

  5. #5
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270

    Smile Wow!

    That's really interresting, thanks a lot for the tip!

  6. #6
    Join Date
    Dec 2003
    Location
    Helmond, The Netherlands
    Posts
    89

    Re: Re: Re: Telnet to WL-500b/g

    Originally posted by bramfm

    The ssh daemon is stable, the router will not reset while loaded.
    Good luck!
    Some additions:
    if (or should this be: when) ssh-keygen is generating errors like:
    You don't exist, go away!
    run the script :
    /mnt/usbfs/sshd/start_ssh
    it will generate error messages, but at least the needed files are copied. Now you can generate the keys.
    Last edited by bramfm; 30-12-2003 at 00:16.

  7. #7
    Thanks to bramfm, ssh works fine with putty and winSCP.

    I was not able to change the root password away from guest.

    Using the link above in this thread I filled the form with name "root" and my new password. I copied the coded result (only the coded part - not the beginning "root:") to my passwd-file replacing the coded part for guest in the line. Started all new. But I could not log in and got wrong password message.

    Looking at the link again and doing the same once more I got a different coded password. At the result page there is a button for another coding - and pushing this button gives always different coded versions of the same password. This I did not expect. Can anybody explain?

  8. #8
    Join Date
    Dec 2003
    Location
    Czech Republic
    Posts
    270
    I did not have any problem with password change when I tested it (about 3 weeks ago). I think I updated the passwd file before keys generation.

Similar Threads

  1. wl-500b review
    By Ark+ in forum WL-500g Q&A
    Replies: 1
    Last Post: 19-12-2006, 07:36
  2. old firmware for WL-500b
    By krtekhb in forum WL-500b Firmware Releases
    Replies: 2
    Last Post: 02-12-2005, 09:48
  3. Firmware for WL-500B
    By Pandabeer in forum WL-500g Q&A
    Replies: 11
    Last Post: 13-04-2004, 17:27

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •