LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   No wlan0 - Help with MA111v2 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/no-wlan0-help-with-ma111v2-373535/)

Osiris990 10-16-2005 04:36 AM

No wlan0 - Help with MA111v2
 
Hi there. =) I need a bit of help once more... I'm trying to configure my wireless network on this computer, and I've installed ndiswrapper and the driver for my MA111v2 into it... But I have no wlan0 device. It's just not there. How can I enable it, because I don't think I really am going anywhere if I don't have that, am I? System info below.

Stats:
Compaq Presario 2100
Intel Celeron 2.4 Ghz
192 RAM (don't ask how that works)
CD/DVD-ROM drive
38 GB Hard Drive
Slackware 10.2 dual booted with Windows XP Pro

-----

#> lsmod
Module Size Used by Not tainted
ndiswrapper 150516 0
radeon 104576 0
snd-pcm-oss 36736 1
snd-mixer-oss 12376 2 [snd-pcm-oss]
keybdev 1860 0 (unused)
mousedev 4020 1
hid 20868 0 (unused)
usbmouse 1880 0 (unused)
input 3200 0 [keybdev mousedev hid usbmouse]
usb-ohci 19368 0 (unused)
usbcore 59084 1 [ndiswrapper hid usbmouse usb-ohci]
snd-ali5451 11364 3
snd-ac97-codec 58556 0 [snd-ali5451]
snd-pcm 54344 0 [snd-pcm-oss snd-ali5451 snd-ac97-codec]
snd-timer 13764 0 [snd-pcm]
snd 32772 0 [snd-pcm-oss snd-mixer-oss snd-ali5451 snd-ac97-codec snd-pcm snd-timer]
snd-page-alloc 4712 0 [snd-mixer-oss snd-pcm snd-timer snd]
soundcore 3396 3 [snd]
natsemi 15680 1
crc32 2880 0 [natsemi]
ds 6548 1
yenta_socket 10436 1
pcmcia_core 39140 0 [ds yenta_socket]
ntfs 51232 1 (autoclean)
ide-scsi 9392 0
agpgart 45508 1

#> lspci
00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ601/6912/711E0 CardBus/SmartCardBus Controller
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 330M/340M/350M

#> ifconfig
eth0 Link encap:Ethernet HWaddr 00:0D:9D:85:A9:B2
inet addr:192.168.0.107 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13796 errors:0 dropped:0 overruns:0 frame:0
TX packets:8606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16126414 (15.3 Mb) TX bytes:938591 (916.5 Kb)
Interrupt:10 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Osiris990 10-16-2005 04:40 AM

Oh, right. I forgot to add something in.

#> ndiswrapper -l
Installed ndis drivers:
sis162 driver present

Osiris990 10-16-2005 12:39 PM

Anybody, please? It's sorta urgent... =/

Osiris990 10-16-2005 02:40 PM

Ok, so I have some more information. I just realized I installed the PCCard(PCMCIA) version of the driver instead of the USB one... But I'm still not having any luck whatsoever. Whenever I put in the USB card, it gives a message from dmesg: "usb.c: USB device XX (vend/prod 0x846/0x4230) is not claimed by any active driver." This confuses the hell out of me, because I *JUST* installed the driver for it, and ndiswrapper is saying that it's installed right. I know it's not a problem with my USB ports, because my USB mouse works just fine with it in both of my ports.. I'm stumped. :( Here's some more information straight from the terminal.

ndiswrapper version 1.4 loaded (preempt=no,smp=no)
usb.c: registered new driver ndiswrapper
usb.c: USB disconnect on device 00:02.0-1 address 25
usb.c: USB disconnect on device 00:02.0-2 address 26
hub.c: new USB device 00:02.0-1, assigned address 27
input0: USB HIDBP Mouse 062a:0001 on usb1:27.0
usb.c: USB disconnect on device 00:02.0-1 address 27
hub.c: new USB device 00:02.0-2, assigned address 28
usb.c: USB device 28 (vend/prod 0x846/0x4230) is not claimed by any active driver.
hub.c: new USB device 00:02.0-1, assigned address 29
input0: USB HIDBP Mouse 062a:0001 on usb1:29.0
usb.c: USB disconnect on device 00:02.0-1 address 29
usb.c: USB disconnect on device 00:02.0-2 address 28
hub.c: new USB device 00:02.0-2, assigned address 30
usb.c: USB device 30 (vend/prod 0x846/0x4230) is not claimed by any active driver.
hub.c: new USB device 00:02.0-1, assigned address 31
input0: USB HIDBP Mouse 062a:0001 on usb1:31.0
usb.c: USB disconnect on device 00:02.0-1 address 31
usb.c: USB disconnect on device 00:02.0-2 address 30
hub.c: new USB device 00:02.0-2, assigned address 32
usb.c: USB device 32 (vend/prod 0x846/0x4230) is not claimed by any active driver.
hub.c: new USB device 00:02.0-1, assigned address 33
input0: USB HIDBP Mouse 062a:0001 on usb1:33.0
usb.c: USB disconnect on device 00:02.0-2 address 32
hub.c: new USB device 00:02.0-2, assigned address 34
usb.c: USB device 34 (vend/prod 0x846/0x4230) is not claimed by any active driver.

kwench79 10-18-2005 04:49 AM

ma111v2 with linux kernels
 
Try the newest version of ndiswrapper for this ma111v2 device with SiS162u chipset. 1.4rc1 and newer does the trick. At least I get the driver loaded now...

ndiswrapper version 1.4 loaded (preempt=yes,smp=no)
ndiswrapper 2-2:1.0: usb_probe_interface
ndiswrapper 2-2:1.0: usb_probe_interface - got id
ndiswrapper: driver ma111v2 (NETGEAR,05/28/2004,5.1.1039.1030) loaded
wlan0: vendor: 'Wireless Driver'
wlan0: ndiswrapper ethernet device 00:09:xx:xx:xx:xx using driver ma111v2, 0846:4230.0.conf
wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
usbcore: registered new driver ndiswrapper

This guy here
http://mattlog.schlenker-webdesign.de/blog.news.36.html
reported problems with dhcpcd though, what I can reconfirme.

Osiris990 10-18-2005 05:52 AM

I'm using the latest ndiswrapper though. Look at the dmesg output. "ndiswrapper version 1.4 loaded (preempt=no,smp=no)".

=/

kwench79 10-18-2005 06:23 AM

Quote:

Originally posted by Osiris990
I'm using the latest ndiswrapper though. Look at the dmesg output. "ndiswrapper version 1.4 loaded (preempt=no,smp=no)".

=/

Can you provide more output?

E.g. usb id of your card (is it 0846:4230?), driver installed (I'm using the riginal NETGEAR driver from 05/08/2004, WinXP, and "ndiswrapper -l" says "ma111v2 driver present, hardware present"), remove the module and re-insert it and provide the relevant last lines in the "dmesg" output.

And so on...

BTW, there is a SiS driver available, provided by Gericom, that could make you happy when you use the right 2.4.x kernel.

kwench79 10-18-2005 06:30 AM

Me once again...

You can find out about your USB id by typing "lsusb". I have a line saying

Bus 002 Device 002: ID 0846:4230 NetGear, Inc.

for example.

I think your driver "sis162" is not suitable, because your "ndiswrapper -l" output does not confirm that the driver fits / your device is installed.

So... reinstall the driver!

I have for example also some "sis162u" driver installed that I found somewhere on the web, but it is not working for this card, because the USB id is not included there. Do a "ls /etc/ndiswrapper/sis162/" to find about all the "*.conf"-files which represent the valid USB IDs this driver should be used for.

Instead of reinstalling the driver it might also work to copy one of these .conf-files and rename it accordingly to "0846:4230.0.conf" and try again! (Of course, you know that this could cause your system to hang, to shut down everything else.)

kwench79 10-18-2005 06:36 AM

And once more me again...

(I should listen to my friends who say: First think, than tell!)

The SiS original driver can be found at
ftp://ftp.gericom.com/NOTEBOOK/Acess...WLAN-Linux.tgz
according to
http://www.qbik.ch/usb/devices/showdev.php?id=2789

I tried to tweak them to compile on 2.6.x but it's a true mess, so I gave up and stick with ndiswrapper now.

If you manage to get this thing to work, the advantage over NDIS is that you can use Kismet and other fun stuff to do the r3al 31337 hack1ng.

Last and least, you can always buy
http://www.linuxant.com/

Osiris990 10-18-2005 08:15 AM

Ok, so I did a little looking, and here's what I came up with:

The dmesg says that the vendor/product address-like-thingy was 0x846/0x4230, but there's no existing .conf file for that. Would it maybe work if I duplicated one of the .conf files with that name, or is there something else I need to do?

kwench79 10-18-2005 09:24 AM

Quote:

Originally posted by Osiris990
Ok, so I did a little looking, and here's what I came up with:

The dmesg says that the vendor/product address-like-thingy was 0x846/0x4230, but there's no existing .conf file for that. Would it maybe work if I duplicated one of the .conf files with that name, or is there something else I need to do?

As I wrote above, it might! ;-)

If not: Get the correct driver. I put my driver (.sys & .inf for Windows NT) on

http://mirror.q52.de/

You can download it there.

Have phun!

Osiris990 10-18-2005 04:27 PM

Ok, so I got it working now because of that. =) Thank you. I'm having a problem though... It's not connecting to the router. I can't get it to connect at all. It sees it's there, and recognizes it, but when I try to do a 'iwconfig wlan0 essid default' ("default" is the ESSID of my network), the command goes through fine, but it doesn't connect. =/

kwench79 10-18-2005 04:42 PM

Quote:

Originally posted by Osiris990
Ok, so I got it working now because of that. =) Thank you. I'm having a problem though... It's not connecting to the router. I can't get it to connect at all. It sees it's there, and recognizes it, but when I try to do a 'iwconfig wlan0 essid default' ("default" is the ESSID of my network), the command goes through fine, but it doesn't connect. =/
IMHO this whole wireless thingy is crap! Get ethernet cabling...!

OK, otherwise...

1) Can you connect with another OS (e.g. Windows) to your router? If "yes" chances are pretty good that you can do it with Linux, too.

1b) Can someone connect to your router at all via wifi? Are you sure that your wifi-card is working well? (I have a nice and dandy sitecom usb thing that cannot connect to any (well, three different) network. Anyone here who wants to buy it from me?)

I have no scientific proof for that but I think that some devices don't like each other.

2) What does "iwlist wlan0 scanning" say? Is there a network at all?
If "no" try to shuffle around your wifi devices. Remeber that too close contact between them (like only a few centimeters) will cause some devices to shut down because of radiation overkill.
If "yes" check whether the settings on both sides are ok (mode "managed", encryption key off or the same, no MAC filtering on the router).

If all that does not help: Get a decent crossover ethernet cable! ;-)

Osiris990 10-18-2005 04:50 PM

I'll try it on Windows right now, but last I checked, it was working on Windows, so I can't imagine it to be broken... And yes, I'm sure it can connect. I've used this card with this router for the last 3 months.

Osiris990 10-18-2005 05:01 PM

Ok... Ummm... Hm.

I booted up Windows, and put in the wireless card, and bam. No workie. But I have a neighbor next door to me with wireless too, so I tried to connect to their network. It connected. Given, it gave me no connectivity, BUT that's still more than I'm getting out of the router sitting on the desk 3 feet away from me. Question though... I have my router sitting on a small dresser with a lamp (not flourescent - light bulb) and an alarm clock/radio right next to it. I'm fairly sure I've had things this way before and it's never caused a problem, but I don't know... Would this be affecting anything?


All times are GMT -5. The time now is 11:45 AM.