Dropbear: Difference between revisions
From charlesreid1
No edit summary |
(→Flags) |
||
| Line 12: | 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> | |||
=Flags= | =Flags= | ||
{{DropbearFlag}} | {{DropbearFlag}} | ||
Revision as of 10:23, 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