Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WPA on 802.11B Airport card
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
vfreeman
n00b
n00b


Joined: 04 Nov 2004
Posts: 1

PostPosted: Thu Nov 04, 2004 8:53 pm    Post subject: WPA on 802.11B Airport card Reply with quote

Hi,

I've recently installed Gentoo on my iBook 600MHz machine with an original Airport 802.11B card. I can get the card working successfully using the hermes and airport kernel modules, but I can find no information on successfully using WPA-Personal encryption.

I use WPA with a passphrase to connect to my Airport Express when in Macos X, and would like to do the same in Gentoo. So far all I have found is wpa-supplicant, but I haven't yet worked out how or if this will do the trick. Any help would be appreciated.

Thanks,

Vincent
Back to top
View user's profile Send private message
andrewbarr
Apprentice
Apprentice


Joined: 09 Jul 2004
Posts: 172
Location: Madison County, Ohio

PostPosted: Fri Nov 05, 2004 3:01 pm    Post subject: Reply with quote

Isn't that card a rebadged Orinoco Gold? If so, it won't work with WPA, as the driver doesn't have support for it. I'm not sure it's even possible with that card.
_________________
"The song I've written for you is so schmultzy it'll make 'Moon River' sound like a farting orangutan." - Homer Simpson
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Thu Apr 28, 2005 2:15 pm    Post subject: Reply with quote

I am also working on this on an iBook 600Mhz.
The Airport should be a Hermes 1 as the nickname shows. This chipset should be supported by the wpa_supplicant, but the driver source is not included.
Here http://www.agere.com/mobility/wireless_lan_drivers.html I can find the sources with a driver_hermes.c.
How do I use this driver with wpa_supplicant?


Last edited by Massimo B. on Sun Sep 20, 2009 12:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Thu Apr 28, 2005 6:42 pm    Post subject: Reply with quote

I have already found the driver_hermes.c-Source at agere.com.
But how do I point portage to this source when building the wpa_supplicant?
Or do I have to build it on my own?
wpa_supplicant compiled fine on ppc, and also seems to work, but needs a matching driver. I already tried hostap for Prism2
and wext generic driver.


Last edited by Massimo B. on Sun Sep 20, 2009 12:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
andrewbarr
Apprentice
Apprentice


Joined: 09 Jul 2004
Posts: 172
Location: Madison County, Ohio

PostPosted: Thu Apr 28, 2005 6:42 pm    Post subject: Reply with quote

If this driver will work on PPC, which I don't know if it will, you should be able to point the wpa_supplicant build system via the .config file to the location of the extracted driver tarball--you will probably have to build wpa_supplicant manually or edit the ebuild.

EDIT: Sorry about the deleting/editing here. I'm a bit distracted.
_________________
"The song I've written for you is so schmultzy it'll make 'Moon River' sound like a farting orangutan." - Homer Simpson
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Mon May 09, 2005 2:44 pm    Post subject: Reply with quote

I have no idea how to integrate the driver_hermes.c into wpa_supplicant.
I opened the tar file from Agere.
Code:
ls hostap/wpa_supplicant/
Makefile  aes_wrap.c  config.d  developer.txt    driver_hostap.c   driver_wext.h  priv_netlink.h  todo.txt          wpa_supplicant.c     xsupplicant.patch
README    aes_wrap.h  config.h  driver.h         driver_prism54.c  l2_packet.c    sha1.c          wpa.h             wpa_supplicant.conf
aes.c     config.c    config.o  driver_hermes.c  driver_wext.c     l2_packet.h    sha1.h          wpa_passphrase.c  wpa_supplicant.h
A "make config" fails:
Code:
make config
cc   config.o   -o config
/usr/lib/gcc/powerpc-unknown-linux-gnu/3.4.3/../../../crt1.o(.rodata+0x4): undefined reference to `main'
config.o(.text+0x20c): In function `wpa_config_parse_ssid':
/root/download/tar/wl/hostap/wpa_supplicant/config.c:89: undefined reference to `hexstr2bin'

I tried to copy the driver_hermes.c to /usr/portage/net-wireless/wpa_supplicant/files/ and I wrote the new line
Code:
echo "CONFIG_DRIVER_HERMES=y"       >> ${CONFIG}
to the ebuild.
Even with new md5sums changed in Manifest it didn't work. I am new to gentoo and I don't know about changing ebuilds.
Has no one tried that before? If the Airport device is a usual Hermes1, wpa_supplicant should work with it. And I need it for the university's network.


Last edited by Massimo B. on Sun Sep 20, 2009 1:08 pm; edited 1 time in total
Back to top
View user's profile Send private message
andrewbarr
Apprentice
Apprentice


Joined: 09 Jul 2004
Posts: 172
Location: Madison County, Ohio

PostPosted: Mon May 09, 2005 9:09 pm    Post subject: Reply with quote

You should take this to the HostAP mailing list...after searching the archives, of course.
_________________
"The song I've written for you is so schmultzy it'll make 'Moon River' sound like a farting orangutan." - Homer Simpson
Back to top
View user's profile Send private message
zenlunatic
Guru
Guru


Joined: 09 Apr 2003
Posts: 312

PostPosted: Tue May 10, 2005 1:25 am    Post subject: Reply with quote

Does WPA even work on OS X? I don't remember seeing an option for it.

EDIT: I'm talking about B cards.
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Tue May 10, 2005 10:12 am    Post subject: Reply with quote

Paolope wrote:
Has no one tried that before?

Yes, I have. And I got it to build with version 0.27 or so.
Unfortunately the bloody thing didn't actually work once installed, but I think I may now try again with the new version.
If I do manage to get the thing to build into the ebuild, I'll post it for you to have a go with.

Paolope wrote:
And I need it for the university's network.

Snap ;-)
_________________
What are you, stupid?
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Tue May 10, 2005 1:14 pm    Post subject: Reply with quote

zenlunatic wrote:
Does WPA even work on OS X? I don't remember seeing an option for it.
Of course. OS X was able just after Software Update, maybe this wasn't able before 10.2, don't know exactly.
Now there is also LEAP with "personal keys" possible, using WPA. Therefore I need wpa_supplicant on Linux.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Wed May 11, 2005 3:40 am    Post subject: Reply with quote

Things seem not good -it appears the driver structure has changed somewhat, and the agere driver no longer matches up. I tried to force it into shape, but it's fighting back.

Might go and post on the wpa_supplicant mailing list to see what they say.
_________________
What are you, stupid?
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Wed May 11, 2005 7:24 pm    Post subject: Reply with quote

I planned to post on their mailing list too. Are you going to do that for us? Maybe you even know more about how to build it out of the source than I do. I would have just asked "how do I implement the hermes driver?"
I keep on waiting. Good luck.

The network situation here is, that the university provides access by VPN, vpnc is already working in my iBook. Many hotspots are available in town. But the FH as part of the educational network decided to use LEAP.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
zenlunatic
Guru
Guru


Joined: 09 Apr 2003
Posts: 312

PostPosted: Mon May 16, 2005 12:05 pm    Post subject: Reply with quote

So did you guys get WPA working under airport (Hermes)? Do you think they're going to add support without doing all these hacks?
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Tue May 17, 2005 3:25 pm    Post subject: Reply with quote

I am still waiting for Archangel1.
It would be great if there was just a hack to get it working.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Tue May 31, 2005 10:44 pm    Post subject: Reply with quote

I did not succeed building wpa_supplicant for airport (hermes):

1. I tried to build the wpa_supplicant 0.4.1 from original sources while providing all needed sources for driver_hermes.c from the Agere package wl_lkm_718_release.tar.gz . In fact I just copied the wpa_supplicant source over the one of Agere, because driver_hermes.c was looking for a lot of files given somewhere in the Agere package. I noticed that when I first tried just to copy driver_hermes.c to the wpa_sup. source dir.
Code:
cp wpa_supplicant-0.4.1/* wl718/hostap/wpa_supplicant/


- I modified .config with
Code:
CONFIG_DRIVER_HERMES=y
CFLAGS += -I../../hcf -I../../include -I../../include/hcf
CFLAGS += -I../../include/wireless

- ..but make fails when building the hermes part and gives a lot of errors about pointer types:
Code:
cc -MMD -O2 -Wall -g -I../driver/modules -I../utils -I../hostapd -I../../hcf -I../../include -I../../include/hcf -I../../include/wireless -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DCONFIG_DRIVER_PRISM54 -DCONFIG_DRIVER_HERMES -DCONFIG_DRIVER_ATMEL -DCONFIG_DRIVER_WIRED -DEAP_TLS -DEAP_PEAP -DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_LEAP -DEAP_TLV -DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DPKCS12_FUNCS -DCONFIG_SMARTCARD -DCONFIG_WIRELESS_EXTENSION -DCONFIG_CTRL_IFACE   -c -o driver_hermes.o driver_hermes.c
driver_hermes.c: In function `wpa_driver_hermes_associate':
driver_hermes.c:450: Warnung: Verarbeiten des Argumentes 1 von »wpa_driver_wext_set_freq« streicht Qualifizierer von Zeiger-Zieltypen
driver_hermes.c:452: Warnung: Verarbeiten des Argumentes 1 von »wpa_driver_wext_set_ssid« streicht Qualifizierer von Zeiger-Zieltypen
driver_hermes.c:454: Warnung: Verarbeiten des Argumentes 1 von »wpa_driver_wext_set_bssid« streicht Qualifizierer von Zeiger-Zieltypen
driver_hermes.c: In function `wpa_driver_hermes_scan':
[...]


2. I also tried to build the wpa_supplicant, provided by the Agere package wl_lkm_718_release.tar.gz: Make runs fine and provides a wpa_supplicant binary, which behaves curiously:
Code:
# ./wpa_supplicant -v
wpa_supplicant v0.0 - Copyright (c) 2003-2004, Jouni Malinen <jkmaline@cc.hut.fi>
# ./wpa_supplicant -D hermes -c /etc/wpa_supplicant.conf
Line 278: unknown network field 'proto'.
Line 280: unknown network field 'auth_alg'.
Line 281: unknown network field 'identity'.
Line 282: unknown network field 'priority'.
Line 283: failed to parse network block.
Failed to read configuration file '/etc/wpa_supplicant.conf'.

# cat /etc/wpa_supplicant.conf |grep -v "#"
network={
        ssid="funk123fh"
        proto=WPA
        key_mgmt=WPA-EAP
        auth_alg=LEAP
        identity="********************************"
priority=1
}

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Wed Jul 20, 2005 1:59 pm    Post subject: Reply with quote

Now, I try to build the complete hermes driver from agere.
For the iBook it should be compiled as pci.
Code:
# make -f wlags49.mk h1_cs_sta
make -C wireless -f wlags49_cs.mk wlags49_h1_cs_sta.o
make[1]: Entering directory `/root/download/tar/wl718/wireless'
wlags49_cs.mk:5: ../config.mk: Datei oder Verzeichnis nicht gefunden
make[1]: *** No rule to make target `../config.mk'.  Stop.
make[1]: Leaving directory `/root/download/tar/wl718/wireless'
make: *** [h1_cs_sta] Error 2
or:
Code:
# make -f wlags49.mk pci
make -C wireless -f wlags49_pci.mk wlags49_h2_stap.o
make[1]: Entering directory `/root/download/tar/wl718/wireless'
make -C ../lib libstap-h2.a
make[2]: Entering directory `/root/download/tar/wl718/lib'
gcc -o ../hcf/mmd_stap_h2.o -O -Wall  -I. -I../include/hcf -I../include/wireless -I../hcf -I../hcf -I../hcf -I../firmware -I/lib/modules/2.6.10-gentoo-r6/build/include -I../include -D__KERNEL__ -DMODULE -DWVLAN_49 -DUSE_WPA  -DHERMES2 -c ../hcf/mmd.c
In Datei, eingefügt von ../include/hcf/hcfcfg.h:767,
                    von ../hcf/hcf.h:81,
                    von ../hcf/mmd.c:62:
