PDA

Bekijk de volledige versie : Telnet to WL-500b/g, SSH



Technik
10-12-2003, 10:53
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 :cool:

Update: The FTP root trick does not work on new 1.7.5.6 firmware anymore...

Antiloop
10-12-2003, 14:28
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

bramfm
28-12-2003, 00:02
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 :cool:
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.

bramfm
28-12-2003, 20:26
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!

Technik
29-12-2003, 12:36
That's really interresting, thanks a lot for the tip! :)

bramfm
30-12-2003, 00:07
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.

stefan
20-01-2004, 18:27
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?

Technik
22-01-2004, 14:20
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.