From 19219db01b1a4929d4fc54fe7ad38e2f5eac491a Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Fri, 26 Aug 2011 01:04:20 +0200 Subject: add some other useful packages --- packages/torouter-prep/src/torouter_config.sh | 29 +++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh index 8449eec..d02ae0c 100644 --- a/packages/torouter-prep/src/torouter_config.sh +++ b/packages/torouter-prep/src/torouter_config.sh @@ -38,8 +38,16 @@ cp $config_dir/apt.conf /etc/apt/apt.conf apt-get -y update -# Remove a bunch of stuff: -apt-get -y remove exim4-base exim4-config exim4-daemon-light dbus +apt-get -y install apt-utils + +# Install a sane editor +apt-get -y install vim + +# install a sane pager +apt-get -y install less + +# Install a few networking tools +apt-get -y install lsof wireless-tools # Install the weird wireless control for the DreamPlug apt-get install -y -t sid uaputl @@ -61,7 +69,7 @@ apt-get -y -t experimental install tor tor-geoipdb # To build with natpmp support apt-get -y -t experimental install libnatpmp-dev -apt-get -y -t experimental install libnatpmp0 +apt-get -y -t experimental install libnatpmp1 # To build with miniupnpc support apt-get -y -t squeeze-backports install libminiupnpc-dev @@ -120,13 +128,26 @@ cp $config_dir/ttdnsd-default /etc/default/ttdnsd cp $config_dir/sshd_config /etc/ssh/sshd_config # Clean up our cache -apt-get -y remove polipo minissdpd +apt-get -f -y remove polipo minissdpd + +# Remove a bunch of stuff: +apt-get -y remove exim4-base exim4-config exim4-daemon-light dbus + apt-get -y autoremove apt-get -y clean +# Fixup apt if something goes wrong +apt-get install -f + + ## Disable ipv6 support for now cp $config_dir/modprobe.d-blacklist.conf /etc/modprobe.d/blacklist.conf echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf +## +## Restart the network here +## + +ifup -a ## ## Restart services here -- cgit v1.2.3