../include/wireless/wl_version.h:92:31: linux/modversions.h: Datei oder Verzeichnis nicht gefunden
In file included from ../hcf/hcf.h:81,
                 from ../hcf/mmd.c:62:
../include/hcf/hcfcfg.h:771: Warnung: »int« ist Standardtyp in Deklaration von »EXPORT_NO_SYMBOLS«
../include/hcf/hcfcfg.h:771: Warnung: Datendefinition hat keinen Typ oder Speicherklasse
make[2]: *** [../hcf/mmd_stap_h2.o] Error 1
make[2]: Leaving directory `/root/download/tar/wl718/lib'
make[1]: *** [stap-h2] Error 2
make[1]: Leaving directory `/root/download/tar/wl718/wireless'
make: *** [pci] Error 2

Maybe just an extension is missing? Because of
Code:
../include/wireless/wl_version.h:92:31: linux/modversions.h: Datei oder Verzeichnis nicht gefunden
..I emerged include.

Any suggestions?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Thu Oct 13, 2005 6:30 pm    Post subject: Reply with quote

A new thread about that topic at debian's group.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Oct 14, 2005 1:29 am    Post subject: Reply with quote

Until the Airport (orinoco) driver is rewritten to support the ieee80211 stack, there won't be WPA support.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Sun Oct 16, 2005 12:34 am    Post subject: Reply with quote

