Category Archives: Programs

mount network usb (router) drive and share with raspberry pi

plug hard rive into router

In the router html interface

“Advanced”/”USB Port” share with samba   username=xxx  password=yyy   device = defaulted to usb1_1  directory = Router  rights=read+write

remember to enable Samba (tick box)

On network computer (pi)

sudo mkdir /mnt/Router (if it doesn’t exist)

sudo chown -R pi:pi /mnt/Router

sudo mount -t cifs -o username=xxx,password=yyy,uid=pi //192.168.sss.fff/xxx  /mnt/Router

BACKUP /etc/fstab to fstab.bak  THEN  sudo gedit /etc/fstab and add line :

//192.168.1.fff  /mnt/Router username=xxx,password=yyy,uid=pi,gid=pi 0 0

sudo mount -a   (to then run the fstab file) (add it to bottom of .bashrc file to automount as boot of fstab occurs before network available.

Sketchup tips

  1. In each version, you can get the default plugins path, by opening the Ruby Console and typing: Sketchup::find_support_file(“Plugins”)
  2. To copy a component on a Mac the  “right hand options” key is the right hand alt key. So select the Move function and press right hand alt and a + appears beside the move marker, then just move and a new copy appears.   THEN … to create several copies inbetween the new and old complete the move and enter 5/ to get 5 equally spaced items.
  3. To mark a face with components that are touching it edit the component, select the face and edit->intersect with model.  There is also an option to copy from the touching part and “past in place” http://readwatchdo.com/2012/03/9th-of-10-things-i-wish-i-had-known-about-sketchup/