Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
raspberry_boards:duino-pi_modification [2016/01/20 21:51]
admin [Install Shutdown & Reset Button]
raspberry_boards:duino-pi_modification [2016/07/10 17:52]
admin [Set the SSH connection]
Line 7: Line 7:
 ---- ----
  
-==== Change the user and the password ==== 
- 
-[[http://​raspi.tv/​2012/​how-to-create-a-new-user-on-raspberry-pi|How to create a new user]] 
- 
-1. Change the name: 
-  $ sudo nano /​etc/​hostname 
-in "​duino-pi"​\\ 
- 
-2. Change the host file 
-  $ sudo nano /etc/hosts 
-in: 
-    127.0.0.1 ​      ​localhost 
-    ::1             ​localhost ip6-localhost ip6-loopback 
-    fe00::​0 ​        ​ip6-localnet 
-    ff00::​0 ​        ​ip6-mcastprefix 
-    ff02::​1 ​        ​ip6-allnodes 
-    ff02::​2 ​        ​ip6-allrouters 
-                              ​ 
-    127.0.1.1 ​      ​duino-pi 
- 
-5. Change the password 
-  $ passwd 
- 
-The passwd command allows you to change your password, you will be prompted for your old password, then you new password twice. The password is "​dernulleffekt"​. 
- 
-4. Reboot: 
-  $ sudo reboot 
- 
----- 
 ==== Install Shutdown & Reset Button ==== ==== Install Shutdown & Reset Button ====
  
Line 167: Line 138:
  
 ---- ----
-==== Set the SSH connection ==== 
-  
-1. For activating the SSH connection open 
-  $ sudo raspi-config 
-In 8. Advanced Options you can activate SSH 
- 
-2. Give the Raspberry Pi an IP address. Open the interfaces file: 
-  $ sudo nano /​etc/​network/​interfaces 
-Change the DHCP in static and add these lines: 
- 
-     iface eth0 inet static 
-        address 192.168.0.111 
-        netmask 255.255.255.0 
-        gateway 192.168.0.100 
- 
-To save and leave press:\\ 
-CTRL+O, Enter, CTRL+X 
- 
-3. Restart ethernet 
-  $ sudo ifdown eth0 
-  $ sudo ifup eth0 
- 
-3. Now you can login on your computer with: 
-  $ ssh duino-pi@192.168.0.111 
-or with XWindows ​ support: 
-  $ ssh -XY pi@192.168.0.111 
-PW: raspberry\\ 
- 
----- 
-