Skip to content

Ethernet

The Pigeon computer has one 1-Gbit Ethernet interface. The connection status is indicated by two LEDs built into the connector. By default, the Pigeon system is configured to obtain an IP address automatically from the network via DHCP.”

Check the status of Ethernet port:

$ ifconfig eth0 

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 configuration

Newer Linux distributions (NetworkManager-based)

On newer Linux distributions using NetworkManager, static IPv4 configuration should be done using nmcli.

sudo nmcli con mod "Wired connection 1" \
  ipv4.method manual \
  ipv4.addresses 192.168.1.203/24 \
  ipv4.gateway 192.168.1.1 \
  ipv4.dns "8.8.8.8 1.1.1.1"

Apply the configuration:

sudo nmcli con up "Wired connection 1"
Helpful commands
nmcli device status
nmcli device show
sudo ip link set eth0 up
ip link show eth0

Note: The connection name "Wired connection 1" may differ depending on the system configuration. Use nmcli device status to identify the correct connection.

Older Linux distributions (legacy network configuration)

On older Linux distributions that do not use NetworkManager, network configuration is handled using legacy configuration files.

A network configuration file is located at /etc/network/interfaces. A default Ethernet configuration using DHCP typically looks like this:

iface eth0 inet manual

To configure a static IP address manually for the Ethernet interface, edit the /etc/dhcpcd.conf file:

nano /etc/dhcpcd.conf

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

Note: This method applies only to older distributions where dhcpcd is used for network management.

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".

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:

$ sudo apt-get install nmap 
$ sudo nmap -sn -n 192.168.1.0/24 | grep -B 2 -E "Kristech|Raspberry"

192.168.1.0/24 covers 192.168.1.0 to 192.168.1.255.