LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Tutorial: Swapping Between Wired / Wireless On YDL6.0 For The PS3 (http://www.linuxquestions.org/questions/linux-wireless-networking-41/tutorial-swapping-between-wired-wireless-on-ydl6-0-for-the-ps3-662869/)

ShadowEW 08-14-2008 07:25 PM

Tutorial: Swapping Between Wired / Wireless On YDL6.0 For The PS3
 
Activate the Wi-Fi on the PS3 under Linux or Swap to an Wired connection!

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:

1. Log into YDL as a user.
2. Unplug the wired network cable.
3. 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.
4. Enter the root password when prompted (for security purposes).
5. Click on the Hardware tab.
6. Select Sony PS3 Ethernet Dev.
7. Click Delete.
8. Confirm deletion by clicking Yes.
9. 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:

1. Click on the Devices tab.
2. Click Deactivate.
3. Click New.
4. Select Wireless Connection and click Forward.
5. Select Sony PS3 Ethernet Device (eth0) and click Forward.
6. Set the mode to Auto.
7. Select Specified: for Network name: (SSID).
8. In the box provided, enter the SSID of your access point. You can find this SSID in the management settings for your access point.
9. 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.
10. Set the Transmit Rate to Auto.
11. 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.
12. 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.
13. 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.
14. Click OK.
15. Click Forward.
16. If your network is using DHCP to hand out IP addresses or if you are unsure, select Automatically obtain IP address settings with DHCP.
17. Click Forward > Forward > Apply > Activate > Yes > OK.
18. 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:

1. 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.
2. Delete Sony PS3 Ethernet Dev under the Hardware tab.
3. Close the network configuration manager. Confirm with Yes and OK.
4. Open a terminal window.
5. Type su - [ENTER].
6. Enter the root password when prompted.
7. Enter rm /etc/sysconfig/network-scripts/ifcfg-eth0 (if neither of these files exist, skip to step 11)
8. Enter rm /etc/sysconfig/networking/devices/ifcfg-eth0 (if neither of these files exist, skip to step 11)
9. Restart networking by entering service network restart
10. Enter killall dhclient
11. 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


12. Press and hold the Ctrl key, then press the X key.
13. Press the Y key to save changes to the file.
14. Press the Enter key to confirm to save to that filename.
15. Enter cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0
16. Enter service network restart

Yellow Dog Linux should now be running on the wired network once again.

ShadowEW 08-14-2008 07:27 PM

Any chance of this being stickied? or kept somewhere safe? ^_^

syg00 08-14-2008 08:37 PM

Use the report button, and ask there.

acid_kewpie 08-15-2008 08:31 AM

Hi,

this won't be stickied, as a forum is not the place to keep documentation. We have a tutorial subsite which is a much better place for it.


All times are GMT -5. The time now is 03:48 PM.