Trying Linux Again with a AVM Fritz WLAN Stick - NDISWrapper Hassle
Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in 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.
Trying Linux Again with a AVM Fritz WLAN Stick - NDISWrapper Hassle
I downloaded Suse Linux 32bit 3.16.6.2.0 as an iso, burned a DVD and installed it as a dual OS with my Win 7. Now, to get the WLan Stick to work....(4th try in the last 10 years). Using the Win OS I downloaded two files : ndiswrapper-1.59.tar.gz and fwlanusb-1.00.00.tar.gz and whole lots of tiny scattered bits of documentation.
I moved them into the Linux partition, expanded them and did the install process as instructed.
With both of these installations it requires running a makefile script. And in both cases it comes to a crashing stop when /lib/modules/kernel3.16.6-2-desktop/build is not found.
The 'build' subdirectiory or file is not present. Can I call up one of the rpms to get this part of the Linux OS installed?? Which rpm??
Solving the problem with my WLAN Stick is especially hard because often the Linux documentation says : "in order to make you your internet connection function you must download xyz".
You may want to indentify your card with lsusb..?
Maybe it would be good start to grab Linux Mint that have ndiswrapper out of the box.
Other choice is to buy linux friendly usb wlan stick or install wlan pci adapter in the back of the laptop that will make it fully movable.
Quote:
Solving the problem with my WLAN Stick is especially hard because often the Linux documentation says : "in order to make you your internet connection function you must download xyz".
that is where comes handy cable, or usb flash to transfer files.
If you really want to dig deeper you may find some useful info on this link.
I'm wondering if a more "Linux friendly" adapter that works "out of the box" might be easier. Here's one that I currently own that's worked well for me. I didn't see SUSE listed under the supported distributions but you could give them a call to see if, by chance, your version is.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 13fd:1640 Initio Corporation INIC-1610L SATA Bridge
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 008: ID 046d:089d Logitech, Inc. QuickCam E2500 series
Bus 001 Device 003: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 001 Device 007: ID 046d:c31c Logitech, Inc. Keyboard K120 for Business
Bus 001 Device 006: ID 057c:6201 AVM GmbH AVM Fritz!WLAN v1.1 [Texas Instruments TNETW1450]
Bus 001 Device 005: ID 046d:c50e Logitech, Inc. Cordless Mouse Receiver
Bus 001 Device 004: ID 04fc:0c25 Sunplus Technology Co., Ltd SATALink SPIF225A
Bus 001 Device 002: ID 050d:0307 Belkin Components USB 2.0 - 7 ports Hub [FSU307]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
I live in Germany. I have enough trouble understanding the geeky phraseology as it is. Imagine actually talking on the phone to someone!
How about writing them an email here and asking: "Will the TPE-N150USB wireless adapter work in SUSE 3.16.6.2.0 32 bit?"
Quote:
Originally Posted by snoozing
Does this mean the Linux Mint is another kind of Linux and a Linux Mint installation would contain the ndiswrapper software already compiled??
Yes, it's another distribution of Linux you can find here and it does sound like ndiswrapper is already installed and ready to go.
EDIT: Once you get ndiswrapper up and running in either case, here is a page that might help further with the installation process. Check with AVM to make sure that using their Windows drivers for ndiswrapper is permitted under their license agreement or EULA.
Regards...
Last edited by ardvark71; 05-24-2015 at 10:23 PM.
Reason: Added information/Corrections.
One small step forward, then stop, implicitly and explicitly
with yooy's link : link I found an rpm dealing with 3.16.6-2-devel and it created the missing subdirectories.
Then after another rpm I had gcc.
Then it started rolling. "make uninstall" went nicely
Then "make" stopped with :
Code:
linux-h1b0:/home/dummy/ndiswrapper-1.59 # make
make -C utils
make[1]: Entering directory '/home/david/ndiswrapper-1.59/utils'
make[1]: Leaving directory '/home/david/ndiswrapper-1.59/utils'
make -C driver
make[1]: Entering directory '/home/david/ndiswrapper-1.59/driver'
make -C /usr/src/linux-3.16.6-2-obj/i386/desktop M=/home/david/ndiswrapper-1.59/driver
make[2]: Entering directory '/usr/src/linux-3.16.6-2-obj/i386/desktop'
make[1]: Entering directory `/usr/src/linux-3.16.6-2-obj/i386/desktop'
CC [M] /home/david/ndiswrapper-1.59/driver/crt.o
/home/david/ndiswrapper-1.59/driver/crt.c: In function ‘_win_srand’:
/home/david/ndiswrapper-1.59/driver/crt.c:470:2: error: implicit declaration of function ‘net_srandom’ [-Werror=implicit-function-declaration]
net_srandom(seed);
^
cc1: some warnings being treated as errors
/usr/src/linux-3.16.6-2/scripts/Makefile.build:273: recipe for target '/home/david/ndiswrapper-1.59/driver/crt.o' failed
make[5]: *** [/home/david/ndiswrapper-1.59/driver/crt.o] Error 1
/usr/src/linux-3.16.6-2/Makefile:1359: recipe for target '_module_/home/david/ndiswrapper-1.59/driver' failed
make[4]: *** [_module_/home/david/ndiswrapper-1.59/driver] Error 2
Makefile:195: recipe for target 'sub-make' failed
make[3]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[2]: *** [__sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-3.16.6-2-obj/i386/desktop'
Makefile:185: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/david/ndiswrapper-1.59/driver'
Makefile:24: recipe for target 'driver' failed
make: *** [driver] Error 2
I went into the C code and commented out the call to the implicitly declared net_srandom(...) function
and it rolled further on and died at another implicitly declared function !!!
Shall I create my own header file where these functions are explicitly declared????
Must download the rpm with the ndiswrapper software from the web using Windows, create my own personal software repository,
dump the ndiswrapper xxxxxxx.rpm into it, and then install it when Linux is running.
Then got to do a >modprobe ndiswrapper just once
Then go to Yast / General and put in "activate on boot" !!
and
configure with wpa + psk, managed, the security key and the name of the network my blackbox (=access point? router? gateway? modem?) is broadcasting.
and
Insert "ndiswrapper" in the kernel module name specification.
all that in Yast.
and later change the name of the network interface (= the stick) to wlan0 in Yast
works now.
BTW this whole business also requires a download of software, namely "iw", from the openSuse installation disk. It happens automatically.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.