Wi5 / odin-wi5-agent

Click-based odin agent that runs on access points
2 stars 7 forks source link

Added different debug levels in the Odin agent #10

Closed josemariasaldana closed 8 years ago

josemariasaldana commented 8 years ago

We have added different levels of debug in the odin agent. You must specify them in the .cli file, specified in the agent-cli-file-gen.py script.

You can define two different parameters:

$ python agent-click-file-gen.py 9 50 E8:DE:27:F7:01:E8 192.168.1.129 2819 /sys/kernel/debug/ieee80211/phy0/ath9k/bssid_extra odin-unizar 192.168.1.6 1 1

The last two parameters correspond to: DEBUG_CLICK: "0" no info displayed; "1" only basic info displayed; "2" all the info displayed

DEBUG_ODIN: "0" no info displayed; "1" only basic info displayed; "2" all the info displayed; "1x" demo info displayed