Dropbear: Difference between revisions
From charlesreid1
No edit summary |
|||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
Dropbear is a Linksys [[WRT54GL]] wifi router running OpenWrt. | Dropbear is a Linksys [[WRT54GL]] wifi router running [[OpenWrt]]. | ||
=Overview= | =Overview= | ||
Dropbear is a Linksys [[WRT54GL]] wifi router running OpenWrt. The hardware is pretty slow (200 MHz processor) and the on-board storage is | 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]]? | Plus, [[Widy]] is the same cost, easier, battery-powered, pocket-sized, and takes USB. What's not to like about [[Widy]]? | ||
| Line 10: | Line 12: | ||
[[Image:Dropbear2.jpg|500px]] | [[Image:Dropbear2.jpg|500px]] | ||
=Upgrading= | |||
==Listing Installed Packages== | |||
Create a temporary script: | |||
<pre> | |||
vi /tmp/listuserpackages.sh | |||
</pre> | |||
with the following contents: | |||
<pre> | |||
#!/bin/ash | |||
echo >&2 User-installed packages are the following: | |||
sed -ne '/^Package:[[:blank:]]*/ { | |||
s/// | |||
h | |||
} | |||
/user installed/ { | |||
g | |||
p | |||
}' /usr/lib/opkg/status | |||
</pre> | |||
This will print the name of all packages installed: | |||
<pre> | |||
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 | |||
</pre> | |||
==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/ | |||
=Flags= | =Flags= | ||
{{DropbearFlag}} | {{DropbearFlag}} | ||
Latest revision as of 22:19, 20 January 2018
Dropbear is a Linksys WRT54GL wifi router running OpenWrt.
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/