WPA with IPW2200 on Ubuntu Dapper Drake
Today I switched to the next release of Ubuntu Linux 6.06 code-named Dapper Drake. As setting up WLAN with WPA for my Intel PRO/Wireless 2200BG chipset changed, I’ll write down, what you have do to in order to get everyting running:
- make sure that wpasupplicant is installed (it should be by default)
- become root (sudo -s) on a terminal for the next steps
- type wpa_passphrase your_ssid your_secret_key to encrypt your key and copy the hexadecimal code provided behind “psk=”
- create a new file /etc/wpa_supplicant.conf with the following content:
ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=2 network={ ssid="your_ssid" proto=WPA scan_ssid=1 key_mgmt=WPA-PSK pairwise=TKIP group=TKIP CCMP psk=your_hexadecimal_encrypted_key } - Create (or edit if already exists) /etc/default/wpasupplicant like that (where eth1 is your wireless interface):
ENABLED=1 OPTIONS="-w -i eth1 -D wext -c /etc/wpa_supplicant.conf -B"
Note that you have to take wext instead of ipw as driver, since WPA encryption is now integrade in the Kernel.
- Make sure that your /etc/network/interfaces contains that (again, let eth1 be your wireless interface):
auto eth1 iface eth1 inet dhcp pre-up /sbin/wpa_supplicant -D wext -i eth1 -c /etc/wpa_supplicant.conf -Bw post-down killall -q wpa_supplicant
Again, use wext instead of ipw! Please remind, that you shouldn’t configure more than one interface with DHCP.
- Finally, we have to tell the ipw2200 driver that encryption is now managed by the Kernel. Simply add the following line in /etc/modprobe.d/ipw2200:
options ipw2200 hwcrypto=0
- After reloading the ipw2200 driver an restarting networking (or rebooting) wireless networking should work like a charm.
Feel free to leave a comment if my instructions were helpful for you.

June 3rd, 2006 at 16:45
danke für den tipp =)
kleine anmerekung zu:
# Finally, we have to tell the ipw2200 driver that encryption is now managed by the Kernel. Simply add the following line in /etc/modprobe.d/ipw2200:
options ipw2200 hwcrypto=0
das ist nun mittlerweile ipw3945 und somit:
options ipw3945 hwcrypto=0
sau geil läuft wie eine 1 =)
dank dir!!!
June 6th, 2006 at 19:01
Prima, jetzt geht es! Habe nicht mehr dran geglaubt. Die abschließende Konfiguration (statische IP Adresse, Gateway etc.) ging mit dem Funknetzassistenten problemlos. Nochmals vielen Dank!
Gruß nach MG / AC
June 13th, 2006 at 19:04
Boah das gibts nicht. Seit Januar sitze ich an meinem Laptop und bekomme das WLAN nicht zum Laufen, da wir hier WPA haben und nicht wie sonst überall wo ich mit meinem Laptop bin WEP. Nun lese ich diese Zeilen:
“Note that you have to take wext instead of ipw as driver, since WPA encryption is now integrade in the Kernel.”
Ich probierte es aus, es sah grauenhaft aus, was mir wpa_supplicant da fürn Zeugs ausgab und dann sah ich die 4 Balken in meiner Leiste, die mir die Verbindungsqualität zum WLAN-Router anzeigen, leuchten.
Vielen dank für deine gute Beschreibung.
June 25th, 2006 at 18:52
Klasse!
Es ist zwar mein allererr Gehversuch unter Ubuntu (überhaupt unter Linux) aber dank solcher tollen Anleitgen wie dieser hier bekommen auch Linuxneulinge wie ich es hin ihr Funknetz zum laufen trotz, oder gerade mit, WPA-Verschlüsselung.
Danke Martin! Was trinkst du?
Sven
June 26th, 2006 at 16:12
Danke Martin!
Dank deinem Howto funktioniert endlich alles wie es soll.
Schön das Ubuntu so tolle User hat!
July 15th, 2006 at 15:46
[...] ist dank der Anleitung bei Martin Henze relativ einfach zu konfigurieren. Das war bei den vorherigen Ubuntu-Versionen schwieriger. Also an die Anleitung halten, dann klappt’s auch mit WLAN. [...]
July 16th, 2006 at 17:58
Vielen das ist jetzt das erstemal das ich die WPA verschlüsselung unter Ubuntu hinbekommen habe,und ich nutze Ubuntu mitlerweile schon ein jahr.
Ich hatte nach einem neustart nur das Problem ich den xserver nicht mehr starten konnte.Ein sudo dpkg-reconfigure xserver-xorg hat da aber abhilfe geschaffen.
Danke nochmal
August 2nd, 2006 at 20:32
Vielen Dank für die SUPER Anleitung, auch an Earthling für die Aktualisierung! So hat’s endlich funktioniert: WLAN unter Kubuntu!
August 5th, 2006 at 23:03
Obwohl ich genau die oben beschriebene Konfiguration habe, kriege ich mein Problem nicht weg. Seit dem update auf LTS geht mein WLAN nur nach Neustart, aber nicht mehr nach suspend/Standby. Wenn ich dafür noch einen guten Rat bekommen könnte!
August 6th, 2006 at 07:43
phantastisch, funktioniert einfach
August 6th, 2006 at 12:36
Gute Anleitung. Danke sehr!
August 8th, 2006 at 00:02
DANKE DANKE DANKE!!
Ich habe schon ewig rumgebastelt und es hat einfach nicht geklappt! Vielen Herzlich Dank für die Anleitung, endlich (!) kann ich mein Laptop-Wifi nutzen.
Klasse, BIG THX!
August 11th, 2006 at 11:53
Hallo
Erst mal danke für die Anleitung. Damit hat’s dann nach nachfolgender Modifikation auch bei mir geklappt.
In der /etc/wpa_supplicant.conf soll lt. Deiner Anleitung u.a. diese beiden Zeilen aufgenommen werden:
pairwise=TKIP
group=TKIP CCMP
Falls der Access-Point aber im Infrastrukturmode läuft und AES für die Verschlüsselung hinterlegt ist, dann muss auch beim Parameter “pairwise” noch “CCMP” ergänzt werden (genau wie bei “group”). Mit dieser Einstellung lief es dann bei mir sofort.
Andreas
August 19th, 2006 at 12:06
Wunderbar, großartig. Alle bekommen ihr WLAN an laufen – ich nicht. Aber ich spreche auch kein englisch. Ich wusste nicht, dass das für die Benutzung von ubuntu unabdingbare Voraussetzung ist.
August 26th, 2006 at 15:37
Funktioniert auch für die 2100 Karte. Großartig.
Kommentar 1. ist auch hier richtig.
Vielen Dank!
Malte
September 2nd, 2006 at 22:38
Thanks for the info. It worked perfectly for me, except I needed to edit
/etc/modprobe.d/ipw3945instead of/etc/modprobe.d/ipw2200.September 3rd, 2006 at 23:28
Hallo und erstmal danke für das HOWTO, einfach toll!
Auch ich musste ipw3945 bearbeiten musste, aber die zusätzliche Zeile dann wieder löschen musste, damit´s ging. Zuvor kam
dmesg | grep ipw
[4294688.390000] ipw3945: Unknown parameter `hwcrypto’
[4295176.640000] ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver f or Linux, 1.0.3m
liegt wohl daran, das ich ein ziemlich neues Notebook hab …
September 7th, 2006 at 10:54
Hallo,
Du schreibst :
“type wpa_passphrase your_ssid your_secret_key to encrypt your key and copy the hexadecimal code provided behind “psk=â€? ”
Kannst Du das bitte genauer erkläre, ich komme nicht darauf wie da hex rausfällt mit ‘type’. Sorry sicher ein Missverständnis auf meiner Seite..
cu
hp
September 7th, 2006 at 11:02
Hallo,
ist das woertlich zu verstehen oder soll das als option mit in die Zeile von “install ipw3945 ..”?
[snip]
Simply add the following line in /etc/modprobe.d/ipw2200:
options ipw2200 hwcrypto=0
[snap]
Danke + Gruss
hp
September 8th, 2006 at 00:29
Hi!
Thanx a lot your manual helped a lot…I was nearly hopeless…but in the end I noticed that the WLAN switch on/off on my HP NX8220 notebook is working under ubuntu but the blue LED is not flashing…
bye,
sinner
September 8th, 2006 at 00:43
sorry for misusing your webpage as a forum…with this the WLAN led on HP nx8220 is working:
(as root)# echo 1 > /sys/bus/pci/drivers/ipw2200/0000\:02\:04.0/led
got this from here:
https://launchpad.net/distros/ubuntu/+source/linux-source-2.6.15/+bug/26075
October 18th, 2006 at 02:02
Ge – ni – al !
October 22nd, 2006 at 14:09
hi!
super anleitung!
jetzt eine Frage: Wie kann ich das mit 2 verschiedenen WLANs einrichten?
Unter Windows kein Problem, das erkennt in welchem WLAN ich mich befinde und verbindet sich dementsprechend.
Wie bekomme ich das unter Ubuntu hin?
November 18th, 2006 at 01:08
leck mich ane füße.
ich hab den ganzen tag, recheriert und alles ausprobiert um meine intel ipw3945 centrino wlan karte zum laufen zu bringen. und erst nachdem ich den trick von dir benutzt habe lief es. wegen dem ipw 3945 hab ich natürlich ne andere conf, aber es funst. sehr geil
DANKE
>>sudo kate /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
pre-up /sbin/wpa_supplicant -D wext -i eth1 -c /etc/wpa_supplicant.conf -Bw
post-down killall -q wpa_supplicant
>>kate /etc/modprobe.d/ipw3945
options ipw3945 hwcrypto=0
November 18th, 2006 at 01:12
[...] First read this [...]
December 1st, 2006 at 09:53
Hello,
big thanks for your Howto, it really drove me crazy not to be able to use my WLAN with WPA-Encrpytion…
Thanks!
December 19th, 2006 at 22:27
ich sitze auch schon ziemlich lange an der wpa-geschichte. in meinem laptop ist die intel 2200 karte drinne. wenn ich die datei /etc/modprobe.d/ipw2200 aufrufen will findet er komischer weise nur die ipw3945 die ich aber gar nicht installiert haben kann ich ipw3945 einfach durch 2200 ersetzen??
January 3rd, 2007 at 01:02
Hi,
erst einmal ein FROHES NEUES JAHR an alle!!
Und natürlich ein RIESEN Dank für die Anleitung.
Ich suche nämlich auch eeewwwiiiig nach Tipps wie man sein WLAN unter Ubuntu mit WPA zum Laufen bringt. Ich hatte nämlich auch keine Lust das Ganze mit WEP zu verschlüsseln.
Ich hab nur ein Problem:
ich hab alles so gemacht wie oben beschrieben (nur, dass ich auch den ipw3945 hab), nur ist die wlan karte jetzt aus dem netzwerk-konfigurator verschwunden.
Anbei die Inhalte meiner Dateien:
Datei: etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.2.35
netmask 255.255.255.0
gateway 192.168.2.1
auto eth1
iface eth1 inet dhcp
pre-up /sbin/wpa_supplicant -D wext -i eth1 -c /etc/wpa_supplicant.conf -Bw
post-down killall -q wpa_supplicant
Datei: etc/wpa_supllicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
network={
ssid="meinssid"
proto=WPA
scan_ssid=1
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP CCMP
psk=
}
Datei: etc/default/wpasupplicant
ENABLED=1
OPTIONS="-w -i eth1 -D wext -c /etc/wpa_supplicant.conf -B"
Datei: etc/modprobe.d/ipw3945
install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.5; \
/sbin/ipw3945d-$(uname -r) --quiet
remove ipw3945 /sbin/ipw3945d-$(uname -r) --kill ; \
/sbin/modprobe -r --ignore-remove ipw3945
options ipw3945 hwcrypto=0
Davor war alles in Ordnung, nur nach dem Neustart war dann alles weg. Ich hab jetzt nur noch mein Kabel-LAN und Modem im Netzwerk-Manager.
Hat jemand eine Idee wie ich das wieder herstellen kann, und dann mein WLAN zum Laufen bringen kann? Ich bin echt kurz vor dem Verzweifeln.
Bin für jede Idee dankbar.
April 1st, 2007 at 12:09
Hi Harlekin, hab haargenau das selbe Problem wie du!?
Ich dacht die Anleitung wird mich retten, und danach war alles weg! Mist, also wenn noch jemand ne Lösung gefunden hat, BITTE posten, ich bin am verzweifeln. Meine Konf is die selbe wie harlekins.
Thx Stephan
August 31st, 2008 at 15:58
Ich habe hier auf einem iBook mit Drapper erhebliche Probleme mit WPA gehabt und nun gelöst. Zum einen musste ich in der wpa_supplicant.conf die bssid angeben (sieht aus wie eine MAC Adresse), die ich mit airodump ermittelt habe. Ausserdem musste ich ap_scan auf 1 setzen, was auch immer das bedeutet. So klappt’s jedenfalls.
July 31st, 2009 at 23:31
Hallo! Vielen Dank, hat geholfen
(KDE auf Ubuntu Remix, Acer Aspire one)