Re: [AFMUG] AirOS partial config?

2018-04-13 Thread Matt Hoppes
Change a few things on several hundred radios without UNMS? So you’re planning to log into several hundred radios by hand, hit upload, hit apply and verify it came back? How about just write a quick Python script to SSH into the radio, sed the config file with the changes you want to make,

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread Steve Jones
Key requirements changed i believe. I still dump ours in without issue, but thats air routers and nanostations. Ill take a look tommorrow if im not too hungover On Thu, Apr 12, 2018, 8:47 PM George Skorup wrote: > Yeah... except it doesn't work, at least on 6.1.6. Pull

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread Robert
Maybe a session of that would have gotten the attendance up for Chucks On 4/12/18 2:14 PM, Steve Jones wrote: I want in on that On Thu, Apr 12, 2018, 4:12 PM George Skorup > wrote: The config file definitely has unix

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread George Skorup
Yeah... except it doesn't work, at least on 6.1.6. Pull out the stuff I don't want to overwrite, upload the file and... SSID, WPA2 key, traffic shaping, device name, etc. all gone. They just go to factory default values. Except for what's in the config file, VLANs, bridges, etc. Not very

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread Steve Jones
Thata why you pull everything youre not changing On Thu, Apr 12, 2018, 5:09 PM George Skorup wrote: > Ugh. This is what was tripping me up: > > radio.1.status=enabled > radio.status=enabled > > has to be in the config file or the very vague "invalid" crap comes up. > >

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread George Skorup
Ugh. This is what was tripping me up: radio.1.status=enabled radio.status=enabled has to be in the config file or the very vague "invalid" crap comes up. Lame. On 4/12/2018 4:14 PM, Steve Jones wrote: I want in on that On Thu, Apr 12, 2018, 4:12 PM George Skorup

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread Steve Jones
I want in on that On Thu, Apr 12, 2018, 4:12 PM George Skorup wrote: > The config file definitely has unix formatting, which is why I'm editing > it with vi. > > I don't want this to end up changing the SSIDs, WPA keys, device names, > etc. So I strip out those

Re: [AFMUG] AirOS partial config?

2018-04-12 Thread George Skorup
The config file definitely has unix formatting, which is why I'm editing it with vi. I don't want this to end up changing the SSIDs, WPA keys, device names, etc. So I strip out those elements, save, upload and I get Invalid configuration file structure. And yes, I'm using the upload

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Steve Jones
Also, i havent looked, but they didnt flipflop the firmware and the config locations did they? Probably something ubntstyle like that or the button command actually got duplicated from the firmware button in the code. On Apr 11, 2018 10:58 PM, "Steve Jones" wrote: Did

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Steve Jones
Did you use regular notepad? That fiddles with text configs sometimes, notepad++ does not On Wed, Apr 11, 2018, 10:56 PM George Skorup wrote: > Yeah that's exactly what I'm trying to do. Management and data VLANs. > Management address from static to DHCP. I was

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Josh Reynolds
It's gotta have the right MAC for sure. Also device identifiers I think, cant remember. Like I said though, every few versions it seems like they change something and your config will no longer work. This is what config tools are for homie. On Wed, Apr 11, 2018, 10:56 PM George Skorup

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread George Skorup
Yeah that's exactly what I'm trying to do. Management and data VLANs. Management address from static to DHCP. I was thinking this would qualify as some pretty basic changes. Apparently not. We upgraded everything to 6.1.6. I set up an NSM5, downloaded the backup and stripped the

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Josh Reynolds
For those with simple configs it's probably fine. If you have several interfaces and vlans per CPE with a few bridges, it's more of a pain (from experience). On Wed, Apr 11, 2018, 10:29 PM Steve Jones wrote: > All the config file does is populate the listed fields.

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Mathew Howard
Interesting... I guess I never actually tried, I thought it just overwrite everything. On Wed, Apr 11, 2018, 10:29 PM Steve Jones wrote: > All the config file does is populate the listed fields. Anything not > listed it doesnt change. Thats why you have to apply it

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Steve Jones
All the config file does is populate the listed fields. Anything not listed it doesnt change. Thats why you have to apply it but you can edit it still after loading it. Id pull a fresh config file from one of the units and edit it, removing anything you dont want changed. It could just be a change

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Mathew Howard
I'm not sure how you would use a partial config... I think that it would just use defaults for anything that was missing. On Wed, Apr 11, 2018, 9:56 PM Josh Reynolds wrote: > A partial config? Never tried it. Dunno what some defaults are, and there > are things hidden in

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Josh Reynolds
I'd use ansible for this. There may even already be an ansible playbook for it. On Wed, Apr 11, 2018, 9:56 PM Josh Reynolds wrote: > A partial config? Never tried it. Dunno what some defaults are, and there > are things hidden in the config file that aren't in the webui. >

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Josh Reynolds
A partial config? Never tried it. Dunno what some defaults are, and there are things hidden in the config file that aren't in the webui. Config also seems to change things from time to time. Also config order is sometimes important depending on what you are doing. (This is just what I remember

Re: [AFMUG] AirOS partial config?

2018-04-11 Thread Steve Jones
It should On Wed, Apr 11, 2018, 9:10 PM George Skorup wrote: > ePMP has spoiled me. Am I stupid, or will airOS 6.1.x not take a partial > config? I just want to change a couple things on several hundred radios. > And no, I'm not interested in AirControl or UNMS. >

[AFMUG] AirOS partial config?

2018-04-11 Thread George Skorup
ePMP has spoiled me. Am I stupid, or will airOS 6.1.x not take a partial config? I just want to change a couple things on several hundred radios. And no, I'm not interested in AirControl or UNMS.