Zymbit Bootware Static Networking Configuration

Describes advanced networking configuration options

Static Networking

Static networking options are included in Bootware release 1.3.2 and later. The network ipv4 address, the netmask, and gateway can be configured for eth0 and wlan0. One DNS entry is also configurable. Static configuration is optional. The default settings for both eth0 and wlan0 is to use dhcp to configure the network.

Wi-Fi settings for access points are set via zbcli update-config

Available parameters

Static IP VariablesInterfaceOptionsDescription
is_eth0_staticeth0true|falseSet to true to use static config for eth0 (default: false)
eth0_static_addresseth0<ip_address>IP address of eth0
eth0_static_netmasketh0netmaskNetmask of eth0 (ex. 255.255.255.0)
eth0_static_gatewayeth0gatewayIP address of gateway for eth0
is_wlan0_staticwlan0true|falseSet to true to use static config for wlan0 (default: false)
wlan0_static_addresswlan0<ip_address>IP address of wlan0
wlan0_static_netmaskwlan0netmaskNetmask of wlan0 (ex. 255.255.255.0)
wlan0_static_gatewaywlan0gatewayIP address of gateway for wlan0
static_dnsdns_serverIP address of DNS server (not device specific)

Values are set in userspace with the zbconfig utility, encrypted, and passed into zboot for use subsequent updates.

Example, to set static networking parameters for eth0 in zboot:

sudo zbconfig -set /boot/firmware/zb_config eth0_static_address=192.168.100.100
sudo zbconfig -set /boot/firmware/zb_config eth0_static_netmask=255.255.255.0
sudo zbconfig -set /boot/firmware/zb_config eth0_static_gateway=192.168.100.1

Enable the static config for eth0:

sudo zbconfig -set /boot/firmware/zb_config is_eth0_static=true

zbcli update-config

zbcli update