Re: ndiswrapper stops working after yum update (including updating ndiswrapper)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi folks.
>
> I've got set up on my laptop WIFI using ndiswrapper installed by RPM and
> alls been working fine.  When I want to go wireless I run the script
> below.
>
> However, since I've run a 'yum update'  which included a new kernel and
> the
> dependency of the ndiswrapper rpm it's stopped working.
>
> ndiswrapper loads with no errors, but does not create a network device.
> The
> driver says it's loaded fine and detected the hardware.
> [root@dcomp5 ~]# ndiswrapper -l
> Installed drivers:
> neta3ab         driver installed, hardware present
> [root@dcomp5 ~]#
>
>
> The install worked fine, and the rpm -qa shows:
>
> [root@dcomp5 ~]# rpm -qa|grep kernel
> kernel-2.6.14-1.1637_FC4
> kernel-2.6.14-1.1656_FC4
> kernel-module-ndiswrapper-2.6.14-1.1637_FC4-1.5-0.lvn.1.4
> kernel-2.6.15-1.1830_FC4
> kernel-2.6.16-1.2069_FC4
> kernel-module-ndiswrapper-2.6.14-1.1656_FC4-1.8-0.lvn.1.4
> kernel-doc-2.6.16-1.2069_FC4
> kernel-2.6.14-1.1637_FC4.stk16
> kernel-module-ndiswrapper-2.6.16-1.2069_FC4-1.13-1.1.lvn4
> [root@dcomp5 ~]# uname -a
> Linux dcomp5.ringways.co.uk 2.6.16-1.2069_FC4 #1 Tue Mar 28 12:19:10 EST
> 2006
> i686 i686 i386 GNU/Linux
> [root@dcomp5 ~]#
>
> This is the script I run. I get no errors from the depmod or  modprobe.
>
> [root@dcomp5 ~]# more bin/wan-up
> #!/bin/bash
>
> depmod -a
> modprobe ndiswrapper
> iwconfig wlan0 mode managed key open <mykey>
> ESSID=`iwlist wlan0 scan|grep ESSID|cut -d '"' -f 2`
> echo ESSID=$ESSID
> if [ "$ESSID" == "DAP1" ]; then
>   IP=10.2.1.29
>   GW=10.2.1.1
> else
>   IP=10.1.1.29
>   GW=10.1.1.112
> fi
>   ifconfig wlan0 $IP netmask 255.255.0.0
>   route add default gw $GW
> [root@dcomp5 ~]#
>
> --
> Gary Stainburn
>
> This email does not contain private or confidential material as it
> may be snooped on by interested government parties for unknown
> and undisclosed purposes - Regulation of Investigatory Powers Act, 2000
>


Gary,

Why not using system-config-network for the configuration? It is easier.
Perhaps, your device got lost, with system-config-network you can (re-)add
it again.

Roger




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux