Eddy Petrișor: wpa2-psk with aes on a broadcom wlan0 (2.6.24)
Update: I managed to find out why the wpa_action stuff was needed. Please ignore the lines written like One more update: it seems that the firmware needs to be in sync. I ended up using the wireless-2.6 kernel from the everything branch.
I just managed to get my wlan from my laptop to work with WPA2-PSK with AES with the free Broadcom driver (now named b43, formerly bcm43xx).
In order to do this I needed linux 2.6.24-1 from unstable and the b43 driver.
0b:00.0 Network controller: Broadcom Corporation BCM94311MCG wlan mini-PCI (rev 01)
0b:00.0 0280: 14e4:4311 (rev 01)
bounty:/home/eddy# lsmod grep b43
b43 119976 0
rfkill 12816 3 rfkill_input,b43
mac80211 132236 1 b43
led_class 10120 1 b43
input_polldev 9872 1 b43
ssb 39428 2 b43,b44
pcmcia 45720 2 b43,ssb
pcmcia_core 46500 2 b43,pcmcia
firmware_class 15232 2 b43,pcmcia
This is the wpasupplicant.conf file that I used:bounty:/home/eddy# wpa_action wlan0 reload
wpa_action: reloading wpa_supplicant configuration file via HUP signal
bounty:/home/eddy# cat /etc/wpa_supplicant/wpasupplicant.conf grep -v '^\s*#' sed 's/psk=.*/psk=aaabbb___ENCRIPTED_SEE_wpa_password___cccddd/'
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network=
ssid="toblerone"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=aaabbb___ENCRIPTED_SEE_wpa_password___cccddd
and this is the relevant interfaces area:auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpasupplicant.conf
wpa-ap-scan 2
This is what it looks like when is working:
And here's the result of a scan (relevant section):
bounty:/home/eddy# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"toblerone"
Mode:Managed Frequency:2.412 GHz Access Point: 00:1B:FC:45:33:70
Bit Rate=48 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:1337-0000-C121-d73D-0207-RE41-0000-3210 [2]
Link Quality=98/100 Signal level=-36 dBm Noise level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Cell 02 - Address: 00:1B:FC:45:33:70
ESSID:"toblerone"
Mode:Master
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=93/100 Signal level=-42 dBm Noise level=-68 dBm
Encryption key:on
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
12 Mb/s; 48 Mb/s
Extra:tsf=0000000072ff542d
and here is proof it works:bounty:/home/eddy# route -nWoooohooo! :-)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.77.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 192.168.77.254 0.0.0.0 UG 0 0 0 wlan0
bounty:/home/eddy# ping debian.org
PING debian.org (192.25.206.10) 56(84) bytes of data.
64 bytes from gluck.debian.org (192.25.206.10): icmp_seq=1 ttl=36 time=201 ms
64 bytes from gluck.debian.org (192.25.206.10): icmp_seq=2 ttl=36 time=199 ms
64 bytes from gluck.debian.org (192.25.206.10): icmp_seq=3 ttl=36 time=200 ms
--- debian.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 199.691/200.519/201.046/0.786 ms
Thanks to all people involved in b43 development and all the ones made this possible (Debian developers).
Posted from bed, via wlan.
Update: You need the firmware blob, which can be extracted from a Windows driver with bcm43xx-fwcutter (now called b43-fwcutter);
Update: it seems the b43 driver page (the entire linuxwireless.org site) went down sometime yesterday evening, since yesterday afternoon I was browsing through the site without any issues. (Note: I live in Europe, for reference)
I’ve released pommed v1.15 this week-end with support for the new power_supply class which is used to report ACPI power information starting with kernel 2.6.24.
This release also contains pretty much everything needed for the MacBook Air1,1, except the keyboard/trackpad USB IDs which I couldn’t grab yet. So expect v1.16 for the MacBook Air as soon as I’ll have those IDs.


A little utility that has been collecting dust on my harddrive over the past two years is an enhanced version of a PyGTK exception handling module that was originally posted to the PyGTK mailing list by Gustavo Carneiro. I've now uploaded it to the
No Debian content here. Just like last year I decided to watch one of the largest sport events in the USA - the final game of the National Football League Super Bowl XLII (roman numerals are different for the sake of it
Yes
With
As I
As written 
Your new door to the world the slogan for Bangkok s new
Suvarnabhumi airport tries to get people to stop-over on their
trips between Europe and Asia. The airport s webpage claims that
the airport currently handles 45 million passengers per year, but
that it would scale up to 110 million.
I don t see this happening, at all. Today, leaving for
Melbourne, I waited for an hour in the security queue, as four
flights were leaving concourse E (which has 10 gates) at once:
around 500 passengers were queueing to be scrutinised for
explosive liquids and other stuff a real terrorist would
never consider smuggling on a plane via the standard passenger
processing theatre in four lines behind four security checkpoints
(in fact, that s how I confirmed my estimate: around 30 seconds per
passenger (I timed it), it took me one hour, that s 120 passengers
per queue, so about 500 total, at once).
Four lines, one hour? 45 million passengers. 110 million
passengers? Six lines (there isn t much more space), so 200
passengers per line, 1:40 hours? My new door to the world?
Bangkok?
Of course, this is in large part because of idiot passengers.
While I was waiting in line, they came three times (every 20
minutes) to empty the garbage can where potential terrorists have
to dump their drinkable explosive fluids. We ve had this ban for
over 1 years, for crying out loud! Sure, some people don t (get
to) fly a lot and a few may really not have heard about dangerous
liquids yet (I felt really sorry for an elderly couple who had to
ditch pretty much all their toiletries leaving Zurich for Madrid
and wondering how they would survive there), but then at least
open your eyes and turn on your brain, please.
Unfortunately, the typical Bangkok/Southern Thailand tourist
probably hasn t got brain cycles left between walking and carrying
luggage. If you don t believe me, stop-over in Bangkok and look
around: anything with legs in shorts and flip-flops probably fits
right in, any obscenely and annoyingly loud group as well. For
instance, this circus of 10 en route to London, who joined the end
of the queue (read: about 1 hour to go) after their flight s final
call with millions of shopping bags. They furiously tried to raise
hell, but failed and probably missed their flight.
Observing all such episodes around me made the hour go by fast
I also had ample time left before my gate would close. There was
one situation, however, that made walk over and complain to the
supervisor (the one with the walkie-talkie): a couple from Canada
were similarly faced with the final call for their flight to
Toronto and walked straight up to the top of the lines outside
the ropes. After a short discussion, one of the security attendants
escorted them to the gate without subjecting either their
bags or bodies to the ever-secure screening process.
The supervisor (the one with the walkie-talkie) didn t speak
English. All she did was smile and make motions with her hands
which suggested that I should join the end of the queue.
As I said before, I don t believe that the (minimal) added
security we have at airports today corresponds to or justifies in
the slightest bit the shit we have to go through these days to be
airborne. However, if you make rules, then stick to them and don t
open gaping (= inviting) security holes.
Fortunately, the Canadians later had to surrender their weapons
of plane destruction since, on every gate, another party
of security attendants glove-hand-searched every bag a second
time, with the previous security checkpoint no 100 metres
behind.
I don t see Suvarnabhumi as a successful or scalable airport. If
Bangkok wasn t such a great place 
Robert A. Heinlein: 
See