I have a basic script and all I want it to do is output the result of 'wl ssid'. However since it is in a script and not in the telnet line it doesnt appear to do it. I have currently got something along the lines of
Exactly right, but I can't execute it from the terminal, I needed it to go from the commands in startup to the snmpd.conf file so that it can create an OID for it, then I can access it via my Java program that Ive got running. I did manage to get this issue working, however, I have now another issue which is:
Is it possible to go from a Java program that uses SNMP (either the get/set command) to access an OID that will trigger a script?
For example, if I was running my program and I wanted to change the SSID of the network. Obviously I would like to continue using SNMP commands like I am currently able to do right now so by clicking a button I send information to an OID in the MIB stating this. Could a change in the OID make the program realise there is a change and act accordingly, executing another script to change the SSID to the user inputted value in the OID that was accessed.