added nas related setup
This commit is contained in:
4
bin/nas.sh
Executable file
4
bin/nas.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo /sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.10.1 dev wlan0 || true
|
||||
sudo /bin/mount -a || true
|
||||
8
doc/piface.txt
Normal file
8
doc/piface.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
sudo apt-get install -y python-dev python-gtk2-dev git
|
||||
pushd ~/
|
||||
git clone https://github.com/thomasmacpherson/piface.git
|
||||
pushd piface/python
|
||||
sudo python setup.py install
|
||||
popd
|
||||
sudo piface/scripts/spidev-setup
|
||||
popd
|
||||
11
tpl/etc/mtab
Normal file
11
tpl/etc/mtab
Normal file
@@ -0,0 +1,11 @@
|
||||
rootfs / rootfs rw 0 0
|
||||
/dev/root / ext4 rw,noatime,data=ordered 0 0
|
||||
devtmpfs /dev devtmpfs rw,relatime,size=85876k,nr_inodes=21469,mode=755 0 0
|
||||
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=18832k,mode=755 0 0
|
||||
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
|
||||
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
|
||||
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
|
||||
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=37640k 0 0
|
||||
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
|
||||
/dev/mmcblk0p1 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro 0 0
|
||||
//192.168.1.3/music /mnt/nas-music cifs rw,relatime,vers=1.0,sec=ntlmssp,cache=strict,username=jfiat,domain=FIATNAS,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.3,unix,posixpaths,serverino,acl,rsize=1048576,wsize=1048576,actimeo=1 0 0
|
||||
Reference in New Issue
Block a user