WiFi Setup using network.ini
Requires firmware >= 3.11.50
You can set up the Morph's WiFi network using a network.ini file in the root folder of the SD card.
Values parsed from network.ini take priority over the stored WiFi config settings.
network.ini will not be changed/updated by the WiFi wizard.
network.ini#
ssid = <WIFI_SSID>
passphrase = <WIFI_PASSPHRASE>
static_ip = <STATIC_IP_ADDR>
static_gateway = <STATIC_IP_GATEWAY>
static_mask = <STATIC_IP_NETMASK>
static_dns = <STATIC_IP_DNS_SERVER>
enable_ftp = <ENABLE_FTP_SERVER>
syslog_server = <SYSLOG_SERVER_IP_ADDR>
syslog_port = <SYSLOG_SERVER_PORT>
with:
-
WIFI_SSIDSSID of the wifi network to connect to (required) -
WIFI_PASSPHRASEPassphrase/Password of the wifi network (required, can be empty by settingpassphrase =) -
ENABLE_FTP_SERVERExperimental Enable (1) or disable (0, default) simple FTP server to access the sd card. (Login credentials are the same as set for Web-UI)
Requires Firmware version >=3.15.11 -
SYSLOG_SERVER_IP_ADDR/SYSLOG_SERVER_PORTIf
Main Menu→System→Morph Settings→Write debug logis enabled, and syslog_server and syslog_port are configured, log entries are sent to a syslog server via UDP in addition to writing them to/sdcard/debug.txt
Requires Firmware version >=3.15.21
The following values are only valid/applied, if they are all set:
-
STATIC_IP_ADDRIP address -
STATIC_IP_GATEWAYGateway address (usually the address of your router) -
STATIC_IP_NETMASKNetmask (in most home setups:255.255.255.0) -
STATIC_IP_DNS_SERVERIP address of DNS server (usually the address of your router)
Examples#
-
DHCP setup:
ssid = SSID passphrase = PASSPHRASE -
Static IP setup:
ssid = SSID passphrase = PASSPHRASE static_ip = 192.168.0.19 static_gateway = 192.168.0.1 static_mask = 255.255.255.0 static_dns = 192.168.0.1 -
With FTP server:
ssid = SSID passphrase = PASSPHRASE enable_ftp = 1 -
Syslog logging:
syslog_server = 192.168.2.21 syslog_port = 514
