OpenWrt Barrier Breaker (v14.07) slimmed down to work on Ralink RT5350-based routers with 4MB Flash and 16MB RAM, to be used as Network Storage through Ethernet.
I have a PlayStation 2 with OPL and I want to play games through Ethernet for best performance, but with someting simple and portable. I saw some people buying that kind of budget chinese devices to work as that, but when I bought and received a 4/16 device without SMB feature. So, to take advantage of this, I decided to give a try.
I tried to keep what is necessary to run Ethernet, USB, Storage and Samba, trying to remove/disable everything else:
- Kernel Printk
- Kernel Crashlog
- Kernel DebugFS
- Kernel Debug
- Kernel Info
- Kernel SysRQ
- Swap
- IPv6
- DNSMasq
- Firewall
- Mtd
- Opkg
- Iptables (IPv4/IPv6)
- NAT
- PPPoE
- WAN/WAN6
- USB 1.0/1.1
- Wireless Modules
- iw/iwinfo
- Crypto Modules (Wifi WPA AES)
- DHCP (IPv4/IPv6)
- Logs
- NTP
- Telnet
- Nmbd (Samba)
- Unused Ethernet ports (Reduces Energy Power consumption)
I build OpenWrt with "Hame MPR-A1" target profile. I tested on a device named "HXT 3G Router", that have "Ralink RT5350F" and "L8-V8" written on the board. I tried firmwares from others routers with this and some work, so I think that any Ralink RT5350-based router is compatible.
- A5-V11
- Hame MPR-A1
- Hame MPR-A2 (I think that is the same as A1, but 8/32)
- Before everything: Try at your own risk, I'm not responsible for anything.
- Download the firmware and flash tool from Release Page.
- Configure on ethernet adapter the static IP as "192.168.1.55" and mask as "255.255.255.0".
- Connect router to ethernet.
- Start the Router in Recovery Mode. (Usually you need hold reset button and turn on)
- Open flash tool.
- Select the downloaded firmware in "??Root_uImage". (Never touch "??UBoot"!)
- Click the biggest button, the first one above all "..." buttons. (Everything will be disable)
- After some seconds, the tool will do a chime sound. This means that is sending the firmware to router.
- After one or two minutes, a warning with "Ok" will appear. Click that.
- Another chime sound will happen, this means that the flashing process ended and you can close the program.
- After a minute, you can try to ping "192.168.1.1". If you receive response, it's all right.
- Connect a USB Storage with the first partition formated as EXT3 on Router's USB.
- Try to access SMB Share "share" in the Router.
- The default credencial is user "root" and password "password". (That is the same for SSH, if you need.)
- If you can see the files inside USB Storage, it's all right.
PS: After flash, USB Storage usually doesn't work if was connect. If that happen, restart the router.
# Prepare and start a container capable to build
docker run -u $UID --name openwrt-build -v"$PWD":/app -w /app -d ubuntu:16.04 tail -f
docker exec -u0 -ti openwrt-build bash -c "apt-get update && apt-get upgrade -y"
docker exec -u0 -ti openwrt-build bash -c "apt-get install -y subversion build-essential libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev git wget curl unzip python2.7"
# Command to modify packages and some options
docker exec -ti openwrt-build bash -c "make menuconfig"
# Commands to download packages and build the images
docker exec -ti openwrt-build bash -c "make download"
docker exec -ti openwrt-build bash -c "make"
# Path where images are generated
ls -l bin/bin/ramips/
# Command to enter in container to run commands
docker exec -ti openwrt-build bash
For more info, check the old wiki.