$ usermod -a -G audio pi
$ sudo nano /etc/security/limits.conf
#include <stdio.h> | |
#include <stdint.h> | |
typedef union { | |
uint8_t value; | |
struct { | |
unsigned flag0:1; | |
unsigned flag1:1; | |
unsigned flag2:1; | |
unsigned flag3:1; |
<SCSI2SD> | |
<S2S_BoardCfg> | |
<!-- ******************************************************** | |
Enable the onboard active terminator. | |
Both ends of the SCSI chain should be terminated. Disable | |
only if the SCSI2SD is in the middle of a chain with other | |
devices. | |
********************************************************* --> | |
<enableTerminator>true</enableTerminator> | |
<unitAttention>false</unitAttention> |
$ sudo apt-get update
$ sudo apt-get install git autoconf libtool make pkg-config libusb-1.0-0 libusb-1.0-0-dev
$ git clone http://openocd.zylin.com/openocd && cd openocd && ./bootstrap
#!/bin/sh | |
# This script depends on coreutils. | |
# It can be installed with homebrew: | |
# $ brew install coreutils | |
gtimeout 3s /Library/Application\ Support/Tablet/WacomTabletDriver.app/Contents/MacOS/WacomTabletDriver |
This will set up a passthrough between the eth0
interface and the wan0
interface, with a VPN connection in-between.
You can then connect a machine to the ethernet port of the raspberrypi, and that machines network traffic will pass through the vpn tunnel on the raspberrypi.
The device connected to the ethernet plug of the PI should be set up with:
IP: 192.168.0.2
Mask: 255.255.255.0
Gateway: 192.168.0.1
#!/bin/sh | |
# | |
# ~/.xinitrc | |
# | |
# Executed by startx (run your window manager from here) | |
if [ -d /etc/X11/xinit/xinitrc.d ]; then | |
for f in /etc/X11/xinit/xinitrc.d/*; do | |
[ -x "$f" ] && . "$f" | |
done |