Things used in this project

Hardware components:
Pi 3 02
Raspberry Pi 3 Model B
×1
Software apps and online services:
Linux - Raspbian (Jessie)

Schematics

Schematic
schematic.fzz

Code

hostapd.confBatchFile
interface=wlan0
driver=nl80211
ssid=YOUR_STATION
hw_mode=g
channel=11
wpa=1
wpa_passphrase=SECRETPASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
wpa_ptk_rekey=600
macaddr_acl=0
startup.shBatchFile
#!/bin/bash
# Author:      Heinrich Vermeulen
# Date:        01 December 2016
# Purpose:     Basic startup script for Portable Media Server
# Description: Start up and look for any USB drives
#              Mount the first drive it finds
#              Blah

myMount="/media/pi"

# Look for any USB drives
theList=$(readlink -f /dev/disk/by-id/*usb*part*)
echo "Found the following drives: " $theList

# Mount the first drive it finds
echo "Mounting" $theList "onto" $myMount
mount $theList $myMount

echo "Kill minidlna"
killall minidlnad
sleep 3

echo "Rebuild the database"
minidlnad -R -f /etc/minidlna.conf
sleep 3

echo "Kill minidlna"
killall minidlnad
sleep 3

echo "Start minidlna"
minidlnad -f /etc/minidlna.conf
sleep 3

Credits

Tmp image 0?auto=compress%2cformat&w=60&h=60&fit=min
Heinrich Vermeulen
0 projects • 5 followers
Hacking for fun!
Contact

Replications

Did you replicate this project? Share it!

I made one

Love this project? Think it could be improved? Tell us what you think!

Give feedback

Comments

Sign up / LoginProjectsPlatformsTopicsContestsLiveAppsBetaBlog