Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

WPA on 802.11B Airport card

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
26 posts
  • 1
  • 2
  • Next
Author
Message
vfreeman
n00b
n00b
Posts: 1
Joined: Thu Nov 04, 2004 8:44 pm

WPA on 802.11B Airport card

  • Quote

Post by vfreeman » Thu Nov 04, 2004 8:53 pm

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
Top
andrewbarr
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Fri Jul 09, 2004 5:31 pm
Location: Madison County, Ohio
Contact:
Contact andrewbarr
Website

  • Quote

Post by andrewbarr » Fri Nov 05, 2004 3:01 pm

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
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Thu Apr 28, 2005 2:15 pm

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.
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Thu Apr 28, 2005 6:42 pm

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.
Top
andrewbarr
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Fri Jul 09, 2004 5:31 pm
Location: Madison County, Ohio
Contact:
Contact andrewbarr
Website

  • Quote

Post by andrewbarr » Thu Apr 28, 2005 6:42 pm

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
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Mon May 09, 2005 2:44 pm

I have no idea how to integrate the driver_hermes.c into wpa_supplicant.
I opened the tar file from Agere.

Code: Select all

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: Select all

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: Select all

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.
Top
andrewbarr
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Fri Jul 09, 2004 5:31 pm
Location: Madison County, Ohio
Contact:
Contact andrewbarr
Website

  • Quote

Post by andrewbarr » Mon May 09, 2005 9:09 pm

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
Top
zenlunatic
Guru
Guru
Posts: 312
Joined: Wed Apr 09, 2003 11:53 pm

  • Quote

Post by zenlunatic » Tue May 10, 2005 1:25 am

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

EDIT: I'm talking about B cards.
Top
Archangel1
Veteran
Veteran
User avatar
Posts: 1212
Joined: Wed Apr 21, 2004 12:29 am
Location: Work

  • Quote

Post by Archangel1 » Tue May 10, 2005 10:12 am

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?
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Tue May 10, 2005 1:14 pm

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.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Archangel1
Veteran
Veteran
User avatar
Posts: 1212
Joined: Wed Apr 21, 2004 12:29 am
Location: Work

  • Quote

Post by Archangel1 » Wed May 11, 2005 3:40 am

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?
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Wed May 11, 2005 7:24 pm

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.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
zenlunatic
Guru
Guru
Posts: 312
Joined: Wed Apr 09, 2003 11:53 pm

  • Quote

Post by zenlunatic » Mon May 16, 2005 12:05 pm

So did you guys get WPA working under airport (Hermes)? Do you think they're going to add support without doing all these hacks?
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Tue May 17, 2005 3:25 pm

I am still waiting for Archangel1.
It would be great if there was just a hack to get it working.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Tue May 31, 2005 10:44 pm

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: Select all

cp wpa_supplicant-0.4.1/* wl718/hostap/wpa_supplicant/
- I modified .config with

Code: Select all

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: Select all

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: Select all

# ./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
}
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Wed Jul 20, 2005 1:59 pm

Now, I try to build the complete hermes driver from agere.
For the iBook it should be compiled as pci.

Code: Select all

# 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: Select all

# 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: Select all

../include/wireless/wl_version.h:92:31: linux/modversions.h: Datei oder Verzeichnis nicht gefunden
..I emerged include.

Any suggestions?
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Thu Oct 13, 2005 6:30 pm

A new thread about that topic at debian's group.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
JoseJX
Retired Dev
Retired Dev
Posts: 2774
Joined: Sun Apr 28, 2002 8:21 pm
Contact:
Contact JoseJX
Website

  • Quote

Post by JoseJX » Fri Oct 14, 2005 1:29 am

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
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Sun Oct 16, 2005 12:34 am

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?
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
-Craig-
Guru
Guru
Posts: 333
Joined: Thu Jun 03, 2004 1:33 pm

  • Quote

Post by -Craig- » Thu Nov 17, 2005 2:26 pm

Will anyone do that?
I'll give the person 5€ ;)
Top
_savage
Guru
Guru
User avatar
Posts: 308
Joined: Sun Jun 06, 2004 5:48 pm
Location: Redmond, WA
Contact:
Contact _savage
Website

  • Quote

Post by _savage » Fri Nov 18, 2005 7:41 am

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/
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Sat Nov 26, 2005 10:29 am

-Craig- wrote:I'll give the person 5€ ;)
Me too :)
Maybe cheaper than buying a usb device that is annoying to use.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Thu Aug 13, 2009 8:29 am

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.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
naexus
n00b
n00b
Posts: 2
Joined: Wed Sep 16, 2009 12:03 pm

  • Quote

Post by naexus » Wed Sep 16, 2009 12:26 pm

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.
Top
Massimo B.
Veteran
Veteran
User avatar
Posts: 1940
Joined: Wed Feb 09, 2005 3:05 pm
Location: PB, Germany

  • Quote

Post by Massimo B. » Sun Sep 20, 2009 1:18 pm

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.
HP ZBook Power G9 i7-12700H,64GB DDR5|HP ProDesk 600 G5 i7-9700,128GB DDR4
Top
Post Reply

26 posts
  • 1
  • 2
  • Next

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic