Raspberry Pi als netwerk – en AirPrint printserver

Raspi_Colour_R

Installatie:

  • download de laatste raspbian wheezy van de download pagina van Raspberry
  • download Win32DiskImager hier en installeer het.
  • Start Win32DiskImageren en gebruik het gedownloade schijfbestand van raspbian. Dit wordt naar dan op de SD kaart geschreven

Eerste boot:

  • Je komt in het configuratiemenu van raspbian. Dit kun je naderhand nog terug oproepen door het commando sudo raspi-config uit te voeren. Hier moet je zeker volgende stappen uitvoeren:
    1. expand-rootfs zo krijg je de volledige schijfruimte terug beschikbaar na de volgende reboot
    2. memory-split hiermee wijs je het nodige geheugen toe aan de GPU, voor server is 16MB voldoende
    3. SSH server activeren
    4. Standaard paswoord wijzigen voor de gebruiker pi
    5. voor de rest kun je nog alle instellingen voor tijd en toetsenbord ook aanpassen
  • druk op Finish en de Raspberry Pi zal herstarten

Static ip adres toewijzen:

  • log in met de gebruikersnaam pi  en je paswoord (standaard raspberry) als de Raspberry is opgestart
  • ifconfig eth0  zal je het DHCP toegewezen ip adres weergeven
  • sudo nano /etc/network/interfaces
  • wijzig iface eth0 init dhcp naar iface eth0 static
  • voeg volgende lijnen toe:
    1. address your.static.ip.address
    2. netmask 255.255.255.0
    3. gateway your.router.ip.address
  • sudo reboot om alle instellingen te activeren

CUPS printer software installeren:

  • de raspbian software updaten
    1. sudo apt-get update
    2. sudo apt-get upgrade
  • installeren van de printersoftware
    • sudo apt-get install avahi-daemon cups cups-pdf cups-driver-gutenprint openprinting-ppds python-cups python-daemon python-pkg-resources
  • na de installatie stellen we toegang van buitenaf in
    1. sudo nano /etc/cups/cupsd.conf
      1. zoek  Listen localhost:631  en verander het in #Listen localhost:631
      2. daaronder voeg je Port 631
      3. Daarna voegen we in de secties , en vlak voor de regel telkens de regel Allow @Local toe om de toegang te beperken tot gebruikers van de Raspberry Pi. Sla je wijzigingen op met Ctrl+O en sluit nano af met Ctrl+X.
        putty-raspberry

Beheerder toevoegen:

  • Herstart de cups server door sudo service cups restart uit te voeren
  • voeg de gebruiker pi toe aan de beheerders van de printserver door sudo adduser pi lpadmin uit te voeren

Bezoek nu in je webbrowser de url https://IP:631/, waarbij IP het IP-adres van je Raspberry Pi is. Als je een waarschuwing krijgt over het beveiligingscertificaat, negeer dat dan

cups_main

Baïkal – Lightweight CalDAV+CardDAV server

You can download and install this package on your synology diskstation.

http://baikal-server.com

Unpack the package and upload it to your web folder on the diskstation.
After the upload go with your web browser to the path.

http://ip.of.your.diskstation/baikal

Complete all required information and then you are ready to use it.

After login you create a new user.

To add your calendar in your calendar software or IOS device you need to enter the caldav information in the program.

On your disk station you need to enable the https and add an non standard https port. This port you need to forward in your router to your disk station ip-address.

server:

https://your.ip.address:httpsport/cal.php/principals/username

your.ip.adress: is the public or private ip address
httpsport: is the custom https port you entered in your synology disk station and in the portforward of the router
username: is the username you created earlier.

if you’ve done everything right, the calendar should show up in your calendar software.

To add your contacts you need to enter the CardDAV information in the program.

server:

https://your.ip.address:httpsport/card.php/principals/username

your.ip.adress: is the public or private ip address
httpsport: is the custom https port you entered in your synology disk station and in the portforward of the router
username: is the username you created earlier.

if you’ve done everything right, the contacts should synchronise between devices where the CardDAV is installed on.

Factory reset of the Medion Lifetab S7852

android

The Medion Lifetab has Android 4.4 Kitkat installed.

When you ‘re unable to do a software factory reset from within android itself you can do a full reinstallation of your system as follows:

  1. first turn the Lifetab completely off
  2. then push at the same time the power and the volume down button until a screen appears with an android figure with a cross and the notification no command
  3. then push the volume down button to enter the menu
  4. select factory reset with the volume down or up button and push the power button (= select button)
  5. then select the yes and push the power button to acknowledge
  6. sit back and let android restore it’s operating system.

This procedure deletes all your data on you device, so make sure you have a backup of all your data

VirtualBox usb apparaten laten werken

virtualvox-logo

Eerst moet je de Oracle VM VirtualBox Guest additions installeren.

Daarna moet je jezelf aan de vboxusers groep toewijzen

I had the same problem and fixed it by clicking in the VirtualBox group of my user. You can access it installing gnome-system-tools (it does not come with Ubuntu 12.04 Precise Pangolin), either via the Ubuntu Software Center, Synaptic or by typing in the terminal:

sudo apt-get install gnome-system-tools

Remember that to paste in the terminal you have to use CTRL+SHIFT+V, as opposed to CTRL+V

You will probably have to enter your password to allow the installation and add a Y (as in yes) to finish installing the packages.

Then you head to your Dash home and type users. You will see two applications. The good one is Users and Groups.

You then have to click on Advanced settings for your user and enter your password.

Now you will be shown a window with three tabs. Click on User Privileges. Find the line that says Use Virtualbox virtualization solution and then OK.