This is an old revision of the document!
Linux distribution for embedded devices
search for your router model in: http://wiki.openwrt.org to find specific instructions
opkg update opkg install luci /etc/init.d/uhttpd enable /etc/init.d/uhttpd start
reach the webiface at http://router_IP/
opkg update opkg install bash
edit /etc/passwd and replace /bin/ash for /bin/bash in the line starting with root:
echo ". $HOME/.bashrc" > /root/.bash_profile
put your custom .bashrc in /root/.bashrc
you can do this in the webiface or manually:
copy your key from your desktop to the router's /tmp/ dir:
scp ~/.ssh/id_rsa.pub root@<router IP>:/tmp
log in to the router and move the key:
cat /tmp/id_rsa.pub >> /etc/dropbear/authorized_keys chmod 0600 authorized_keys