Skip to main content

Common Settings

1. Network Settings​

Open Network to configure the following items:

  • WAN: select an uplink and use DHCP or a static IPv4 address.
  • LAN: assign a static address and optionally enable the DHCP server for downstream devices.
  • Wi-Fi: scan for a network, enter its credentials, and connect or disconnect.
  • mDNS: change the hostname used by the .local address. The default address is http://luckfox.local/.
  • Routes and firewall: add static routes, define input/output/forward policies, and manage communication or port-forwarding rules.
warning

Saving an address, route, Wi-Fi, or firewall change can immediately interrupt the current session. Record the new address first and keep a second local access method available.

Avoid connecting Ethernet and Wi-Fi to the same subnet unless the routing design requires it. Multiple default routes on one subnet can produce intermittent or asymmetric connections.

1.1 Set the mDNS Hostname​

  1. Open Network → mDNS, change the hostname, and save it. This example uses lyraplc.

  2. After saving the setting, access the PLC WebUI from the same LAN at http://lyraplc.local/.

1.2 Configure a LAN Interface​

  1. Open Network → LAN, then select and add a LAN interface. This example uses eth1.

  2. Set the LAN interface IP address and subnet mask. This example uses 192.168.0.2 and 255.255.255.0.

  3. Select Enable DHCP, then set the start and end addresses of the DHCP pool. Downstream devices connected to this LAN interface obtain their IP addresses from this pool.

  4. Click Save Config (incl. DHCP) to apply the settings.

Install nmap​

The current system image requires nmap to be installed separately. Run:

sudo apt update
sudo apt install -y nmap

Verify the Downstream Device Connection​

This example connects a PicoKVM to the PLC LAN interface and verifies the connection from the terminal.

  1. Scan the DHCP pool for connected devices:

    nmap -sn 192.168.0.3-5

  2. Use ping to verify that the target address is reachable:

    ping 192.168.0.3

  3. Log in to PicoKVM over SSH:

    ssh root@192.168.0.3

A successful PicoKVM login confirms that the PLC LAN interface and DHCP service are working.