Replies: 5 comments 4 replies
-
|
The real time display has not been removed: By default (e.g. running headless or inside a scipt) it is disabled by default (option rds=0) Depending on what you're looking for, either option rds=1 or rds=2 or rds=3 bring it back. |
Beta Was this translation helpful? Give feedback.
-
|
hello, i'm having a strange issue that didn't happen with the old "default" realtime display. after several hours of not knowing what was happening with the new version i was able to isolate the issue, basically when redirecting stdout of hcxdumptool (latest git version) the process "exit on error" with this message: "101 ERROR(s) during runtime (mostly caused by a broken driver)" i would think this is a driver/kernel issue like the message says, but the strange thing is this only happens when redirecting stdout to a file or other type of pipe/buffer (like my wrapper script did), if redirecting stderr for example this does not happen, also with the old version with the default realtime display i can "handle" stdout/stderr output without issues and capture/pmkid works. here is a simple shell stdout redirect test evidence with the new version: and here is the same command with the old version: the '--tot=6' is placed on purpose for testing, the failed processes always exit exactly at 5.4 minutes, i assume that is the time it takes to reach the 101 Errors that trigger the exit? finally, here is information about my system and wifi adapter, note that the tests were run on the same environment and device. my usb wifi adapter is a Panda Wireless PAU0B AC600. hope you can help me make sense of this strange issue. if you need any other information or want me to do further tests just let me know. as always thanks for your excelent work! |
Beta Was this translation helpful? Give feedback.
-
|
Your problem is located here:
To resize the status display depending on the display type, hcxdumptool uses a system call. $ sudo ./hcxdumptool --rds=3 > test.log ioctl system call failed: Inappropriate ioctl for device |
Beta Was this translation helpful? Give feedback.
-
|
A quick and dirty workaround for you is to remove the error counter: Line 476 in 5af64cc and here: Line 586 in 5af64cc Some more information is here: |
Beta Was this translation helpful? Give feedback.
-
|
it worked! commenting the last line that is the display i use on my wrapper fixed the issue. guess i'll maintain a branch with this patch for my use case. regards. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
hello, i see you recently decided to remove the realtime status display from the dump tool.
i know that the display had a performance impact but it was really useful, i had made a wrapper that showed me a consolidated view of multiple dump processes running in parallel that depended on the status information.
again, i know it might not be best for performance but is there any way that you can bring it back? maybe an option or compilation flag for "debug purposes" ?
currently i'm using and older version but it would be a shame not to have more updates because of the realtime display feature :(
anyway thanks for your efforts on improving these amazing tool!
Beta Was this translation helpful? Give feedback.
All reactions