Folks,

Answering my own post earlier in the week (as well as a support
request to Ubiquity Networks), I offer the following after spending
many hours deciphering the incredibly short ethernet upgrade procedure
provided by Ubiquity.  Hopefully, this will save someone else several
hours of headscratching after reading their one-liner.

In order to upgrade the new Routerstation, you need the following:
Linux system (your development box?) or other UNIX box (please don't
ask me about Windoze, I don't do Windoze).
atftp (in Debian or derivatives: apt-get install atftp) or other tftp program

Preparation:
build your new ar71xx OpenWRT image (it should be called something
like: openwrt-ar71xx-ubnt-rs-squashfs.bin
su -
install atftp (if required)
open 3 xterms as root (for convenience)
ensure you have an IP on the 192.168.1.0/24 network (ip addr add
192.168.1.1/24 dev eth0) -- do not use 192.168.1.20
(optional) put an IP on the network you configured your new OpenWRT
system for.  All my new systems have 192.168.100.1 configured on them,
so I put a 192.168.100.0/24 IP on my system (ip addr add
192.168.100.2/24 dev eth0)
If you have a radio card(s) on the board, remove them now.

Booting into "debrick mode":
If you look at the board, you'll find 5 LEDs.  One is the power LED
and will be lit whenever you have power.  One is RF, one is WAN, two
are LAN (LAN1 and LAN2).  When power is applied, the power LED and the
three NIC LEDs (WAN, LAN1, LAN2) will all come on, go off. come on go
off (this indicates POST and boot).  If you only have the WAN port
connected, then only that LED and the power LED will be on once
redboot starts booting.

But we don't want that.

Start a ping to 192.168.1.20 in one xterm
Start a ping to the IP for your configured OpenWRT system in another xterm.
Let them run.

Hold down the reset button and DO NOT LET GO.  Connect the WAN/POE
cable.  Watch the blinking lights ;-)
The normal 3 LED dance will start.  But if you are still holding the
reset button, eventually, the WAN LED will light and then the RF LED
will light.  The lit RF LED is your indication that the system is now
in debrick mode (assuming you removed the radio cards).  You can let
go now.

In a few (approx 6-8) seconds, you will see replies from 192.168.1.20.

In the 3d xterm box, do the following:
cd to the directory containing openwrt-ar71xx-ubnt-rs-squashfs.bin
run atftp (or your tftp transfer program of choice)
at the atftp (or other) prompt, enter: connect 192.168.1.20<Enter>
at the atftp (or other) prompt, enter: put
openwrt-ar71xx-ubnt-rs-squashfs.bin<Enter>
this will take from 5 to 30 seconds to terminate
if you see "source port mismatch, retrying", it's because you're
trying to use atftp as an unprivileged user, quit atftp, su to root,
and try this section again, ports below 1024 can only be opened by
root.

Once the file is transferred, it will take another few seconds to
write it to memory (patience helps here).  But shortly, you should see
the pings to 192.168.1.20 stop and the LEDs indicating a reboot is in
progress.

Now we wait ... and wait ... and wait ... and suddenly our other ping
should start up.  During this time, OpenWRT was performing its initial
JFFS install and other one-time preparations, hence the wait.

At this point you've successfully reflashed your Routerstation and can
telnet into it (assuming a standard OpenWRT build) and begin
configuration.

Hope the above helps the next Routerstation noob.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to