Difference between revisions of "R Pi Notes"

From OpenCircuits
Jump to navigation Jump to search
Line 2: Line 2:
 
These are some informal setup notes for a R Pi -- really just for my use, may write up later
 
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 =========
+
= Bring Your System Up to Date =
  
  
Line 58: Line 58:
  
  
=========== shared drive
+
= sharing drives =
  
 
do you have samba?
 
do you have samba?
  
 
       which samba
 
       which samba
 +
 +
if not get it
 +
      ???
  
 
make a mount point:
 
make a mount point:
Line 68: Line 71:
 
       mkdir /mnt/share1
 
       mkdir /mnt/share1
  
# works from command line
+
# mount from command line
  
 
       sudo mount -t  cifs -o guest  //192.168.0.170/share /mnt/share1
 
       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  
 
then look in dir /rPi  copy over this win_to_pi_info.txt so have reference there  
  
  
========= chrome for pi
 
  
======== spyder =====
+
*[http://diy.viktak.com/2015/01/my-development-environment-on-raspberry.html#more *setup to directly share the pi's disk ]
 +
 
 +
= synaptic =
 +
this gives you a gui for installing packages, and search for them
 +
altenate to apt-get install  .....
 +
Synaptic Package Manager - Home - Savannah
 +
 
 +
[https://apps.ubuntu.com/cat/applications/synaptic/ general info]
 +
 
 +
Install
 +
    ??
 +
 
 +
Run
 +
    ??
 +
 
 +
= chrome for pi =
 +
 
 +
= spyder =
  
http://elementaryeng.blogspot.com/2014/03/class-3-installing-spyder-and-first.html
+
[http://elementaryeng.blogspot.com/2014/03/class-3-installing-spyder-and-first.html]

Revision as of 07:25, 21 March 2015

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

  1. Before installing new application or service in Raspbian, make sure to
  2. 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

     ifconfig

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 )

  1. click connect, if you need a password the default is raspberry.
  1. you should now be able to use your windows machine as the keyboard, mouse, and
  2. screen.
  3. if this step does not work try a reboot of the pi and try again, if that does not work
  4. try googling, it is beyond me.


fstab section

  1. more notes
  1. using fstab

sudo nano /etc/fstab

      /etc/fstab

http://www.noveldevices.co.uk/rp-cifsinfstab

this looks good for stab

http://rasspberrypi.wordpress.com/2012/09/04/mounting-and-automounting-windows-shares-on-raspberry-pi/ http://rasspberrypi.wordpress.com/2012/09/04/mounting-and-automounting-windows-shares-on-raspberry-pi/


 # 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


sharing drives

do you have samba?

     which samba

if not get it

     ???

make a mount point:

     mkdir /mnt/share1
  1. 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


synaptic

this gives you a gui for installing packages, and search for them altenate to apt-get install ..... Synaptic Package Manager - Home - Savannah

general info

Install

    ??

Run

    ??

chrome for pi

spyder

[1]