-
Notifications
You must be signed in to change notification settings - Fork 1
Installationsanleitung
Lukas Schauer edited this page Mar 3, 2014
·
2 revisions
passwd rootsystemctl disable gdm
systemctl disable mpd
systemctl disable bonescript-autorun
systemctl disable bonescript
systemctl disable cloud9
systemctl disable avahi-daemon
systemctl disable avahi-daemon.socket
systemctl disable connman.service
systemctl disable storage-gadget-init.service
systemctl disable bonescript.socket
systemctl disable cpu-ondemand.timermount /dev/mmcblk0p1 /media/BEAGLEBONE/
echo 'optargs=capemgr.enable_partno=BB-UART4,BB-UART5 capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN' > /media/BEAGLEBONE/uEnv.txtopkg install tzdata-europe
timedatectl set-timezone Europe/Berlin
opkg install ntpopkg install glibc-utils ppp libusb-1.0-0 libusb-0.1-4 libusb-1.0-dev libusb-0.1-devIst leider nicht in den Paketquellen enthalten und muss daher frisch gebaut werden.
cd /usr/src
wget http://swupdate.openvpn.org/community/releases/openvpn-2.3.2.tar.gz
tar -vzxf openvpn-2.3.2.tar.gz
cd openvpn-2.3.2
./configure --enable-ssl --enable-lzo
make
make installIch würde zwar gerne Dropbear benutzen da es doch um einiges schmaler daher kommt, aber leider lässt es nach einigen Stunden Uptime keine Verbindung mehr zu, läuft aber weiter und wirft auch keine Fehler...
opkg remove dropbear --force-remove --force-removal-of-dependent-packages
killall -9 dropbear
opkg install openssh
systemctl restart sshdopkg update
opkg install python-pip python-setuptools python-smbus python-pyserial
pip install pytzecho 'kernel.panic = 20' >> /etc/sysctl.confsed -i 's/#RuntimeWatchdogSec=0/RuntimeWatchdogSec=10/g' /etc/systemd/system.conf
sed -i 's/#ShutdownWatchdogSec=10min/ShutdownWatchdogSec=50/g' /etc/systemd/system.confIst leider nicht in den Paketquellen enthalten und muss daher frisch gebaut werden. Wird nicht unbedingt benötigt, ist aber praktisch um z.B. Provider-SMS zu Empfangen.
opkg install intltool
cd /usr/src
wget http://www.gnokii.org/download/gnokii/0.6.x/gnokii-0.6.31.tar.bz2
tar xvf gnokii-0.6.31.tar.bz2
cd gnokii-0.6.31
./configure
make
make installcd /home/root/lichtschranke/
./install_services.shecho 'number="+491711234567"' > /home/root/lichtschranke/wakeupcall/config.pyreboot