Re: [AFMUG] adding channels to pmp320 sm with snmp

2016-10-07 Thread Zack Deveaux
When I add channels to a PMP320 CPE via snmp, I'm usually only adding one at 
time.  I typically snmpwalk to see what indexes are already there, then add the 
next one in using commands similar to the below.  I suppose there's an order of 
operations to add multiple indexes, I just haven't played around with it:




snmpwalk -v2c -c private 10.1.1.254 gemtekDevCpeChannel

Motorola-Cpe-PRIVATE-MIB::gemtekDevCpeChannelIndex.0 = INTEGER: 0
Motorola-Cpe-PRIVATE-MIB::gemtekDevCpeChannelIndex.1 = INTEGER: 1
Motorola-Cpe-PRIVATE-MIB::gemtekDevCpeChannelIndex.2 = INTEGER: 2


snmpset -v2c -c private 10.1.1.254 gemtekDevCpeChannelRowstatus.3 = 5

snmpset -v2c -c private 10.1.1.254 gemtekDevCpeChannelFrequency.3 = 3655000

snmpset -v2c -c private 10.1.1.254 gemtekDevCpeChannelBandwidth.3 = 5000

snmpset -v2c -c private 10.1.1.254 gemtekDevCpeChannelEntryEnable.3 = 1

snmpset -v2c -c private 10.1.1.254 gemtekDevCpeChannelRowstatus.3 = 1

snmpset -v2c -c private 10.1.1.254 gemtekDevCpeChannelApplyLoadOrSave.3 = 1

snmpset -v2c -c private 10.1.1.254 rebootWithResponse = 255




From: Af <af-boun...@afmug.com> on behalf of Eric Muehleisen 
<ericm...@gmail.com>
Sent: October 7, 2016 10:14:01 AM
To: af@afmug.com
Subject: Re: [AFMUG] adding channels to pmp320 sm with snmp

This may not help you but I've been using Cambiums Wireless Manager to make 
mass channel changes. As Adam said, it's a major pain to script. If you beg and 
plead, I bet Cambium would allow you fire up a temporary Wireless manager 
server to get you by.

If Cambium has any decency in their hearts, they'd throw you a bone!

On Thu, Oct 6, 2016 at 2:31 PM, That One Guy /sarcasm 
<thatoneguyst...@gmail.com<mailto:thatoneguyst...@gmail.com>> wrote:
anyone care to offer some wisdom here
I need to add 4 10mhz channels to the scan list on a whole bunch of 320 
subscribers that i cant manage via web interface (did I mention I hate 320) but 
snmp is working like a champion stud horse

I dont know how to set multiple things at once there are already 6 7mhz 
channels in all of them so the index stars at .6 but i dont know how to do it

--
If you only see yourself as part of the team but you don't see your team as 
part of yourself you have already failed as part of the team.



Re: [AFMUG] adding channels to pmp320 sm with snmp

2016-10-07 Thread Eric Muehleisen
This may not help you but I've been using Cambiums Wireless Manager to make
mass channel changes. As Adam said, it's a major pain to script. If you beg
and plead, I bet Cambium would allow you fire up a temporary Wireless
manager server to get you by.

If Cambium has any decency in their hearts, they'd throw you a bone!

On Thu, Oct 6, 2016 at 2:31 PM, That One Guy /sarcasm <
thatoneguyst...@gmail.com> wrote:

> anyone care to offer some wisdom here
> I need to add 4 10mhz channels to the scan list on a whole bunch of 320
> subscribers that i cant manage via web interface (did I mention I hate 320)
> but snmp is working like a champion stud horse
>
> I dont know how to set multiple things at once there are already 6 7mhz
> channels in all of them so the index stars at .6 but i dont know how to do
> it
>
> --
> If you only see yourself as part of the team but you don't see your team
> as part of yourself you have already failed as part of the team.
>


Re: [AFMUG] adding channels to pmp320 sm with snmp

2016-10-06 Thread Adam Moffett
Actually, come to think of it Steve, I might have shared that script 
with this list in the past.  Search archives if they're still 
upotherwise search archives after the Hurricane I guess.


-- Original Message --
From: "Adam Moffett" <dmmoff...@gmail.com>
To: af@afmug.com
Sent: 10/6/2016 5:27:12 PM
Subject: Re: [AFMUG] adding channels to pmp320 sm with snmp

When I wrote a script for that, I had it attempt to delete every 
channel index first, then I added what I wanted back in.  The reason 
for that is if any units were inconsistent about how many channels were 
already added, removing them first removed any question about which 
index number to start from.  It took quite a bit of trial and error to 
figure it out.  There was a weird sequence to it...like you had to 
unlock the channel table, make changes, commit changes, relock.  Or 
something like that.


I no longer have access to that script since I changed employers, 
otherwise I would share it with you.  I believe I used Python with the 
Snimpy module.which I would highly recommend.  That is by far the 
easiest SNMP scripting tool I've ever used.




-- Original Message --
From: "That One Guy /sarcasm" <thatoneguyst...@gmail.com>
To: "af@afmug.com" <af@afmug.com>
Sent: 10/6/2016 3:31:37 PM
Subject: [AFMUG] adding channels to pmp320 sm with snmp


anyone care to offer some wisdom here
I need to add 4 10mhz channels to the scan list on a whole bunch of 
320 subscribers that i cant manage via web interface (did I mention I 
hate 320) but snmp is working like a champion stud horse


I dont know how to set multiple things at once there are already 6 
7mhz channels in all of them so the index stars at .6 but i dont know 
how to do it


--
If you only see yourself as part of the team but you don't see your 
team as part of yourself you have already failed as part of the team.

Re: [AFMUG] adding channels to pmp320 sm with snmp

2016-10-06 Thread Adam Moffett
When I wrote a script for that, I had it attempt to delete every channel 
index first, then I added what I wanted back in.  The reason for that is 
if any units were inconsistent about how many channels were already 
added, removing them first removed any question about which index number 
to start from.  It took quite a bit of trial and error to figure it out. 
 There was a weird sequence to it...like you had to unlock the channel 
table, make changes, commit changes, relock.  Or something like that.


I no longer have access to that script since I changed employers, 
otherwise I would share it with you.  I believe I used Python with the 
Snimpy module.which I would highly recommend.  That is by far the 
easiest SNMP scripting tool I've ever used.




-- Original Message --
From: "That One Guy /sarcasm" <thatoneguyst...@gmail.com>
To: "af@afmug.com" <af@afmug.com>
Sent: 10/6/2016 3:31:37 PM
Subject: [AFMUG] adding channels to pmp320 sm with snmp


anyone care to offer some wisdom here
I need to add 4 10mhz channels to the scan list on a whole bunch of 320 
subscribers that i cant manage via web interface (did I mention I hate 
320) but snmp is working like a champion stud horse


I dont know how to set multiple things at once there are already 6 7mhz 
channels in all of them so the index stars at .6 but i dont know how to 
do it


--
If you only see yourself as part of the team but you don't see your 
team as part of yourself you have already failed as part of the team.

[AFMUG] adding channels to pmp320 sm with snmp

2016-10-06 Thread That One Guy /sarcasm
anyone care to offer some wisdom here
I need to add 4 10mhz channels to the scan list on a whole bunch of 320
subscribers that i cant manage via web interface (did I mention I hate 320)
but snmp is working like a champion stud horse

I dont know how to set multiple things at once there are already 6 7mhz
channels in all of them so the index stars at .6 but i dont know how to do
it

-- 
If you only see yourself as part of the team but you don't see your team as
part of yourself you have already failed as part of the team.