Raspberry Pi - Who's gonna have a dabble?
Discussion
I finally pulled my finger out and have decided to do something mildly productive with my RPI and made a lightweight headless NAS box
Firstly, due to only having a chromebook to work with, i have been forced to install raspbian via NOOBS
As im using composite video for initial setup i had to use the numbers 1,2,3,4 to get a display showing within noobs.
once raspbian was eventually installed i had to manually edit the config.txt file via SSH to once again get a display.
to do this I pulled the power and let it restart.. this allowed the ssh daemon to start and let it get out of the initial raspbconfig screen.
once I ssh'd into the pi i ran the following
sudo nano /boot/config.txt
and then commended out / deleted this bit that NOOBS seems to add at the very bottom
[b]NOOBS Auto-generated Settings:
hdmi_force_hotplug=1
config_hdmi_boost=4[/b]
and uncommented out this line
[b]uncomment for composite PAL
sdtv_mode=2 [/b]
save that and
sudo restart
and as if by magic.. you will then have a display! hurrah, first hurdle crossed.
i then immediately disconnected the screen and did everything else remotely over ssh.
I formatted my 2tb usb HDD to ext4 in preparation for NAS duties, and perm mounted it via its UUID
SAMBA then got installed and tested.. worked first time through no fault of my own
I then installed Deluge and the web client for my always-on torrenting needs, and use Torrent adder on my chromebook to add torrent magnets to it.
https://chrome.google.com/webstore/detail/remote-t...
( the deluge version you get from apt-get is outdated and you need to manually install a newer version that actually works )
see here http://dev.deluge-torrent.org/wiki/Installing/Linu...
i got the web UI up and running pretty quickly but cant wait to try out the thin client option it has to offer.
next i installed Bittorrent Sync and used that to provide a persistent mirror / backup of the families phones and computers that aren't chromebooks …
this was pretty much effortless and self explanatory to do, it just runs out of the box and has its own web UI on [b]localhost:888/gui[b/] that allows you to set everything up.
finally I installed minidlna to allow me to stream my media all over the house.
just dont forget to run sudo minidlna -R once you're done to let it create a database of your files and keep it updated ( you may need to chmod this database file! .. and it does take a while! )
what im most proud of though.. is my own little bash script that i cobbled together from various sources to allow me to keep track of my home networks external I.P address.
[b]!/bin/bash
curl performs html dump
grep regular expression to search for the IP address in the text from the curl command
chevron forces output of IP address to txt file - this will overwrite the contained text every time it is run
curl -s checkip.dyndns.com | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" > /home/pi/whatsmyip.txt[/b]
once i added this script to a 60min cron job, I then added the folder I sent the output txt to into a Bittorrent Sync folder that I sync with my phone, and now i will always know what my ip address is for external access
my only outstanding issues are the deluge daemon occasionally crashing, so im running that in logging mode to find out why that is.
i apologies for the formatting, nothing seems to work and i now just give up
Firstly, due to only having a chromebook to work with, i have been forced to install raspbian via NOOBS
As im using composite video for initial setup i had to use the numbers 1,2,3,4 to get a display showing within noobs.
once raspbian was eventually installed i had to manually edit the config.txt file via SSH to once again get a display.
to do this I pulled the power and let it restart.. this allowed the ssh daemon to start and let it get out of the initial raspbconfig screen.
once I ssh'd into the pi i ran the following
sudo nano /boot/config.txt
and then commended out / deleted this bit that NOOBS seems to add at the very bottom
[b]NOOBS Auto-generated Settings:
hdmi_force_hotplug=1
config_hdmi_boost=4[/b]
and uncommented out this line
[b]uncomment for composite PAL
sdtv_mode=2 [/b]
save that and
sudo restart
and as if by magic.. you will then have a display! hurrah, first hurdle crossed.
i then immediately disconnected the screen and did everything else remotely over ssh.
I formatted my 2tb usb HDD to ext4 in preparation for NAS duties, and perm mounted it via its UUID
SAMBA then got installed and tested.. worked first time through no fault of my own
I then installed Deluge and the web client for my always-on torrenting needs, and use Torrent adder on my chromebook to add torrent magnets to it.
https://chrome.google.com/webstore/detail/remote-t...
( the deluge version you get from apt-get is outdated and you need to manually install a newer version that actually works )
see here http://dev.deluge-torrent.org/wiki/Installing/Linu...
i got the web UI up and running pretty quickly but cant wait to try out the thin client option it has to offer.
next i installed Bittorrent Sync and used that to provide a persistent mirror / backup of the families phones and computers that aren't chromebooks …
this was pretty much effortless and self explanatory to do, it just runs out of the box and has its own web UI on [b]localhost:888/gui[b/] that allows you to set everything up.
finally I installed minidlna to allow me to stream my media all over the house.
just dont forget to run sudo minidlna -R once you're done to let it create a database of your files and keep it updated ( you may need to chmod this database file! .. and it does take a while! )
what im most proud of though.. is my own little bash script that i cobbled together from various sources to allow me to keep track of my home networks external I.P address.
[b]!/bin/bash
curl performs html dump
grep regular expression to search for the IP address in the text from the curl command
chevron forces output of IP address to txt file - this will overwrite the contained text every time it is run
curl -s checkip.dyndns.com | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+" > /home/pi/whatsmyip.txt[/b]
once i added this script to a 60min cron job, I then added the folder I sent the output txt to into a Bittorrent Sync folder that I sync with my phone, and now i will always know what my ip address is for external access
my only outstanding issues are the deluge daemon occasionally crashing, so im running that in logging mode to find out why that is.
Edited by SystemParanoia on Thursday 7th August 19:36
i apologies for the formatting, nothing seems to work and i now just give up
Edited by SystemParanoia on Thursday 7th August 19:38
Dave^ said:
jimmyjimjim said:
You absolute bd! I may need to post in the "frivolous purchases" thread shortly!
Just bought the Pi NoIR camera. Should prove handy for repairing a device that uses IR LED and sensors.
http://www.raspberrypi.org/product/pi-noir-camera/
http://www.raspberrypi.org/product/pi-noir-camera/
Add an IR LED it would be possible to make a traffic light override strobe for a lot less than one of these http://www.themirt.com
This is a nice Pi powered kit for getting the kids into coding...
https://www.kickstarter.com/projects/pimoroni/flot...
https://www.kickstarter.com/projects/pimoroni/flot...
The Raspberry Pi 2 Model B has now been released:
http://www.bbc.co.uk/news/technology-31088908
They have kept this release quiet, I didn't think they were going to release a new model for a while. I will be buying this, just looking for a suitable case.
http://www.bbc.co.uk/news/technology-31088908
They have kept this release quiet, I didn't think they were going to release a new model for a while. I will be buying this, just looking for a suitable case.
DeuxCentCinq said:
maniac886 said:
Anyone recommend a case for the new model?
According to the BBC report, they fit all the old B cases.deckster said:
DeuxCentCinq said:
maniac886 said:
Anyone recommend a case for the new model?
According to the BBC report, they fit all the old B cases.http://dev.windows.com/en-us/featured/raspberrypi2...
Windows 10 for Raspberry Pi 2
We’re excited to announce that we are expanding our Windows Developer Program for IoT by delivering a version of Windows 10 that supports Raspberry Pi 2. This release of Windows 10 will be free for the Maker community through the Windows Developer Program for IoT.
Windows 10 is the first step to an era of more personal computing. This vision framed our work on Windows 10, where we are moving Windows to a world that is more mobile, natural and grounded in trust. With the Windows for IoT developer program we're bringing our leading development tools, services and ecosystem to the Raspberry Pi community!
We see the Maker community as an amazing source of innovation for smart, connected devices that represent the very foundation for the next wave of computing, and we’re excited to be a part of this community.
We are excited about our partnership with the Raspberry Pi Foundation and delivering a version of Windows 10 that supports Raspberry Pi 2, and we will be sharing more details about our Windows 10 plans for IoT in the coming months.
Windows 10 for Raspberry Pi 2
We’re excited to announce that we are expanding our Windows Developer Program for IoT by delivering a version of Windows 10 that supports Raspberry Pi 2. This release of Windows 10 will be free for the Maker community through the Windows Developer Program for IoT.
Windows 10 is the first step to an era of more personal computing. This vision framed our work on Windows 10, where we are moving Windows to a world that is more mobile, natural and grounded in trust. With the Windows for IoT developer program we're bringing our leading development tools, services and ecosystem to the Raspberry Pi community!
We see the Maker community as an amazing source of innovation for smart, connected devices that represent the very foundation for the next wave of computing, and we’re excited to be a part of this community.
We are excited about our partnership with the Raspberry Pi Foundation and delivering a version of Windows 10 that supports Raspberry Pi 2, and we will be sharing more details about our Windows 10 plans for IoT in the coming months.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff