Mikrotik RouterBoard RB411: Difference between revisions

From Wildsong
Jump to navigationJump to search
Brian Wilson (talk | contribs)
Brian Wilson (talk | contribs)
mNo edit summary
Line 24: Line 24:
== Build kernel ==
== Build kernel ==


''This build is slow on the Mac, and it's getting warm now. Poor thing is working hard. I should have done the build on my desktop or on [[Dart]]. Maybe I will go start it there, it will probably finish before [[Plover]] does!''
''This build is slow on the Mac, and it's getting warm now. Poor thing is working hard. I should have done the build on my desktop or on [[Dart]]. Maybe I will go start it there, it will probably finish before [[Plover]] does! Indeed; I deleted the build from Plover.''


This is the step that always stopped me in the past. It just did not seem worth the effort. Now I have enough need so I am giving it a try. Source is in git now not subversion.
This is the step that always stopped me in the past. It just did not seem worth the effort. Now I have enough need so I am giving it a try. Source is in git now not subversion.


# Build on Dart, it's 10 times faster than the laptop.
  cd ~/Projects # NB filesystem must be case sensitive
  cd ~/Projects # NB filesystem must be case sensitive
  git clone git://git.openwrt.org/openwrt.git
  git clone git://git.openwrt.org/openwrt.git
Line 34: Line 35:
  make menuconfig # Under Target Image, select 'ramdisk'.
  make menuconfig # Under Target Image, select 'ramdisk'.
  make
  make
I built both the ramdisk image and the squashfs image in one go, in the RB433 page listed above he does two passes for some reason.


== Set up boot server ==
== Set up boot server ==


I am doing this on the Ubuntu virtual machine too, it's just easiest.
The boot server is on the Ubuntu Parallels virtual machine too, it's just easiest.
Now grab the files from Dart and put them in the tftpd directory.


cd /var/lib/tftpboot
scp [email protected]:Projects/openwrt/bin/* .


[[Category: Network]]
[[Category: Network]]
[[Category: System Administration]]
[[Category: System Administration]]
[[Category: Wireless]]
[[Category: Wireless]]

Revision as of 19:09, 9 August 2015

I have 2 RB411's with standard CPE software installed making them essentially useless to me. (They can't talk to each other, only to an access point.) So I am installing OpenWRT.

In a forum posting somewhere I saw that the procedure is the same as for the RB433 so I am basing my attempt on this: http://blog.vodkamelone.de/archives/148-Installing-OpenWrt-on-a-Microtik-Routerboard-RB433.html

Console access

I needed to use my serial - USB adapter and a null modem and a gender changer.

My serial port console did not work from Macintosh, I installed minicom in an Ubuntu virtual machine and used it there instead. Ubuntu had the Prolific USB driver already installed.

sudo apt-get install minicom
sudo minicom --device /dev/ttyUSB0

Set the serial port for 115200 baud and turn off hardware handshaking. Then power on the RB411. You will be prompted that you have 2 seconds to hit a key to get into the boot menu. It took a couple tries to hit it.

The RB411 told me it has 32MB of RAM and a 300 Mhz processor. Now it's waiting for input.

Boot from network

From the boot menu, select 'o' to boot from another source and 'e' to boot from ethernet. Then 'x' to save new settings and continue boot process.

Build kernel

This build is slow on the Mac, and it's getting warm now. Poor thing is working hard. I should have done the build on my desktop or on Dart. Maybe I will go start it there, it will probably finish before Plover does! Indeed; I deleted the build from Plover.

This is the step that always stopped me in the past. It just did not seem worth the effort. Now I have enough need so I am giving it a try. Source is in git now not subversion.

# Build on Dart, it's 10 times faster than the laptop.
cd ~/Projects # NB filesystem must be case sensitive
git clone git://git.openwrt.org/openwrt.git
sudo apt-get install build-essentials ncurses-dev zlib1g-dev libssl-dev subversion
cd openwrt
make menuconfig # Under Target Image, select 'ramdisk'.
make

I built both the ramdisk image and the squashfs image in one go, in the RB433 page listed above he does two passes for some reason.

Set up boot server

The boot server is on the Ubuntu Parallels virtual machine too, it's just easiest. Now grab the files from Dart and put them in the tftpd directory.

cd /var/lib/tftpboot
scp [email protected]:Projects/openwrt/bin/* .