WLAN Access Point with PS3 Jupiter: Difference between revisions
Jump to navigation
Jump to search
Line 155: | Line 155: | ||
=TODO List= | =TODO List= | ||
* 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 | ||
Revision as of 16:51, 16 September 2012
Introduction
- WLAN AP driver for PS3 Jupiter (slim only)
- Please report bugs and problems to me.
Features
- 802.11bg support
- Wireless Extension interface
- WEP40, WEP104 and WPA1(TKIP+AES) support
PS3 Jupiter Driver
- Source code: http://gitorious.ps3dev.net/ps3linux/ps3jupiter
Compiling
- 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.
git clone git://gitorious.ps3dev.net/ps3linux/ps3jupiter.git cd ps3jupiter make KSRC_DIR=/home/glevand/kernel/linux-3.5.3 ARCH=powerpc CROSS_COMPILE=powerpc64-linux-
Configuration
- For configuration you need wireless-tools: iwconfig and so on.
# Load the drivers insmod ./ps3_jupiter.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 iwconfig wlan1 channel 6 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 up # WLAN LED should be green now # 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
No Security
ifconfig wlan1 down iwconfig wlan1 channel 6 iwconfig wlan1 essid wlan_rockz iwpriv wlan1 set_wpa_mode 0 ifconfig wlan1 up
WEP40
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
WEP104
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
WPA1-TKIP
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
WPA1-AES
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
WPA2
- It seems that WPA2 is not supported.
Test
- Tested on my PS3 Slim with Linux kernel 3.5.3 and Debian
- Tested with no security, WEP40 and WEP104
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 how to get connected station MAC address and how to enable MAC access control
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