Damn Small Linux - Not!
The forum for DSL-N
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

D-link DWL-650 Ver P1
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking
View previous topic :: View next topic  
Author Message
nostrdamm



Joined: 30 Sep 2006
Posts: 8
Location: Pittsburgh PA

PostPosted: Fri Dec 01, 2006 5:04 am    Post subject: Recomile hostap_cs Reply with quote

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
View user's profile Send private message Send e-mail
redsfan



Joined: 30 Nov 2006
Posts: 2

PostPosted: Fri Dec 01, 2006 11:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
tempest



Joined: 04 Nov 2006
Posts: 6

PostPosted: Sat Dec 02, 2006 4:20 am    Post subject: Reply with quote

"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
View user's profile Send private message
kp475



Joined: 14 Jan 2007
Posts: 1

PostPosted: Sun Jan 14, 2007 4:17 am    Post subject: Reply with quote

[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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Damn Small Linux - Not! Forum Index -> Networking All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group