Terra Soft Solutions IT Manager Aaron Johnson shows you,
step-by-step, how to configure and encrypt the built-in
Wi-Fi network that comes with the Cell Broadband
Engine™-based Sony PlayStation 3. And, as a little
bonus, get 16 quick steps that explain how to switch
from a wireless network back to a wired network on the
PS3.
Introduction
In this article, you will learn:
- The four major steps to configuring the built-in PS3
Wi-Fi network, including the Wi-Fi encryption options
that are available to you, the two quick steps to enable
encryption, and how to upgrade your Linux kernel.
- The 16 steps needed to make the complex task of
switching between wired and wireless networks less
arduous.
Configuring the PS3
Wi-Fi
There are four major steps to configuring the Wi-Fi that
is built into the PlayStation 3:
Update
the GameOS firmware
Before the Wi-Fi can work under Linux, you need to run
GameOS firmware version 1.6 or later. Complete these steps
in GameOS to ensure you are running the latest firmware.
- Reboot into GameOS by doing the following:
- Log out of Linux (Yellow Dog symbol on the task
bar).
- Select Applications > Boot Game OS.
- Click Shutdown from the login menu.
- Once the PS3 is off, push and hold the power
button until you hear the second beep (about five
seconds).
- Go to System > System update.
- Select Update Via Internet.
- Follow the prompts to complete the update.
- Reset the default OS by going to Settings >
System Settings > Default System.
- Select OtherOS.
- Click X.
- When prompted with Start the other system now?,
select Yes.
If your kernel is upgraded, skip to
Activate the
Wi-Fi on the PS3 under Linux. Otherwise, upgrade your
kernel by continuing to the next section.
Upgrade the
Linux kernel
This kernel upgrade information applies only if you are
using YDL 5.0.x; YDL 6 doesn't need a kernel upgrade. If you
don't need a kernel upgrade, skip to
Activate the
Wi-Fi on the PS3 under Linux.
This article describes three methods to upgrade your
Linux kernel:
- A semi-automated kernel upgrade that assumes your
PS3 has a LAN (Ethernet) connection to the Internet
under YDL
- The use of an additional personal computer and USB
key or CD-R because your PS3 under Linux does not
have an Internet connection
- A manual upgrade option for the Linux savvy with
adequate Linux command-line experience.
Semi-automated method with LAN connection
Two cautions before you attempt this:
- This kernel upgrade is beta software and is not
recommended in a production environment.
- This script rewrites your kboot.conf, which could
render your system useless.
Do the following to upgrade the kernel using the
semi-automated method:
- Open a terminal window by clicking on the Yellow Dog
icon on the task bar.
- Select Applications > Accessories > Gnome
Terminal.
- To gain root access, type
su - [ENTER] .
- When prompted, enter the root password.
- Download the auto updater script by entering:
wget http://www.terrasoftsolutions.com/support/solutions/ydl_5.0/ConfigWifiKernel.sh
|
You see a progress bar and confirmation of download with
'ConfigWifiKernel.sh' saved [1089/1089]
- Enter
chmod 700 ConfigWifiKernel.sh
- Run the script by entering
./ConfigWifiKernel.sh
- Reboot the computer by entering
reboot
Additional computer method without LAN connection
Now go through the manual process of upgrading the YDL kernel and kboot
bootloader without an Internet connection to your PS3.
You'll need some Linux command-line experience to complete
this.
- An Internet connection is required on an assisting
computer.
- This kernel upgrade is beta software, and it is not
recommended in a production environment.
This method is broken into three subtasks: download,
transfer, and activate.
Download
Download the new kernel, and transfer it to a USB key. The
kernel that supports Wi-Fi on the PS3 under YDL is currently
beta code, so it must be downloaded outside of regular yum
updates. Because your PS3 does not have an Internet
connection, you are going to use a USB key or CD to transfer
the new kernel from your personal computer to the PS3. Do
the following:
- Download the following items (right-click Save
Target As or Save Link As):
- Move these items onto a USB key or burn them to CD.
- Insert the USB key or CD into the PS3.
Transfer
Now transfer the new kernel from the USB key to the PS3. Do
the following:
- Select YDL Menu > Applications > Accessories >
Gnome Terminal.
- At the command prompt, enter the following commands:
su - [ENTER]
cd /path/to/CDorUSBkey/ [ENTER]
rpm -ivh kernel-2.6.23-9.ydl5.1.ppc64.rpm [ENTER]
|
The path to the CD is usually /media/cdrom, and the USB
key /media/{Name of your usb key}.
- Remain in the terminal as root for the Activate
instructions.
Activate
To activate the new kernel, you must modify a file called
kboot, which is located at /etc/kboot.conf. The following
script automates this process for you. Warning: Use
this script with caution, because it does completely rewrite
your kboot.conf.
- Make a backup copy of your current kboot.conf by
entering
cp /etc/kboot.conf /etc/kboot.conf.org
- Run the script to build a new kboot.conf by entering
chmod 700 buildkboot.sh [ENTER]
./buildkboot.sh [ENTER]
|
- Exit the terminal.
- Reboot the PS3, and you should be good to go.
Manual upgrade method
Now go through the manual process of upgrading the YDL kernel and kboot
bootloader. Again, this instruction is intended for
intermediate-to-advanced users with solid Linux command-line
experience. This kernel upgrade is beta software, and it is
not recommended in a production environment.
This method is broken into three subtasks: update,
install, and activate.
Update
Update the YDL system. The following process should be done
regularly in order to maintain the YDL system:
- Select YDL Menu > Applications > System Tools >
Software Management > Software Updater.
- All updates should already be selected. If not,
select all updates.
- Click Apply Updates.
- After all updates are installed, select Reboot
Later from Software Updater.
Install
Install the new kernel. The kernel that supports Wi-Fi on
the PS3 under YDL is currently in beta status, so it must be
downloaded separately from regular updates.
- Select YDL Menu > Applications > Accessories >
Gnome Terminal.
- At the command prompt run the following commands:
su - [ENTER]
wget ftp://ftp.yellowdoglinux.com/pub/yellowdog/betas/kernel/kernel-
2.6.23-9.ydl5.1.ppc64.rpm [ENTER]
rpm -ivh kernel-2.6.23-9.ydl5.1.ppc64.rpm [ENTER]
|
- Remain in the terminal as root for the Activate
instructions.
Activate
To activate the new kernel, you must modify a file called
kboot, which is located at /etc/kboot.conf. You can activate
manually using a command-line editor (such as vi or nano),
or you can use this script to build a new kboot.conf. This
script is built based on existing installed kernels.
Warning: Use this script with caution, because it does
completely rewrite your kboot.conf.
- Make a backup copy of your current kboot.conf by
entering
cp /etc/kboot.conf /etc/kboot.conf.org
- Edit kboot.conf using your favorite editor. For
example, you can use
nano /etc/kboot.conf [ENTER]
- Exit the terminal.
- Reboot the PS3, and you're ready to go.
Activate
the Wi-Fi on the PS3 under Linux
For the Wi-Fi on the PS3 in Linux, it takes a little bit
of work to activate wireless networking to use eth0 (the
Linux ID for the networking device). Unfortunately, the PS3
allows for either a wired or a wireless connection, but not
both. This is because of Hypervisor limitations that all
other operating systems (in this case Yellow Dog Linux) have
to go through to get to the hardware.
To activate the Wi-Fi, do the following:
- Log into YDL as a user.
- Unplug the wired network cable.
- Open the Network configuration menu by clicking on
the Yellow Dog logo (Menu Button) from the main
shelf, and then select Applications > Applications >
System Tools > System Config > Network.
- Enter the root password when prompted (for security
purposes).
- Click on the Hardware tab.
- Select Sony PS3 Ethernet Dev.
- Click Delete.
- Confirm deletion by clicking Yes.
- Confirm again by clicking Yes.
Set up or change
your wireless connection
To change your wireless settings, you should have already
configured wireless using the following steps or have
installed a version of YDL 5 that already supports wireless.
To set up or change your wireless connection, do the
following:
- Click on the Devices tab.
- Click Deactivate.
- Click New.
- Select Wireless Connection and click
Forward.
- Select Sony PS3 Ethernet Device (eth0) and
click Forward.
- Set the mode to Auto.
- Select Specified: for Network name: (SSID).
- In the box provided, enter the SSID of your access
point. You can find this SSID in the management settings
for your access point.
- Select the channel that your access point is using.
You can find this in the management settings for your
access point. Note: Only channels 1-11 are legal
for use in the United States. Check local laws for other
restrictions.
- Set the Transmit Rate to Auto.
- If your access point does not use encryption, make
sure the box labeled Key is empty and skip to Step 15.
If your access point does use encryption, continue with
the next steps to see the available encryption options
and the simple steps to enable encryption.
- To allow access to an access point that has
encryption enabled (such as WEP or WPA), get the
encryption key from the management settings of your
access point.
- A WEP 64-bit key looks like this:
4a 9f 1f
98 f3 .
- A WEP 128-bit key looks like this:
4b bc
8e 20 e7 1d 24 e4 7f 5d 88 d0 2e .
- The user selects a WPA-PSK and WPA2, and they
vary depending on model.
At the time this article was published, WPA-PSK and WPA2
were not supported on the PS3, but it should have been
in the works.
- For Key, enter
0x and your hex key.
- For 64-bit, it looks like
0x4a9f1f98f3 .
- For 128-bit, it looks like
0x4bbc8e20e71d24e47f5d88d02e .
- For 256-bit, it's as yet unknown.
- Click OK.
- Click Forward.
- If your network is using DHCP to hand out IP
addresses or if you are unsure, select Automatically
obtain IP address settings with DHCP.
- Click Forward > Forward > Apply > Activate > Yes
> OK.
- Test that your connection is active.
Switching between wired and
wireless
Considering the Hypervisor limitations and the challenge
of controlling which network connection is active, it is not
easy to switch between wireless and wired connections. And
it's impossible to have both online at the same time. This
procedure is more technical than configuring wireless
settings. It requires some technical knowledge of how Linux
works and how to use the command line. If you are unsure of
any steps, get help from an experienced Linux user.
(Editor: Or you can explore the
developerWorks Linux zone's articles and
expert forums.)
To switch from the wireless to the wired connection, do
the following:
- Open the Network configuration menu by clicking on
the Yellow Dog logo (Menu Button) from the main
shelf, and then select Applications > Applications >
System Tools > System Config > Network.
- Delete Sony PS3 Ethernet Dev under the
Hardware tab.
- Close the network configuration manager. Confirm
with Yes and OK.
- Open a terminal window.
- Type
su - [ENTER] .
- Enter the root password when prompted.
- Enter
rm
/etc/sysconfig/network-scripts/ifcfg-eth0
- Enter
rm
/etc/sysconfig/networking/devices/ifcfg-eth0
- Restart networking by entering
service network
restart
- Enter
killall dhclient
- Rebuild /etc/sysconfig/network-scripts/ifcfg-eth0
from scratch. If in doubt, enter
nano
/etc/sysconfig/network-scripts/ifcfg-eth0 to edit
the file, and use these defaults:
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
|
- Press and hold the Ctrl key, then press the X key.
- Press the Y key to save changes to the file.
- Press the Enter key to confirm to save to that
filename.
- Enter
cp
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth0
- Enter
service network restart
Yellow Dog Linux should now be running on the wired
network once again.
Conclusion
This article described how to configure and encrypt the
built-in Wi-Fi network that comes with the Cell Broadband
Engine(TM)-based Sony PlayStation 3. It also described 16
quick steps for how to switch between wired and wireless
networks on the PS3. |
No comments:
Post a Comment