This is our old Q&A Site. Please post any new questions and answers at

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's gravatar image

accept rate: 0%

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.

(02 Feb '16, 04:05) sindy

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.

(02 Feb '16, 04:32) ElectricBlue

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.

permanent link

answered 02 Feb '16, 04:50

sindy's gravatar image

accept rate: 24%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 02 Feb '16, 03:32

question was seen: 1,543 times

last updated: 02 Feb '16, 04:50

p​o​w​e​r​e​d by O​S​Q​A