Build your OpenWRT image file07 Nov 2011
As I said in a previous post I will need an OpenWRT image set with the baud rate of 9600 bps for the console port in order to have my improvised USB-RS232-TTL adapters work. I will show the steps on how to build your image. Please note that I am using Ubuntu as OS but it should work with any other Linux distributions, you just have to install the dependencies.
- Get a terminal window and type in:
- Prepare build
Here you may choose what chipset you are using, the kernel modules and the packages you would like to install. I will choose the ones specific for the router I have : Asus WL500G. Just to be sure I will also install stty - a tool which can be used to set the baud rate of the console port after boot.
After choosing all the desired settings you have to save your config.
- The next step is to add the 9600 baud rate console option to the kernel:
and add the following line:
- Start the build process and wait, it will take a while.
- When it’s finished you’ll find the image in ~/backfire/bin and you can upload it through TFTP: Power your router while holding the reset button Connect one of the LAN interfaces to your computer and set your computers IP address to 192.168.1.x