GuruPlug Debian¶
GuruPlug Server Plus Debian GNU/Linux Notes
Wireless¶
Installation¶
- we need the
uap8xxx.ko
kernel module, and theuaputl
setup utility (the latter shipped with the GuruPlug as/usr/bin/uaputl
)- uses
/lib/firmware/mrvl/helper_sd.bin
,/lib/firmware/mrvl/sd8688_ap.bin
(shipped with the GuruPlug)
- uses
- disable wireless client mode modules
libertas_sdio.ko
andlibertas.ko
- uses
sd8688.bin
,sd8688_helper.bin
(found in/root/firmware
; also in Debian packagelibertas-firmware
)
- uses
- remove or disable call to
/root/init_setup.sh
from/etc/rc.local
Download¶
- guruplug-wl-1691.sh – the script (do not forget to
chmod +x ...
) with instructions (in the script)
Issues¶
- PlugForum:1648 – wireless access point module and user space setup utility (uaputl);
modinfo uap8xxx.ko
says «Marvell» and «GPL».. but where’s the source code for theuaputl
?
Cleanup¶
/etc/ifplugd/ifplugd.action
– cleaned by dist-upgrade to squeeze- removed usbmount, udhcpd, dbus and other stuff
- created new ssh keys
- /var/lib/dbus
- /var/log (/samba)
- removed all stuff from
/etc/rc.local
- there’s some really nasty stuff in
/etc/sudoers
- disable ipv6: blacklist
ipv6
module in/etc/modprobe.d/backlist.conf
Debian¶
- http://bzed.de/posts/2010/05/installing_debian_on_the_guruplug_server_plus/ – installation instructions
- dist-upgrade to squeeze
- usb hdd standby → mine does it automatically
- localepurge
dpkg-reconfigure -plow locales
Firewall & Router¶
- http://www.debian-administration.org/articles/23
- http://www.netfilter.org/documentation
- http://www.frozentux.net/iptables-tutorial/iptables-tutorial.html
Or you can use my firewall/routing script. It assumes two different and fully trusted networks (and interfaces) for the ethernet LAN and the wireless LAN, and a separate interface for the internet connection. It configures the firewall, the routing and NAT for this setup. See the script (comments) for details.
- flipfirewall-1582.sh
- installation:
- copy to
/etc/init.d/flipfirewall
, chmod a+rx /etc/init.d/flipfirewall
,- edit the configuration in the script (
IF_EXT
,IF_LAN
,IF_WIR
) - test with
/etc/init.d/flipfirewall start
- and activate:
update-rc.d flipfirewall defaults
- copy to
- installation:
Compiling Stuff (Options)¶
- native Debian for ARM (e.g. on the Plug)
- cross-compilation using a toolchain from
- the Embedded Linux Development Kit (ELDK), or from
- the toolchain from EmbDebian (
apt-get install emdebian-tools
,emsetup --arch armel
,arm-linux-gnueabi-gcc ...
), or from - Dan Kegel's Crosstool
created: 2010-05-18, updated: 2015-09-16