PSK fails to generate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wicd |
Fix Released
|
Medium
|
Dan O'Reilly |
Bug Description
For some reason wicd fails to execute wpa_passphrase. I tried to trace the problem and found that in networking.py the output of wpa_passphrase is blank. I stripped that part of the script that starts with :
def generate_
.......
and put some debug dumps but even when I execute "wpa_passphrase" without any arguments the output is blank. Any other command such as "echo .." produce output. This seems to be specific to this part of the code only, because when I use misc.Run in a separate python script everything works fine. I also tried to use os.popen instead of Popen and get the same result. If you have suggestions, I can try to run some more tests and at this point I am not sure if this is a bug related to wpa_passphrase or wicd.
Changed in wicd: | |
status: | Fix Committed → Fix Released |
The problem seems to be related to some permission settings. I set the path to a locally built wpa_passphrase in my home directory, and now it works fine. When I do 'ls -l' for both wpa_passphrase the only difference that I see is that the owner and group is "root" in the first case and "username" in the other. Does anyone knows how to fix this ?