WLAN Access Point with PS3 Jupiter: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
Line 42: Line 42:
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)


root@debian:~# iwconfig wlan1
root@debian:~# iwconfig wlan1

Revision as of 18:18, 15 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
  • WEP, WPA1 and WPA2 support (work in progress)

PS3 Jupiter Driver

Compiling

  • You can compile it on PS3 Linux or cross-compile on a Linux PC
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)

root@debian:~# 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

Test

  • Tested on my PS3 Slim with Linux kernel 3.5.3 and Debian
  • Tested with no security

TODO List

  • Implement WEP, WPA1 and WPA2 security
  • 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)