Ethernet
All Pigeon RB700 computers have two Ethernet interfaces. The first one supports 1 Gbit, and the second one supports 100 Mbit. The connection status is indicated by two LEDs built into the connector. The default system for Pigeon is set up to get an IP address automatically from the network via DHCP.
Check the status of Ethernet ports:
$ ifconfig eth0
$ ifconfig eth1
Type the following command to check the speed of eth0:
$ ethtool eth0 | grep Speed
LEDs
LEDs built into the Ethernet sockets: - Green - Ethernet status indicator. It blinks when network activity is detected, - Yellow - Ethernet link indicator. It is always on when the Ethernet is connected.
Static IP
A network configuration file is located at /etc/network/interfaces
. A default configuration eth0 looks like the following (DHCP is used for wired Ethernet):
iface eth0 inet manual
To configure OS with a static IP address manually for the Ethernet, edit /etc/dhcpcd.conf file:
$ nano /etc/dhcpcd.conf
and add the following lines:
interface eth0
static ip_address=192.168.1.111/24
static routers=192.168.1.1
static domain_name_servers=8.8.8.8
IPv6
Raspberry Pi OS supports both IPv4 and IPv6. If you do not want to use IPv6, you have to add the following line:
net.ipv6.conf.all.disable_ipv6 = 1
in /etc/sysctl.conf file.
SSH
SSH server on Pigeon is enabled by default. You can disable the SSH server using raspi-config:
- run raspi-config,
- navigate to Interface Options,
- navigate to SSH,
- select "Disable".
SSH root login on Raspberry Pi OS is disabled by default. To enable SSH login for the root user, open /etc/ssh/sshd_config
:
$ nano /etc/ssh/sshd_config
and change the following line:
PermitRootLogin without-password
to
PermitRootLogin yes
After that, restart the SSH server:
sudo systemctl restart sshd
nmap
If you want to connect via SSH and do not know the IP address (and the serial console is not accessible), you can use nmap to find the Pigeon IP address. To install on Mac OS or Windows, see the nmap.org download page. For example, in Linux:
$ apt-get install nmap nmap -sn 192.168.1.0/24
192.168.1.0/24 covers 192.168.1.0 to 192.168.1.255.
The MAC address of Pigeon computers begins with "98:27:82".