Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
raspberry_boards:duino-pi_modification [2016/07/10 17:51] admin |
raspberry_boards:duino-pi_modification [2016/07/10 17:52] admin [Set the SSH connection] |
||
---|---|---|---|
Line 138: | 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\\ | ||
- | |||
- | ---- | ||
- | |||