Dropbear
From charlesreid1
Dropbear is a Linksys WRT54GL wifi router running OpenWrt.
Contents
Overview
Dropbear is a Linksys WRT54GL wifi router running OpenWrt. The hardware is pretty slow (200 MHz processor) and the on-board storage is only about 20 megabytes, so it's pretty limited in terms of baked-in capabilities. There is also no USB port or expansion slot.
Some of these shortcomings can be overcome through hardware hacking - soldering an external USB port to the board inside, for example, to use external USB storage - but I did not need these modifications for my purposes.
Plus, Widy is the same cost, easier, battery-powered, pocket-sized, and takes USB. What's not to like about Widy?
Upgrading
Listing Installed Packages
Create a temporary script:
vi /tmp/listuserpackages.sh
with the following contents:
#!/bin/ash echo >&2 User-installed packages are the following: sed -ne '/^Package:[[:blank:]]*/ { s/// h } /user installed/ { g p }' /usr/lib/opkg/status
This will print the name of all packages installed:
User-installed packages are the following: luci-lib-sys kmod-usb-storage libuci-lua opkg kmod-usb-core luci-mod-admin-core busybox libiwinfo-lua kmod-wlcompat libiwinfo kmod-diag luci-lib-lmo luci-theme-openwrt base-files kmod-switch kmod-usb-ohci dnsmasq luci-sgi-cgi iptables-mod-conntrack firewall luci-app-firewall luci-lib-ipkg libuci liblua libip4tc uci lua dropbear mtd kmod-brcm-wl luci-theme-base nvram luci-proto-ppp ppp luci-mod-admin-full luci-lib-web iptables uhttpd libxtables luci-lib-nixio luci wlc iptables-mod-nat luci-proto-core luci-i18n-english nas wireless-tools luci-lib-core ppp-mod-pppoe
Upgrading Via Lucy Web Interface
- Select Administration in the top right corner
- Choose the System > Flash Firmware tab
- Click Browse and navigate to the firmware (it must be a .trx file) you wish to flash to
- Click 'Upload image'
- Follow the instructions
This OpenWrt wiki page on the WRT 54GL was very useful: https://wiki.openwrt.org/toh/linksys/wrt54g
Link to Chaos Calmer: http://archive.openwrt.org/chaos_calmer/15.05.1/brcm47xx/generic/
side note:
This discussion on Github seems to indicate there is a netdata package available via opkg: https://github.com/firehol/netdata/issues/385
However, this was not the case using opkg 0.1.8 on Barrier Breaker. Then again, this OpenWrt/opkg is a couple of years old now.
The packages released for FireHOL provide a Chaos Calmer version, and instructions for pre-Chaos versions of OpenWrt have disappeared: https://github.com/firehol/packages/releases/tag/2017-10-14-1440
This page gives instructions on how to install the .ipk file: https://firehol.org/installing/openwrt/