JoseJX wrote:
Until the Airport (orinoco) driver is rewritten to support the ieee80211 stack, there won't be WPA support.
But why can't I get wpa_supplicant built even with the available 2.4 kernel sources?
Is there a chance that someone rewrites it?
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
-Craig-
Guru
Guru


Joined: 03 Jun 2004
Posts: 333

PostPosted: Thu Nov 17, 2005 2:26 pm    Post subject: Reply with quote

Will anyone do that?
I'll give the person 5€ ;)
Back to top
View user's profile Send private message
_savage
Guru
Guru


Joined: 06 Jun 2004
Posts: 308
Location: Redmond, WA

PostPosted: Fri Nov 18, 2005 7:41 am    Post subject: Reply with quote

JoseJX wrote:
Until the Airport (orinoco) driver is rewritten to support the ieee80211 stack, there won't be WPA support.


That answers the other thread I had running on that topic. Do you know if this will be fixed anytime soon... ish?
_________________
Jens Troeger
http://savage.light-speed.de/
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Sat Nov 26, 2005 10:29 am    Post subject: Reply with quote

-Craig- wrote:
I'll give the person 5€ ;)
Me too :)
Maybe cheaper than buying a usb device that is annoying to use.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Thu Aug 13, 2009 8:29 am    Post subject: Reply with quote

Is there some progress today with latest kernels?
Some time ago I got the PowerBook and even AirportExtreme is now completely working with WPA2. Would be nice to integrate the old iBook with Airport 1 into WPA2 secured network.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
naexus
n00b
n00b


Joined: 16 Sep 2009
Posts: 2

PostPosted: Wed Sep 16, 2009 12:26 pm    Post subject: Reply with quote

Massimo B. wrote:
Is there some progress today with latest kernels?
Some time ago I got the PowerBook and even AirportExtreme is now completely working with WPA2. Would be nice to ntegrate the old iBook with Airport 1 into WPA2 secured network.

It is possible to get WPA-PSK working with the 802.11b Airport card but you need an up-to-date firmware. I've described the necessary steps here. However, there's no WPA2 support till this day.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1563
Location: Germany

PostPosted: Sun Sep 20, 2009 1:18 pm    Post subject: Reply with quote

Wow, interesting that WPA is working today. Thanks for the summary about the old iBook.
So WPA2 will be part of the firmware? I don't think there will be new firmwares around Airport 1.
_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse|HP EliteDesk 800G1 i7-4790|HP Compaq Pro 6300 i7-3770
Lila-Theme
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum