Hey guys, I have got a question concerning the ZigBee network key. I want to add the networkkey via command line. So I mean now I start a piped wireshark - get over to Edit -> Preferences -> Protocolls -> ZigBeeNWK -> Edit -> New -> (enter key, enter label) Maybe someone knows a command to add one or preferred three keys via command line. This would be really nice. Thanks in advance, ElectricBlue asked 02 Feb '16, 03:32 ElectricBlue |
One Answer:
I'm afraid that as you want to provide the keys dynamically, you'll have to generate (or change) the file zigbee_pc_keys in your configuration profile directory before start of tshark/Wireshark. Define some keys using the GUI Wireshark, close it, and then look at the file structure. Maybe some developer will suggest a more noblesse method but this one works if you don't want to wait. answered 02 Feb '16, 04:50 sindy |
Do you need to automate addition of the keys because you expect to set many of them dynamically in a scripting environment? If not, configuring them once using the GUI Wireshark is enough that tshark could then use them.
I Would prefer a automated addition of this keys in a scripting environment. The setting once is not the problem - but I change the keys often and want to add them via script.