This report applies to a WRT54GS v1.1 flashed with the experimental build dated 13/3/2005 with jffs2 file system and no squashfs. To this build I have added openvpn and dropbear packages from experimental repository.
Other than the missing passwd and group, I have found that:
- using scp (wrt is scp client, my home server is scp server) fails because there is no /usr/bin/dbclient file. making a symlink from /usr/sbin/dropbear to /usr/bin/dbclient makes scp work in client mode.
- after applying the previous patch, using scp (in client mode) fails if the remote host's key is not already known to dropbear, because when dropbear asks if I want to continue connecting, it seems that it does not wait for the answer to the "y/n" question and somehow assumes I have hit "n".
Example:
root@gerbil:~# scp casa.kurgan.org:a .
WARNING: Ignoring unknown argument '-x'
WARNING: Ignoring unknown argument '-oForwardAgent no'
WARNING: Ignoring unknown argument '-oClearAllForwardings yes'
Host 'casa.kurgan.org' is not in the trusted hosts file.
(fingerprint md5 62:71:18:22:16:37:94:4e:7d:1e:4b:72:ea:85:88:6c)
Do you want to continue connecting? (y/n)
/usr/bin/dbclient: connection to root@casa.kurgan.org:22 exited: Didn't validate host key
root@gerbil:~#
A workaround for this issue is to ssh the the remote host first, accept the remote host key, and then when the key is already known to dropbear, you can also run scp.
- Scp does not work also in server mode. If I try to scp something from the wrt (thus wrt is the scp server)it fails because the file /usr/libexec/sftp-server is missing.
Example:
[c:]pscp root@192.168.1.1:a .
root@192.168.1.1's password:
ash: /usr/libexec/sftp-server: not found
unable to initialise SFTP: could not connect
- The openvpn package does not contain any configuration file (in /etc/openvpn) and also does not contain an init script to automatically run the vpns on boot. I know that the user can take care by himself of the configurations and init scripts, but at least making the directory /etc/openvpn and installing a startup script in init.d should be a good idea.
More bugs to come if I find them.