User Tools

Site Tools


Sidebar






newpage

communitycloud:freifunk:openwrt

This is an old revision of the document!


OpenWRT

Linux distribution for embedded devices

Installation

search for your router model in: http://wiki.openwrt.org to find specific instructions

Basic Config

Install LUCI web interface

opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

reach the webiface at http:<router IP> ==== Install Bash & setup .bashrc ==== 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 ==== SSH publickey authentication ==== you can do this from 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

communitycloud/freifunk/openwrt.1347073518.txt.gz · Last modified: 2012/09/08 05:05 by tkilla