Archive for August 27th, 2007

A Quickie: A PDF of all Macintosh OS X Key Shortcuts!

There is a list of all available Macintosh OS X key shortcuts in a PDF (or three). This includes foreign characters, mathematical symbols, and more. So if you want to write en français, you can - or enjoy writing about a delicious éclair - or about that new hôtel de Paris - you can. You can écrit des articles en français et discut les ordinateurs toute les jours!

(Okay, so I speak - or try to speak - French. I believe that I already wrote about using foreign languages….)


Add comment 27 August 2007

Supporting the Marvell Libertas 8335 Under FreeBSD

If you’ve been following along, I’ve been trying many operating systems on my Compaq Armada E500. The hardware has been preforming superbly, and does not have any problems except that everything current seems to think that 128M of memory is a pittance. FreeBSD 6.2, however, did install.

The biggest problems have been wireless and USB support. Since my USB port disintegrated (it split in two, the plastic key came out, and the pins bent!) I’ve been limited to Cardbus cards. The system came with a Zonet 1502 which I mistakenly thought used a Realtek chipset like the Zonet 1500 and 1501 (the FreeBSD ral(4) driver).

I used ndisgen( 8) to create a kernel module based on the Windows driver. This went flawlessly, and the module loaded perfectly - recognizing the card immediately:

cardbus1: Resource not specified in CIS: id=14, size=10000
ndis0: <Marvell Libertas 802.11b/g Wireless (8335)> mem 0×88000000-0×8800ffff,0x
88010000-0×8801ffff irq 11 at device 0.0 on cardbus1
ndis0: NDIS API version: 5.0
ndis0: Ethernet address: 08:10:74:05:11:8f

The device, however, never seems to turn on - the power light never lights - and thus, the link light never activates. It would appear I can modify at least some of the parameters but not others - such as the channel. The power light never comes on whatever I might do.

Pulling the card and reinserting generates an error for some reason.

Investigating this card turns up the fact that it is supported under OpenBSD, and that the chipset is known for being closed. This article discusses the author’s experiences with the Netgear WG511 v2 (perhaps one of the most common cards containing the Marvell Libertas chipset) and his OpenBSD system with Kismet. The OpenBSD folks use the malo(4) driver to control such a beast, the word malo having some interesting Spanish meanings.

In a 2007 slide presentation titled “Open Documentation for Hardware” about the state of open source hardware documentation, Theo de Raadt stated that “Marvell is being dragged open kicking and screaming“. He also noted that “No other operating system has as many 802.11 drivers builtin“.

There is some discussion about using the Netgear WG511 v2 with Linux, again using the Windows NDIS drivers.

The FreeBSD Handbook was useful in investigating this generic ndis0 wireless card configuration; specifically, Section 11.8.1.1 on setting up a network card using a Windows NDIS driver, and Section 29.3 on wireless networking.

Wikipedia has an article that compares open source wireless drivers which has proved to be quite informative; if this Zonet card does not work, I may use this article to help choose another card.

With the advent of this research, if FreeBSD doesn’t work out, I’ll probably go to OpenBSD after imaging the disk.


2 comments 27 August 2007


David Douthitt

David is an experienced UNIX and Linux system administrator, a former Linux distribution maintainer, and author of two books ("Advanced Topics in System Administration" and "GNU Screen: A Comprehensive Manual"). View David Douthitt's profile on LinkedIn

Recent Posts

Top Posts

RSS Sharky's Column!

Calendar

August 2007
M T W T F S S
« Jul   Sep »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Recent Comments

bharat on The Demise of the HP-UX System…
H4mm3r on Avoiding catastrophe!
Vladimir on Argument list too long?
ddouthitt on The UNIX find command and…
Mihir G joshi on The UNIX find command and…

Category Cloud

BSD Career Debian Debugging Fedora FreeBSD HPUX Learning Linux MacOS X Mind Hacks Mobile Computing NetBSD Networking OpenBSD OpenSolaris Open Source OpenVMS Personal Notes Portable Presentations Red Hat Scripting Security Solaris Tips Ubuntu UNIX Wheel Group Windows

Archives

Feeds

Links