Community discussions

MikroTik App
 
User avatar
DogHead
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Thu Jan 03, 2008 9:36 pm
Location: Anywhere you want me to be

How to Install OpenWRT on RB with no serial

Tue Jun 19, 2012 6:49 pm

I would like to install OpenWRT on a RB411GL or RB433GL. Normally I would boot with serial console attached, then use network boot option to launch DHCP/TFTP. The system would boot from my TFTP server and then I can copy OS to NAND. But without a serial port how can I do this? I do not want to run OpenWRT from metarouter, I want to run it from boot loader as the host OS.

I thought I saw someone was working on a modified version of netinstall for this purpose. Or is there a configuration for DHCP/TFTP that works.

Thanks
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: How to Install OpenWRT on RB with no serial

Wed Jun 20, 2012 8:44 am

You can always enable netbooting via RouterOS itself, in "/system routerboard settings"

Of course, you'll need to make sure that your image contains a working ethernet driver for the board in question, since you won't have a serial console to fall back on...

-- Nathan
 
User avatar
DogHead
Member Candidate
Member Candidate
Topic Author
Posts: 196
Joined: Thu Jan 03, 2008 9:36 pm
Location: Anywhere you want me to be

Re: How to Install OpenWRT on RB with no serial

Wed Jun 20, 2012 11:24 pm

Thanks for the suggestion. It was so obvious I should have thought of it, but you pointed me in the right direction.

Still a little scary to play with a RB with no serial. Good probability of bricking with the wrong config. Hopefully the reset button will invoke the bootloader call to PXE properly. That is a leap of faith.
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 829
Joined: Tue Aug 03, 2004 9:01 am

Re: How to Install OpenWRT on RB with no serial

Thu Jun 21, 2012 2:01 am

Hopefully the reset button will invoke the bootloader call to PXE properly.
Actually, it does, and I forgot to mention it: page 1 of the quick guide or at the top of page 6 of the RB750 user's manual says that on devices that don't include a serial port, if you hold down the reset button during power-up until the power light goes off, it will invoke PXE/netbooting, so that you can fix a router with borked software via Netinstall that way. (But who reads manuals, right? :D ) But I see no reason why you couldn't do that to netboot a custom image.

-- Nathan

Who is online

Users browsing this forum: No registered users and 13 guests