Reply
New Member
Posts: 12
Registered: ‎06-11-2017

Anyone understand system.cfg? (how to make config that has multiple SSIDs, 5+2.4Ghz nets)

Hi everyone!

 

I am trying to understand the pieces in system.cfg (the AP-specific configuration file). Most sections make sense, however I cannot seem to figure out how to get the device to:

 

1. Have multiple SSIDs

2. Expose a network on the 5Ghz band.

 

My APs are AP-AC-LR devices, so they support both bands.

 

Does anyone have a system.cfg where 5Ghz works, and/or they have multiple SSIDs running? Would you be willing to share?

 

A small list of things that confuse me:

1. There are three sections that seem similar: wireless.<number>.blah, radio.<number>.blah, and aaa.<number>.blah. I can guess that aaa is the higher level account+access etc stuff, but what is the go with radio and wireless? what sections relate to what other ones?

2. wireless.1. etc makes some sense. But wireless.2.etc is a 'vport' by default - what is that? what does it mean?

3. wireless.1.security=none BUT aaa.1.wpa is set, giving the network WPA2 security?!?

 

Here is my (partially redacted) system.cfg file. Can anyone shed some light on this confusion?

 

aaa.1.br.devname=br0
aaa.1.devname=ath0
aaa.1.driver=madwifi
aaa.1.eapol_version=2
aaa.1.ssid=lolz
aaa.1.status=enabled
aaa.1.verbose=2
aaa.1.wpa.1.pairwise=CCMP
aaa.1.wpa.group_rekey=0
aaa.1.wpa.key.1.mgmt=WPA-PSK
aaa.1.wpa.psk={REDACTED}
aaa.1.wpa=3
aaa.2.br.devname=br0
aaa.2.devname=ath1
aaa.2.driver=madwifi
aaa.2.ssid=vport
aaa.2.status=disabled
aaa.status=enabled
bridge.1.devname=br0
bridge.1.fd=1
bridge.1.port.1.devname=eth0
bridge.1.port.2.devname=ath0
bridge.1.port.3.devname=ath1
bridge.1.stp.status=disabled
bridge.status=enabled
dhcpc.1.devname=br0
dhcpc.1.status=enabled
dhcpc.status=enabled
dhcpd.1.status=disabled
dhcpd.status=disabled
ebtables.1.cmd=-t broute -A BROUTING -p 0x888e -i ath0 -j DROP
ebtables.status=enabled
httpd.status=disabled
mgmt.discovery.status=enabled
mgmt.flavor=ace
mgmt.is_default=true
netconf.1.autoip.status=disabled
netconf.1.devname=br0
netconf.1.ip=192.168.1.20
netconf.1.netmask=255.255.255.0
netconf.1.status=enabled
netconf.1.up=enabled
netconf.2.autoip.status=disabled
netconf.2.devname=eth0
netconf.2.ip=0.0.0.0
netconf.2.promisc=enabled
netconf.2.status=enabled
netconf.2.up=enabled
netconf.3.autoip.status=disabled
netconf.3.devname=ath0
netconf.3.ip=0.0.0.0
netconf.3.promisc=enabled
netconf.3.status=enabled
netconf.3.up=disabled
netconf.4.autoip.status=disabled
netconf.4.devname=ath1
netconf.4.ip=0.0.0.0
netconf.4.promisc=enabled
netconf.4.status=enabled
netconf.4.up=disabled
netconf.status=enabled
ntpclient.1.server=0.ubnt.pool.ntp.org
ntpclient.1.status=enabled
ntpclient.status=enabled
radio.1.ack.auto=disabled
radio.1.acktimeout=64
radio.1.ampdu.status=enabled
radio.1.channel=auto
radio.1.cwm.enable=0
radio.1.cwm.mode=0
radio.1.devname=ath0
radio.1.forbiasauto=0
radio.1.ieee_mode=11nght20
radio.1.mode=master
radio.1.phyname=wifi0
radio.1.rate.auto=enabled
radio.1.rate.mcs=auto
radio.1.status=enabled
radio.1.txpower=auto
radio.1.txpower_mode=auto
radio.2.ack.auto=disabled
radio.2.acktimeout=64
radio.2.ampdu.status=enabled
radio.2.channel=auto
radio.2.clksel=1
radio.2.cwm.enable=0
radio.2.cwm.mode=1
radio.2.devname=ath1
radio.2.forbiasauto=0
radio.2.ieee_mode=11naht40
radio.2.mode=managed
radio.2.phyname=wifi1
radio.2.rate.auto=enabled
radio.2.rate.mcs=auto
radio.2.status=enabled
radio.2.txpower=auto
radio.2.txpower_mode=auto
radio.status=enabled
route.1.devname=br0
route.1.ip=224.0.0.0
route.1.netmask=3
route.1.status=enabled
route.status=enabled
syslog.file=/var/log/messages
syslog.level=8
syslog.remote.ip=192.168.1.1
syslog.remote.port=514
syslog.remote.status=disabled
syslog.rotate=1
syslog.size=200
syslog.status=enabled
users.1.name=ubnt
users.1.password={REDACTED}
users.1.status=enabled
users.status=enabled
wireless.1.addmtikie=disabled
wireless.1.authmode=1
wireless.1.autowds=disabled
wireless.1.devname=ath0
wireless.1.hide_ssid=false
wireless.1.is_guest=false
wireless.1.l2_isolation=disabled
wireless.1.mac_acl.policy=deny
wireless.1.mac_acl.status=enabled
wireless.1.mode=master
wireless.1.parent=wifi0
wireless.1.schedule_enabled=disabled
wireless.1.security=none
wireless.1.ssid=lolz
wireless.1.status=enabled
wireless.1.uapsd=disabled
wireless.1.usage=user
wireless.1.vport=disabled
wireless.1.vwire=disabled
wireless.1.wds=disabled
wireless.1.wmm=enabled
wireless.2.addmtikie=disabled
wireless.2.authmode=1
wireless.2.autowds=disabled
wireless.2.devname=ath1
wireless.2.hide_ssid=false
wireless.2.is_guest=false
wireless.2.l2_isolation=disabled
wireless.2.mac_acl.policy=deny
wireless.2.mac_acl.status=enabled
wireless.2.mode=managed
wireless.2.parent=wifi1
wireless.2.security=none
wireless.2.ssid=vport
wireless.2.status=enabled
wireless.2.usage=uplink
wireless.2.vport=enabled
wireless.2.vwire=disabled
wireless.2.wds=enabled
wireless.2.wmm=enabled
wireless.status=enabled

