Skip to content

Instantly share code, notes, and snippets.

@edoput
Created June 29, 2017 10:05
Show Gist options
  • Save edoput/5f4e74707b222041b1c61853800f3b94 to your computer and use it in GitHub Desktop.
Save edoput/5f4e74707b222041b1c61853800f3b94 to your computer and use it in GitHub Desktop.
{
"type": "DeviceConfiguration",
"general": {},
"interfaces": [
{
"type": "wireless",
"name": "wlan0",
"wireless": {
"radio": "ath0",
"mode": "access_point",
"ssid": "ubnt"
}
},
{
"type": "ethernet",
"name": "eth0"
},
{
"name": "br0",
"type": "bridge",
"bridge_members": [ "ath0", "eth0"],
"addresses": [
{
"address": "192.168.1.20",
"family": "ipv4",
"management": true,
"mask": 24,
"proto": "static"
}
]
}
],
"radios": [
{
"protocol": "802.11n",
"phy": "phy0",
"name": "ath0",
"channel": 1,
"channel_width": 20,
"driver": "mac80211",
"tx_power": 20,
"country": "IT",
"hwmode": "11g"
}
],
"ntp_servers": [
"0.ubnt.pool.ntp.org"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment