Osama Mahdi wrote:
but if the device is not in up state, why when I used ( iwlist scan ) I was able to find many networks? I think that mean the device is definetly up but it could not connect to the wireless network.
Certainly the device must be up if iwlist scan returns something. I only thought it was not up because you said ifup failed.
do u know the system file where the wireless encoding configuration is stored? I think this will help solving my problem.
I think it depends very much if you are using NetworkManager or not.
If you are not, then the information is stored in /etc/sysconfig/network-scripts/ifcfg-wlan0 (in your case), I believe.