[elrepo] Problem in install kmod-ndiswrapper by elrepo repository

Wagner Silva Vieira wagnervieira.net at gmail.com
Fri Oct 23 15:24:16 EDT 2009


Akemi and Steve,

Bellow are the information about the procedures that you two asked for me:


Akemi,


[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# rpm -qpl
/root/Desktop/kmod-ndiswrapper-PAE-1.54-4.el5.elrepo.i686.rpm
/etc/depmod.d/ndiswrapper.conf
/lib/modules/2.6.18-8.el5PAE
/lib/modules/2.6.18-8.el5PAE/extra
/lib/modules/2.6.18-8.el5PAE/extra/ndiswrapper
/lib/modules/2.6.18-8.el5PAE/extra/ndiswrapper/ndiswrapper.ko
/sbin/loadndisdriver
/usr/sbin/ndiswrapper
/usr/sbin/ndiswrapper-buginfo
/usr/share/doc/ndiswrapper/AUTHORS
/usr/share/doc/ndiswrapper/ChangeLog
/usr/share/man/man8/loadndisdriver.8.gz
/usr/share/man/man8/ndiswrapper.8.gz
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# rpm -ivh kmod-ndiswrapper-PAE-1.54-4.el5.elrepo.i686.rpm
Preparing...                ###########################################
[100%]
   1:kmod-ndiswrapper-PAE   ###########################################
[100%]
Creating the symbolic links. This may take some time ...
Done.
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# cd /root/Broadcom Wireless/Driver Broadcom Corporation
BCM4328 802.11a_b_g_n/for
Windows/Driver-descompactado/dell/drivers/r151517/driver/
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# modprobe ndiswrapper
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# lsmod |grep ndiswrapper
ndiswrapper           169744  0
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# man ndiswrapper
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# ll
total 2008
-rwxr-xr-x 1 root root  10636 Mar 16  2007 bcm43xx64.cat
-rwxr-xr-x 1 root root  10636 Mar 16  2007 bcm43xx.cat
-rwxr-xr-x 1 root root 754688 Mar 16  2007 bcmwl564.sys
-rwxr-xr-x 1 root root 655034 Mar 16  2007 bcmwl5.inf
-rwxr-xr-x 1 root root 604928 Mar 16  2007 bcmwl5.sys
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# ndiswrapper -l
bcmwl5 : driver installed
        device (14E4:4328) present
[root at musashi driver]#
[root at musashi driver]#



I perceived that I can't use the full pathname for the driver. I must go to
the directory where the driver is and apply the "ndiswrapper -i" command:

[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# ndiswrapper -i bcmwl5.inf
install/manage Windows drivers for ndiswrapper

usage: ndiswrapper OPTION
-i inffile       install driver described by 'inffile'
-a devid driver  use installed 'driver' for 'd/root/Broadcom Wireless/Driver
Broadcom Corporation BCM4328 802.11a_b_g_n/for
Windows/Driver-descompactado/dell/drivers/r151517/driver/evid' (dangerous)
-r driver        remove 'driver'
-l               list installed drivers
-m               write configuration for modprobe
-ma              write module alias configuration for all devices
-mi              write module install configuration for all devices
-v               report version information

where 'devid' is either PCIID or USBID of the form XXXX:XXXX,
as reported by 'lspci -n' or 'lsusb' for the card
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# cd /root/Broadcom Wireless/Driver Broadcom Corporation
BCM4328 802.11a_b_g_n/for
Windows/Driver-descompactado/dell/drivers/r151517/driver/
[root at musashi driver]# ll
total 2008
-rwxr-xr-x 1 root root  10636 Mar 16  2007 bcm43xx64.cat
-rwxr-xr-x 1 root root  10636 Mar 16  2007 bcm43xx.cat
-rwxr-xr-x 1 root root 754688 Mar 16  2007 bcmwl564.sys
-rwxr-xr-x 1 root root 655034 Mar 16  2007 bcmwl5.inf
-rwxr-xr-x 1 root root 604928 Mar 16  2007 bcmwl5.sys
[root at musashi driver]#
[root at musashi driver]#
[root at musashi driver]# ndiswrapper -i bcmwl5.inf
installing bcmwl5 ...
[root at musashi driver]#
[root at musashi driver]#


All others ndiswrapper package in "
http://elrepo.org/linux/testing/el5/i386/RPMS/" is ok about the content that
they should has:

[root at musashi ~]#
[root at musashi ~]# rpm -qpl
/root/Desktop/kmod-ndiswrapper-1.54-4.el5.elrepo.i686.rpm
/etc/depmod.d/ndiswrapper.conf
/lib/modules/2.6.18-8.el5
/lib/modules/2.6.18-8.el5/extra
/lib/modules/2.6.18-8.el5/extra/ndiswrapper
/lib/modules/2.6.18-8.el5/extra/ndiswrapper/ndiswrapper.ko
/sbin/loadndisdriver
/usr/sbin/ndiswrapper
/usr/sbin/ndiswrapper-buginfo
/usr/share/doc/ndiswrapper/AUTHORS
/usr/share/doc/ndiswrapper/ChangeLog
/usr/share/man/man8/loadndisdriver.8.gz
/usr/share/man/man8/ndiswrapper.8.gz
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# rpm -qpl
/root/Desktop/kmod-ndiswrapper-xen-1.54-4.el5.elrepo.i686.rpm
/etc/depmod.d/ndiswrapper.conf
/lib/modules/2.6.18-8.el5xen
/lib/modules/2.6.18-8.el5xen/extra
/lib/modules/2.6.18-8.el5xen/extra/ndiswrapper
/lib/modules/2.6.18-8.el5xen/extra/ndiswrapper/ndiswrapper.ko
/sbin/loadndisdriver
/usr/sbin/ndiswrapper
/usr/sbin/ndiswrapper-buginfo
/usr/share/doc/ndiswrapper/AUTHORS
/usr/share/doc/ndiswrapper/ChangeLog
/usr/share/man/man8/loadndisdriver.8.gz
/usr/share/man/man8/ndiswrapper.8.gz
[root at musashi ~]#
[root at musashi ~]#


Steve,

I did all procedures that you suggested.

Look at these bellow:

[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# uname -rpmi
2.6.18-128.el5PAE i686 i686 i386
[root at musashi ~]#
[root at musashi ~]# rpm -q kmod-ndiswrapper-PAE
kmod-ndiswrapper-PAE-1.54-4.el5.elrepo.i686
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]# ifconfig wlan0
wlan0: error fetching interface information: Device not found
[root at musashi ~]#
[root at musashi ~]#
[root at musashi ~]#


Must I create the configuration file ifcfg-wlan0 like ifcfg-eth0 in
/etc/sysconfig/network-scripts/ to get success in command "ifconfig wlan0" ?


I'll find informations about it in some manuals and books mine.

Thank's for the help guys!

Best Regards.

Wagner.





2009/10/23 S.Tindall <s10dal at elrepo.org>

>
> On Fri, 2009-10-23 at 15:17 -0200, Wagner Silva Vieira wrote:
> > Of course Akemi,
> >
> > I'll uninstall the old package
> > "kmod-ndiswrapper-PAE-1.54-3.el5.elrepo.i686" and install the new
> > release to this same package.
> >
> > After that I'll send all the details about the installation and
> > configuration process about ndiswrapper.
> >
> > Thank you.
> >
> > Best Regards.
> >
> > Wagner.
>
> Just installed the revised kmod-ndiswrapper and it works fine.
>
> # uname -rpmi
> 2.6.18-164.el5 x86_64 x86_64 x86_64
>
> # rpm -q kmod-ndiswrapper
> kmod-ndiswrapper-1.54-4.el5.elrepo
>
> # lspci
> ...
> 03:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n
> (rev 03)
> ...
>
> # ifconfig wlan0
> wlan0 Link encap:Ethernet  HWaddr <mac removed>
>      inet addr:10.33.12.204  Bcast:10.33.12.255  Mask:255.255.255.0
> ...
>
> Also, WPA/WPA2 is working fine.
>
> Steve
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20091023/ad32482a/attachment.html>


More information about the elrepo mailing list