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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Setting Up Wifi With Wpa
Shoryu
post May 11 2008, 02:45 PM
Post #1





Group: Members
Posts: 11
Joined: 29-June 06
Member No.: 10,276



Hi everyone,
i'm running zdevil rootfs and younggun latest kernel on my slc1000, so far everything works great.
The only thing that bugs me is that i don't know how can i enable WPA wifi with this distro.
I've done some research and tried a lot of stuff in /etc/network/interfaces
like using iwpriv wireless-tools commands :
CODE
pre-up iwpriv eth3 set AuthMode=WPAPSK
pre-up iwpriv eth3 set EncrypType=TKIP
pre-up iwpriv eth3 set WPAPSK="mykey"


but set command isn't available.

also using this syntax:
CODE
wireless-key-mgmt WPA-PSK
wireless-key "mykey"

when i try : /etc/init.d/networking restart
i get the error "Set mode" and also "Set Encode" saying that mykey is an invalid argument

i can see my wifi card with iwconfig it's just that it doesn't associate.

my wifi CF card is a Linksys WCF12 which should have WPA support according to some researches on google.
I saw that another tool can do the same as wireless-tools, wpa_supplicant. do i need to install this one or am i missing something here?
I've never had any problems with Wifi using WEP , but never done it with WPA.

thanks for your help smile.gif
Go to the top of the page
 
+Quote Post
mikeones
post May 12 2008, 06:55 AM
Post #2





Group: Members
Posts: 20
Joined: 20-July 06
Member No.: 10,468



QUOTE(Shoryu @ May 11 2008, 05:45 PM) *
Hi everyone,
i'm running zdevil rootfs and younggun latest kernel on my slc1000, so far everything works great.
The only thing that bugs me is that i don't know how can i enable WPA wifi with this distro.
I've done some research and tried a lot of stuff in /etc/network/interfaces
like using iwpriv wireless-tools commands :
CODE
pre-up iwpriv eth3 set AuthMode=WPAPSK
pre-up iwpriv eth3 set EncrypType=TKIP
pre-up iwpriv eth3 set WPAPSK="mykey"


but set command isn't available.

also using this syntax:
CODE
wireless-key-mgmt WPA-PSK
wireless-key "mykey"

when i try : /etc/init.d/networking restart
i get the error "Set mode" and also "Set Encode" saying that mykey is an invalid argument

i can see my wifi card with iwconfig it's just that it doesn't associate.

my wifi CF card is a Linksys WCF12 which should have WPA support according to some researches on google.
I saw that another tool can do the same as wireless-tools, wpa_supplicant. do i need to install this one or am i missing something here?
I've never had any problems with Wifi using WEP , but never done it with WPA.

thanks for your help smile.gif

AFAICT, wpa supplicant is not installed. It is required for wireless with wpa.

CODE
apt-get install wpasupplicant
Go to the top of the page
 
+Quote Post
Shoryu
post May 12 2008, 01:45 PM
Post #3





Group: Members
Posts: 11
Joined: 29-June 06
Member No.: 10,276



thanks
too bad i can't use apt-get install on the Z since i don't have network working rolleyes.gif .
but i tried to download the different packages manually:
wpasupplicant_0.6.3-1_armel.deb

it has dependencies like:
libpcsclite1_1.4.101-2_armel.deb

and using dpkg -i with this package gave me the errors : unexpected end of file in version number, or : is not a debian format archive

don't know if the dpkg is broken or libpcsclite1_1.4.101-2_armel.deb is corrupted on every mirror i tried blink.gif or there is a problem with my SD card especially with this file laugh.gif

i also need the prism1 driver for this rootfs ...

but i've lost too much time on this (searching info and appropriate packages....) as am i not an expert, so
good luck to everyone who is still trying to make wpa work with zdevil rootfs + younggun kernel. wink.gif
bye
Go to the top of the page
 
+Quote Post
JohnX
post May 13 2008, 12:52 AM
Post #4





Group: Members
Posts: 126
Joined: 4-May 05
From: Lynnwood, WA, US
Member No.: 7,070



If you dual boot, just chroot into your debian install from pdaxrom or angstrom, and apt-get install whatever you need.
For wpa I use the following setup in /etc/network/interfaces:

auto wlan0
iface wlan0 inet dhcp
wpa-ssid My-network
wpa-psk my-long-psk-for-my-network
Go to the top of the page
 
+Quote Post
mikeones
post May 13 2008, 09:29 AM
Post #5





Group: Members
Posts: 20
Joined: 20-July 06
Member No.: 10,468



Here is the list of required packages for etch.

http://packages.debian.org/etch/wpasupplicant
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: 20th December 2014 - 08:32 AM