tanaka-world.net

Informatique / jeux

Retour vers la page principale

Les bases


créé par Tanaka le 12/09/2012, modifié par Tanaka le 13/09/2012

L'image

Rendre Raspberry utilisable sans écran

Copy boot_enable_ssh.rc to boot.rc from your /boot in Pi rootfs (SD card)

Still in your Pi rootfs edit your /etc/network/interfaces in order to have a fixed IP address assigned (so no dhcp server is needed). Ex:

	
	auto lo eth0
	iface lo inet loopback
	iface eth0 inet static
	address 192.168.0.202
	netmask 255.255.255.0
	gateway 192.168.0.200
	

Boot your Pi, use an ethernet cable to connect it to the same network that your PC is connected (or connect it direct to your PC) and login via SSH:

ssh pi@192.168.0.202

Install a light VNC server in your Pi:

sudo apt-get install tightvncserver

Then start the VNC server (you'll be asked to set a password):

vncserver :1 -name RasPi -depth 16 -geometry 1024x768

Install a VNC client in your PC:

apt-get install xtightvncviewer

Then connect to your Pi via VNC from your PC:

xtightvncviewer 192.168.0.202:1

http://raspberrypi.stackexchange.com/questions/38/prepare-for-ssh-without-a-screen