Thanks!

 

SuperUser
Posts: 16,538
Registered: ‎06-18-2010
Kudos: 5291
Solutions: 1761

Re: Anyone understand system.cfg? (how to make config that has multiple SSIDs, 5+2.4Ghz nets)

It might be easiest to use the Unifi controller to configure multiple SSIDs including the 5GHz radio, provision the AP, then dump the .cfg file.
I did it my way .... Man Happy
New Member
Posts: 12
Registered: ‎06-11-2017

Re: Anyone understand system.cfg? (how to make config that has multiple SSIDs, 5+2.4Ghz nets)

I am unable to run the unifi controller, hence why I am configuring the APs blindly in this fashion.
Member
Posts: 215
Registered: ‎06-19-2015
Kudos: 38
Solutions: 4

Re: Anyone understand system.cfg? (how to make config that has multiple SSIDs, 5+2.4Ghz nets)

You can't run the controller on the computer that you are using to get that config file? Heck you dont even have to have AP connected as long as it in the controller you should be able to still get the config.

Emerging Member
Posts: 71
Registered: ‎11-25-2016
Kudos: 93
Solutions: 2

Re: Anyone understand system.cfg? (how to make config that has multiple SSIDs, 5+2.4Ghz nets)

[ Edited ]

Dumped + stripped from a uap ac pro.

