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

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

ElectricBlue
6112
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

sindy
6.0k4851
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×146
×21
×11
×7
×2

question asked: 02 Feb '16, 03:32

question was seen: 1,304 times

last updated: 02 Feb '16, 04:50

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