My Linux media server (rPi)

GreenFanta

Member
Joined
Dec 9, 2012
Messages
14
Reaction score
0
So I decided to buy a Raspberry Pi and set it up on my network. It's running Raspbian (adapted Debian distro) at the moment. This is my current set up on it (it is important to note that this is still in dev.)

I have the Raspberry Pi 2 B cased and connected to my main Bedroom TV and I use a Wi-Pi adapter to keep it connected to my network (might run cables at a later stage). My rPi is connected to a cheap power block that I bought which can keep it running for 2 and a half days. I have a constant cron that runs that pings my router and assumes that if the router is on, the power is on. If the router is off (unreachable) it creates a file called .syslock in my home dir and that syslock file disables any of my scripts from running and executes my script called AfterEight (Bash script).

AfterEight's entire purpose is to connect to a VPN (United States) launch chromium in kiosk mode with Netflix while still running my apache server in the background (however, apache does a restart and reads from a different conf file which is a clone of the current one but allows me to make adjustments at a later stage should the need arise.)
AfterEight runs on a toggle basis and I have not come up with a good way to automate it yet (I'm thinking of building a web based remote control that uses XDO input to select between different web elements.)

When AfterEight isn't running then I have a few scripts running including my traffic monitor that runs bi-hourly speed tests (uplink and downlink to two local and two international servers) and generates a CSV (just so I can pull a report on my internet performance if I ever need to shout at my ISP for not delivering the goods.)

I am very cloud orientated so I have no need for storage at the moment since I usually stream everything. I'm running a 32 GB Class 10 Samsung Evo Micro SD card on it.

I am open to more ideas on what to do with it. Literally just tell me what you think I should do. I just do it for fun because I love building my own stuff like this.

Feel free to give feed back. I know that a lot of the stuff I do is a bit stupid or unnecessary but it's just for fun.
 
So I decided to buy a Raspberry Pi and set it up on my network. It's running Raspbian (adapted Debian distro) at the moment. This is my current set up on it (it is important to note that this is still in dev.)

I have the Raspberry Pi 2 B cased and connected to my main Bedroom TV and I use a Wi-Pi adapter to keep it connected to my network (might run cables at a later stage). My rPi is connected to a cheap power block that I bought which can keep it running for 2 and a half days. I have a constant cron that runs that pings my router and assumes that if the router is on, the power is on. If the router is off (unreachable) it creates a file called .syslock in my home dir and that syslock file disables any of my scripts from running and executes my script called AfterEight (Bash script).

AfterEight's entire purpose is to connect to a VPN (United States) launch chromium in kiosk mode with Netflix while still running my apache server in the background (however, apache does a restart and reads from a different conf file which is a clone of the current one but allows me to make adjustments at a later stage should the need arise.)
AfterEight runs on a toggle basis and I have not come up with a good way to automate it yet (I'm thinking of building a web based remote control that uses XDO input to select between different web elements.)

When AfterEight isn't running then I have a few scripts running including my traffic monitor that runs bi-hourly speed tests (uplink and downlink to two local and two international servers) and generates a CSV (just so I can pull a report on my internet performance if I ever need to shout at my ISP for not delivering the goods.)

I am very cloud orientated so I have no need for storage at the moment since I usually stream everything. I'm running a 32 GB Class 10 Samsung Evo Micro SD card on it.

I am open to more ideas on what to do with it. Literally just tell me what you think I should do. I just do it for fun because I love building my own stuff like this.

Feel free to give feed back. I know that a lot of the stuff I do is a bit stupid or unnecessary but it's just for fun.

I must have missed something here. But what are you asking?

Are you asking if there is a better way to automate your setup?
 
I have 2 Raspberry Pi's running OSMC/Kodi with the Genesis plugin. Genesis is like the free Netflix. Used to download everything but now I just stream. With OSMC/Kodi, you can also connect to a network share or just plugin a USB with your files on it. Kodi has a Netflix plugin and it also has a VPN plugin for watching Netflix. I used to run Raspbian but OSMC has made it a lot easier.
 
Top
Sign up to the MyBroadband newsletter
X