Difference between revisions of "RPiAIS"

From wiki.bastelbude.grade.de
Jump to: navigation, search
(Created page with "== stretch == * get http://www.aishub.net/rpiais ** enable SSH permanently * check http://192.168.1.100:8080 == setup == * connect via ssh or scp as pi <pre> sudo apt-get upd...")
 
(setup)
Line 18: Line 18:
  
 
* connect via ssh or scp as root
 
* connect via ssh or scp as root
 +
* set up static IP at '''/etc/dhcpcd.conf'''
 +
<pre>
 +
interface eth0
 +
static ip_address=192.168.1.110/24
 +
static routers=192.168.1.1
 +
static domain_name_servers=192.168.1.1
 +
</pre>
  
 
[[category:Projekte]]
 
[[category:Projekte]]

Revision as of 12:39, 13 October 2018

stretch

setup

  • connect via ssh or scp as pi
sudo apt-get update
sudo apt-get upgrade
sudo su
mc
  • enable root login over SSH
    • add to /etc/ssh/sshd_config
      PermitRootLogin yes
    • restart service
      sudo /etc/init.d/ssh restart
    • set root password
      sudo passwd root
  • connect via ssh or scp as root
  • set up static IP at /etc/dhcpcd.conf
interface eth0
static ip_address=192.168.1.110/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1