R Pi Notes
The Raspberry Pi is a low-cost motherboards that run Linux.
These are some informal setup notes for a R Pi -- really just for my use, may write up later
Bring Your System Up to Date
- Before installing new application or service in Raspbian, make sure to
- always type this into terminal: ( if this file in on your PI use cut an d paste
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
===Set Up Remote Desktop =
use this command to setup the pi
sudo apt-get install xrdp
on the windows machine go to router admin and get tcpip address of the pi or on the pi issue the command
and read the tcpip address of the pi( inet addr )
on the windows machine run "Remote Desktop Connection" in it enter the pi address and the user name ( default pi )
- click connect, if you need a password the default is raspberry.
- you should now be able to use your windows machine as the keyboard, mouse, and
- if this step does not work try a reboot of the pi and try again, if that does not work
- try googling, it is beyond me.
- more notes
- using fstab
sudo nano /etc/fstab
this looks good for stab
# For Guest Login //WindowsPC/Share1 /mnt/mountfoldername cifs guest 0 0
For Password Protected Login //WindowsPC/Share1 /mnt/mountfoldername cifs username=yourusername,password=yourpassword 0 0
do you have samba?
if not get it
make a mount point:
- mount from command line
sudo mount -t cifs -o guest //192.168.0.170/share /mnt/share1
for auto mounting you need to edit fstab
then look in dir /rPi copy over this win_to_pi_info.txt so have reference there
this worked fine, but what directory was shared turned out it was /home/pi
this gives you a gui for installing packages, and search for them altenate to apt-get install ..... Synaptic Package Manager - Home - Savannah
chrome for pi
actually there is no chrome for pi, but there is Chromium, which is pretty close. I suppose it is heavier weitht than other browsers, but aside from speed it seems to work much better. It does allow you to access google drives, and perhaps other gooogle stuff.
This is a really nice Python environment, do not know how well it plays with the already installed python.
Handy Commands for Run and Terminal
connecting hardware to the Raspberry Pi
(TODO: ... mention something about how easy it is to hook stuff up to the GPIO pins ...)
For something a little more permanent, several people are designing boards to meet the Raspberry Pi HAT standard.
A few PCB Footprints that may be helpful:
- (apparently by Dave Vandenbout ?) Raspberry Pi B+ HAT Template
- Matt Wilcox. "Setting up a (reasonably) secure home web-server with Raspberry Pi".
- Jacob Salmela. "Password-protect A lighttpd Web Server on a Raspberry Pi Using mod_auth".
- Jacob Salmela. "Block Millions Of Ads Network-wide With A Raspberry Pi-hole 2.0".
- Steve Prater. "Securing your Raspberry PI with SSL and Simple Authentication".
- "Control Raspberry PI With iPhone".
- davstott. "Controlling a Raspberry Pi’s GPIO over the network".
- davstott. "Raspberry Pi Robot Tank, First Trundles".