Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
From the looks of it, ndiswrapper is working correctly, but the card's configuration isn't being set. If you are using WPA for security, you need to use wpa_supplicant to configure the card and the WPA key. Have you installed wpa_supplicant? If not, there are instructions on how to compile it from source on my help site (link in my signature). Otherwise, check your distro and see if they have a package for it.
do i have to use wpa-supplicant -Dndiswarpper -iwlan0 -c/mywpa1.conf once to have it linked or each time I start my PC?!
The short answer is yes, you do need to run that command each time you start your PC. However, you may need to add a couple more options to your command. Here is how I start wpa_supplicant on my laptop:
One thing you could do is set up that command to run every time you boot, but since you don't mention what distro you're using, I'm not sure where you would do that.
I don't have any of that header stuff that is in yours. The reason I'm suggesting you simplfy yours (make a backup copy first) is this message in your logs:
Quote:
Line 22: failed to parse network block.
Failed to read read or parse configuration '/etc/wpa_supplicant.conf'.
That suggests to me that it is tripping over your conf file. Is your config file actually /etc/wpa_supplicant.conf? I'm asking because in a previous post it isn't, and if you are not pointing to your config file, that command isn't going to work.
Finally, you have two psk= statements in your config file. I'm not sure if that is going to work.
It looks to me like wpa_supplicant isn't finding the wireless card. Are you sure ndiswrapper was loaded and it showed up in iwconfig before you ran wpa_supplicant?
Also, if you go the static IP route, you need to do three things:
1) set the IP address (I use ifconfig to do this, but I suppose Yast will do)
2) Set the gateway to your router's IP address (I use the route command, but again, maybe Yast has a way to do this.
3) You need to enter your ISP's DNS servers into /etc/resolv.conf. Each DNS has to have its own line like this:
nameserver xxx.xxx.xxx.xxx Where xxx is the IP address.
DHCP does all three of those things automatically, but if you forget to do one with a static IP, the system probably won't work.
Perhaps this is irrelavent for your problem, but I use ndiswrapper with wpa_supplicant on my Fedora 5 system, and I colud not get WPA or WPA2 to work untill I replaced the -Dndiswrapper option with a -Dwext one in the wpa_supplicant command line.
BTW i "love" posting here for myself in a supposedly outreaching community.. I cannot spend my entire life on this
Well, in that case stop posting and figure it out for yourself. The people on this forum volunteer their time and the least you can do is show a little appreciation rather than bitching and moaning.
I do not see what you feel addressed at all I mean in a PUBLIC forum to have one or two seeking to actively help you is a shame of any linux xommunity and reminds me rather of windows mentality, than understanding the concept of having to stick together in order to make Linux in general more attractive to the masses which will benefit the nerds as well by better programming
You have just shown your inability to see the person behind the PC, I mean if you need to resolve something on your own which I have already basically been doing then this BBS is all but for showing off instead of contemporary user progress within Linux!!!!
No, I am not to leave, you better do, since you bully ppl if they want to get solutions for the real world, where you cannot play around on your PC forever Now, back to the problem, THX
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.