PDA

Bekijk de volledige versie : New firmware - dropbear ssh



Oleg
01-03-2004, 09:22
Guys, I've prepared new version of the firmware and the sources for building it.

Differences with previous: Added dropbear ssh daemon (password only auth, ssh v2); busybox & dropbear now use shared uclibc; glibc relinked.
In order to use ssh you will need to perform this steps:
1. Connect to router using telnet;
2. Execute '/init/rc.sshd' - this will generate the dss key
3. If generation was successfull you will need to add /init/rc.sshd to bootCmds using something like 'nvram set bootCmdX=/init/rc.sshd'
4. Commit the changes using 'nvram commit'
5. Reboot the rooter using 'reboot' or run /init/rc.sshd manually

Firmware - http://jaffar.cs.msu.su/wl500g/wl500g-1.6.5.3-3.trx
Sources - http://jaffar.cs.msu.su/wl500g/wl500g-1.6.5.3-3.tar.bz2

Regards,
Oleg.

Technik
01-03-2004, 11:38
Thanks, Oleg, a good job, as usual! :) And ASUS is still sleeping... :(

yetti
05-03-2004, 19:25
Hi Oleg, the new version 1.6.5.3-3 now again use old "wl" driver (AP only mode)?

nd76
07-03-2004, 15:58
Originally posted by yetti
Hi Oleg, the new version 1.6.5.3-3 now again use old "wl" driver (AP only mode)?

wl.o is same size like wl_apsta.o... so i suppose that it is wl_apsta.o with another name...

Oleg
09-03-2004, 10:44
wl_apsta.o is the internal name, while wl.o is what init scripts expects.

jaha2x
10-03-2004, 08:13
Originally posted by Oleg
wl_apsta.o is the internal name, while wl.o is what init scripts expects.

In wl500g-1.6.5.3-3.trx is really old wl.o ( ver. 3.31.12.0, size 330612 ), however in wl500g-1.6.5.3-3.tar.bz2 is ver. 3.31.16.0, size 429236.

I find the the little bug in /init/rc.nvram,
test it:
nvram set bootCmd3="set XXX=YYY"
after run /init/rc.nvram is in /tmp/bootCmd only =YYY" .
Problem is in the sed script "s/.*=//", it will be better: "s/^bootCmd[0-9]*=//".

J.

Oleg
10-03-2004, 11:30
Ok, thank you for your findings.