Home > Uncategorized > Raspberry Pi 3 totally headless setup with VNC @ WiFi

Raspberry Pi 3 totally headless setup with VNC @ WiFi

Long time since last post.
Some notes here :

Objective : setup RPi 3 without the need for external display nor keyboard.

1. get NOOBS (2.1.0 used here)
2. format SD card as FAT (full capacity) – SDFormatterv4.zip used
3. extract NOOBS zip content to root dir of SD card
4. prepare wpa_supplicant.conf with your WiFi access details, then save it to root dir of SD card along other NOOBS files
Like this:

# /etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev


5. edit with unix-text-file compatible editor (like Cream gvim) file on SD card :

insert somewhere in the middle line :

if [ -e /settings/wpa_supplicant.conf ] ; then cp /settings/wpa_supplicant.conf /tmp/2/etc/wpa_supplicant/wpa_supplicant.conf ; fi

6. Have TightVNC or RealVNC installed on your PC/Mac.
7. Insert SD Card into RaspberryPi3 and power it on
8. Find IP of your RPi3 – easiest way -> look at website of your router (RPi3 should be named “recovery”)
9. Insert IP address into VNC viewer soft, and you’ll probably get ERROR 10061 – connection refused – that’s because you’re too late right now. NOOBS VNC connection server will be available only for few seconds after RPi bootup.
10. Power down your RPi3 (pull the power plug)
11. Tap connect on your VNC viewer and simultaneously power on RPi3 now – it should connect right now – you’ll see NOOBS installer with available options…


Of course there is one another problem – how to run headlessly raspi-config after successful install of Raspbian lite … 😉

EDIT: To allow SSH into newly installed system, you have to :
1. Put empty file named “ssh” (no extension) into root dir of your SD card (‘boot’ FAT-volume)

and it works great !

Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: