Help Getting WPC54G V2 to work


Forum: Networking
Topic: Help Getting WPC54G V2 to work
started by: sonomasp

Posted by sonomasp on Dec. 06 2006,11:58
The Computer is an old Gateway Solo 9100 with a 200 mhz processor with 96 meg Ram. I have DSL version 3.01 I'm pretty sure installed on HD. I tried ndiswrapper with several drivers. So now when I type "ndiswrapper -l" I get
Installed Drivers:
bcmw15 invalid driver!
bcmw15.sys invalid driver!
lsbcmds invalid driver!
netcard invalid driver!

No lights on the card, and iwconfig or wlanconfig say no card detected.

So the only thing I can think of is that this machine might be old enough that newer pcmcia cards don't run on it. The manual says that it should be able to run 16 & 32 bit cards, but also mentions that there are not many 32 bit cards out yet. So they were just coming on when this machine was produced.

Any ideas, directions I can take??
BTW: This machine was given to me. So I'd like to get it running with what I have.

Thanks

Howard

Posted by roberts on Dec. 06 2006,14:41
Might try the boot time option

pci=assign-busses

Also you might also want to try

modprobe ndiswrapper preempt=no

Posted by sonomasp on Dec. 06 2006,22:13
I put in the boot option by hitting "e", the edited the grub boot line adding pci=assign-busses. Then booted. Opened a terminal and typed in modprobe ndiswrapper preempt=no didn't do anything. I just get another bash line.
If I type lspci at the very bottom I do see
0000:05:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface. So at some level the OS sees my card.
But if I use the Tools in Control Panel for Netcardconfig, Wlanconfig, Iwconfig I get No supported card or No wireless card found.

So how do I get the tools to see the card. Also I ndiswrapper -v gives me utils version 1.8 I don't get that, because at sourceforge site the current stable release of ndiswrapper is 1.31 released this December 5. So how can the installed show a more updated version??
BTW: I downloaded the ndiswrapper 1.31.tar.gz. and will try to upgrade this package and see if that works. The directions on sourceforge say to link to the source at /lib/modules ... I don't see modules. So does DSL come with the kernel source?? Or do I now have to go through the process of installing kernel sourece??

Posted by roberts on Dec. 06 2006,23:09
See number #20 on the Ndiswrapper < List >
Posted by sonomasp on Dec. 07 2006,20:11
If you are referring to the driver with lstinds.inf, yeah I tried #20 too. I think I mistyped the install the firts time, that is why it didn't show up in dmesg. So every inf file I've tried has given me invalid driver upon dmesg.
Does anyone know what version on ndiswrapper DSL 3.1 has. When I type ndiswrapper -v if I remember correctly I get 1.8. Don't understand how that can be since version 1.31 was only released a few days ago on 12/05/06.

So maybe upgrade ndiswrapper or the kernel?? According to the directions to upgrade ndis, I need to have kernel source link to /lib/modules.  If anyone could help with some general guidelines that I could follow.

Thanks

Posted by roberts on Dec. 07 2006,20:57
No. I was number 20 of the all the WPC54G cards lists;

Card: Linksys #[WPC54G v2], 54Mbps -- [link here|List#WPC54G v2]

   * Chipset: Texas Instruments ACX 111
   * pciid: 104c:9066
   * Driver: Linksys < ftp://ftp.linksys.com/pub/network/wpc54gv2_driver_utility_v2.02.zip >
   * Other: linux-2.6.8-gentoo kernel, ndiswrapper 0.10.Kept having kernel panic (interrupt-related) upon module load until I set CONFIG_PCI_MSI=y (and unset CONFIG_4KSTACKS, just in case.) Also, used "ndiswrapper -i LSTINDS.INF" (NOT lsbcmnds.inf). Works with 64 and 128-bit WEP. Sometimes need to repeat config info (and commit) repeatedly, else driver & card will ignore requested setup. Also works with Gentoo 2.6.9-r9, ndiswrapper 0.12 and drivers that came from CD.
   * NEW USER NOTE 12/30/05 by -JSK-: I had lots of problems getting the settings to take with this card and the above Windows driver. I finally found that the settings were timing and order dependent. Here is how I got the card to stick in Managed mode with 128 bit WEP and open authentication:
   * ifconfig wlan0 essid $ESSID mode ad-hoc
   * sleep 1
   * iwconfig wlan0 key $KEY open
   * sleep 1
   * iwconfig wlan0 key open
   * iwconfig wlan0 key on
   * sleep 3
   * iwconfig wlan0 essid $ESSID mode managed
   * sleep 1
   * iwconfig wlan0 key $KEY open
   * sleep 1
   * iwconfig wlan0 key open
   * sleep 15
   * ifconfig $DESIRED_IP_MASK_BROADCAST_ETC up
   * I know it's a hack, but this script works every single time for me. Before, life was miserable. On debian, you can put this in a shell script and add a "pre-up" line in your interfaces file instead of using the "wireless" options. YMMV.
   * Other: Working fine on Ubuntu Breezy Badger (kernel 2.6.12) using ndiswrapper 1.9 / ndiswrapper-utils 1.7 and lstinds.inf driver. --Johnmxl 10:45, 13 February 2006 (PST)
   * Other: Ndiswrapper is not needed. In Ubuntu Dapper (and probably in other Linux distributions as well) this card is supported natively with the acx driver. See < http://ubuntuforums.org/showthread.php?t=75448 > --neu or < http://ubuntuforums.org/showpost.php?p=1114757&postcount=31 > for a summary of the fix

Posted by sonomasp on Dec. 07 2006,22:45
I figured out my error. So now I have the driver loaded.
ndiswrapper -l shows
lstinds driver installed, hardware present.

So now what do I do?? I tried Netcardconfig, lwconfig through the control panel. I get "no supported network cards found.

So right now I have the drivers loaded, but the system doesn't recognize the network card.

Help Please

Howard

Posted by roberts on Dec. 07 2006,23:00
Typically the next step after ndiswrapper -l is

modprobe ndiswrapper

That should give you a device.
Use iwconfig to show the unconfigured device

Use wlanconfig or iwconfig commands

Posted by sonomasp on Dec. 07 2006,23:25
If possible could anypone give me a pointer on the above script. How to load it, and where to place it. I'll get my Linux book to look at creating programs(scripts). If I remeber correctly I make a file with a .sh extension and #!/bin/sh on the first line.

So this is what I wrote in a file an saved as netconfig.sh

#!/bin/sh

ifconfig wlan0 essid SRJC Public Wireless mode ad-hoc
sleep 1
iwconfig wlan0 key $key(this I took out, there is no key) open
sleep 1
iwconfig wlan0 key open
iwconfig wlan0 key on
sleep 3
iwconfig wlan0 essid booker(my sid no $) mode managed
sleep 1
iwconfig wlan0 key $KEY(my wep key, no $) open
sleep 1
iwconfig wlan0 key open
sleep 15
ifconfig 192.168.0.13  up

Posted by sonomasp on Dec. 07 2006,23:44
After typing in my sid & wep key for eth0 I get connection failed. I know that my sid is correct and that my key is correct. Can it be that the system is defaulting to ad-hoc and not maneged ( e.g infrastructure) mode??
Posted by roberts on Dec. 07 2006,23:49
WEP key is entered as colon separated hex characters, i.e.,
99:88:ff:.

You can call your from from /opt/bootlocal.sh
That is the system startup script and runs automatically upon boot as root.

Or you could just copy-in those lines of your script into /opt/bootlocal.sh

If you decide to keep as a separate script then add the full path to the location of your script in /opt/bootlocal.sh.

If your script is not in your home dir then you will need to add it to the .filetool.lst for backup.

Also be sure your script is executeable,  chmod +x your_script.sh

Posted by sonomasp on Dec. 07 2006,23:58
does "modpobe ndiswrapper" supposed to echo any output?? After I type that then
iwconfig give me
lo no wireless extensions.

Posted by roberts on Dec. 08 2006,00:09
modprobe gives no response
but iwconfig should show the device, typically wlan0
Without the device, it is a no go.
Maybe try this

modprobe ndiswrapper preempt=no

Posted by sonomasp on Dec. 08 2006,01:47
from iwconfig, lo no wireless extensions. Isn't lo for loopback. How do I get
wlan0 to show??

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.