Wireless networking with ndiswrapper on Linux

  • 3007458
  • 24-May-2006
  • 30-Apr-2012

Environment


ndiswrapper
km_ndiswrapper
Novell Linux Desktop (NLD) 9
Novell SUSE Linux Enterprise Server (SLES) 9
Novell Open Enterprise Server (OES) (Linux based)

Situation

Unable to get wireless networking running on Linux
Can't find ndiswrapper utilities
ERROR: FATAL: error inserting ndiswrapper (/lib/modules/2.6.5-7.191/default/extra/ndiswrapper.ko): operation not permitted.

Resolution

The ndiswrapper utilities are not distributed in binary format with our Enterprise distributions.  With NLD9, you can download it from the Red Carpet channel.  With the other distributions, you can install the source RPM and build the binary RPM from that.  You will need the CD containing the source code.

The current service pack (SP) for SLES 9 is SP3.  The third CD of SP3 contains the sources.  I will use this CD in my example of how to install the utilities.
  1. Install the ndiswrapper utilities
    1. You'll need to install the development packages first
      1. Go into YaST's Package Management
      2. Change the Filter to "Selections"
      3. Select "C/ C++ Compiler and Tools" to install
      4. Change the Filter to "Search"
      5. Search for "strace" and "unzip", select to install them
      6. Choose Finish to install the packages.
    2. Insert "SUSE Linux Enterprise Server Service Pack 3 CD 3"
    3. Mount the CD
      • mount /dev/cdrom /media/cdrom
    4. Install the source RPM
      • rpm -Uvh /media/cdrom/suse/i586/ndiswrapper-1.1-4.4.src.rpm
    5. Builld the source RPM
      1. rpmbuild -bp /usr/src/packages/SPECS/ndiswrapper.spec
      2. rpmbuild -bb /usr/src/packages/SPECS/ndiswrapper.spec
    6. Install the binary RPM
      1. rpm -Uvh /usr/src/packages/RPMS/i586/ndiswrapper-1.1-4.4.rpm
  2. To configure the ndiswrapper, you can follow the steps ofInstalling NDISWrapper on Novell Linux Desktop

Additional Information

The ndiswrapper only has limited support through Novell. See the Supported Packages pages for details.