Difference between revisions of "Pi Setup Nov 2016"
Jump to navigation
Jump to search
Russ hensel (talk | contribs) |
Russ hensel (talk | contribs) |
||
Line 46: | Line 46: | ||
</pre> | </pre> | ||
+ | but there seem to be problems on the pi 3 see [[https://raspberrypi.stackexchange.com/questions/56413/error-problem-connecting-to-raspberry-pi-3-with-xrdp connect probs]] | ||
+ | |||
+ | == Need the IP Address == | ||
on the pi issue the command | on the pi issue the command |
Revision as of 14:57, 21 November 2016
Yet another setup for the Pi
Contents
Base OS
https://www.raspberrypi.org/downloads/
- Raspbian
- RASPBIAN JESSIE WITH PIXEL
- Win32DiskImager utility
- put on 16 gig micro card
- boot
- Before installing new application or service in Raspbian, make sure to
- always type this into terminal: ( if this file is on your PI use cut and paste )
This takes awhile ( perhaps an hour? )
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
Change Password
- as shipped id is pi password is raspberry. default user is pi , and the password is raspberry
- Change your password. When logged in as the pi user, you can change your password with the passwd command. Enter passwd on the command line and press Enter . You'll be prompted to enter your current password to authenticate, and then asked for a new password.
passwd
Preferences
Use the menu to change to a us keyboard or whatever preference you may have.. timezone?
- WiFi Country code
- Timezone
- Keyboard
Set Up Remote Desktop
- use this command to setup the pi
sudo apt-get install xrdp
but there seem to be problems on the pi 3 see [connect probs]
Need the IP Address
on the pi issue the command
ifconfig
and read the tcpip address of the pi( inet addr ) which you can then use, or better use a fixed address
fixed ip address
sudo leafpad /etc/dhcpcd.conf
Scroll all the way to the bottom of the file and add one, or both of the following snippets. Depending on whether you want to set a static IP address for a wired connection or a wireless connection eth0 = wired, wlan0 = wireless. You’ll need to edit the numbers in the snippet so they match your network configuration.
- interface = This defines which network interface you are setting the configuration for.
- static ip_address = This is the IP address that you want to set your device to. (Make sure you leave the /24 at the end)
- static routers = This is the IP address of your gateway (probably the IP address or your router)
- static domain_name_servers = This is the IP address of your DNS (probably the IP address of your router). You can add multiple IP addresses here separated with a single space.
- my next Rasberry Pi 178/179
interface eth0 static ip_address=192.168.0.176/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1 interface wlan0 static ip_address=192.168.0.200/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1
Spyder
>>> sudo apt-get install spyder