[opensuse] Atheros AR242X driver with openSUSE 11.1
Hi all- I got my daughter a new laptop (Compaq Presario CQ50-142) for Christmas. It came with Vista, but I've now got openSUSE 11.1 on it. It's working well except for wireless at this point. It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case. I was hoping some on this list had experience getting this working and share how they did it. Thanks! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 11:28 AM, Doctor Who <whodoctor@gmail.com> wrote:
Hi all-
It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case.
Hi Doctor :-) I don't have the wifi card AR242x but my another chipset of Atheros card will be work like a charm by using madwifi driver. 1. Disable or blacklist ath5k driver by add the blacklist ath5k to /etc/modprobe.d/blacklist 2. Open konsole or terminal 3. Install the driver su zypper in kernel-source make gcc gcc-c++ wget -c http://internode.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.4.tar.gz tar -zxvf madwifi-0.9.4.tar.gz cd madwifi-0.9.4 make make install modprobe ath_pci reboot After reboot, you should be configure the wifi from YAST | Network Devices | Network Settings -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Dec 24, 2008 at 11:28 PM, Doctor Who <whodoctor@gmail.com> wrote:
I got my daughter a new laptop (Compaq Presario CQ50-142) for Christmas. It came with Vista, but I've now got openSUSE 11.1 on it. It's working well except for wireless at this point. It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case.
AFAIK, the kernel driver for the atheros cards only supports the 5xxx cards. The older 2xxx cards are not support by that driver. Further, the ath5k driver for the 5xxx cards is not very good from my experience. I generally just delete the ath5k driver and then install and compile the madwifi driver, which is much more stable and I get much faster transfer rates with it.
I was hoping some on this list had experience getting this working and share how they did it.
I believe that there is a madwifi repository that you can add that will automatically add the correct driver. If you compile it yourself, everytime you update your kernel you will have to recompile the driver. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 12:11 AM, Larry Stotler <larrystotler@gmail.com> wrote:
On Wed, Dec 24, 2008 at 11:28 PM, Doctor Who <whodoctor@gmail.com> wrote:
I got my daughter a new laptop (Compaq Presario CQ50-142) for Christmas. It came with Vista, but I've now got openSUSE 11.1 on it. It's working well except for wireless at this point. It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case.
AFAIK, the kernel driver for the atheros cards only supports the 5xxx cards. The older 2xxx cards are not support by that driver. Further, the ath5k driver for the 5xxx cards is not very good from my experience. I generally just delete the ath5k driver and then install and compile the madwifi driver, which is much more stable and I get much faster transfer rates with it.
I was hoping some on this list had experience getting this working and share how they did it.
I believe that there is a madwifi repository that you can add that will automatically add the correct driver. If you compile it yourself, everytime you update your kernel you will have to recompile the driver.
I guess I just need the madwifi and madwifi-kmp packages from the repo? Just install those, re-boot, and go? Anything else? Thanks! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 7:41 PM, Doctor Who <whodoctor@gmail.com> wrote:
I guess I just need the madwifi and madwifi-kmp packages from the repo? Just install those, re-boot, and go? Anything else?
AFAIK, madwifi and madwifi-kmp for 11.1 has not available yet, so another solution is by compiling it manually or used my advice on previous email. -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 7:44 AM, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Thu, Dec 25, 2008 at 7:41 PM, Doctor Who <whodoctor@gmail.com> wrote:
I guess I just need the madwifi and madwifi-kmp packages from the repo? Just install those, re-boot, and go? Anything else?
AFAIK, madwifi and madwifi-kmp for 11.1 has not available yet, so another solution is by compiling it manually or used my advice on previous email.
There is an 11.1 repo with the madwifi RPMs, so I assume that those are OK. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
So it appears the 11.1 madwifi repo is just a placeholder for now. In the interim, I'm trying to compile manually. I have the kernel-source, make, gcc, and gcc-c++ packages installed. However, after I've un-tarred the madwifi package and attempted to run a 'make', it fails with: CC [M] /home/sahara/madwifi-0.9.4/net80211/ieee80211_node.o CC [M] /home/sahara/madwifi-0.9.4/net80211/ieee80211_output.o CC [M] /home/sahara/madwifi-0.9.4/net80211/ieee80211_power.o /home/sahara/madwifi-0.9.4/net80211/ieee80211_power.c: In function 'ieee80211_pwrsave': /home/sahara/madwifi-0.9.4/net80211/ieee80211_power.c:240: error: implicit declaration of function '__ skb_append' make[5]: *** [/home/sahara/madwifi-0.9.4/net80211/ieee80211_power.o] Error 1 make[4]: *** [/home/sahara/madwifi-0.9.4/net80211] Error 2 make[3]: *** [_module_/home/sahara/madwifi-0.9.4] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae' make: *** [modules] Error 2 Any ideas as to what the problem might be? Thanks. On 12/25/08, Doctor Who <whodoctor@gmail.com> wrote:
On Thu, Dec 25, 2008 at 7:44 AM, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Thu, Dec 25, 2008 at 7:41 PM, Doctor Who <whodoctor@gmail.com> wrote:
I guess I just need the madwifi and madwifi-kmp packages from the repo? Just install those, re-boot, and go? Anything else?
AFAIK, madwifi and madwifi-kmp for 11.1 has not available yet, so another solution is by compiling it manually or used my advice on previous email.
There is an 11.1 repo with the madwifi RPMs, so I assume that those are OK.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
It nappears this may be due to the linux kernel headers version not matching the running kernel version: kernel-pae-base-2.6.27.7-9.1 kernel-pae-2.6.27.7-9.1 linux-kernel-headers-2.6.27-2.28 kernel-syms-2.6.27.7-9.1 kernel-pae-extra-2.6.27.7-9.1 kernel-source-2.6.27.7-9.1 Not sure why it's different. Any idea how to get the correct version, if that is indeed the problem? Thanks. On 12/25/08, Doctor Who <whodoctor@gmail.com> wrote:
So it appears the 11.1 madwifi repo is just a placeholder for now.
In the interim, I'm trying to compile manually. I have the kernel-source, make, gcc, and gcc-c++ packages installed. However, after I've un-tarred the madwifi package and attempted to run a 'make', it fails with:
CC [M] /home/sahara/madwifi-0.9.4/net80211/ieee80211_node.o CC [M] /home/sahara/madwifi-0.9.4/net80211/ieee80211_output.o CC [M] /home/sahara/madwifi-0.9.4/net80211/ieee80211_power.o /home/sahara/madwifi-0.9.4/net80211/ieee80211_power.c: In function 'ieee80211_pwrsave': /home/sahara/madwifi-0.9.4/net80211/ieee80211_power.c:240: error: implicit declaration of function '__ skb_append' make[5]: *** [/home/sahara/madwifi-0.9.4/net80211/ieee80211_power.o] Error 1 make[4]: *** [/home/sahara/madwifi-0.9.4/net80211] Error 2 make[3]: *** [_module_/home/sahara/madwifi-0.9.4] Error 2 make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.27.7-9-obj/i386/pae' make: *** [modules] Error 2
Any ideas as to what the problem might be?
Thanks.
On 12/25/08, Doctor Who <whodoctor@gmail.com> wrote:
On Thu, Dec 25, 2008 at 7:44 AM, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Thu, Dec 25, 2008 at 7:41 PM, Doctor Who <whodoctor@gmail.com> wrote:
I guess I just need the madwifi and madwifi-kmp packages from the repo? Just install those, re-boot, and go? Anything else?
AFAIK, madwifi and madwifi-kmp for 11.1 has not available yet, so another solution is by compiling it manually or used my advice on previous email.
There is an 11.1 repo with the madwifi RPMs, so I assume that those are OK.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 10:54 PM, Doctor Who <whodoctor@gmail.com> wrote:
It nappears this may be due to the linux kernel headers version not matching the running kernel version:
kernel-pae-base-2.6.27.7-9.1 kernel-pae-2.6.27.7-9.1 linux-kernel-headers-2.6.27-2.28 kernel-syms-2.6.27.7-9.1 kernel-pae-extra-2.6.27.7-9.1 kernel-source-2.6.27.7-9.1
Not sure why it's different. Any idea how to get the correct version, if that is indeed the problem?
Try to updating the source, header and running kernel with same version. Run : uname -r to make sure what kernel version running on your computer. -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
linux:/home/sahara # uname -r 2.6.27.7-9-pae Updates show that I have the latest of all installed packages. I checked another machine I have here and it has similar kernel packages with kernel-source not matching: kernel-pae-base-2.6.27.7-9.1 kernel-pae-2.6.27.7-9.1 linux-kernel-headers-2.6.27-2.28 kernel-syms-2.6.27.7-9.1 kernel-pae-extra-2.6.27.7-9.1 kernel-source-2.6.27.7-9.1 On 12/25/08, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Thu, Dec 25, 2008 at 10:54 PM, Doctor Who <whodoctor@gmail.com> wrote:
It nappears this may be due to the linux kernel headers version not matching the running kernel version:
kernel-pae-base-2.6.27.7-9.1 kernel-pae-2.6.27.7-9.1 linux-kernel-headers-2.6.27-2.28 kernel-syms-2.6.27.7-9.1 kernel-pae-extra-2.6.27.7-9.1 kernel-source-2.6.27.7-9.1
Not sure why it's different. Any idea how to get the correct version, if that is indeed the problem?
Try to updating the source, header and running kernel with same version. Run : uname -r to make sure what kernel version running on your computer.
-- Best Regards,
Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id /************************************************************/
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 11:24 PM, Doctor Who <whodoctor@gmail.com> wrote:
linux:/home/sahara # uname -r 2.6.27.7-9-pae
Updates show that I have the latest of all installed packages. I checked another machine I have here and it has similar kernel packages with kernel-source not matching:
Did you have a special reason using kernel-pae (ie : using RAM > 4 GB). IF no, I suggested to update your running kernel into kernel-default and then installing kernel-source. Find the match version here : http://software.opensuse.org/search (don't forget to change default openSUSE version) -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Not sure, I was curious about this myself. I have 3GB in the laptop, but it was the PAE kernel that was installed during the installation. Should I go into YaST and choose 'kernel-default' and install that? I assume that will give me both options and then I can boot using kernel-default at the grub screen? Any other On 12/25/08, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Thu, Dec 25, 2008 at 11:24 PM, Doctor Who <whodoctor@gmail.com> wrote:
linux:/home/sahara # uname -r 2.6.27.7-9-pae
Updates show that I have the latest of all installed packages. I checked another machine I have here and it has similar kernel packages with kernel-source not matching:
Did you have a special reason using kernel-pae (ie : using RAM > 4 GB). IF no, I suggested to update your running kernel into kernel-default and then installing kernel-source. Find the match version here : http://software.opensuse.org/search (don't forget to change default openSUSE version)
-- Best Regards,
Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz /************************************************************/
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 11:39:45AM -0500, Doctor Who wrote:
Not sure, I was curious about this myself. I have 3GB in the laptop, but it was the PAE kernel that was installed during the installation.
Should I go into YaST and choose 'kernel-default' and install that? I assume that will give me both options and then I can boot using kernel-default at the grub screen?
No, just continue using the PAE kernel. The stuff below is bad advice. (PAE kernel is used to get NX (no execute) protection, even on machines with less than 4GB). There are madwifi packages in the buildservice ready to install, look for madwifi-kmp-pae for 11.1. Ciao, Marcus -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 11:39 PM, Doctor Who <whodoctor@gmail.com> wrote:
Not sure, I was curious about this myself. I have 3GB in the laptop, but it was the PAE kernel that was installed during the installation.
Did you try the beta or RC before installing the GM ? I got same experience while upgrading RC to final :-)
Should I go into YaST and choose 'kernel-default' and install that? I assume that will give me both options and then I can boot using kernel-default at the grub screen?
Yes, correct. If you wish to install kernel-source later, make sure the version match with your running kernel. -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 11:46 AM, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Thu, Dec 25, 2008 at 11:39 PM, Doctor Who <whodoctor@gmail.com> wrote:
Not sure, I was curious about this myself. I have 3GB in the laptop, but it was the PAE kernel that was installed during the installation.
Did you try the beta or RC before installing the GM ? I got same experience while upgrading RC to final :-)
No, this was a clean install of 11.1 GM.
Should I go into YaST and choose 'kernel-default' and install that? I assume that will give me both options and then I can boot using kernel-default at the grub screen?
Yes, correct. If you wish to install kernel-source later, make sure the version match with your running kernel.
I have kernel-source installed now and it matches the running kernel...it's just that I have kernel-PAE and not kernel-default. Would that cause a problem with not being able to compile the madwifi driver? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Dec 26, 2008 at 12:03 AM, Doctor Who <whodoctor@gmail.com> wrote:
I have kernel-source installed now and it matches the running kernel...it's just that I have kernel-PAE and not kernel-default. Would that cause a problem with not being able to compile the madwifi driver?
It's not the one-and-only reason, but, yes, it was one reason why you facing some problem on compiling the madwifi driver. You may also found another problem with another case but I hope it won't :-D. I have an experience with AR-5007EG that could not used default madwifi 0.9.4 driver and must using snapshot driver, but I think, it may not work for special reason only. -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Dec 25, 2008 at 12:21 PM, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Fri, Dec 26, 2008 at 12:03 AM, Doctor Who <whodoctor@gmail.com> wrote:
I have kernel-source installed now and it matches the running kernel...it's just that I have kernel-PAE and not kernel-default. Would that cause a problem with not being able to compile the madwifi driver?
It's not the one-and-only reason, but, yes, it was one reason why you facing some problem on compiling the madwifi driver.
You may also found another problem with another case but I hope it won't :-D.
I have an experience with AR-5007EG that could not used default madwifi 0.9.4 driver and must using snapshot driver, but I think, it may not work for special reason only.
OK, I was able to do a 'make' and 'make install' with the SVN version. 1)What other steps need to be done at this point to get wireless working? 2) I guess I want to get this working on the home network with my WAP using WPA via NetworkManager. I noticed earlier that I could get the laptop connected to the wired internet (eth0) with the ifup method, but switching to NetworkManager, it would never connect. I want to use NetworkManager so she can easily switch connections when needed or connect to other WAPs if needed. Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Dec 26, 2008 at 12:31 AM, Doctor Who <whodoctor@gmail.com> wrote:
OK, I was able to do a 'make' and 'make install' with the SVN version.
OK, pretty nice :-)
1)What other steps need to be done at this point to get wireless working?
Activating your wifi card within yast | network device | network setting.
2) I guess I want to get this working on the home network with my WAP using WPA via NetworkManager. I noticed earlier that I could get the laptop connected to the wired internet (eth0) with the ifup method, but switching to NetworkManager, it would never connect. I want to use NetworkManager so she can easily switch connections when needed or connect to other WAPs if needed.
Please recheck your hardware tab on your wifi card setting within yast | network device | network setting. In my case, it show ath_pci. If you get ath5k or another driver, you must blacklist the old driver and choose ath_pci. To disable another wifi driver, add the "blacklist ath5k" or "blacklist another-wifi-driver" to /etc/modprobe.d/blacklist -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12/25/08, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Fri, Dec 26, 2008 at 12:31 AM, Doctor Who <whodoctor@gmail.com> wrote:
OK, I was able to do a 'make' and 'make install' with the SVN version.
OK, pretty nice :-)
1)What other steps need to be done at this point to get wireless working?
Activating your wifi card within yast | network device | network setting.
2) I guess I want to get this working on the home network with my WAP using WPA via NetworkManager. I noticed earlier that I could get the laptop connected to the wired internet (eth0) with the ifup method, but switching to NetworkManager, it would never connect. I want to use NetworkManager so she can easily switch connections when needed or connect to other WAPs if needed.
Please recheck your hardware tab on your wifi card setting within yast | network device | network setting. In my case, it show ath_pci. If you get ath5k or another driver, you must blacklist the old driver and choose ath_pci.
To disable another wifi driver, add the "blacklist ath5k" or "blacklist another-wifi-driver" to /etc/modprobe.d/blacklist
OK, so here is where I am: 1) When using NetworkManager, I can boot the laptop and have eth0 come up. I do not have an option to create a new connection with wlan0. 2) When I go into yast2 -> Network Settings I see the wireless device listed twice (see attached snapshot1.png). One entry I cannot edit at all per the message at the bottom of the screenshot: AR242x 802.11abg Wireless PCI Express Adapter (Not connected) BusID : 0000:02:00.0 Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details. The other I can edit (this is switching back to 'ifup' vs NetworkManager to do the edits) but there is no driver listed on the hardware tab at all. I have blacklisted the ath5k driver in /etc/modprobe.d/blacklist It appears I have the right module loaded per modprobe: linux:/home/sahara/madwifi # modprobe -l | grep ath_pci /lib/modules/2.6.27.7-9-pae/net/ath_pci.ko What am I not doing or doing wrong to get this working? Grrrrrrr. Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Dec 26, 2008 at 1:14 AM, Doctor Who <whodoctor@gmail.com> wrote:
1) When using NetworkManager, I can boot the laptop and have eth0 come up. I do not have an option to create a new connection with wlan0.
2) When I go into yast2 -> Network Settings I see the wireless device listed twice (see attached snapshot1.png). One entry I cannot edit at all per the message at the bottom of the screenshot:
AR242x 802.11abg Wireless PCI Express Adapter (Not connected) BusID : 0000:02:00.0
Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details.
Probably the kernel has wrong identification :-) http://lizards.opensuse.org/2008/07/14/atheros-ar-5007-eg-on-opensuse-110/ -- Best Regards, Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz /************************************************************/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
It appears I may have it working now. The last madwifi appears to have worked. Windows does, in fact, see the device as an Atheros AR5007 so the diagnosis about mis-identification was correct. Thanks to all who responded for the help!! On 12/25/08, Masim Vavai Sugianto <vavai@vavai.com> wrote:
On Fri, Dec 26, 2008 at 1:14 AM, Doctor Who <whodoctor@gmail.com> wrote:
1) When using NetworkManager, I can boot the laptop and have eth0 come up. I do not have an option to create a new connection with wlan0.
2) When I go into yast2 -> Network Settings I see the wireless device listed twice (see attached snapshot1.png). One entry I cannot edit at all per the message at the bottom of the screenshot:
AR242x 802.11abg Wireless PCI Express Adapter (Not connected) BusID : 0000:02:00.0
Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details.
Probably the kernel has wrong identification :-)
http://lizards.opensuse.org/2008/07/14/atheros-ar-5007-eg-on-opensuse-110/
-- Best Regards,
Masim "Vavai" Sugianto /************************************************************/ Blog (ID) : http://www.vavai.com/blog Blog (EN) : http://www.vavai.net Community : http://www.opensuse.or.id Commercial : http://toko.vavai.biz /************************************************************/
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 25 Dec 2008 10:54:15 -0500, you wrote:
It appears this may be due to the linux kernel headers version not matching the running kernel version:
kernel-pae-base-2.6.27.7-9.1 kernel-pae-2.6.27.7-9.1 linux-kernel-headers-2.6.27-2.28 kernel-syms-2.6.27.7-9.1 kernel-pae-extra-2.6.27.7-9.1 kernel-source-2.6.27.7-9.1
Not sure why it's different.
Because linux-kernel-headers contains the headers that are installed below /usr/include, to be used by userspace applications. The real kernel headers meant to be used by kernel drivers like madwifi are contained in the package kernel-source and that matches your installed kernel. The most probable reason is a mismatch between the madwifi sources and the kernel sources. If you want to compile such an external (i.e. not part of the kwernel source) driver for openSUSE, you should compile by calling make KERNELPATH=/usr/src/linux-obj/i586/pae If that comes up with the same error, I'd suggest using the latest svn version. See http://madwifi-project.org/wiki/UserDocs/GettingMadwifi for details. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag 25 Dezember 2008 05:28:52 schrieb Doctor Who:
I got my daughter a new laptop (Compaq Presario CQ50-142) for Christmas. It came with Vista, but I've now got openSUSE 11.1 on it. It's working well except for wireless at this point.
It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case.
I was hoping some on this list had experience getting this working and share how they did it.
Should work with madwifi-ng drivers and with the compat-wirless drivers, which are essentaily the drivers of kernel 2.6.18 backported to 2.6.27. Currently no packages for openSUSE 11.1 are available. I compiled the latter myself for my EEEPC 900A and it worked without any tricks. I will provide packages in my home BuildService repository (home:hgraeber:drivers) soon. This will help with several other wireless hardware, too. Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Donnerstag 25 Dezember 2008 21:09:37 schrieb Herbert Graeber:
Am Donnerstag 25 Dezember 2008 05:28:52 schrieb Doctor Who: [...]
Should work with madwifi-ng drivers and with the compat-wirless drivers, which are essentaily the drivers of kernel 2.6.18 backported to 2.6.27.
Currently no packages for openSUSE 11.1 are available. I compiled the latter myself for my EEEPC 900A and it worked without any tricks. I will provide packages in my home BuildService repository (home:hgraeber:drivers) soon. This will help with several other wireless hardware, too.
Meanwhile there are drivers in BuildService in the home:enzokiel project. No need for building myself. Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Doctor Who wrote:
Hi all-
I got my daughter a new laptop (Compaq Presario CQ50-142) for Christmas. It came with Vista, but I've now got openSUSE 11.1 on it. It's working well except for wireless at this point.
It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case.
I was hoping some on this list had experience getting this working and share how they did it.
Thanks!
Doc, I don't know if you have it working yet or not, but I built madwifi rpms for 11.1 and they are hosted on build service: http://download.opensuse.org/repositories/home:/drankinatty/openSUSE_11.1/ The key for me was to install madwifi and then go configure the new interface in yast to use the ath_pci kernel module instead of the ath5k module. Don't forget to blacklist the ath5k driver in /etc/modprobe.d/blacklist. The line in the file should look like: blacklist ath5 Then either rmmod ath5k and modprobe ath_pci and once you have the ath_pci module loaded, the do a depmod -a to updated the modules to load at boot. Below is a small troubleshooting howto I have squirreled away for the madwifi driver: Installing, Troubleshooting and Configuring WPA for the madwifi driver on openSuSE 11.0 (works for 11.1 also) Installation: # First remove all existing madwifi rpms if you have a newer Atheros card, AR242 or later rpm -e $(rpm -qa | grep madwifi) # Get the current madwifi rpms that will support newer Atheros cards at: http://download.opensuse.org/repositories/home:/drankinatty/openSUSE_11.1/ # After the install, start yast and configure the new network device: Under the 'General' tab, 'Device Control' select 'Enable Device Control for Non-root User Via Kinternet' Under the 'Address' tab, select Dynamic Address Under the 'Hardware' tab, make sure the Module Name is 'ath_pci' Click Next: Operating Mode: Managed Enter your SSID Enter you Authentication Mode, etc.. # Next you will simply need to start network manager and add and configure your card. If you can't find your card, then see Troubleshooting below. Configuring WPA follows troubleshooting below. Troubleshooting: # Check that ath0 station is created: iwconfig lo no wireless extensions. wifi0 no wireless extensions. ath0 IEEE 802.11g ESSID:"rbpllc" Nickname:"" Mode:Managed Frequency:2.412 GHz Access Point: 00:1C:10:4B:2E:CD Bit Rate:48 Mb/s Tx-Power:16 dBm Sensitivity=1/1 Retry:off RTS thr:off Fragment thr:off Encryption key:6B2E-5834-1B7A-1BA3-FDAA-484B-6E84-3B55 Security mode:restricted Power Management:off Link Quality=44/70 Signal level=-48 dBm Noise level=-92 dBm Rx invalid nwid:12662 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 eth0 no wireless extensions. # if NO ath0, then Create the station wlanconfig ath0 create wlandev wifi0 wlanmode sta # Check with iwconfig iwconfig # Bring up the interface ifconfig ath0 up # Insert the scanning module modprobe wlan_scan_sta # Scan for nets wlanconfig ath0 list scan # or for all modems iwlist ath0 scan # if key required iwconfig ath0 key <yourkey> # Connect to the AP iwconfig ath0 essid "eddie" # Get IP address dhclient ath0 # or dhcpcd ath0 # For fixed IP ifconfig ath0 <IP address> netmask <netmask> up Configuring WPA: # To set up WPA config wpa_passphrase "your_ESSID" "Some_Decent_PassPhrase_of_up_64_Characters" >> /etc/wpa_supplicant.conf Edit /etc/wpa_supplicant.conf and add the lines into the network section created above: key_mgmt=WPA-PSK # proto=WPA proto=RSN Uncomment the proto=WPA line (and comment out the RSN line) to enable WPA. Leave as is for WPA2 (stronger encryption). Post back if your are still stuck. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi, The madwifi project now has SUSE RPMs for openSUSE 11.1 too. http://madwifi-project.org/suse/11.1/ Ciao, Marcus On Thu, Jan 08, 2009 at 10:54:21PM -0600, David C. Rankin wrote:
Doctor Who wrote:
Hi all-
I got my daughter a new laptop (Compaq Presario CQ50-142) for Christmas. It came with Vista, but I've now got openSUSE 11.1 on it. It's working well except for wireless at this point.
It has an Atheros AR242X wireless card. I'd read on one of the forums that this would work 'out-of-the-box' will 11.1, but that doesn't seem to be the case.
I was hoping some on this list had experience getting this working and share how they did it.
Thanks!
Doc,
I don't know if you have it working yet or not, but I built madwifi rpms for 11.1 and they are hosted on build service:
http://download.opensuse.org/repositories/home:/drankinatty/openSUSE_11.1/
The key for me was to install madwifi and then go configure the new interface in yast to use the ath_pci kernel module instead of the ath5k module. Don't forget to blacklist the ath5k driver in /etc/modprobe.d/blacklist. The line in the file should look like:
blacklist ath5
Then either rmmod ath5k and modprobe ath_pci and once you have the ath_pci module loaded, the do a depmod -a to updated the modules to load at boot. Below is a small troubleshooting howto I have squirreled away for the madwifi driver:
Installing, Troubleshooting and Configuring WPA for the madwifi driver on openSuSE 11.0 (works for 11.1 also)
Installation:
# First remove all existing madwifi rpms if you have a newer Atheros card, AR242 or later
rpm -e $(rpm -qa | grep madwifi)
# Get the current madwifi rpms that will support newer Atheros cards at:
http://download.opensuse.org/repositories/home:/drankinatty/openSUSE_11.1/
# After the install, start yast and configure the new network device:
Under the 'General' tab, 'Device Control' select 'Enable Device Control for Non-root User Via Kinternet'
Under the 'Address' tab, select Dynamic Address
Under the 'Hardware' tab, make sure the Module Name is 'ath_pci'
Click Next:
Operating Mode: Managed
Enter your SSID
Enter you Authentication Mode, etc..
# Next you will simply need to start network manager and add and configure your card. If you can't find your card, then see Troubleshooting below. Configuring WPA follows troubleshooting below.
Troubleshooting:
# Check that ath0 station is created:
iwconfig
lo no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"rbpllc" Nickname:"" Mode:Managed Frequency:2.412 GHz Access Point: 00:1C:10:4B:2E:CD Bit Rate:48 Mb/s Tx-Power:16 dBm Sensitivity=1/1 Retry:off RTS thr:off Fragment thr:off Encryption key:6B2E-5834-1B7A-1BA3-FDAA-484B-6E84-3B55 Security mode:restricted Power Management:off Link Quality=44/70 Signal level=-48 dBm Noise level=-92 dBm Rx invalid nwid:12662 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
# if NO ath0, then Create the station
wlanconfig ath0 create wlandev wifi0 wlanmode sta
# Check with iwconfig
iwconfig
# Bring up the interface
ifconfig ath0 up
# Insert the scanning module
modprobe wlan_scan_sta
# Scan for nets
wlanconfig ath0 list scan
# or for all modems
iwlist ath0 scan
# if key required
iwconfig ath0 key <yourkey>
# Connect to the AP
iwconfig ath0 essid "eddie"
# Get IP address
dhclient ath0
# or
dhcpcd ath0
# For fixed IP
ifconfig ath0 <IP address> netmask <netmask> up
Configuring WPA:
# To set up WPA config
wpa_passphrase "your_ESSID" "Some_Decent_PassPhrase_of_up_64_Characters" >> /etc/wpa_supplicant.conf
Edit /etc/wpa_supplicant.conf and add the lines into the network section created above:
key_mgmt=WPA-PSK # proto=WPA proto=RSN
Uncomment the proto=WPA line (and comment out the RSN line) to enable WPA. Leave as is for WPA2 (stronger encryption).
Post back if your are still stuck.
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- Working, but not speaking, for the following german company: SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (7)
-
David C. Rankin
-
Doctor Who
-
Herbert Graeber
-
Larry Stotler
-
Marcus Meissner
-
Masim "Vavai" Sugianto
-
Philipp Thomas