-
Notifications
You must be signed in to change notification settings - Fork 1
Control of Raspberry Pi
To log in to a robot, find his ip address (you can use nmap/zenmap and do a pingscan) and log in:
$ ssh [email protected]Password:
raspberry
If you encounter problems:
- Check if you are connected to correct Wi-Fi network.
- Try scanning the network using nmap
$ nmap -sP 192.168.1.*
and then ssh to a discovered IP address
$ ssh [email protected]
If running the scripts terminates with a following error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Can't connect to pigpio on localhost(8888)
Did you start the pigpio daemon? E.g. sudo pigpiod
Did you specify the correct Pi host/port in the environment variables PIGPIO_ADDR/PIGPIO_PORT? E.g. export PIGPIO_ADDR=soft, export PIGPIO_PORT=8888
Did you specify the correct Pi host/port in the pigpio.pi() function? E.g. pigpio.pi('soft', 8888)) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
the pigpio daemon is not started. Solution:
$ sudo pigpiod
if still you get an error, try (changing the way to access the GPIO)
$ sudo pigpiod -a1
Safest way for shutting down Raspberry Pi is with command:
$ sudo shutdown -h now
If you want to reboot, use
$ sudo shutdown -r now
For more information about the Triangle of Life concept visit http://evosphere.eu/.
_________________
/ Premature \
| optimization |
| is the root of |
| all evil. |
| |
\ -- D.E. Knuth /
-----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||