Archive for the ‘Wireless’ Category

Bridged wireless

Wednesday, January 28th, 2009

Ok, so I just spent 3 days hunting after a problem with my Linux configuration that turns out to be due to some “wireless expert” that configured a “wireless bridge” between three sites at one of my clients.  They became my client about a week after the quote was accepted and no longer makes any network topology change without consulting with me first (at least, not as far as I know).  Either way … if you want a prime example of why it doesn’t work, read on …

(more…)

iBurst USB Modem and Linux

Tuesday, September 9th, 2008

Right, so I need to make it work. Right now. And as per usual half the instructions are so distro-specific it’s not even funny. So here is my attempt at providing some distro-neutral (influenced by my Gentoo background) and some pointers to the pitfalls…

(more…)

Atheros AR242x

Friday, July 18th, 2008

Ok, so the wireless bug has finally bitten me and I’m now trying to make my wireless work. I already understood why people said wireless in Linux is a pain (and this is one of the reasons why there is always an abundance of network cables that travels as part of my computing kit).

My wireless card is identified by lspci as an AR242x Atheros card, and as it turns out, there is some elementary support for this card in the madwifi-ng drivers if you’re running an old enough kernel – which I’m not. And the ath5k driver loads, identifies the card and even creates a wlan0 device, and I can set all the different parameters – it just turns out it doesn’t actually perform any Tx/Rx at all!

So after googling a bit and looking on the projects page it turns out that this is exactly the state of the current ath5k driver. I’ll grant that it’s better than what it was under the 2.6.25 kernel (first to have the ath5k module in the tree) at which point the card didn’t even register, and in actually got confused to the point where the switch would no longer switch on/off the LED indicating that it’s active. It’s also leagues ahead of the madwifi-ng drivers that doesn’t even compile against my 2.6.26 kernel (error: implicit declaration of function ‘__skb_append’, svn snapshot at r3366+ar5007), or using ndiswrapper – which simply oopses the kernel and causes a kernel panic (on my notebook at least).

I’ve been looking for an excuse to get my hands in the kernel for a while again – I’m guessing this is it.

UPDATE (2008/07/18): Turns out someone already jumped me on this and that the 2.6.27 kernel will have the proper driver merged.  The correct versions can be downloaded from http://www.kernel.org/pub/linux/kernel/people/mickflemm/.  What I’ve done is remove all but CONFIG_WIRELESS_EXT from my 2.6.26 kernel image, and then ran make in the extracted compat-wireless sources after which make install as root did the trick.  There still seems to be some instabilities (had at least one kernel panic when I tried to rmmod the ath5k/mac80211/cfg80211 modules), but it seems to be working pretty well, at least against my MikroTik RB433 RouterOS 3.10 setup.