Fallback DHCP server#

simpleswitch-dhcp-helper offers a fallback DHCP network server, if you cannot connect your computer and the SimpleSwitch™ device to a network supporting DHCP.

See Base image downloads.

Registration

If you want to test SimpleCore™, SimpleSwitch™ or any of our packages from our SimpleCore™ incubator program, please register here and we will grant you access.

Not available for QEMU

As QEMU is already creating a local network to work with your device, this package is not available for qemu86-64 MACHINE

Step-by-step instructions#

  • connect an ethernet cable between your computer and ETH0 of the device

  • you should now receive an IP address from the device in the range 172.16.240.2 - 172.16.240.250 To check

    • on Windows:

      $ ipconfig
      

      from a cmd.exe terminal

    • on Linux:

      $ ip a
      

      from a terminal

  • you can now connect to simpleswitch.local, e.g.

    $ ssh root@simpleswitch.local
    

    and you can even use simpleswitch.local instead of an IP address for all the simpleswitch SDK tools

Advanced configuration#

In case the default settings would cause trouble with other networks your computer is connected to, you can change the settings by creating on the device a file /apps/simpleswitch-dhcp-helper/config.conf:

NET_INTERFACE=ETH0
NET_NETWORK_PREFIX=172.16.240
NET_LEASE_TIME=10m
  • NET_INTERFACE is the name of the network interface DHCP support should be enabled on

  • NET_NETWORK_PREFIX are the first 3 bytes of the IP range, your computer would get an IP assigned

    • e.g. with NET_NETWORK_PREFIX=1.2.3 your computer’s IP will be between 1.2.3.2 and 1.2.3.250

  • NET_LEASE_TIME is the time the IP assignment will be valid before an automated renewal