It runs 2x2.4ghz ssids and 1x 5ghz ssid

wireless.1.addmtikie=disabled
wireless.1.authmode=1
wireless.1.autowds=disabled
wireless.1.bga_filter=enabled
wireless.1.devname=ath0
wireless.1.dtim_period=1
wireless.1.hide_ssid=false
wireless.1.id=
wireless.1.is_guest=false
wireless.1.l2_isolation=disabled
wireless.1.mac_acl.policy=deny
wireless.1.mac_acl.status=enabled
wireless.1.mode=master
wireless.1.parent=wifi0
wireless.1.pureg=1
wireless.1.puren=0
wireless.1.schedule_enabled=disabled
wireless.1.security=none
wireless.1.ssid=SSID1
wireless.1.status=enabled
wireless.1.uapsd=disabled
wireless.1.usage=user
wireless.1.vport=disabled
wireless.1.vwire=disabled
wireless.1.wds=disabled
wireless.1.wmm=enabled
wireless.2.addmtikie=disabled
wireless.2.authmode=1
wireless.2.autowds=disabled
wireless.2.bcfilt.1.mac=
wireless.2.bcfilt.1.status=enabled
wireless.2.bcfilt.status=enabled
wireless.2.bga_filter=enabled
wireless.2.devname=ath1
wireless.2.dtim_period=1
wireless.2.hide_ssid=false
wireless.2.id=
wireless.2.is_guest=false
wireless.2.l2_isolation=disabled
wireless.2.mac_acl.policy=deny
wireless.2.mac_acl.status=enabled
wireless.2.mode=master
wireless.2.parent=wifi0
wireless.2.pureg=1
wireless.2.puren=0
wireless.2.schedule_enabled=disabled
wireless.2.security=none
wireless.2.ssid=SSID2
wireless.2.status=enabled
wireless.2.uapsd=disabled
wireless.2.usage=user
wireless.2.vport=disabled
wireless.2.vwire=disabled
wireless.2.wds=disabled
wireless.2.wmm=enabled
wireless.3.addmtikie=disabled
wireless.3.authmode=1
wireless.3.autowds=disabled
wireless.3.bga_filter=enabled
wireless.3.devname=ath2
wireless.3.dtim_period=1
wireless.3.hide_ssid=false
wireless.3.id=
wireless.3.is_guest=false
wireless.3.l2_isolation=disabled
wireless.3.mac_acl.policy=deny
wireless.3.mac_acl.status=enabled
wireless.3.mode=master
wireless.3.parent=wifi1
wireless.3.pureg=1
wireless.3.puren=0
wireless.3.schedule_enabled=disabled
wireless.3.security=none
wireless.3.ssid=SSID1_5GHZ
wireless.3.status=enabled
wireless.3.uapsd=disabled
wireless.3.usage=user
wireless.3.vport=disabled
wireless.3.vwire=disabled
wireless.3.wds=disabled
wireless.3.wmm=enabled
wireless.status=enabled

This should make it clear imho.

The radio section is related to the physical radios only (2 of them if 2.4ghz and 5ghz)

Gear: 2x Unifi AP-AC-PRO, USG, Draytek Vigor 130
Controller: Archlinuxarm on an odroid-c2 aarch64
Highlighted
New Member
Posts: 12
Registered: ‎06-11-2017

Re: Anyone understand system.cfg? (how to make config that has multiple SSIDs, 5+2.4Ghz nets)

Thanks heaps! That clears up a lot for me, it looks like I can just copy paste the radio.* sections from the default config, and play with the aaa and wireless sections. I will do trial and error tonight and figure out the rules, I think the understanding I was missing was that a wireless section corresponds with a SSID, and the wireless.*.parent section (which radio it points to) corresponds to which radio it uses.

I'm guessing your config also had a aaa section, it was just omitted?
Thanks!
Reply