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.
I apologize. Linux is still exceptionally new to me I have only been using it for a very short time.
I followed the rest of that tutorial installed freshrpms and yum'ed all the necessary packages. The NetworkManager comes up when I am connected with a wire to my router, but it does not do anything when I unplug it. Is there any special configuring I have to do to get it to look for a wireless signal? I'm assuming that I must us it in conjuction with wpasupplicant to connect to my network since it has wpa enabled?
K well by the looks of it whatever happened, the drivers for my wireless were not installed properly. I went into Administration>Network and there is no wireless device listed there. Trying to manually add it doesn't work either. Could it be that the ipw2200 drivers I installed before are interfering. In the /lib/firmware directory the only files associated with ipw3945 i a file called ipw3945.ucode. The rest of that folder is populated with files pertaining to the ipw2200 driver. I don't even know how to trouble shoot to see what isn't working properly. From what I can see NetworkManager should automatically detect the wireless network but it isn't doing so. I am really confused as to what to do next, I have been reading so many different tutorials about how to install these drivers that to even trouble shoot is hard. Can anyone suggest what I should attempt next? NetworkManager is working, but my wireless device still isn't being detected. I followed the tutorial on this page: http://www.mabula.net/dell_inspiron_6400.html suggested by 2Gnu but the drivers didn't seem to install correctly.
Define "didn't seem to install correctly." Did you get errors?
What's lsmod telling you? That lists the kernel modules (drivers in Windows-speak) that are loaded. For example, if the ipw2200 is loaded, that's wrong. You would need to do two things - unload it (modprobe -r) and keep it from loading again (blacklist it). If ipw3495 isn't loaded, try loading it (modprobe ipw3495). Post any errors.
Check to see if the regulatory daemon (a background process) is running. You can list the processes running on your system (ps) show certain details about them with options to the ps command and, to use one of my favorite colloquialisms, pick the pepper out of the fly shit (or view only the relevant information against a lot of noise) with grep. Example: ps aux | grep ipw3495 will show you only those processes running which contain the text string ipw3495 in their name, along with the process ID number, the owner of the PID, memory and CPU it's consuming, etc.
I'm telling you why we're doing these commands vs. just saying "modprobe xxx" so you can eventually reduce your reliance on those tutorials.
Define "didn't seem to install correctly." Did you get errors?
What's lsmod telling you? That lists the kernel modules (drivers in Windows-speak) that are loaded. For example, if the ipw2200 is loaded, that's wrong. You would need to do two things - unload it (modprobe -r) and keep it from loading again (blacklist it). If ipw3495 isn't loaded, try loading it (modprobe ipw3495). Post any errors.
Check to see if the regulatory daemon (a background process) is running. You can list the processes running on your system (ps) show certain details about them with options to the ps command and, to use one of my favorite colloquialisms, pick the pepper out of the fly shit (or view only the relevant information against a lot of noise) with grep. Example: ps aux | grep ipw3495 will show you only those processes running which contain the text string ipw3495 in their name, along with the process ID number, the owner of the PID, memory and CPU it's consuming, etc.
I'm telling you why we're doing these commands vs. just saying "modprobe xxx" so you can eventually reduce your reliance on those tutorials.
THANK YOU, explaining what the commands actually do really helps.
"didn't seem to install correctly"- I stated this because when enter System>Administration>Network my wireless device isn't present. During boot I also do not show it coming up, I only see eto0 which is my wired device.
I issued the 'lsmod' command and received this output:
Beside the line: ieee80211 ipw3945 is listed beside that. I don't want to jump to conclusions but it appears as if perhaps the ipw3945 driver is actually loaded?
I then issued the ps aux | grep ipw3945 (i also love grep!) and this was my output:
I can't make heads nor tails of that. But it would appear that something is using the ipw3945 drivers.
Thanks again for taking the time to explain. I hoping that if I am successful at doing this it will better prepare me for trying it again later. As I am sure this will not be the last time I will have to deal with wireless in linux.
You're right, the module is loaded. I'm not sure I like that there appears to be four instances of the daemon running.
Does ifconfig show a wireless adapter, now that you appear to have the basics running?
What's the output of iwconfig?
Is the card turned on? If I recall correctly, the Intel cards have a soft switch to kill the radio. I don't know the command to toggle it, but I'm sure it's in the iwp3495 docs.
Ironically, I have a new ThinkPad with this same wireless card just waiting for me to go through the same process. I have it partitioned, but haven't loaded Linux yet. Whatever I learn here will apply there.
You're right, the module is loaded. I'm not sure I like that there appears to be four instances of the daemon running.
Does ifconfig show a wireless adapter, now that you appear to have the basics running?
What's the output of iwconfig?
Is the card turned on? If I recall correctly, the Intel cards have a soft switch to kill the radio. I don't know the command to toggle it, but I'm sure it's in the iwp3495 docs.
Ironically, I have a new ThinkPad with this same wireless card just waiting for me to go through the same process. I have it partitioned, but haven't loaded Linux yet. Whatever I learn here will apply there.
Oh jeez really, well I wish you luck. hopefully we can figure it out so you won't have to go through the same pains i have gone through.
As for the output of those two commands. Only eth0 shows up with ipconfig and as for the iwconfig:
Code:
lo no wireless extensions.
eth0 no wireless extensions.
The computer still does not want to recognize that there is a wireless card. I will see if I can't find the command to turn the wireless switch on. Even though its 'on' on the computer, perhaps in the software of linux its off.
Wow, I was just reading the 'INSTALL' file for the ipw3945 drivers. I am really starting to think that perhaps I should start all over and attempt to load the drivers myself. Perhaps I should reinstall linux and start fresh. See if I can't follow these instructions from the install file. There seems to be a lot of things that I missed in terms of actually configuring the drivers and what not. I don't know if thats a good course of action. Reinstalling isn't an issue really as all I have pretty much done is try to install the wireless drivers.
Unless you can think of anything that I might try. I also have yet to be able to find the command to turn the card on, but i am still looking!
Redoing the driver install wouldn't be a bad idea if you think you missed something. Reinstalling the distro shouldn't be needed.
Well if I decide to go ahead and redo do the install of the drivers using the instructions provided with the ipw3945 .rpm do I first have to uninstall any of the previous work I did? I plan on starting from the beginning. Hopefully I will be able to properly install ieee80211 and avoid the 'make' command error I get when attempting to make the drivers for ipw3945. So would it be alright if I just started the tutorial and go through it without first uninstalling everything I did before?
It's hard to make a blanket statement about it being OK. In the prefect world, the RPM package would overwrite the compiled from source stuff, but some distro packages prefer different paths and you could end up with something in /usr/local/whatever conflicting with /usr/whatever
If you can't get through the make process, something is missing. IF you fix that, you should be in good shape.
It's hard to make a blanket statement about it being OK. In the prefect world, the RPM package would overwrite the compiled from source stuff, but some distro packages prefer different paths and you could end up with something in /usr/local/whatever conflicting with /usr/whatever
If you can't get through the make process, something is missing. IF you fix that, you should be in good shape.
hmm, that is why I kind of want to start fresh so that I know that there won't be any conflicting objects getting in the way of getting it to work. So I think I might start fresh.
As for the error message I am receiving when trying to compile the source drivers I tried to do a search for a way to fix it but I was unable to find an answer. The error I believe I posted earlier in this post:
Code:
WARNING: Your kernel contains ieee80211 symbol definitions and you
are not using the kernel's default ieee80211 subsystem. (Perhaps you
used the out-of-tree ieee80211 subsystem's 'make install' or have
provided a path to the ieee80211 subsystem via IEEE80211_INC.)
If you wish to use the out-of-tree ieee80211 subsystem then it is
recommended to use that projects' "make patch_kernel" facility
and rebuild your kernel to update the Module symbol version information.
Failure to do this may result in build warnings and unexpected
behavior when running modules which rely on the ieee80211 subsystem.
Aborting the build. You can force the build to continue by adding:
IEEE80211_IGNORE_DUPLICATE=y
to your make command line.
make: *** [check_inc] Error 1
I don't want to use the ignore option because I have read that people have ran into other problems further down the line. Perhaps I should try compile it as part of the kernel. I was reading in the INSTALL file for the ipw3945 that you may need to do that with ieee80211 if you run into any errors. So perhaps I need to do that. I will hopefully have a chance to reformat and reinstall tonight and I am going to try from scratch and I will let you know so hopefully you can get yours up and running with no problems!
I found something interesting the in the ieee80211 folder. In the unpackaged file there is a directory called 'in-tree' it contains: Kconfig, and Makefile. According to the error message it is saying that I might have used the out-of-tree make install. When I got into the 'in-tree directory and issue the make command I get the following message: make: *** No targets. Stop. I wondering if I can some how use that make install file to install the ieee80211 subsystem. What if I copied the 'Makefile' from within the 'in-tree' directory to the main ieee80211 folder and then moved the other Makefile some place else, so essentially replacing it with the 'in-tree' 'Makefile'. Do you think this could possibly solve that error message?
What if I copied the 'Makefile' from within the 'in-tree' directory to the main ieee80211 folder and then moved the other Makefile some place else, so essentially replacing it with the 'in-tree' 'Makefile'. Do you think this could possibly solve that error message?
No. I think that would result in a "make mess"
In that folder, run ./configure --help
That will list the compile options. I'll bet that one of them is in-tree/out-of-tree. Also check the README. I'm sure it's all in there.
That will list the compile options. I'll bet that one of them is in-tree/out-of-tree. Also check the README. I'm sure it's all in there.
Thats whats so weird, I can't find a README in the ieee80211 folder. Even in the ip3945 README, it tells me to get into the ieee80211 documentation to see how to do everything but it isn't provided.
So I am not sure what to do now. But I would agree with you that one has to be the in-tree one. I am just not sure how to install it as an in-tree subsystem.
OK, I stand corrected. I grabbed the ieee80211 source package and there is neither a README nor a configure script. The INSTALL file gives pretty clear instructions, though.
After reading the INSTALL file and the project page info, it's clear that the ieee80211 stuff should be included in recent kernels. If not, you can recompile to include it. In-tree is the way to go.
Also, the INSTALL file tells how to remove old versions of the package, even though I'm not sure you ever got far enough to install it.
You can save a reinstall of the whole thing by reinstalling just the kernel source, modules and headers. That should put you back to an in-tree base, assuming FC kernels include it. Then, you can add the other pieces and (hopefully) roll on.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.