Pi Setup Dec 2017 Stretch

From OpenCircuits
(Difference between revisions)
Jump to: navigation, search
(fixed ip address old, still work??)
(Static Ip Address)
Line 33: Line 33:
 
== Static Ip Address ==
 
== Static Ip Address ==
  
 
=== fixed ip address old, still work?? ===
 
  
 
*[https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update]
 
*[https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update]
Line 51: Line 49:
 
*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.
 
*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 182/183
+
* my next Raspberry Pi 182/183 I just pasted this into the bottom of the file
  
 
<pre>
 
<pre>
Line 69: Line 67:
 
</pre>
 
</pre>
  
then sudo reboot to try it out -  ivp 6 may be a good additon
+
then sudo reboot to try it out -  ivp 6 may be a good addition to look into
  
 
== WiFi On ==
 
== WiFi On ==

Revision as of 06:03, 2 December 2017

Decided time to switch to new os and Python 3, this is more or less a log


Contents

Download ....

Use this for install directions

said use etcher so that is what I plan to do.

Setup

next look at:


  • look at preferences from menu and enable vnc
  • in preferences set the localization to yours


remote

  • vnc

Default login. Username: pi. Password: raspberry. So, type pi, enter, raspberry, enter.


Static 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 Raspberry Pi 182/183 I just pasted this into the bottom of the file

interface eth0

static ip_address=192.168.0.182/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

interface wlan0

static ip_address=192.168.0.183/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1

then sudo reboot to try it out - ivp 6 may be a good addition to look into

WiFi On

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox