Fritz WLAN Stik on SUSE 11.2 does not work

Hi out there,

as a newbie I have installed open SuSE 11.2 and would like to use my Fritz ups Stick.

I have read a couple of threads about this issue and I do not know if I can follow those solutions presented for oS 11.0 and earlier versions.

Could somebody post here the procedure to make my Fritz ups Stick work?

Thanx in advance!

Tom

Try here SDB:AVM Fritz! WLAN Stick USB - openSUSE

Hello dwarf,

wow that was a challenging task!
I think I followed each and every step, but it still does not work.
The computer does not even notice that Fritz stick is plugged.

Do you have any suggestions how I could get a diagnosis I could post for further assistance?

Regards

Tom

Sorry folks, I have just read the “Sticky Postings” and realized that I have to bring some of my output.
Here is what I got during the procedure:

################

I d’loaded version 1.55, assuming that ver. 1.34 as in the “recipe” might be a bit out of fashion:

################
linux-qc4b:/home/hector/Downloads/ndiswrapper-1.55 # make && make install
make -C driver
make[1]: Entering directory /home/hector/Downloads/ndiswrapper-1.55/driver' make -C /usr/src/linux-2.6.31.8-0.1-obj/i386/default M=/home/hector/Downloads/ndiswrapper-1.55/driver make[2]: Entering directory /usr/src/linux-2.6.31.8-0.1-obj/i386/default’
make -C …/…/…/linux-2.6.31.8-0.1 O=/usr/src/linux-2.6.31.8-0.1-obj/i386/default/.
LD /home/hector/Downloads/ndiswrapper-1.55/driver/built-in.o
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/crt_exports.h
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/hal_exports.h
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/ndis_exports.h
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/ntoskernel_exports.h
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/ntoskernel_io_exports.h
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/rtl_exports.h
MKEXPORT /home/hector/Downloads/ndiswrapper-1.55/driver/usb_exports.h
CC [M] /home/hector/Downloads/ndiswrapper-1.55/driver/crt.o
In file included from /home/hector/Downloads/ndiswrapper-1.55/driver/crt.c:16:
/home/hector/Downloads/ndiswrapper-1.55/driver/ntoskernel.h: In function ‘PushEntrySList’:
/home/hector/Downloads/ndiswrapper-1.55/driver/ntoskernel.h:905: error: implicit declaration of function ‘cmpxchg8b’
make[5]: *** [/home/hector/Downloads/ndiswrapper-1.55/driver/crt.o] Fehler 1
make[4]: *** [module/home/hector/Downloads/ndiswrapper-1.55/driver] Fehler 2
make[3]: *** [sub-make] Fehler 2
make[2]: *** [all] Fehler 2
make[2]: Leaving directory /usr/src/linux-2.6.31.8-0.1-obj/i386/default' make[1]: *** [modules] Fehler 2 make[1]: Leaving directory /home/hector/Downloads/ndiswrapper-1.55/driver’
make: *** [all] Fehler 2
linux-qc4b:/home/hector/Downloads/ndiswrapper-1.55 #
################

The compilation ended with some error 1 and erro 2 /Fehler), however feralessly I continued:

################
linux-qc4b:/home/hector/Downloads/ndiswrapper-1.55 # ndiswrapper -l
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
fwlan : driver installed
device (057C:6201) present

Is the hardware (stick) present?
################

After defining the wpa_supplicant.conf:

################
linux-qc4b:/home/hector/Downloads/ndiswrapper-1.55 # ip link set wlan0 up

linux-qc4b:/home/hector/Downloads/ndiswrapper-1.55 # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf -B
Line 3: failed to parse ssid ‘desolation’.
Line 3: failed to parse ssid ‘desolation’.
Line 10: failed to parse network block.
Failed to read or parse configuration ‘/etc/wpa_supplicant.conf’.
linux-qc4b:/home/hector/Downloads/ndiswrapper-1.55 #

