LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Can't Locate Module wlan0 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/cant-locate-module-wlan0-275806/)

mattp 01-09-2005 04:09 PM

Can't Locate Module wlan0
 
I am tring to get my Linksys WiFi card to work with my Linux install. The card is WPC54GS.

When I follow the ndiswrapper steps, and run ndiswrapper -l it says "driver lsbcmnd present, hardware present" so I think everything is okay there.

The problem comes when I try the next step. When I run modprobe ndiswrapper, there is no output at the console, but in the system log it says:

modprobe: Can't locate module wlan0

Anyone know how to fix this?

Travers 01-09-2005 06:15 PM

use
#ndiswrapper -m

this will write a modprobe configuration. then modprobe it.

mattp 01-09-2005 09:41 PM

Thanks for the reply. I did all of that. Here is excatly what I have done so far:

ndiswrapper -i lsbcmnds.inf
ndiswrapper -l (it says driver present, and harware present)
ndiswrapper -m
modprobe ndiswrapper

iwconfig still doesn't show wlan0
I also tried:
dhcpcd wlan0
and then
iwconfig wlan0

Nothing. Why in'st iwconfig showing wlan0?? :mad:

Thanks for the help

Cookie_Cake 01-10-2005 01:25 PM

try typing:

iwconfig wlan0

iwconfig didn't show wlan0 until i typed that

Cookie_Cake 01-10-2005 01:28 PM

^oops i didn't notice you typed that, sorry
have you tried ifconfig wlan0 up
i cant remember the exact steps i took, which distro are you using?

mattp 01-10-2005 06:51 PM

I tried ifconfig wlan0

Im using Slack 9.1 on Inspiron 8200.

Thanks for the reply!

mattp 01-10-2005 07:43 PM

Let me elaborate: Here is my Konsole output. I uninstalled the driver, and reinstalled ndiswrapper and started from scratch:

Code:

God votes Republican.

root@Dante:~# cd /fat-E
root@Dante:/fat-E# cd ndiswrapper-0.12
root@Dante:/fat-E/ndiswrapper-0.12# make install
make -C driver install
make[1]: Entering directory `/fat-E/ndiswrapper-0.12/driver'
ld -r -o ndiswrapper.o wrapper.o iw_ndis.o pe_loader.o ndis.o ntoskernel.o misc_funcs.o proc.o divdi3.o hal.o usb.o
mkdir -p /lib/modules/2.4.22/misc
install -m 0644 ndiswrapper.o /lib/modules/2.4.22/misc
/sbin/depmod -a
make[1]: Leaving directory `/fat-E/ndiswrapper-0.12/driver'
make -C utils install
make[1]: Entering directory `/fat-E/ndiswrapper-0.12/utils'
install -m 755 loadndisdriver /sbin
install -m 755 ndiswrapper /usr/sbin
install -m 755 ndiswrapper-buginfo /usr/sbin
make[1]: Leaving directory `/fat-E/ndiswrapper-0.12/utils'
root@Dante:/fat-E/ndiswrapper-0.12# cd ..
root@Dante:/fat-E# cd WPC54GS\ Driver\ Utility/
root@Dante:/fat-E/WPC54GS Driver Utility# ndiswrapper -i lsbcmnds.inf
Installing lsbcmnds
root@Dante:/fat-E/WPC54GS Driver Utility# modprobe ndiswrapper
root@Dante:/fat-E/WPC54GS Driver Utility# ndiswrapper -l
Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Installed ndis drivers:
lsbcmnds        driver present, hardware present
root@Dante:/fat-E/WPC54GS Driver Utility# ndiswrapper -m
modprobe config already contains alias directive

root@Dante:/fat-E/WPC54GS Driver Utility# ifconfig wlan0
wlan0: error fetching interface information: Device not found
root@Dante:/fat-E/WPC54GS Driver Utility# iwconfig wlan0
wlan0    No such device

root@Dante:/fat-E/WPC54GS Driver Utility# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.


mattp 01-11-2005 02:13 PM

Anyone remeber how they set up their Slack Wlan0 on a Dell?

mattp 01-13-2005 09:59 AM

Anyone? I don't really want to give up on this...

2Gnu 01-13-2005 10:24 AM

Odd. Although my card may use a different chipset, ndiswrapper worked fine with on my Dell. From what I can gather, the v2 of your card contains a TI vs. Broadcom chipset.

Please post the output of lsmod and lspci -v to see if we can get any more clues.

Also, to confim since I don't see this explicitly in your commands, have you tried to bring up the interface with "ifconfig wlan0 up?"

darkarcon2015 01-13-2005 04:27 PM

I had that same message and all I had to do was reboot.

mattp 01-13-2005 10:56 PM

Thanks for the replies. When I ran ifconfig wlan0 up it said wlan0 not found or what ever.

here is the output that you requested:

LSMOD:

Module Size Used by Not tainted
snd-pcm-oss 37252 0 (unused)
snd-mixer-oss 11992 0 [snd-pcm-oss]
keybdev 1952 0 (unused)
mousedev 4244 1
hid 21156 0 (unused)
usbmouse 2008 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
uhci 24496 0 (unused)
usbcore 58400 1 [hid usbmouse uhci]
snd-intel8x0 17156 0
snd-pcm 55904 0 [snd-pcm-oss snd-intel8x0]
snd-timer 13252 0 [snd-pcm]
snd-ac97-codec 37240 0 [snd-intel8x0]
snd-page-alloc 6004 0 [snd-intel8x0 snd-pcm]
snd-mpu401-uart 3136 0 [snd-intel8x0]
snd-rawmidi 12512 0 [snd-mpu401-uart]
snd-seq-device 3920 0 [snd-rawmidi]
snd 27460 0 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-pcm snd-timer snd-ac97-codec snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore 3332 4 [snd]
3c59x 26832 0
ohci1394 24200 0 (unused)
ieee1394 42436 0 [ohci1394]
ds 6568 2
yenta_socket 10368 2
pcmcia_core 40032 0 [ds yenta_socket]
ide-scsi 9424 0
agpgart 39576 0 (unused)

=========================================

LSPCI:

00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
Flags: bus master, fast devsel, latency 0
Memory at e8000000 (32-bit, prefetchable) [size=64M]
Capabilities: [e4] #09 [d104]
Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
Flags: bus master, 66Mhz, fast devsel, latency 32
Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
I/O behind bridge: 0000c000-0000cfff
Memory behind bridge: fc000000-fdffffff
Prefetchable memory behind bridge: d8000000-e7ffffff

00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at bf80 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02) (prog-if 00 [UHCI])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at bf20 [size=32]

00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=10, sec-latency=32
I/O behind bridge: 0000e000-0000ffff
Memory behind bridge: f4000000-fbffffff

00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Intel Corp.: Unknown device 4541
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at <ignored>
I/O ports at bfa0 [size=16]
Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
Subsystem: Cirrus Logic: Unknown device 5959
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at d800 [size=256]
I/O ports at dc80 [size=64]

00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02) (prog-if 00 [Generic])
Subsystem: Conexant MD56ORD V.92 MDC Modem
Flags: bus master, medium devsel, latency 0, IRQ 11
I/O ports at d400 [size=256]
I/O ports at dc00 [size=128]

01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 440 Go] (rev a3) (prog-if 00 [VGA])
Subsystem: Dell Computer Corporation: Unknown device 00d4
Flags: bus master, VGA palette snoop, 66Mhz, medium devsel, latency 32, IRQ 11
Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (32-bit, prefetchable) [size=128M]
Memory at dff80000 (32-bit, prefetchable) [size=512K]
Expansion ROM at 80000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0

02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
Subsystem: Dell Computer Corporation: Unknown device 00d4
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at ec80 [size=128]
Memory at f8fffc00 (32-bit, non-prefetchable) [size=128]
Expansion ROM at f9000000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2

02:01.0 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
Subsystem: Dell Computer Corporation: Unknown device 00d4
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 20001000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
Memory window 0: 20400000-207ff000 (prefetchable)
Memory window 1: 20800000-20bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001

02:01.1 CardBus bridge: Texas Instruments PCI4451 PC card Cardbus Controller
Subsystem: Dell Computer Corporation: Unknown device 00d4
Flags: bus master, medium devsel, latency 168, IRQ 11
Memory at 20002000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
Memory window 0: 20c00000-20fff000 (prefetchable)
Memory window 1: 21000000-213ff000
I/O window 0: 00004800-000048ff
I/O window 1: 00004c00-00004cff
16-bit legacy interface ports at 0001

02:01.2 FireWire (IEEE 1394): Texas Instruments PCI4451 IEEE-1394 Controller (prog-if 10 [OHCI])
Subsystem: Dell Computer Corporation: Unknown device 00d4
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at f8fff000 (32-bit, non-prefetchable) [size=2K]
Memory at f8ff8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2

07:00.0 Network controller: Broadcom Corporation: Unknown device 4320 (rev 03)
Subsystem: Linksys: Unknown device 4320
Flags: fast devsel, IRQ 11
Memory at 21000000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2

=========================================

THANKS AGAIN!

2Gnu 01-13-2005 11:50 PM

The lspci confirms the card chipset, but lsmod shows no driver loaded and that's consistent with your symptoms. I can't explain, though, why it's not loading.

mattp 01-14-2005 08:46 PM

Is this an issue with my laptop? or the PCMCIA card? If I use a new card will it work? Id rather not tho, because I just bought this card for $60!

2Gnu 01-14-2005 11:16 PM

If you do an lsmod right after a modprobe ndiswrapper, does it show up?


All times are GMT -5. The time now is 10:16 PM.