Skip to content

set up raspbian

Konrad Gondek edited this page Sep 25, 2016 · 1 revision

Raspberry Pi setup

Rasbian installation

  • model: Raspberry Pi 2 B
  • following installation as explained in here

Good to knows

  • available editor from command line: nano or vi
  • reboot pi : sudo reboot

Configuring WiFi connection

  • Open up the wpa_supplicant.conf file in the editor.

  • $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

  • Again, some lines might already be present, just add the following.

network={
ssid="YOUR_NETWORK_NAME"
psk="YOUR_NETWORK_PASSWORD"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}

# for HTW Wifi ------
# eap-ttls
network={
	ssid="eduroam"
	mode=0
	proto=WPA
	key_mgmt=WPA-EAP
	auth_alg=OPEN
	eap=TTLS
	identity="<your_login_name>@htw-berlin.de"
	anonymous_identity="[email protected]"
	password="<your_password>"
	ca_cert="<your_path_to_cert>/deutsche-telekom-root-ca-2.pem"
	phase2="auth=PAP"
	priority=5
}

# eap-peap
network={
  	ssid="eduroam"
   	mode=0
	proto=WPA2
	key_mgmt=WPA-EAP
	auth_alg=OPEN
	eap=PEAP
	identity="<your_login_name>@htw-berlin.de"
	password="<your_password>"
	ca_cert="<your_path_to_cert>/deutsche-telekom-root-ca-2.pem"
	phase1="peapver=0"
	phase2="auth=MSCHAPV2"
	priority=10
}

Connect via ssh

  • if you have no monitor or input devices for the raspberry pi you can work in its terminal via ssh
ssh pi@<ip address of the pi>
## default password is: raspberry

How to find the ip address of your pi?

  • if you pi is connected to the same network as you computer (via wlan or lan):
    • easiest way is to login to your router and check the ip addresses of all connected devices (name should be "raspberry pi")

Screen_Shot_2016-05-02_at_12.47.24

Clone this wiki locally