LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-12-2007, 10:00 AM   #1
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Rep: Reputation: 0
MadWifi problems: wlanconfig ioctl no such device


Hi,
I'm having problem getting my wireless card (a Neatgear WAG511 PCMCIA card) working. I've been trying to use madwifi which is suposed to support the card by following this guid: http://madwifi.org/wiki/UserDocs/FirstTimeHowTo
When I load the module with modprobe ath_pci it does load but gives a warning (well some other warnings to about none gpl code, but I asume those can be ignored):
PCI: No IRQ known for interrupt pin A of device . Please try using pci=biosirq.
ath_pci: cannot reserve PCI memory region.
I've tried using the tip and doing modprobe ath_pci pci=biosirq but no difference. If I ignore this (it says it loads after all) and continue with the guide with wlanconfig ath0 create wlandev wifi0 wlanmode sta I get:
wlanconfig: ioctl: No such device

I'm running etch but with 2.4.27-3-386 kernel (have to use that kernel for my old CAN card). Anyone has any ideas on what I might try?

Regards
Leon Ljunggren
 
Old 04-12-2007, 10:46 AM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Here's 2 ideas to look into, but no guarantees..
1 - I *believe* the "pci=biosirq" argument is one that you would use during boot, from the boot prompt, OR you could append it into LILO or GRUB (whichever bootloader you use)
2 - I haven't actually reasearched your card, but is there perhaps any indication anywhere about the wireless device requiring external firmware along with the driver module? Seems many wireless cards do require firmware (it's like an extra piece of software from the makers of the card)..

If you boot from GRUB, press 'e' on the kernel you are booting, and add the 'pci=' thingy from above, and see if that helps.
If using LILO, check the man page for LILO (type 'man lilo' in a console) for exact instructions on adding the 'append=pci=biosirq' to the /etc/lilo.conf file, then run lilo in the console as root (make sure you get no errors) and reboot and try again.
 
Old 04-13-2007, 11:26 AM   #3
Spearhawk
LQ Newbie
 
Registered: Feb 2007
Location: Sweden
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks for your help.
You're right about pci=biosirq, it's suposed to be a kernel argument. Unforsulently it didin't help.
However I managed to get it working by changening pcmcia-moules with kernel-pcmcia-modules and then in the file /etc/default/pcmcia set PCIC="yenta_socket". Like magic it suddenly works.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error dhcpstar: IOCTL SIOCGIFWADDR: NO SUCH DEVICE snakeo2 Linux - Networking 0 08-06-2006 03:19 PM
inappropriate ioctl for device praetorrian Linux - Software 1 05-09-2006 12:11 AM
Where do I get 'wlanconfig' for madwifi zparihar Linux - Networking 3 12-04-2005 01:11 PM
ioctl: No such device *mist!* Eternal Linux - Networking 2 10-27-2003 12:10 AM
Inappropriate ioctl for device(25) why1957 Linux - Networking 0 08-03-2003 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration