Posted on the December 26th, 2012 under Linux by admin
I decided to whip an old LaFonera+ 2201 wireless router. I think I may have screwed up the flash at some point, though I am not sure why it doesn’t bootup properly anymore.
To fix this, the following instructions should work — once you get into RedBoot (for my LaFonera, it is 192.168.1.10 — yours may likely be 192.168.1.254):
== Executing boot script in 9.560 seconds - enter ^C to abort
^C
RedBoot> ip_address -l 192.168.1.10 -h 192.168.1.92
IP: 192.168.1.10/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.92
RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> load -r -b %{FREEMEMLO} linux.bin
Using default protocol (TFTP)
Raw file loaded 0x80040400-0x8066e3ff, assumed entry at 0x80040400
RedBoot> fis create
*** invalid 'fis' command: required parameter missing
Usage:
fis create -b -l [-s ]
[-f ] [-e ] [-r ] [-n]
fis delete name
fis erase -f -l
fis free
fis init [-f]
fis list [-c] [-d]
fis load [-d] [-l] [-b ] [-c] name
fis write -f -b -l
RedBoot> fis create -b %{FREEMEMLO} linux
*** invalid 'fis' command: required parameter missing
Usage:
fis create -b -l [-s ]
[-f ] [-e ] [-r ] [-n]
fis delete name
fis erase -f -l
fis free
fis init [-f]
fis list [-c] [-d]
fis load [-d] [-l] [-b ] [-c] name
fis write -f -b -l
RedBoot> fis create linux
It’s been a while, but I finally managed to bring the entire server back in a virtualized form. There should be no kinds, and surprisingly, it was easy to do.
It has been a slight challenge, but I finally managed to get VirtualBox running on FreeBSD. The machine is powerful enough to run a few VMs as needed. What was problematic was the fact that I could not get vboxwebsrv to run. After trial and error, I managed to get it working by adding the following lines to /etc/rc.conf:
I also installed PHP Virtual Box, but it did not allow initial setup of VMs as a necessary component called VRDE is not open source, and thus not available for FreeBSD. Using the following was just the ticket to be able to VNC in, and setup your initial VM install.