The lsmod commad reads /proc/modules and lists all kernel modules that are installed. So a lsmod | grep -i airo should show you any loaded modules that have "airo" in their name.
Perhaps you need to run sudo depmod to regenerate the module dependency table. (This only takes a few minuets, so it won't hurt to run, but isn't likely to be the problem.) If the airo_cs isn't loaded, and there aren't any error messages, then I suspect you're correct that no card that the driver supports was detected. If that's the case, and you don't want to use the Windows driver via ndiswrapper, I'd suggest that you go to eBay and look for a minPCI card that's supported by a FOSS Linux driver (like, for example, the Atheros one I use). Replacing a miniPCI card is a fairly trivial exercise for most laptops. (I've never tried it on a IBM laptop, but I've had no problems making the change on a Gatway laptop or this HP one I'm using now.) You might even be able to find one that supports the new Wireless-N specification in addition to WPA2 or even WPA3. |
I ran "man depmod" to learn what depmod does. It says that a list is created in the /lib/modules/[kernel version]/modules.dep file.
Within the file, the list structure appears to show each module, and ends with a colon. It also appears that when a module is successfully "modded" (for lack of a better word), the list begins a new line after the colon. However, if the module is not correctly "modded", after the colon and on the same line, another module is depicted. This is all purely my interpretation, though. The airo.ko module appears about a fifth of the way down the list. On the next line appears the airo_cs.ko module. On the same line, after the colon, the airo.ko module appears again. Here is how it appears in the file: Code:
kernel/drivers/net/wireless/airo.ko: I was hoping to not have to change my card. I have read on the internet about people having difficulties with this card. As much as I love a good mystery, I was hoping to find a solution and share it with the Aironet user world. |
Hum, no, what that says is that the airo_cs module depends on the airo module. So, yes, it looks like you will need to remove the airo blacklist so airo_cs can run.
Weird: The way I read the 3.14 and 3.16 sections was that they were independent drivers. :scratch: Well, maybe the web page hasn't been kept in sync with the driver development. |
This is a long post, sorry.
Well, I thought I was lost 'til I happened to look into /var/log/boot.log This shows up in the boot log Code:
WARNING: /etc/modprobe.d/airo_cs.conf line 1: ignoring bad line starting with 'install' It seems the way we have written it, airo_cs will not load. Do we need to use a different word, other than "install"? Do we need to use "modprobe" or "insmod" or something like that? (been looking at man pages, but still unfamiliar) Also, I don't think we really have done or changed anything so far, however, "iwlist scan" now reports info about my home wireless network. It didn't used to do that. I still have to "service network restart" to get the wireless card working upon every reboot Code:
iwlist scan Here's another funny thing. When I run Code:
service network restart Code:
service network restart Is this weird? |
First (my bad:redface:) the install command requires a second argument: the program to be run to do the install. So I should have said that the command line in the /etc/modprobe.d/ario_cs.conf file should be install areo_c /sbin/modprobe. If you look at the manual page (man modprbe.conf) that's what it actually says.
Second, just doing a sudo modprobe airo_cs should cause the system to load the driver every time you boot without the necessity of any file in /etc/modprobe.d. (See man modprobe for details.) If you look at the files in /etc/modprobe.d/, you'll see that the only ones there are ones that require "special" processing. So, try this:
If that works, let us know. If not, show the messages. Oh, re your last post: the messages you see in the log are just telling you that you havent set up an "automatic" connection. The NetworkManager doesn't use the "automatic" connection mode. |
Sorry I haven't responded to my own thread in so long. We all of a sudden got busy at the shop. This will also be a long post, sorry.
Ok, where to begin? Ok, I got rid of all the blacklisting work we performed previously. Ran the modprobe airo airo_cs and got Code:
modprobe -vr airo airo_cs Ran the second modprobe airo_cs and got Code:
modprobe -v airo_cs Well upon reboot and a run of dmesg reveals that the airo_cs driver was not loaded. I was under the assumption that the work we performed here was to force install the driver so that it would show up as installed. I rechecked the /var/log/boot.log file, and those errors we encountered before did not come back. Running dmesg while looking only for stuff relating to airo produces this: Code:
dmesg | grep airo I suppose the airo driver is configured to look for WEP netorks, but why does it keep looking, or am I interpreting this output incorrectly? Here's an interesting line, which I haven't found a reason for when searching on the internet: Code:
airo(eth0): Bad MAC enable reason=88, rid=ff10, offset=49392 Here's another question from an "iwlist scan" output on a previous post. What's the difference between "eth0" and "wifi0"? I'm still a bit confused, and I think there has been no connection progress, but education progress has definately been made. I learn something new every time you respond. Thanks |
Yes, well, it would be nice if someone familiar with the airo driver could offer some input.
As I explained, I'm only offering the "standard solution to WIFI connection problems" advice, with little specifics. Anyhow, to answer your question re eth0 and wifi0, both are just names that you've assigned to various Ethernet connections. (Actually, those are "default" names, but, since they're arbitrary, you've "assigned" them by accepting the defaults.) Conventionally, names starting with eth are used for wired connections and those starting with wifi are used for wireless ones. But it really is quite arbitrary, and drivers will often name the connection for which they're responsible in some mnemonic fashion. (For example, my wife's Wireless-N connection is called ra, and my Atheros connection calls itself ath0.) Now, about the failure to set the four WEP key values, I suspect that system-config-network was used to set up wifi0 some time ago. That program doesn't "understand" WPA protection, so it insists on setting up a WEP key scheme. If you set the wifi0 check-box option to "Active on boot," which you should never (well, hardly ever) do for a non-wired connection, you'll see those messages. But, does the NetworkManager icon show you any scan results? Are the WPA connections un-grayed? If so, have you tried one? |
No, nothing new. Well actually, something new, but very undesirable.
I unchecked that box next to "Activate device when computer starts" in the system-config-network gui, and now when I restart network services, my wireless card does not turn on like it used to: Code:
service network restart So, I rechecked that box, and restarted my computer. Performed a service network restart, the output for my wireless card was failed Code:
Bringing up interface eth0: I'm still a bit miffed that after all the work to force the airo_cs driver to load, the driver still does not appear to be loaded. In answer to your question, all WPA encrypted networks are still greyed. And, I never heard back from that guy who wrote the driver. Perhaps he busy teaching the third world how to use Linux. |
Hey, Matthieu Castet wrote me back after all. It seems he has been working on an airo driver that works with today's kernels. Unfortunately for me, it's source. I don't know much of how to use the software he asked me to download.
Here is the email thread: (The list of files follow) Dear Matthieu, I hope it is appropriate to write to you. My name is John Bouras. I live in Arlington, Virginia, USA. I started using Linux last year with Fedora 9, and I'm very happy to continue. I'm using Fedora 12 today. I got your email from the HP webpage "The devices, the drivers - 802.11b" by Jean Tourrilhes. On that page, under the heading of: " 3.14 Aironet ARLAN 4500, 4800, Cisco 340 and Cisco 350 series" you are listed as a contributor to the driver airo.o and airo_cs.o, specifically WPA support. As I mentioned, I wonder if it is appropriate to write to you to ask for help. I have an IBM ThinkPad R40 with an Aironet MPI350 wireless card. It works fine with open and WEP encrypted networks, but not with WPA. I have scoured the internet and found quite a few unhappy owners of this card. As I have embraced Linux as my operating system, I am not interested in using ndiswrapper to make the card work, and will only use it as a last resort. Is there any insight you can give me? Would you be willing to work with me to get this card to work? John ...and his reply: Hi John, John Bouras a écrit : - Show quoted text - The driver from http://gna.org/projects/airo-wpa (svn version branches/kernel/) should work. To enable wpa, you should add "wpa_enabled=1" module option. I am using it with 2.6.32. Matthieu ...and the list of files: [Folder]airo-wpa airo.c Makefile wpa_supplicant_wpa-EAP.conf wpa_supplicant_wpa-PSK.conf [Folder]doc airo.rid ndiswrapper.diff README Now, I tried to look on the internet on how to use source, but I'm confused about what "branches/kernel/" means. Plus, I don't know where to add the "wpa_enabled=1" module option. Do you, by any chance? |
Theoretically the instructions are in the README file, but I'll have to look at the files. The "SVN version information ("branches/kernel") is just telling you where the code is located in the development code repository.
More later. (One of my drives just failed, and I need to deal with that first.) |
Take your time. I have other issues besides the wireless card. My USB ports no longer work, and I am contemplating whether to install yet another motherboard, or simply buy another computer and keep this 6 year old laptop as simply an internet portal. Our service writer has a VAIO that he is willing to sell for $250. Unfortunately for me, it has no trackpoint (love my ole' IBM), but it's newer with a faster processor so it may perform better than my Pentium 4M IBM ThinkPad. I still wanna solve this issue so others can look at this thread and be saved (maybe that's too dramatic).
|
O.K., here's how I did it on my system, except, of course, I can't try out the driver since I don't have that device installed.
Code:
$ mkdir tmp Note that everything from the last ls on down is my guess of what you need to do, since I didn't want to actually install a driver I couldn't use. |
First, Thank you for replying. I hope your drive incident was not too costly. Second, Thanks for leaving some stuff out. How else am I gonna learn?
Since I run the PAE kernel, I had to run Code:
yum install kernel-PAE-devel Code:
/usr/src/kernels/2.6.32.9-70.fc12.i686.PAE/scripts/gcc-version.sh: line 25: gcc: command not found But, the modprobe stuff is confusing. Fedora's handling of modprobe differs from other distros, as we learned earlier in this thread. I sorta went on my own and wrote a .conf file called airo.conf with a single line Code:
install airo.c I restarted, and restarted network services, and my wpa network is still grey, but shouldn't it still be grey? I remember in Matthieu's reply, he said Quote:
I believe we are really close to solving this puzzle..... |
After a lot of searching, I discovered that the problem with my drive was that the connector was loose. So, no, it wasn't very expensive, just strange. I hadn't realized that laptop drive connectors could come loose. (Connectors are the first thing I check when I have drive problems on desktop systems, but the laptop didn't appear to have any cable, so I never thought to check until I found that the drive worked fine in a USB enclosure.)
Returning to your problem, when he said to add "wpa_enabled=1" module option, I believe he means "Add it to the modprobe command line." I'd forgotten that comment. Anyhow, what you need to do is add that to the modprobe command. So, instead of modprobe airo you should use modprobe airo wpa_enabled=1. Note that, as you discovered before, the install configuration file requires three arguments, not two. In any case, using the modprobe command should eliminate the need for you to create the configuration file, but, if you wish to do so, look at the files already in modprobe.d to see how it's done. |
Sorry I haven't written in a while. Changes.
Well I hope I wrote this correctly. It doesn't work, but I don't get any error messages in /var/log/boot.log so I'm not sure if I did anything wrong or not. I created a new airo.conf file in the /etc/modprobe.d directory, here's the line: Code:
install airo.c /sbin/modprobe wpa_enabled=1 |
All times are GMT -5. The time now is 02:10 AM. |