Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PS3 & wpa_supplicant
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
mausle
n00b
n00b


Joined: 26 May 2007
Posts: 7

PostPosted: Sat May 26, 2007 4:09 am    Post subject: PS3 & wpa_supplicant Reply with quote

Hi,

I'm still on a 2.6.16 kernel, have successfully compiled the latest from the cell overlay.

Wireless Lan (wifi) works without encryption, if configured in /etc/conf.d/net

essid_eth0="my net"

but I would like to use wpa_supplicant. If I do

modules=( "wpa_supplicant" "!iwconfig" "!ifconfig" )
wpa_supplicant_eth0="-Dwext"

I only get ioctl error messages. Would I need to specify another driver?
Is this at all possible with the current kernels?

ciao
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Mon May 28, 2007 6:27 pm    Post subject: here are my configuration files Reply with quote

*Note I am using Yellow dog so adjust accordingly


the following is for /etc/sysconfig/wpa_supplicant

Code:
# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-ieth0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"


This is what wpa_supplicant.conf looks like

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel

network={
   ssid=""
   #key_mgmt=WPA-PSK
   psk=""   
   
}


I hope this helps it took me a few hours playing with it before I got it to work on my own ps3.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
mausle
n00b
n00b


Joined: 26 May 2007
Posts: 7

PostPosted: Mon May 28, 2007 7:30 pm    Post subject: Re: here are my configuration files Reply with quote

Hi

Shadow Skill wrote:

# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"[/code]
[/code]

I hope this helps it took me a few hours playing with it before I got it to work on my own ps3.


ndiswrapper, I wouldn't have thought this one could do it,
though, I'll try and report back if it works.

Thank you very much for your efforts,

ciao
Back to top
View user's profile Send private message
mausle
n00b
n00b


Joined: 26 May 2007
Posts: 7

PostPosted: Tue May 29, 2007 5:34 pm    Post subject: Re: here are my configuration files Reply with quote

mausle wrote:


Shadow Skill wrote:

# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dndiswrapper"[/code]
[/code]


ndiswrapper, I wouldn't have thought this one could do it,
though, I'll try and report back if it works.


:-( ndiswrapper is masked by missing keyword, i.e. not
tested for ps3, probably also not for powerpc.

I think, I have to stay on WEP for a while.

ciao
Back to top
View user's profile Send private message
rangerpb
Retired Dev
Retired Dev


Joined: 19 Jan 2005
Posts: 147

PostPosted: Tue May 29, 2007 7:35 pm    Post subject: Try it and report back Reply with quote

Please, try the package out by keywording it yourself, and if it works, file a bug at bugs.gentoo.org saying it worked and we can keyword it for you.
_________________
-->
rangerpb
<--
Back to top
View user's profile Send private message
mausle
n00b
n00b


Joined: 26 May 2007
Posts: 7

PostPosted: Fri Jun 01, 2007 10:49 am    Post subject: Re: Try it and report back Reply with quote

rangerpb wrote:
Please, try the package out by keywording it yourself, and if it works, file a bug at bugs.gentoo.org saying it worked and we can keyword it for you.


Ok, will try, though, this will need some time, because I'm currently into other things.

ciao
Back to top
View user's profile Send private message
Crymson
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 203
Location: New England

PostPosted: Sat Jun 02, 2007 4:56 am    Post subject: Reply with quote

What is the gentoo equivalent of /etc/sysconfig?
_________________
Knowledge is Power // Power Corrupts // Study Hard // Be Evil
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Sat Jun 02, 2007 5:31 am    Post subject: Reply with quote

Crymson wrote:
What is the gentoo equivalent of /etc/sysconfig?
That is a good question I do not know personally but I think that the easiest way to find this file is to just do
Code:
locate -i "wpa_supplicant" | grep /etc
or something to that effect.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
mausle
n00b
n00b


Joined: 26 May 2007
Posts: 7

PostPosted: Sat Jun 02, 2007 10:01 am    Post subject: Reply with quote

Crymson wrote:
What is the gentoo equivalent of /etc/sysconfig?


What about /etc/conf.d??

Btw. I have just tried to emerge ndiswrapper-1.44 or ndiswrapper-1.33,
which are the newest resp. oldest versions available for gentoo. Before
I changed /etc/portage/package.keywords so it won't be rejected
because of masking.

Both packages depend on sys-kernel/linux-2.6.20-gentoo-r5. But
my kernel is 2.6.16-r2 from the cell overlay. After copying the older
sources from a 64bit chroot userland changing /usr/src/linux accordingly,
the compile for ndiswrapper started but stopped soon with error messages.

So I gave up for now. I think some other driver would be more suitable
to be used with gentoo on ps3.

ciao
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sun Jun 03, 2007 10:50 am    Post subject: Reply with quote

isn't ndiswrapper that thing using Windows drivers? You cannot execute x86 code on the ps3. Windows drivers are x86 code so you cannot execute that driver on the ps3. Am I wrong?
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Sun Jun 03, 2007 9:11 pm    Post subject: Reply with quote

corsair wrote:
isn't ndiswrapper that thing using Windows drivers? You cannot execute x86 code on the ps3. Windows drivers are x86 code so you cannot execute that driver on the ps3. Am I wrong?
my guess is that the YDL team did some patching to make it work, when I get a chance I will post the lsmod of my ps3.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Mon Jun 04, 2007 12:57 am    Post subject: Reply with quote

Apparently the Kernel has to be patched to use a specific driver. I do not think ndiswrapper has anything to do with it. I found the commit here on my ps3 lsmod shows gelic_net and gelic_wireless with gelic_wireless being used by gelic_net.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
mausle
n00b
n00b


Joined: 26 May 2007
Posts: 7

PostPosted: Mon Jun 18, 2007 9:10 pm    Post subject: Reply with quote

I did some more investigations and managed to
have wpa_supplicant working from a chroot 64bit userland
but only with WEP.

Maybe, gelic_wireless does not yet support WPA. I browsed
through the most recent source from Geoffs tree and even
built some kernels from it, but I'm not sure if it can work.

I have also tried to use iwpriv, again it is possible to:
iwpriv eth0 set_alg 2

iwpriv eth0 get_alg

and then get some response about TKIP being set. Again
from a 64bit userland.

All that does not work from a 32bit userland, because
the compatibility function, that handles the conversion
to the 64bit kernel I have, does not work correctly.

Maybe it would work on a 32bit kernel. I will probably try
to reach the maintainer about this, though, he might already
know about these isssues.

ciao
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
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