On 07/28/2009 08:56 AM, derek starr wrote:
To Steven F. LeBrun, Michael Franc Hi Derek, There is something else that you can try but it is tedious. You can try running and debugging the bash scripts that attempt to bring up your wireless adapter, starting with /etc/sysconfig/network-scripts/ifup. What I did was make copies of the scripts involved; ifup, ifup-eth, ifup-wireless and network-functions. Step one was to make sure that your personal copies call your personal copies (ifup --> ifup-eth --> ifup-wireless). Step two was to place many echo statements into your personal copies to track variable values and execution path. Step three was to run your personal scripts. There is a Step zero, run the original scripts (I believe you start with "ifup wlan1") to make sure that they fail to start your wireless adapter. If the scripts do not fail, there is no reason to try to debug them. If I had a bash debugger that would have allowed me to step through the scripts, I would have used that. Instead, I had to do the primitive way of adding "print" statements, in this case, echo statements. I also did not add all the echo statements to start with. I added echo statements first to track down which script was failing, and then added more as needed to see what variables settings were. The first phase was to make sure that there was an echo statement at the beginning of every script so that I knew what script was executing when the activation of the wireless failed. Echo statements to see what arguments were passed to different function/script/program calls helped too. Hopefully, this will tell you what is going wrong and provide enough information to fix it. One of the problems that I ran into was that the key was being provided preceded by "s:" when it should have been "0x". Good luck. Let me know if this helps. I will try to remember what else I did to get my wireless adapter working back in Fedora 9. --
Quote: "One day a peacock. The next day a feather duster." |
_______________________________________________ Fedora-laptop-list mailing list Fedora-laptop-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-laptop-list