August 26

The hardware support for Linux by the manufacturer can still much to be desired. Many manufacturers are afraid of the effort to, but then do not publish their specifications and documentation, so that will be developed by the community free drivers.
AVM is now available for the FRITZ! WLAN USB Stick own Linux driver released. It is unfortunately not an open source driver, so he will not be included in many distributions by default. But we do not even complain.

The installation documentation is available in German and English. Here are again the most important steps to connect to WPA2 (WEP and WPA connections are described in the readme.html also):

Unpack and install

tar -xvzf fwlanusb-1.00.00.tar.gz cd fritz sudo ./install 

check

After a reboot, the kernel module should be loaded fwlanusb. If yes, is the interface wlan0 and configured it can iwlist to scan for WLANs.

 $ lsmod|grep fwlanusb fwlanusb 607776 0 usbcore 134280 5 fwlanusb,usbhid,ehci_hcd,uhci_hcd $ iwconfig eth0 no wireless extensions. wlan0 IEEE 802.11b/g ESSID:off/any Mode:Managed Channel:0 Encryption key: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 $ iwlist wlan0 scan Cell 01 - Address: 00:11:22:33:44:55 ESSID: "FRITZ!Box" 

Connect

for a connection via WPA or WPA2 with DHCP, the following packages installed:

  • wpasupplicant - Client support for WPA and WPA2 (IEEE 802.11i)
  • dhcpcd - DHCP client for automatically configuring IPv4 networking
  • lwresd - lightweight resolver daemon

In a default Ubuntu installation is included only wpasupplicant, so must the other two packages are installed via:

 $ sudo apt-get install dhcpcd $ sudo apt-get install lwresd 

The data for a WPA2 connection should be stored in a configuration file.
sudo vi / etc/wpa_supplicant/config-wpa2

 network={ ssid="FRITZ!Box" # eigene essid eintragen key_mgmt=WPA-PSK proto=WPA2 pairwise=CCMP group=CCMP psk="geheim" # eigenen schluessel eintragen } 

After building a WPA2 connection should be possible. If so, a new IP address via DHCP.

 $ sudo wpa_supplicant -Dwext -i wlan0 -c /etc/wpa_supplicant/config-wpa2 -dd & $ sudo dhcpcd wlan0 & 

All goes well, you can stop by with the command line browser ever on google.

 $ w3m www.google.de 

alternative

Alternatively, in this Ubuntuusers article describes how to use the FRITZ! WLAN USB Stick with Windows drivers via ndiswrapper integrates.

gklinkmann written by \ \ tags:

Add a comment

Yes, I would like to be notified about comments!