prepare raspbbery pi auto wifi and ssh witchout displayer


Hi
This is simple trick how to pre configure rpi to auto connect to you wifi without access to displayer

Prepare sd card witch system

1. Step download pibian

by web browser

https://www.raspberrypi.org/downloads/

Screenshot from 2017-02-10 14-42-08.png

or by console

wget https://downloads.raspberrypi.org/raspbian_lite_latestwget

2.Copy pibian to sd card

screenshot-from-2017-02-10-14-37-01

3. mount boot partition

mkdir /mnt/piboot

mount /dev/mmblk0p1 /mnt/piboot

or mount img file and  in end next step(step 2) copy  image to sdcard 

Configure wifi

4.create file”wpa_supplicant.conf”

vi /mnt/piboot/wpa_supplicant.conf

5.enter to file:

network={
    ssid="YOUR_SSID"
    psk="YOUR_PASSWORD"
    key_mgmt=WPA-PSK
}

screenshot-from-2017-02-10-14-40-27

enable SSH

6. enable ssh create empty file with ssh name

touch  /mnt/piboot/ssh

screenshot-from-2017-02-10-14-50-02

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s