![]() ![]()
If everything works, you can start configuring it over the network rather than over the serial cable, and start using it as a normal OpenWRT device. Try pinging things to verify your connectivity. Issue a “/etc/init.d/networking restart” after you’ve done your network configuration. This causes the system to directly use the DNS servers provided by your network config (or by DHCP if you’re using it), rather than trying to do everything through it’s own DNS server. Lastly, you will most like want to “rm /etc/nf” and then “ln -s /tmp/ /etc/nf”. You should also configure /etc/config/dhcp so that the “lan” section looks like this so that it doesn’t start trying to answer DHCP requests: config dhcp 'lan' The below /etc/config/network allows it to act as a simple node on a 192.168/16 network with a static IP: config interface 'loopback' If you know what configuration you’d like to use, go ahead and configure it. However, it is likely not configured correctly. Once this is installed, ethernet should start working. Openwrt serial console mini computer install#Then, use “opkg install ” to install the kmod-skge package you downloaded earlier. Openwrt serial console mini computer password#The normal OpenWRT console should come up.įirst, you should probably set a password using “passwd”. Note that this is not the same as the message about pressing f to enter failsafe mode. It will hang a couple times for up to 30 seconds a couple times during boot (I suspect this is due to a slow card since the drive activity light is solid during these hangs) (this is solved by adding a kernel option to the bootloader, I have edited the post to reflect this) but eventually it will tell you to press enter to activate the console (pay attention, as you may miss it due to other messages appearing after it). After a while, you should see GRUB come up over the serial console. Slide it back into the Firebox’s CF slot and power it on. Use “screen /dev/ttyS0 115200” to communicate over the port (press ^A k y to end the session, or ^A d to detach so you can later reattach by using “screen -r”). Now, connect a serial cable to the Firebox and your PC. Stick this package somewhere on the data partition. Openwrt serial console mini computer download#Now, go to the x86 packages directory and download the kmod-skge package, which provides support for the onboard ethernet. However, keep it as “sda” since it will be the first storage device on the firebox. Replace the “5” in “sda5” with whatever partition number your data partition has. Kernel /openwrt-x86-generic-vmlinuz rw root=/dev/sda5 console=ttyS0,115200 libata.dma=0 ![]() Terminal -silent -timeout=1 serial console It should end up something like this: serial -unit=0 -speed=115200 -word=8 -parity=no -stop=1 Next, fire up an editor and edit the /grub/menu.lst on the boot partition. Extract the rootfs onto your data partition on the CF card, and place the kernel on the boot partition. Then head over to the appropriate OpenWRT downloads directory and grab “” and “openwrt-x86-generic-vmlinuz”. Then, make an EXT4 partition over the rest of the drive (I created it within the extended partition that was already on the card): Open up Gparted or another partition editor and delete everything except the first partition, since it’s where the GRUB is installed. We only need a boot partition and a root partition. Hell, the default firmware even uses GRUB and it has it’s own partition, so I didn’t even have to install a bootloader.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |