Openwrt: Difference between revisions

From Halfface
Jump to navigation Jump to search
Line 2: Line 2:
==Write firmware==
==Write firmware==
  mtd write /tmp/openwrt-brcm47xx-squashfs.trx linux
  mtd write /tmp/openwrt-brcm47xx-squashfs.trx linux
reboot
mtd -e firmware write /tmp/openwrt-ar71xx-tl-wr1043ndv1-squashfs-universal.bin firmware
  reboot
  reboot



Revision as of 20:35, 17 February 2010

Small linux for routers

Write firmware

mtd write /tmp/openwrt-brcm47xx-squashfs.trx linux
reboot
mtd -e firmware write /tmp/openwrt-ar71xx-tl-wr1043ndv1-squashfs-universal.bin firmware
reboot

Which version of openwrt is installed.

cat /etc/banner

read /var/log/messages

logread

packages

update package list

opkg update 

install openvpn

opkg install http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/packages/zlib_1.2.3-5_mipsel.ipk
opkg install http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/packages/libopenssl_0.9.8i-3.2_mipsel.ipk
opkg install http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/packages/liblzo_2.03-1_mipsel.ipk
opkg install http://downloads.openwrt.org/kamikaze/8.09.2/brcm-2.4/packages/openvpn_2.0.9-5.1_mipsel.ipk