Skip to contentSkip to conversation

New kernels, gmac, airport, usb...

ANN Benjamin Herrenschmidt 4 participants 11 messages Jul 2, 2000 – Jul 4, 2000

lore
Share & tools
lore
#0 lore raw

I've uploaded a new test kernel (2.2.17pre9-ben1) to the web page at

<http://ppclinux.apple.com/~benh/>

This kernel contains all the various updates and fixes made since the latest release, add some new stuffs like:

- New USB backport from 2.4 (Suse latest backport)
- New GMAC driver with support for multicast&promisc, better perfs, no longer corrupts memory
- Changes to the ADB and USB Mac keyboard & mouse drivers (Franz Sirl) to handle the new Linux Input Drivers mecanism (see page for details)
- Whatever I forgot ;)

On this page, you'll also find an Airport driver for the Apple Airport card. It has been successfully tested with a Pismo powerbook, an iBook and a G4 "Sawtooth". You need the latest kernel for it to work correctly, and you should have this kernel's sources linked to /usr/src/linux in order to compile it (it's downloadable in source form only). Useage is similar to the wvlan_cs driver for the Lucent PCMCIA card, the interface name is 'airport'.

WARNING: This kernel may contain bugs. I've made lots of efforts to avoid that, but it's still possible that there are some. Please report me any problem other than the "normal" mouse keyboard issues discussed on the web page, and I'll get those fixed. Please test on your HW since I plan to merge most (if not all) of those changes to the mainstream PPC kernel asap.

Have fun !
Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw

On Sun, Jul 02, 2000 at 08:43:13PM +0200, Benjamin Herrenschmidt wrote:
<snip>

Quoted 8 lines

On this page, you'll also find an Airport driver for the Apple Airport card. It has been successfully tested with a Pismo powerbook, an iBook and a G4 "Sawtooth". You need the latest kernel for it to work correctly, and you should have this kernel's sources linked to /usr/src/linux in order to compile it (it's downloadable in source form only). Useage is similar to the wvlan_cs driver for the Lucent PCMCIA card, the interface name is 'airport'.

Is the airport driver based on the latest wvlan_cs? Your page indicates that WEP is not supported, although the latest wvlan_cs does appear to support WEP.

Regards,

Chris

--
----------------------------------------------------------------------
Linux, because I'd like to *get there* today
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key. KeyID 0xB4E24219

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#2 lore raw
Quoted 3 lines

Is the airport driver based on the latest wvlan_cs? Your page indicates that WEP is not supported, although the latest wvlan_cs does appear to

support WEP.

It is based on it, but AFAIK, WEB doesn't work with the Apple base station. It should be possible to use WEB between two airports on linux, but I didn't try. What I meant on the page was a quick explanation on how to get it working with an Apple Airport base station.

If its actually supported, then I'll be glad to fix the page ;)

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#3 lore raw
Quoted 4 lines · Benjamin Herrenschmidt
Quoted 2 lines

Is the airport driver based on the latest wvlan_cs? Your page indicates that WEP is not supported, although the latest wvlan_cs does appear to

support WEP.

Quoted 8 lines

It is based on it, but AFAIK, WEB doesn't work with the Apple base station. It should be possible to use WEB between two airports on linux, but I didn't try. What I meant on the page was a quick explanation on how to get it working with an Apple Airport base station.

If its actually supported, then I'll be glad to fix the page ;)

Ben.

Well, I've been playing with it - and I can't seem to get it running... so I guess it isn't yet :(

Chris

--
----------------------------------------------------------------------
Linux, because I'd like to *get there* today
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key. KeyID 0xB4E24219

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#4 lore raw
Quoted 6 lines
Quoted 6 lines

It is based on it, but AFAIK, WEB doesn't work with the Apple base station. It should be possible to use WEB between two airports on linux, but I didn't try. What I meant on the page was a quick explanation on how to get it working with an Apple Airport base station.

Quoted 7 lines
Quoted 3 lines

If its actually supported, then I'll be glad to fix the page ;)

Ben.

Well, I've been playing with it - and I can't seem to get it running... so I guess it isn't yet :(

I'm still not completely awake, of course, you will have replaced all occurences of WEB in my mail by WEP ;)

The card works fine between two macs and a mac & an airport base station with WEP disabled. According to someone on the mailing list, using the base station WEP requires knowledge about the Apple key distribution mecanism, and we don't have this knowledge.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#5 lore raw

On Mon, Jul 03, 2000 at 11:22:38AM +0200, Benjamin Herrenschmidt wrote:
<snip>

Quoted 10 lines
Quoted 2 lines

Well, I've been playing with it - and I can't seem to get it running... so I guess it isn't yet :(

I'm still not completely awake, of course, you will have replaced all occurences of WEB in my mail by WEP ;)

The card works fine between two macs and a mac & an airport base station with WEP disabled. According to someone on the mailing list, using the base station WEP requires knowledge about the Apple key distribution mecanism, and we don't have this knowledge.

Bugger. I was hoping to use my airport - but I don't think I'll be allowed to turn off security on our corporate wireless net ;)

I wonder if apple would be willing to let this out?? Probably not... Does MacOS X support WEP yet? Perhaps I should have a look through there.

Regards,

Chris

--
----------------------------------------------------------------------
Linux, because I'd like to *get there* today
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key. KeyID 0xB4E24219

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#6 lore raw
Quoted 4 lines · In message <[email protected]>,Chris Leishman writes:
Quoted 2 lines

base station WEP requires knowledge about the Apple key distribution mecanism, and we don't have this knowledge.

Bugger. I was hoping to use my airport - but I don't think I'll be allowed to turn off security on our corporate wireless net ;)

actually, if i understand the problem, the 'standard' driver wants to know the 56-bit key in hex and apple generates this key using the text string you supply (after passing it through using some hashing routine)

if you have an airport basestation (with 1.1 s/w or later) you can see the hex string that is being used by choosing 'Network Equivalent Password...' under the 'Base Station' menu in the airport admin utility.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#9 lore raw
In reply to Chris Leishman
Quoted 3 lines

Bugger. I was hoping to use my airport - but I don't think I'll be

allowed to

Quoted 1 line

turn off security on our corporate wireless net ;)

What I do is to configure the station to accept only the HW MAC address of my card.

Quoted 2 lines

I wonder if apple would be willing to let this out?? Probably not... Does MacOS X support WEP yet? Perhaps I should have a look through there.

MacOS X does have a driver but it's not open sourced.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#10 lore raw
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 3 lines

Bugger. I was hoping to use my airport - but I don't think I'll be

allowed to

Quoted 1 line

turn off security on our corporate wireless net ;)

What I do is to configure the station to accept only the HW MAC address of my card.

Only problem here is that the traffic is still viewable by anyone, and it probably isn't that hard to fake the the HW address...

Quoted 6 lines
Quoted 3 lines

I wonder if apple would be willing to let this out?? Probably not... Does MacOS X support WEP yet? Perhaps I should have a look through there.

MacOS X does have a driver but it's not open sourced.

That would be right. doh :(

Chris

--
----------------------------------------------------------------------
Linux, because I'd like to *get there* today
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key. KeyID 0xB4E24219

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#7 lore raw
In reply to Chas Williams
Quoted 9 lines

actually, if i understand the problem, the 'standard' driver wants to know the 56-bit key in hex and apple generates this key using the text string you supply (after passing it through using some hashing routine)

if you have an airport basestation (with 1.1 s/w or later) you can see the hex string that is being used by choosing 'Network Equivalent Password...' under the 'Base Station' menu in the airport admin utility.

I got it to work. There was an endian problem in the driver preventing using of the WEP mode. It's fixed in version 0.9.2. I also added a module param for the key so you don't need iwconfig to set it

see ppclinux.apple.com/~benh for updates

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#8 lore raw

On Tue, Jul 04, 2000 at 12:17:29AM +0200, Benjamin Herrenschmidt wrote:
<snip>

Quoted 8 lines

I got it to work. There was an endian problem in the driver preventing using of the WEP mode. It's fixed in version 0.9.2. I also added a module param for the key so you don't need iwconfig to set it

see ppclinux.apple.com/~benh for updates

Ben.

Ok..got the new driver, and I can confirm it working here. Yay...free of wires at last!

Thanks for all your work Ben.

Regards,

Chris

BTW. Got any good resources I can start with so I can learn my way around this sort of thing (kernel/drivers/etc)? Might mean I can help out in future...

Signature · 4 lines
----------------------------------------------------------------------
            Linux, because I'd like to *get there* today
----------------------------------------------------------------------
Reply with subject 'request key' for GPG public key.  KeyID 0xB4E24219