NDISwrapper Installation confusing error, Slackware 12.1 IBM Thinkpad T30
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
NDISwrapper Installation confusing error, Slackware 12.1 IBM Thinkpad T30
Hello! I recently installed Slackware 12.1 on my IBM Thinkpad T30 successfully except for one issue; wireless internet. This has been frustrating; the KDE GUI for these settings has done nothing for me. I decided to download the ndiswrapper module (on another computer) and copied it over to my Slackware. I extracted it and when I ran make distclean as in the installations directions. However I get the following:
make distclean
make -C driver clean
make[1]: Entering directory '/home/william/ndiswrapper-1.53/driver
Makefile;34 *** Cannot find kernel version in /usr/src/linux-2.6.24.5, is it configured?. Stop.
make[1]: Leaving directory '/home/william/ndiswrapper-1.53/driver'
make: *** [clean] Error 2
however the ndiswrapper website said that the directory it looks for the kernel in is /lib/modules/VERSION/build, but it does not appear so in the prompt. URL:http://ndiswrapper.sourceforge.net/j...,installation/
What is the problem? Do I need to download a windows driver as well? Do I need to recompile the kernel after install? Do I need to install the kernel source code from the installation DVD/should I?
What is the problem? Do I need to download a windows driver as well? Do I need to recompile the kernel after install? Do I need to install the kernel source code from the installation DVD/should I?
You do need the kernel source package installed, since you are trying to build a kernel module. It is located in the k/ series on the install CD/DVD (it is the kernel-source-2.6.24.5_smp-noarch-2.tgz package). You can install it with `installpkg kernel-source-2.6.24.5_smp-noarch-2.tgz` as root. The /lib/modules/VERSION/build thing means that /lib/modules/2.6.24.5-smp/build is a symlink to the kernel sources, which are located at /usr/src/linux-2.6.24.5. Since you do not have the kernel sources installed, this is a dead symlink.
You do NOT have to rebuild the kernel. You will have to download the Windows driver, but all of the drivers are linked from their site (I think). I have no experience with ndiswrapper, so I can't help you here.
I would recommend using the SlackBuild to compile ndiswrapper from slackbuilds.org. Instructions on how to compile applications (such as ndiswrapper) using SlackBuilds are located on the same site, here.
For future reference, I would try to avoid linuxpackages.net. Most of their packages do not contain SlackBuilds, so you really have no idea how it was built -- you're basically using blind faith that the package was built properly. In addition, packages are often built on unclean systems, and have questionable dependencies. There ARE reputable packagers on linuxpackages.net, but finding them takes experience or advice from others.
I would recommend slackbuilds.org first (the SlackBuilds work well and some of the Slackware contributors themselves maintain/contribute to the site). Also recommended are Alien Bob's repository and rworkman's repository. They are both major Slackware contributors, and include prebuilt packages and SlackBuilds in their repositories.
If you still can't find a package or SlackBuild, and you don't want to write a SlackBuild yourself, I would recommend slacky.eu, which is a nice, big repository with prebuilt packages and SlackBuilds. I would trust this one less than the others (though much more than linuxpackages.net), but it's still a great resource, and you shouldn't have any trouble using packages or SlackBuilds from there.
If you *still* can't find a package or SlackBuild, you could consider writing your own SlackBuild or using gnashley's src2pkg to attempt to automatically compile the app and create a package. I've never tried src2pkg but have heard nothing but praise from those who have.
When I type installpkg "".tgz as root, it says Cannot install "".tgz: package does not end in .tgz
I tried doing this again, this time not adding an ending and adding a tar.gz extension (without the .tgz), but it still comes up with the same error.
Is this a problem with the internet connection (using an ethernet cable at the moment) or should I install from the Slackware DVD? Is this an option, or if I needed to install from the DVD would I have to do a fresh reinstall?
Well, I successfully installed ndiswrapper after installing the kernel source packages and I downloaded the driver from the Cisco website, Win-Client-802.11a-b-Ins-Wizard-v18.exe, and unxipped it successfully. The trouble is the only .inf or .sys files which the ndiswrapper website says to look for is a file called CSWLOGON.INF. I tried unzipping, cabextracting, (I could not get unshield to work), all of the others exes that came out of the original exe (AppInst.exe, CAppLder.exe, DrvInst.exe,IWSetup.exe,LEAPCheck.exe, NT4DrvInst.exe, PostUnInstall.exe, SetDbgLevel.exe) for other .sys of .inf files, but nothing was produced from this effort. So after ndiswrapper -i CSWLOGON.INF, I get
When I try to use the unshield command (after downloading unshield "google unshield") I get this error.
unshield data2.cab
unshield: error while loading shared libraries: libunshield.so.0: cannot open shared obkect: no such file or directory
Do i need to download or install this file somewhere? Was there something wrong with the installation commands i was using while installing unshield-5.8.1.tar.gz (./configure, (make clean), make, make install) all as root? This is beginning to become very tiresome.
Just posting my solution for the archives I guess. I went into debian and searched synaptic's repository for unshield and when I clicked to install the package it said that had a dependency called libunshield0, so I guess I just needed to install a library to go with unshield in Slackware, but since I downloaded the utility in Debian it seems to work fine in Slacware.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.