LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Error installing wireless card with ndiswrapper and centos (http://www.linuxquestions.org/questions/linux-hardware-18/error-installing-wireless-card-with-ndiswrapper-and-centos-435052/)

hybridstorm 04-14-2006 06:08 AM

Error installing wireless card with ndiswrapper and centos
 
I am still a linux newbie but I will give this a shot...

lspci:
00:00.0 Host bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express Memory Controller Hub (rev 0e)
00:01.0 PCI bridge: Intel Corporation 915G/P/GV/GL/PL/910GL Express PCI Express Root Port (rev 0e)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FB/FR (ICH6/ICH6R) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
0b:00.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
0b:00.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
0b:00.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
0b:00.4 Class 0805: Texas Instruments PCI6411, PCI6421, PCI6611, PCI6621, PCI7411, PCI7421, PCI7611, PCI7621 Secure Digital(SD) Controller
0b:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0b:03.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
0c:00.0 Network controller: Texas Instruments ACX 111 54Mbps Wireless Interface

The card I am trying to install is the 0b:03.0 and the other is just to see that it was not the card but could be installed if all else fails but it is currently giving me the same error.

Kernel Version: 2.6.9-34.ELsmp

The error:
When trying to install the driver for the card (ndiswrapper -i carddriver.inf) I get the error:

[root@localhost ndiswrapper]# ndiswrapper -i GPLUS.inf
Installing gplus
couldn't copy GPLUS.inf at /usr/sbin/ndiswrapper line 139.

I get the same error trying to install the other driver for the other card.

Any and all help would make me most greatful.

Thanks

Lenard 04-14-2006 06:59 AM

Use the drivers as listed from the nidwrapper known working list. If the OS is 32 bit use the 32-bit driver, if 64-bit then use the 64-bit driver.

http://ndiswrapper.sourceforge.net/m...index.php/List

My laptop's lspci output (edited);

00:0b.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

hybridstorm 04-14-2006 07:29 AM

Thats what I am using and I get an error. The driver in the example is what I was trying for the other card.

Lenard 04-14-2006 07:43 AM

OK, if those drivers do not work then try the drivers from Linuxant;

http://www.linuxant.com/driverloader/drivers.php

hybridstorm 04-14-2006 08:15 PM

I don't think it is the driver since it is saying it can't copy the file...

Added:

The driver Lenard suggested I have already tried.

Lenard 04-15-2006 05:07 AM

A few questions..... What version of ndiswrapper??? Rpm package or compiled from source?? Do all drivers fail loading???

beagle2 04-15-2006 05:43 AM

Possible that you might be trying to copy the .inf onto itself - you should have all your driver files in one directory but not in ndiswrapper directory - something like this - ndiswrapper -i /home/fred/Gplus/gplus.inf

hybridstorm 04-15-2006 03:27 PM

ndiswrapper version 1.13
Downloaded from sourceforge and did the make install thing...
All fail yes...

I will try moving them around beagle2.

Lenard 04-16-2006 10:50 AM

Quote:

Originally Posted by hybridstorm
ndiswrapper version 1.13
Downloaded from sourceforge and did the make install thing...
All fail yes...

This is not good, as a suggestion try rebuilding the driver again;

make distclean
make
make install


Try the older ndiswrapper-1.12 version if you still have the problem.

hybridstorm 04-16-2006 11:38 AM

I fixed it. No problem.

Lenard 04-16-2006 02:21 PM

Good, I'm glad you got it worked out...........

Might be nice to let others know what you did to fix this issue.

hybridstorm 04-16-2006 11:46 PM

In the end it was just typo on my part however I am not clear on how to get the card started when the laptop boots.

ZST 04-17-2006 02:07 AM

Try giving an absolute path for the install. Here is what it should look like,


ndiswrapper -i /complete/path/to/driver.inf
ndiswrapper -l
ndiswrapper -m
dmesg


-----------

those commands should let it work properly, also please report the dmesg output after the driver installs for my reference.

Regards,
ZST

ZST 04-17-2006 02:08 AM

wow nevermind just saw the other posts

*sigh*

Lenard 04-17-2006 05:28 AM

Going by your orginal posting, check and see if /etc/modprobe.d has the ndiswrapper entry. Then simply create/edit a /etc/sysconfig/network-scripts/ifcfg-wlan0 script file, for example(for dhcp);

IPV6INIT=no
ONBOOT=yes
USERCTL=yes
PEERDNS=yes
TYPE=Wireless
DEVICE=wlan0
HWADDR=
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=MyDesiredComputerNameHere
IPADDR=
DOMAIN=
ESSID=
CHANNEL=1
MODE=Auto
RATE=Auto


All times are GMT -5. The time now is 09:05 AM.