View previous topic :: View next topic |
Author |
Message |
nostrdamm
Joined: 30 Sep 2006 Posts: 8 Location: Pittsburgh PA
|
Posted: Fri Dec 01, 2006 5:04 am Post subject: Recomile hostap_cs |
|
|
Tempest
You are quite right. Suspect flag for firmware download not enabled. I could not get this card to work in dsl , All not lost though your post on Vector linux lead me to that distro. was able to get hostap utils up and running and my card now works.
Thanks for the help
nostrdamm |
|
Back to top |
|
|
redsfan
Joined: 30 Nov 2006 Posts: 2
|
Posted: Fri Dec 01, 2006 11:11 pm Post subject: |
|
|
Hi tempest,
Thanks for the reply. I checked my current kernel .config and I do have "Support downloading firmware images with Host AP driver" enabled. I also tried your suggestion of trying to load the firmware and then bringing up wlano, I get the same error "wlan0: unknown interface: No such device".
My problem appears to be that wlan0 is never getting created.
How do I get the device wlan0 to be created when the hostap_cs driver loads?
Do I have to (manually) create an ifcfg-wlan0 file in /etc/sysconfig/network-scripts/?
BTW I am using kernel 2.6.18.3 in FC6 on a Dell Latitude laptop.
Thanks in advance,
redsfan |
|
Back to top |
|
|
tempest
Joined: 04 Nov 2006 Posts: 6
|
Posted: Sat Dec 02, 2006 4:20 am Post subject: |
|
|
"modprobe hostap_cs" should create the wlan0 network interface, even if the firmware failed to load.
I think your problem runs deeper - bios settings, irq conflict etc.
After you run "modprobe hostap_cs" look at the output of "dmesg" for some clues. |
|
Back to top |
|
|
kp475
Joined: 14 Jan 2007 Posts: 1
|
Posted: Sun Jan 14, 2007 4:17 am Post subject: |
|
|
[quote="tempest"]"modprobe hostap_cs" should create the wlan0 network interface, even if the firmware failed to load.
I think your problem runs deeper - bios settings, irq conflict etc.
After you run "modprobe hostap_cs" look at the output of "dmesg" for some clues.[/quote]
It's a bug in the driver:
[url]http://article.gmane.org/gmane.linux.drivers.hostap/15131[/url]
Here's the bug report:
[url]http://hostap.epitest.fi/bugz/show_bug.cgi?id=197[/url]
It's also very easy to fix: download and install the appropriate kernel sources and kernel build tools, cd into drivers/net/wireless/hostap, edit hostap_cs.c around line 832 so that it says the correct id (0x000b, 0x7110), then (from that directory) run:
make -C /lib/modules/<yourVersionHere>/build/ M=`pwd` modules
(backticks around the "pwd") - this will create a new (correct) hostap_cs.ko module, then copy it into the appropriate directory (/lib/modules/<yourVersionHere>/kernel/drivers/net/wireless/hostap?) and run "depmod -a".
You should be clear for take-off, then... |
|
Back to top |
|
|
|