OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Wpa Under Guyhelm Rom -, How?
Gondola
post Jul 27 2005, 01:55 PM
Post #1





Group: Members
Posts: 124
Joined: 11-January 05
Member No.: 6,189



I'd like to set up WPA at home for increased security. My AP has WPA, I just need to figure out how to set it up under Guyhelm ROM.

Using the link from this thread: (http://www.oesf.org/forums/index.php?showtopic=13402&pid=85759&st=0&#entry85759)
I was able to download an archive called wpa_stuff.tar.gz which had wpa_supplicant, wpa_cli, and wpa_passphrase, as well as a couple config files.

Trying to run wpa_supplicant manually presents me with this error:
CODE
# wpa_supplicant
wpa_supplicant: error while loading shared libraries: libdnet.so.0: cannot load shared object file: No such file or directory

I've only been using the Guyhelm ROM a few days; I'm not sure what libraries from other feeds may or may not be compatible. Help on this matter would be appreciated.

Also, if someone who knows how to configure a WRT54G with Satori firmware with WPA using wpa_supplicant, I'd be grateful for some pointers on setting up the wpa_supplicant.conf file in a secure manner.

Thanks!
Go to the top of the page
 
+Quote Post
speculatrix
post Oct 21 2005, 02:01 PM
Post #2





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



am new to 6000, so please bear with me.

**edit**

make sure your AP runs in 11b/11g mode, this will probably slow it down for g users, but otherwise you'll not get a connection

sadly, there's no linux drivers for any 802.11g cf cards yet

I recently got WPA working on my 860 using the latest cacko, so I will try the same techniques on the 6000 with G-rom rc4.

stay tuned.
Go to the top of the page
 
+Quote Post
speculatrix
post Nov 28 2005, 03:47 PM
Post #3





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(speculatrix @ Oct 21 2005, 11:01 PM)
I recently got WPA working on my 860 using the latest cacko, so I will try the same techniques on the 6000 with G-rom rc4.

stay tuned.
*


gosh, a long time to wait, sorry.

After copying over various libs from my 860 (libpcap, libcrypto, libssl, libdnet), wpa_supplicant and wpa_supplicant.conf, I have gotten wpa_supplicant to start up.

When I go to work tomorrow I shall be able to try it out.

Paul
Go to the top of the page
 
+Quote Post
speculatrix
post Nov 30 2005, 08:04 AM
Post #4





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(speculatrix @ Nov 29 2005, 12:47 AM)
After copying over various libs from my 860 (libpcap, libcrypto, libssl, libdnet), wpa_supplicant and wpa_supplicant.conf, I have gotten wpa_supplicant to start up.

When I go to work tomorrow I shall be able to try it out.
*


I tried it out, but unfortunately the wpa_supplicant reported that
ioctl[SIOCSIWMODE]: Function not implemented
Could not configure driver to use managed mode
...
ioctl[SIOCSIWAUTH]: Function not implemented
Failed to enable WPA in the driver

So, no joy there then sad.gif

I presume that I will need to change the driver mode for the built-in wlan card, to make it use hostap or something.

Paul
Go to the top of the page
 
+Quote Post
guylhem
post Dec 2 2005, 03:33 AM
Post #5





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



Hello

You may need newer linux-wlan drivers. I'll try to compile them (you can too !). I'd then be interested in adding wpa support by default - it hasn't been done since there's no way I can experiment with it :-(

Guylhem
Go to the top of the page
 
+Quote Post
DrWowe
post Dec 5 2005, 03:53 PM
Post #6





Group: Members
Posts: 696
Joined: 17-January 04
Member No.: 1,468



QUOTE(guylhem @ Dec 2 2005, 05:33 AM)
You may need newer linux-wlan drivers. I'll try to compile them (you can too !). I'd then be interested in adding wpa support by default - it hasn't been done since there's no way I can experiment with it :-(
*


Do you have a suggestion for how to do this? Would you basically start with the guylhem kernel sources, and then replace the wlan drivers from a later version of 2.4.X? I don't have much practice with kernel hacking, but I might it try it soon and see how far I get.
Go to the top of the page
 
+Quote Post
guylhem
post Dec 8 2005, 02:14 AM
Post #7





Group: Members
Posts: 577
Joined: 17-March 04
Member No.: 2,365



hello

it's a separate download from Jean Tourrilhes website IIRC - you only need the crosscompilers
Go to the top of the page
 
+Quote Post
speculatrix
post Dec 8 2005, 07:13 AM
Post #8





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(guylhem @ Dec 8 2005, 11:14 AM)
hello

it's a separate download from Jean Tourrilhes website IIRC - you only need the crosscompilers
*


I know from the ralink driver forums that some drivers, whilst they compile, have endian problems, so I'll give it a go but I don't know whether the drivers will work fully if at all.

This will be my first foray into cross-compiling kernels, so will be a voyage of discovery; want to do this anyway for bluetooth modules... and anyway, I am looking for a new job, hopefully in embedded linux, so this is all valuable experience!
Go to the top of the page
 
+Quote Post
speculatrix
post Dec 13 2005, 03:20 PM
Post #9





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



http://www.hpl.hp.com/personal/Jean_Tourri...11b.html#Prism2

I've sent the device driver maintainers a question as to whether usb prism driver can be made to run in hostap or do anything to help achieve WPA.
Go to the top of the page
 
+Quote Post
speculatrix
post Dec 15 2005, 03:25 PM
Post #10





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(speculatrix @ Dec 14 2005, 12:20 AM)
I've sent the device driver maintainers a question as to whether usb prism driver can be made to run in hostap or do anything to help achieve WPA.


nothing heard back yet :-(
Go to the top of the page
 
+Quote Post
speculatrix
post Dec 28 2005, 04:07 PM
Post #11





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



I discovered a new document about prism usb on the zaurus 6000L, and it seems that the 6000's wifi is a prism3 usb device.

dmesg tells me the version of the hardware and firmware, and it would seem that it should be possible to support hostap.

so, I download the latest wlan-ng stuff from ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/
and tried building against the sources I have for the 6000's kernel.. there are many compile-time warnings, but it finally bombs out thus:

/home/zaurus/build/linux-2.4.18-rmk7-pxa3-20051020/include/asm/pgalloc.h:91: warning: passing arg 1 of `cpu_pid_va_to_mva' makes integer from pointer without a cast
In file included from prism2_usb.c:2:
hfa384x_usb.c: In function `hfa384x_drvr_readpda':
hfa384x_usb.c:3134: warning: unknown conversion type character `z' in format
hfa384x_usb.c:3134: warning: too many arguments for format
prism2_usb.c: In function `prism2sta_disconnect_usb':
prism2_usb.c:282: warning: implicit declaration of function `msleep'
make[5]: *** [prism2_usb.o] Error 1
make[5]: Leaving directory `/home/zaurus/build/linux-wlan-ng-0.2.3/src/prism2/driver'
make[4]: *** [_mod_/home/zaurus/build/linux-wlan-ng-0.2.3/src/prism2/driver] Error 2
make[4]: Leaving directory `/home/zaurus/build/linux-2.4.18-rmk7-pxa3-20051020'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/home/zaurus/build/linux-wlan-ng-0.2.3/src/prism2/driver'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/zaurus/build/linux-wlan-ng-0.2.3/src/prism2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/zaurus/build/linux-wlan-ng-0.2.3/src'
make: *** [all] Error 2
Go to the top of the page
 
+Quote Post
DrWowe
post Dec 29 2005, 04:22 AM
Post #12





Group: Members
Posts: 696
Joined: 17-January 04
Member No.: 1,468



QUOTE(speculatrix @ Dec 28 2005, 06:07 PM)
I discovered a new document about prism usb on the zaurus 6000L, and it seems that the 6000's wifi is a prism3 usb device.

dmesg tells me the version of the hardware and firmware, and it would seem that it should be possible to support hostap.

so, I download the latest wlan-ng stuff from ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/


To get hostap, you need to go here: http://hostap.epitest.fi/

The wlan-ng drivers simply don't support WPA, it's a dead end.

BTW, the pdaXrom rc12 kernel already has hostap compiled. I'm going to see if I can make it work in the next few days.

(why does each ROM have its own kernel anyway??)

There's one other chance, although I've tried and failed with this one:
http://www.oesf.org/forums/index.php?showtopic=15137
Go to the top of the page
 
+Quote Post
DrWowe
post Dec 29 2005, 05:48 AM
Post #13





Group: Members
Posts: 696
Joined: 17-January 04
Member No.: 1,468



hostap won't work either. sad.gif

http://hostap.epitest.fi/cgi-bin/viewcvs.c...type=text/plain

QUOTE
The driver supports IEEE 802.11 wireless LAN PC Cards that are based
on Intersil's Prism2, 2.5, or 3 chipsets (especially, MAC processors
HFA3841 or HFA3842 for Prism2 and ISL3874 for Prism2.5). Native PCI
cards using Prism2.5/3 are also supported, but USB cards based on
Prism2.5/3 chipset are not supported in this version.


I think we're basically screwed, unless we can either convince the wlan-ng guys to support WPA or the hostap guys to support USB.
Or unless you want an ugly CF card sticking out like those clamshell guys.
Go to the top of the page
 
+Quote Post
DrWowe
post Dec 29 2005, 06:16 AM
Post #14





Group: Members
Posts: 696
Joined: 17-January 04
Member No.: 1,468



I think I'm going to setup a seperate unencrypted AP for the Zaurus. It will have restricted access only to my firewall box. Then, I can use openvpn over that.

Dynamic WEP keying would be another option. Dynamic WEP is much more secure than static WEP, because the key changes so often that the attacker can't collect enough statistical data to mount the standard WEP attack.

In fact, if the Zaurus is the only device connecting to the AP, this could be easily done with a home-brew solution. The Zaurus itself can take charge of rekeying. You would just need a cron script that runs every 15 minutes, generates a random WEP key, connects to the HTTP port on the AP and updates the key.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 12:46 PM