From d1c4f05277f9c2c6f4d89787edb419ccc3edd59a Mon Sep 17 00:00:00 2001 From: anomen Date: Tue, 6 Jan 2015 13:16:24 +0100 Subject: [PATCH] raspi --- raspi/3.12.35+/lsmod | 12 ++++++++++-- raspi/customs/etc/default/minidlna | 22 ++++++++++++++++++++++ raspi/customs/etc/dphys-swapfile | 2 ++ raspi/customs/etc/fstab | 13 ++++++++----- raspi/customs/etc/modprobe.d/raspi.conf | 3 +++ raspi/customs/etc/modules | 7 +++++++ .../customs/etc/wpa_supplicant/wpa_supplicant.conf | 6 +++--- 7 files changed, 55 insertions(+), 10 deletions(-) create mode 100644 raspi/customs/etc/default/minidlna rewrite raspi/customs/etc/fstab (68%) diff --git a/raspi/3.12.35+/lsmod b/raspi/3.12.35+/lsmod index ae202a0..3c025a9 100644 --- a/raspi/3.12.35+/lsmod +++ b/raspi/3.12.35+/lsmod @@ -1,10 +1,18 @@ Module Size Used by +evdev 10681 2 +gspca_ov519 36187 0 +gspca_main 23879 1 gspca_ov519 +videodev 121196 2 gspca_main,gspca_ov519 +media 14559 1 videodev fuse 78104 3 cpufreq_stats 3765 0 -rfcomm 34405 0 bnep 11058 2 -bluetooth 230520 10 bnep,rfcomm +bluetooth 230520 7 bnep rfkill 19784 2 bluetooth +w1_therm 2866 0 +w1_gpio 2751 0 +wire 25349 2 w1_gpio,w1_therm +cn 4780 1 wire usblp 11312 0 snd_bcm2835 19496 1 dm_crypt 15042 0 diff --git a/raspi/customs/etc/default/minidlna b/raspi/customs/etc/default/minidlna new file mode 100644 index 0000000..843ad34 --- /dev/null +++ b/raspi/customs/etc/default/minidlna @@ -0,0 +1,22 @@ +# Defaults for minidlna initscript +# sourced by /etc/init.d/minidlna +# installed at /etc/default/minidlna by the maintainer scripts + +# These options can be set to modify the behavior of the minidlna init script. +# The options commented out show the default values. + +# Start the daemon if set to "yes" +START_DAEMON="yes" + +# Path to the configuration file +CONFIGFILE="/etc/minidlna.conf" + +# Path to the log file +LOGFILE="/var/log/minidlna.log" + +# User and group the daemon should run as +#USER="minidlna" +#GROUP="minidlna" + +# Additional options that are passed to the daemon +DAEMON_OPTS="" diff --git a/raspi/customs/etc/dphys-swapfile b/raspi/customs/etc/dphys-swapfile index 229f00e..aaa552c 100644 --- a/raspi/customs/etc/dphys-swapfile +++ b/raspi/customs/etc/dphys-swapfile @@ -1 +1,3 @@ CONF_SWAPSIZE=500 +CONF_SWAPFILE=/mnt/var/swap + diff --git a/raspi/customs/etc/fstab b/raspi/customs/etc/fstab dissimilarity index 68% index fde5042..22d8e8c 100644 --- a/raspi/customs/etc/fstab +++ b/raspi/customs/etc/fstab @@ -1,5 +1,8 @@ -proc /proc proc defaults 0 0 -/dev/mmcblk0p1 /boot vfat defaults 0 2 -/dev/mmcblk0p2 / ext4 defaults,noatime 0 1 -tmpfs /var/log tmpfs nodev,nosuid,size=50M 0 0 -# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that +proc /proc proc defaults 0 0 +/dev/mmcblk0p1 /boot vfat defaults,ro 0 2 +/dev/mmcblk0p2 / ext4 defaults,noatime 0 1 +#tmpfs /var/log tmpfs nodev,nosuid,size=50M 0 0 +# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that +/dev/disk/by-uuid/c118014f-8917-4927-be69-7cd66a20a264 /mnt/var ext2 defaults,noatime 0 0 +/mnt/var/log /var/log none bind +/mnt/var/tmp /var/tmp none bind diff --git a/raspi/customs/etc/modprobe.d/raspi.conf b/raspi/customs/etc/modprobe.d/raspi.conf index b892476..adbc0de 100644 --- a/raspi/customs/etc/modprobe.d/raspi.conf +++ b/raspi/customs/etc/modprobe.d/raspi.conf @@ -5,3 +5,6 @@ blacklist reiserfs blacklist hfs blacklist hfsplus + +#disable sound +#blacklist snd_bcm2835 diff --git a/raspi/customs/etc/modules b/raspi/customs/etc/modules index 100cd66..1626810 100644 --- a/raspi/customs/etc/modules +++ b/raspi/customs/etc/modules @@ -13,4 +13,11 @@ snd-bcm2835 # printers usblp +# 1wire thermometer +w1-gpio +w1-therm + + +# webcam +#gspca_ov519 diff --git a/raspi/customs/etc/wpa_supplicant/wpa_supplicant.conf b/raspi/customs/etc/wpa_supplicant/wpa_supplicant.conf index b031b18..4260f2d 100644 --- a/raspi/customs/etc/wpa_supplicant/wpa_supplicant.conf +++ b/raspi/customs/etc/wpa_supplicant/wpa_supplicant.conf @@ -18,8 +18,8 @@ network={ # pairwise=CCMP TKIP # group=CCMP TKIP WEP104 WEP40 -# psk="muhZbCdn8d" - psk="JakSloVejceNaVandr" + psk="PASSWORD-HERE" + # The higher the priority the sooner we are matched priority=5 } @@ -34,7 +34,7 @@ network={ # pairwise=CCMP # group=CCMP - psk="droiddroid" + psk="PASSWORD-HERE" # The higher the priority the sooner we are matched priority=4 } -- 2.11.4.GIT