Apparently something failed in the process ;-(
############

Any clues?

Tom

Sorry no, my link to the Fritz page was the sum total of my knowledge, I don’t have a Fritz stick so have had no need to set one up.
Good luck

I’ll try to find out how I managed to get the stick working on OpenSuSE 11.2.
More information tomorrow.

Ed

hi

I tried to follow te given instructions but it didn’t work. There is no “wlan0” in the end. I think the problem is already in the beginning when I enter

"ndiswrapper -l".

The response should be something like

"fwlan   driver present, hardware present" 

but I get only

"driver fwlan is already installed"

Apart from that everything seemed to work and I also got the pre-shared-key.

Regards,
Robert

Hello Tomdylan,

Since you have OpenSuSE 11.2, another approach than ndiswrapper might be handier. OpenSuSE has drivermodule ar9170usb, developed by compat-wireless for your and other usb wlan sticks.
Let me explain what I did:

After a fresh install of OpenSuSE 11.2, open a terminal window and make yourself superuser.
Command iwconfig gives this:

lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=8 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Get firmware file ‘ar9170.fw’ from ar9170 - Linux Wireless and put it in /lib/firmware, where, by the way, firmware files ar9170-1.fw and ar9170-2.fw also happen to be (but they won’t work with the Fritz!WLAN usb N2.4).

Open a terminal window, change to su, give the command tail -f /var/log/messages, put the stick in one of the USB ports and these line appear in /var/log/messages, that tell that the stick is seen as a usb mass storage device.

Feb 7 14:45:48 linux-3a4c kernel: 659.620069] usb 1-2: new high speed USB device using ehci_hcd and address 5
Feb 7 14:45:49 linux-3a4c kernel: 659.783403] usb 1-2: New USB device found, idVendor=057c, idProduct=84ff
Feb 7 14:45:49 linux-3a4c kernel: 659.783430] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Feb 7 14:45:49 linux-3a4c kernel: 659.783444] usb 1-2: Product: FRITZ!WLAN USB Stick N 2.4
Feb 7 14:45:49 linux-3a4c kernel: 659.783456] usb 1-2: Manufacturer: AVM Berlin
Feb 7 14:45:49 linux-3a4c kernel: 659.783466] usb 1-2: SerialNumber: 001F3F092D40
Feb 7 14:45:49 linux-3a4c kernel: 659.783714] usb 1-2: configuration #1 chosen from 1 choice
Feb 7 14:45:49 linux-3a4c kernel: 659.828453] Initializing USB Mass Storage driver…
Feb 7 14:45:49 linux-3a4c kernel: 659.828846] scsi4 : SCSI emulation for USB Mass Storage devices
Feb 7 14:45:49 linux-3a4c kernel: 659.828977] usb-storage: device found at 5
Feb 7 14:45:49 linux-3a4c kernel: 659.828980] usb-storage: waiting for device to settle before scanning
Feb 7 14:45:49 linux-3a4c kernel: 659.828992] usbcore: registered new interface driver usb-storage
Feb 7 14:45:49 linux-3a4c kernel: 659.829000] USB Mass Storage support registered.
Feb 7 14:45:50 linux-3a4c kernel: 660.838205] scsi 4:0:0:0: CD-ROM FRITZ! WLAN selfinstall 1.00 PQ: 0 ANSI: 0 CCS
Feb 7 14:45:50 linux-3a4c kernel: 660.850928] sr1: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
Feb 7 14:45:50 linux-3a4c kernel: 660.851226] sr 4:0:0:0: Attached scsi CD-ROM sr1
Feb 7 14:45:50 linux-3a4c kernel: 660.851384] sr 4:0:0:0: Attached scsi generic sg2 type 5
Feb 7 14:45:50 linux-3a4c kernel: 660.852058] usb-storage: device scan complete
Feb 7 14:45:50 linux-3a4c kernel: 661.759415] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Feb 7 14:45:50 linux-3a4c kernel: 661.759439] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current]
Feb 7 14:45:50 linux-3a4c kernel: 661.759451] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range
Feb 7 14:45:50 linux-3a4c kernel: 661.759464] end_request: I/O error, dev sr1, sector 3784
Feb 7 14:45:50 linux-3a4c kernel: 661.759473] Buffer I/O error on device sr1, logical block 946
Feb 7 14:45:51 linux-3a4c kernel: 661.769795] sr 4:0:0:0: [sr1] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Feb 7 14:45:51 linux-3a4c kernel: 661.769814] sr 4:0:0:0: [sr1] Sense Key : Illegal Request [current]
Feb 7 14:45:51 linux-3a4c kernel: 661.769827] sr 4:0:0:0: [sr1] Add. Sense: Logical block address out of range

Lots of the error messages may follow, but they are of no concern. After 1 or 2 minutes, the stick presents itself as a wlan device:

Feb 7 14:47:20 linux-3a4c kernel: 751.292705] usb 1-2: USB disconnect, address 5
Feb 7 14:47:20 linux-3a4c kernel: 751.293536] cdrom: issuing MRW back ground format suspend
Feb 7 14:47:21 linux-3a4c kernel: 752.552054] usb 1-2: new high speed USB device using ehci_hcd and address 6
Feb 7 14:47:21 linux-3a4c kernel: 752.715348] usb 1-2: New USB device found, idVendor=057c, idProduct=8402
Feb 7 14:47:21 linux-3a4c kernel: 752.715373] usb 1-2: New USB device strings: Mfr=16, Product=32, SerialNumber=48
Feb 7 14:47:21 linux-3a4c kernel: 752.715388] usb 1-2: Product: FRITZ!WLAN USB Stick N 2.4
Feb 7 14:47:21 linux-3a4c kernel: 752.715398] usb 1-2: Manufacturer: AVM Berlin
Feb 7 14:47:21 linux-3a4c kernel: 752.715409] usb 1-2: SerialNumber: 001F3F092D40
Feb 7 14:47:21 linux-3a4c kernel: 752.715651] usb 1-2: configuration #1 chosen from 1 choice
Feb 7 14:47:22 linux-3a4c kernel: 752.848065] usb 1-2: reset high speed USB device using ehci_hcd and address 6
Feb 7 14:47:23 linux-3a4c kernel: 754.000135] usb 1-2: firmware: requesting ar9170.fw
Feb 7 14:47:23 linux-3a4c kernel: 754.417692] ath: EEPROM regdomain: 0x8114
Feb 7 14:47:23 linux-3a4c kernel: 754.417698] ath: EEPROM indicates we should expect a country code
Feb 7 14:47:23 linux-3a4c kernel: 754.417703] ath: doing EEPROM country->regdmn map search
Feb 7 14:47:23 linux-3a4c kernel: 754.417708] ath: country maps to regdmn code: 0x37
Feb 7 14:47:23 linux-3a4c kernel: 754.417712] ath: Country alpha2 being used: DE
Feb 7 14:47:23 linux-3a4c kernel: 754.417717] ath: Regpair used: 0x37
Feb 7 14:47:23 linux-3a4c kernel: 754.418990] phy1: Selected rate control algorithm ‘minstrel’
Feb 7 14:47:23 linux-3a4c kernel: 754.420961] cfg80211: Calling CRDA for country: DE
Feb 7 14:47:23 linux-3a4c kernel: 754.421829] Registered led device: ar9170-phy1::tx
Feb 7 14:47:23 linux-3a4c kernel: 754.421878] Registered led device: ar9170-phy1::assoc
Feb 7 14:47:23 linux-3a4c kernel: 754.421891] usb 1-2: Atheros AR9170 is registered as ‘phy1’
Feb 7 14:47:23 linux-3a4c kernel: 754.421938] usbcore: registered new interface driver ar9170usb
Feb 7 14:47:23 linux-3a4c ifup: Service network not started and mode ‘auto’ -> skipping
Feb 7 14:47:23 linux-3a4c ifup: interface ‘wmaster1’ is a wlan helper interface. Exiting.
Feb 7 14:47:29 linux-3a4c kernel: 759.932556] ADDRCONF(NETDEV_UP): wlan1: link is not ready

Command lsmod | grep 9170 should give this:

ar9170usb 52100 0
ath 8608 1 ar9170usb
mac80211 214968 3 ar9170usb,rt2x00usb,rt2x00lib
cfg80211 103584 4 ar9170usb,rt2x00lib,ath,mac80211
led_class 4836 3 ar9170usb,rt2x00lib,sdhci

Another wlan device, wlan1 is now present as iwconfif tells (I don’t understand why this is).

lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=8 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wmaster1 no wireless extensions.

wlan1 IEEE 802.11bgn ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Now, a wireless connection has to be configured.

For this, go to Yast network devices->network settings->

It tells you to switch to the traditional setup method with ifup (or use the connection editor, which I cannot find).
Under ‘global options’, tick the button with ‘Traditional method with ifup’
Go to ‘overview’ and press ‘add’
In ‘hardware dialog’, choose Device type ‘Wireless’ (at the bottom of the list) and choose configuration name 0 (this will eventually give the configuration nam wlan0).
Press ‘next’
Under tab ‘Address’, tick ‘Dynamic Address’, choose DHCP and both version 4 and 6.
Press ‘next’ and choose operation mode ‘managed’ and authentication mode ‘WPA-PSK’ and tick ‘passphrase’,

Press the button ‘Scan Network’ and hopefully you will find one, preferably your own network. If you have the FritzBox Fon WLan 7170 Annex A, you might see its name appear.
You will then have to enter the Encryption key for that network.

The press ‘next’ end the press ‘OK’

Reboot.

You should have a wireless connection now.

Check with Yast -> Security and Users -> Firewall that your firewall is working and that interface wlan0 is assigned the external zone .
Command iwconfig should show under wlan0 more information than before, like
The name of the network
Access point info other than ‘Not-Associated’
Bitrate
Encryption key information
Signal level info other than 0
Link quality other than 0

Hope this works for you.

Ed

… which does not support the older “non-DraftN”-devices.

BTW:

Software.openSUSE.org