OpenWrt Forum Archive

Topic: OpenWRT on Routerboard

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Finally for those who like to join to great pieces  OpenWRT and Routerboard 

openwrt trunk - ATTITUDE ADJUSTMENT (bleeding edge, r28279)

download

ftp://ftp.drivehq.com/routerboard/openw … tramfs.elf

setup an tftp/bootp server

linux (as root):
#>
  ifconfig eth0 192.168.1.99
  dnsmasq -i eth0  --dhcp-range=192.168.1.100,192.168.1.200 \
             --dhcp-boot=openwrt-ar71xx-nand-vmlinux-initramfs.elf\
             --enable-tftp --tftp-root=/tftp/ -d -u test -p0 -K --log-dhcp --bootp-dynamic

telnet or ssh into the RouterBoard and change to boot once over tftp:

#>
/system routerboard settings set boot-device=try-ethernet-once-then-nand

reboot and load tftp-image

connect the ethernet cable to eth1/wan port
disconnect and reconnect the powercable
wait until the led stops flashing

telnet into ramfs-image

connect the ethernet cable to eth2/lan port (or any other 2-5)
#>
telnet 192.168.1.1

now you can try everything out until you proceed to the next step

flash openwrt on the routerboard

WARNING this will override RouterOS and permanently install OpenWRT
it will also void you warranty and delete all data on the rootfs (it still keeps the bootloader and licences)
(in openwrt)
#>
wget2nand ftp://ftp.drivehq.com/routerboard/openwrt/

install software
(in openwrt)
#>
cd /etc/
rm opkg.conf
wget ftp://ftp.drivehq.com/routerboard/openwrt/opkg.conf        (luci is broken in the openwrt-trunk)
                                   
opkg update
opkg list                     (install packages)
opkg install luci           (for web-interface if you need it)
opkg install [any other software]

passwd                      (after it you can use ssh to login)


I testet it on RB450G and it work well  big_smile
here is a /etc/config/network configuration with each ports separated
ftp://ftp.drivehq.com/routerboard/openwrt/network  it has a vlan2 on eth0 (eth0 is 192.168.1.253)

Q

The discussion might have continued from here.