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=


* WLAN AP driver for PS3 Jupiter (slim only)
* WLAN AP driver for PS3 Jupiter (slim only)
* Please report bugs and problems to me.


=Features=
=Features=
Line 9: Line 7:
* 802.11bg support
* 802.11bg support
* Wireless Extension interface
* Wireless Extension interface
* WEP40, WEP104 and WPA1(TKIP+AES) support
* WEP, WPA1 and WPA2 support (not yet implemented)


=PS3 Jupiter Driver=
=PS3 Jupiter Driver=
Line 18: Line 16:


* You can compile it on PS3 Linux or cross-compile on a Linux PC
* You can compile it on PS3 Linux or cross-compile on a Linux PC
* But first you have to build a Linux kernel from source.


<pre>
<pre>
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 35: Line 32:
insmod ./ps3_jupiter.ko
insmod ./ps3_jupiter.ko
insmod ./ps3_jupiter_ap.ko
insmod ./ps3_jupiter_ap.ko
iwconfig wlan1
wlan1    IEEE 802.11bg  ESSID:off/any  Nickname:"ps3_jupiter_ap"
          Mode:Master  Channel:0


# Configure channel and SSID
# Configure channel and SSID
Line 44: Line 37:
iwconfig wlan1 channel 6
iwconfig wlan1 channel 6
iwconfig wlan1 essid wlan_rockz
iwconfig wlan1 essid wlan_rockz
# Configure opmode
iwpriv wlan1 set_opmode 1 (0 = 11b, 1 = 11g, 2 = 11bg)
iwconfig wlan1
wlan1    IEEE 802.11bg  ESSID:"wlan_rockz"  Nickname:"ps3_jupiter_ap"
          Mode:Master  Frequency:2.437 GHz


ifconfig wlan1 192.168.201.200
ifconfig wlan1 192.168.201.200
Line 59: Line 44:


# Connect to the AP with a PC client and try to ping your AP
# Connect to the AP with a PC client and try to ping your AP
# Set static IP address ony your client, e.g. 192.168.201.201
</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>
</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==
* Tested on my PS3 Slim with Linux kernel 3.5.4 and Debian
* Tested successfully with no security, WEP40, WEP104, WPA1-TKIP and WPA1-AES
=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
* You need a patched Linux 3.2 kernel too, see here: http://www.ps3devwiki.com/wiki/Linux_3_on_PS3
=TODO List=
* Find out why AP stops when a client uses incorrect WPA PSK.
* Find out if WPA2 is possible
* 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=
* Create a LiveCD with WLAN AP mode
* Create a petitboot with WLAN AP mode
* Implement PS3 WLAN drivers for PS3 PHAT (not able to do currently because i don't have a PS3 PHAT for testing)
=Links=
* Linux kernel 3.2 and libsusb problem: 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)