LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-23-2015, 02:25 PM   #1
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Rep: Reputation: 15
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".
 
Old 05-23-2015, 03:54 PM   #2
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 174Reputation: 174
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.

4 ways to get Wifi working on Linux
 
1 members found this post helpful.
Old 05-23-2015, 04:08 PM   #3
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by snoozing View Post
Now, to get the WLan Stick to work....(4th try in the last 10 years).
Hi...

Out of curiosity, what is the output for this adapter using...

Code:
lsusb
Is this the adapter in question?

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.

Regards...
 
Old 05-24-2015, 06:12 AM   #4
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
thanks for the response ardvark, but I'm actually looking for a subdirectory. Anyways I'll get the lsusb info the next time I reboot to linux.

Quote:
Originally Posted by ardvark71 View Post
but you could give them a call...
I live in Germany. I have enough trouble understanding the geeky phraseology as it is. Imagine actually talking on the phone to someone!
 
Old 05-24-2015, 06:19 AM   #5
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Thank you for the post Yooy!!
I will get the lsusb response for you in 30 minutes.

That link to the missing build directory just might save me.

Quote:
Originally Posted by yooy View Post
Maybe it would be good start to grab Linux Mint that have ndiswrapper out of the box.
Does this mean the Linux Mint is another kind of Linux and a Linux Mint installation would contain the ndiswrapper software already compiled??
 
Old 05-24-2015, 06:34 AM   #6
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
For both Yooy and Ardvark

>lsusb

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
 
Old 05-24-2015, 10:02 PM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by snoozing View Post
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 View Post
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.
 
Old 05-25-2015, 03:21 AM   #8
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
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????
 
Old 05-26-2015, 02:50 PM   #9
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
After much trouble I have got ndiswrapper and a driver to work with my AVM Fritz WLAN Stick
in openSuse !! Finally !!

but every time I start the OS I must do two things to
get the stick to work again.

1. I must do modprobe ndiswrapper

2. I must go through the configuration steps again with Yast

Aren't these steps supposed to be in a *.conf file or a *.d file somewhere??
 
Old 05-28-2015, 03:02 AM   #10
snoozing
Member
 
Registered: Jan 2006
Posts: 38

Original Poster
Rep: Reputation: 15
Got it working permanently now.

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.

Last edited by snoozing; 05-28-2015 at 03:10 AM.
 
Old 05-28-2015, 10:10 AM   #11
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by snoozing View Post
Got it working permanently now.
Cool, glad you got it working. Nicely done.

If you would, please mark this thread as "SOLVED."

Regards...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fritz! WLAN USB Stick N v2 - NDISWRAPPER Problem Staniii Linux - Newbie 1 02-12-2015 09:52 AM
[SOLVED] My AVM Fritz WLAN stick won't work on Suse 12.1 klopfersoft Linux - Wireless Networking 1 02-28-2012 12:49 AM
Making an AVM WLAN Stick work on Suse 12.1 is not easy klopfersoft Linux - Networking 0 02-23-2012 02:03 PM
AVM Fritz WLAN USB stick native driver installation fails (endet mit Fehlern) axeljungfer Linux - Wireless Networking 1 02-26-2010 12:54 PM
avm WLAN USB-stick (Ubuntu 6.10) annuzzer Linux - Wireless Networking 1 11-27-2006 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration