Created
January 9, 2017 17:58
-
-
Save ConnorRigby/fb68f423e3e6f6656b92937f9fd99725 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface ConfigFileNetIface { | |
/** false means the interface is brought up, but not started. | |
* "hostapd" starts in host mode. | |
* "static" is static ip settings | |
* "dhcp" is dhcp ip settings | |
*/ | |
type: IfaceType | |
default: false | "hostapd" | "static" | "dhcp"; | |
settings: { | |
/** ip address for static or host mode. */ | |
ipv4_address?: string; | |
/** subnet mask for static mode */ | |
ipv4_subnet_mask?: string; | |
/** list of dns name servers. */ | |
nameservers?: string[]; | |
/** if wifi we support no password, or wpa-psk */ | |
key_mgmt?: "NONE" | "WPA-PSK"; | |
/** ssid for wifi */ | |
ssid?: string; | |
/** psk for wifi */ | |
psk?: string; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment