WLAN IP - Wi-Fi Static IP Address
Plain English
Sets the static IPv4 address the Wi-Fi interface uses when DHCP is off. Ignored at boot when `WLAN DHCP ON` has been issued in the same profile.
When to use
Only for static-IP deployments — typically paired with WLAN NETMASK + WLAN GATEWAY + WLAN DNS. Skip this command and use `WLAN DHCP ON` for DHCP-assigned addressing.
Syntax
WLAN IP "<ipv4>"
Parameters
| Parameter | Description |
|---|---|
ipv4 | Quoted dotted-quad IPv4 address (e.g. "192.168.1.50"). |
Example
WLAN DHCP OFF WLAN IP "192.168.1.50" WLAN NETMASK "255.255.255.0" WLAN GATEWAY "192.168.1.1"
Configure a static IPv4 address