Skip to main content

Standalone Mode

Setting up the DevKit in standalone mode requires configuring both its serial connection and network settings to ensure stable and reliable access. The serial interface serves as a critical communication link, allowing continuous interaction with the DevKit regardless of network availability.

The DevKit's IP address can be assigned using one of the following methods:

  • Automatic configuration through a network.
  • Automatic configuration via the developer's computer.
  • Manual static IP setup.

Selecting the appropriate method depends on the specific network environment and connectivity requirements.

Configure DevKit Network

By default, the DevKit network interfaces use DHCP.

  • If you want to connect the DevKit directly to your computer, configure your computer's network interface with a static IP and connect it directly to the DevKit.
  • If you want the DevKit to obtain its IP address automatically from a network, you will need to configure the interface to use DHCP.

Checking the current IP address

From the serial console, run:

sima@modalix:~$ ip a | grep inet
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host noprefixroute
inet 192.168.91.181/22 brd 192.168.91.255 scope global dynamic noprefixroute end0
inet6 fe80::ab34:b995:9f6e:160e/64 scope link noprefixroute
note

If you want to toggle between static and DHCP without rebooting the device, follow these instructions.

If you have sima-cli installed on the DevKit and want to switch between DHCP and static configuration dynamically without rebooting, run:

davinci:~$ sima-cli network

You will be prompted with an interactive menu to switch between static and DHCP network configurations.

If sima-cli is not available, use nmcli to switch between the preconfigured connection profiles: end0-static and end0-dhcp.

note

The following instructions use NetworkManager profiles to configure the network interface and apply to DevKit systems running eLxr 2.1 or later. If your system is running an earlier release, refer to the v2.0.0 documentation.

Switching to Static IP

To change the network interface from DHCP to static, run:

davinci:~$ sudo nmcli connection up end0-static
davinci:~$ nmcli -f NAME,DEVICE,STATE connection show --active
davinci:~$ networkctl status

Switching to DHCP

To change the network interface from static to DHCP, run:

davinci:~$ sudo nmcli connection up end0-dhcp
davinci:~$ nmcli -f NAME,DEVICE,STATE connection show --active
davinci:~$ networkctl status