Computers for industrial control and automation systems

RB700 Ethernet

Ethernet

All RP700 computers have two Ethernet interfaces. The first one is 1Gbit and the second one 100Mbit. The connection status is indicated by two LEDs built-in 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 get speed for eth0:

ethtool eth0 | grep Speed

LEDs

LEDs built-in Ethernet sockets:

  • green - Ethernet status indicator. It blinks when activity is detected.
  • yellow - Ethernet link indicator. Is always on when 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 Raspbian with a static IP address manually for the Ethernet, edit /etc/dhcpcd.conf file:

nano /etc/dhcpcd.conf

and add 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

If you set static IP, you will need to manually specify a DNS server. To set the DNS server, edit /etc/resolv.conf,

nano /etc/resolv.conf

and add the following line:

nameserver 192.168.1.1

Replace 192.168.1.1 with the IP address of your DNS server.

IPv6

Raspberry Pi OS supports both IPv4 and IPv6. If you do not want to use IPv6 you have to add 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 the Raspberry Pi OS is disabled by default. To enable SSH login for a 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 SSH server:

/etc/init.d/ssh restart

nmap

If you want to connect by SSH and you do not know IP address (serial console is not accessible) you can use nmap to find 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.

Pigeon MAC begins with "98:27:82".

Links

Back to Top