Editing WLAN Access Point with PS3 Jupiter

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:OtherOS]]
=Introduction=
=Introduction=


Line 9: Line 8:
* 802.11bg support
* 802.11bg support
* Wireless Extension interface
* Wireless Extension interface
* WEP40, WEP104 and WPA1(TKIP+AES) support
* WEP, WPA1 and WPA2 support (work in progress)


=PS3 Jupiter Driver=
=PS3 Jupiter Driver=
Line 23: Line 22:
git clone git://gitorious.ps3dev.net/ps3linux/ps3jupiter.git
git clone git://gitorious.ps3dev.net/ps3linux/ps3jupiter.git
cd ps3jupiter
cd ps3jupiter
make KSRC_DIR=/home/glevand/kernel/linux-3.5.4 ARCH=powerpc CROSS_COMPILE=powerpc64-linux-
make KSRC_DIR=/home/glevand/kernel/linux-3.5.3 ARCH=powerpc CROSS_COMPILE=powerpc64-linux-
</pre>
</pre>


Line 61: Line 60:
# Set static IP address ony your client, e.g. 192.168.201.201
# Set static IP address ony your client, e.g. 192.168.201.201
</pre>
</pre>
==No Security==
<pre>
ifconfig wlan1 down
iwconfig wlan1 channel 6
iwconfig wlan1 essid wlan_rockz
iwpriv wlan1 set_wpa_mode 0
ifconfig wlan1 up
</pre>
==WEP40==
<pre>
ifconfig wlan1 down
iwconfig wlan1 channel 6
iwconfig wlan1 essid wlan_rockz
iwpriv wlan1 set_wpa_mode 0
iwconfig wlan1 key 0123456789
ifconfig wlan1 up
</pre>
==WEP104==
<pre>
ifconfig wlan1 down
iwconfig wlan1 channel 6
iwconfig wlan1 essid wlan_rockz
iwpriv wlan1 set_wpa_mode 0
iwconfig wlan1 key 01234567890123456789012345
ifconfig wlan1 up
</pre>
==WPA1-TKIP==
<pre>
ifconfig wlan1 down
iwconfig wlan1 channel 6
iwconfig wlan1 essid wlan_rockz
iwpriv wlan1 set_wpa_mode 1
iwpriv wlan1 set_wpa_group 2
iwpriv wlan1 set_wpa_pairwise 2
iwpriv wlan1 set_wpa_psk ps3_wlan
ifconfig wlan1 up
</pre>
==WPA1-AES==
<pre>
ifconfig wlan1 down
iwconfig wlan1 channel 6
iwconfig wlan1 essid wlan_rockz
iwpriv wlan1 set_wpa_mode 1
iwpriv wlan1 set_wpa_group 3
iwpriv wlan1 set_wpa_pairwise 3
iwpriv wlan1 set_wpa_psk ps3_wlan
ifconfig wlan1 up
</pre>
==wpa_supplicant.conf for WPA1-TKIP or WPA1-AES==
* This configuration file i used on my PC WLAN client to test PS3 WLAN AP.
<pre>
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="wlan_rockz"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="ps3_wlan"
priority=2
}
</pre>
==WPA2==
* It seems that WPA2 is not supported.
* Does AP on GameoS support WPA2 ???
<!--// none, WEP, WPA-PSK / WPA2-PSK for normal mode, not sure about AP mode : http://manuals.playstation.net/document/en/ps3/current/settings/connectadvance.html //-->


==Test==
==Test==


* Tested on my PS3 Slim with Linux kernel 3.5.4 and Debian
* Tested on my PS3 Slim with Linux kernel 3.5.3 and Debian
* Tested successfully with no security, WEP40, WEP104, WPA1-TKIP and WPA1-AES
* Tested with no security


=Testing AP Mode with libusb=
=Testing AP Mode with libusb=


* No kernel drivers are involved
* Easier to test than with Linux kernel drivers
* I use it to test new and unknown commands
* Source code: http://gitorious.ps3dev.net/ps3linux/ps3jupiter_libusb
* Source code: http://gitorious.ps3dev.net/ps3linux/ps3jupiter_libusb
* You need a patched Linux 3.2 kernel too, see here: http://www.ps3devwiki.com/wiki/Linux_3_on_PS3
* You need a patched Linux 3.2 kernel too, see here: http://www.ps3devwiki.com/wiki/Linux_3_on_PS3
Line 179: Line 73:
=TODO List=
=TODO List=


* Find out why AP stops when a client uses incorrect WPA PSK.
* Implement WEP, WPA1 and WPA2 security
* Find out if WPA2 is possible
* Find out how to get connected station MAC address and how to enable MAC access control
* Find out how to get connected station MAC address and how to enable MAC access control
* Find out if it is possible to use STA and AP modes simultaneously. That would be really cool, e.g. we could make a wireless repeater.


=Future Work=
=Future Work=
Line 192: Line 84:
=Links=
=Links=


* Linux kernel 3.2 and libsusb problem: http://marc.info/?l=linux-usb&m=132440828606642&w=2
* http://marc.info/?l=linux-usb&m=132440828606642&w=2
 
 
 
{{Linux}}<noinclude>[[Category:Main]]</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)