How to disable the DHCP and assign a static IP while booting with G40M i.MX8MP SMARC SoM?

To disable DHCP and assign a static IP while booting, follow the below procedure:

  1. Boot the board fully
  2. Open the file using the command:
    vi /etc/systemd/network/20-wired.network
  3. Add the below content to it and save
    [Match]
    Name=eth0
    [Network]
    Address=192.168.1.12/24
  4. Give the command “sync” and power off the board
  5. Power on the board and boot fully. Connect the ethernet cable and “192.168.1.12” IP will be set of “eth0”.
    Follow the same procedure for eth1 also.

For further inquiries, please get in touch with mktg@iwave-global.com

Please find the detailed G40M product information in the below link,