Friday, May 25, 2007
PS3 SSH
SSH Start:
Now you need to start it, this can be done with the following command:
service sshd start
You can check if it's running by typing:
pgrep sshd
If it's running it'll display the process ID of the ssh server.
All SSH
Helping your eyes with SSH
By using SSH you can log in from another system and this will not only help you eyes but also means you can just cut an paste the commands.
To get SSH installed do this:
mount /mnt/cdrom
cd /mnt/cdrom/Fedora/RPMS
rpm -Uvh dhclient*
cd /
dhclient
yum install openssh-server
Now you need to start it, this can be done with the following command:
service sshd start
You can check if it's running by typing:
pgrep sshd
If it's running it'll display the process ID of the ssh server.
You'll now need to find out the IP number of the PS3, once you've done that you can go into another computer, open a terminal and SSH into the PS3. The command you need is:
ssh -l root IPnumber
The -l root option makes sure you are logging in as root, if you don't use these your system may default to using the user you are using on the other computer, it did this with the Mac I had SSH'd from (when you switch to a user account later you'll need to change to -l root to -l your_username).
You'll be prompted for the root password and it should then log you in.
PS3 useful information
You can only install via a DVD, CDs aren't supported!
ISO's of DVD install dicks
ftp://download.fedora.redhat.com/pub/fedora/linux/core/6/ppc/iso/
ftp://download.fedora.redhat.com/pub/fedora/linux/core/6/ppc/iso/FC-6-ppc-DVD.iso
http://www.kernel.org/pub/linux/kernel/people/geoff/cell/
http://www.kernel.org/pub/linux/kernel/people/geoff/cell/CELL-Linux-CL_20070425-ADDON.iso
Install Command in Kboot: "to start install"
install-fc sda
Mounting CD/DVD in Command Prompt:
mount /dev/cdrom ( Websites say to use mount /mnt/cdrom, however it doesn't seem to work for me /dev will! )
( block device /dev/cdrom is write-protected, mounting read-only)
To ShutDown & Restart: shutdown -r now
To ShutDown: shutdown -h now
GUI to Command-Line:
press CTRL+ALT+F1 to go back to console
Start Internet:
dhclient
Good Resolution: 480i TV
Ubuntu Live DVD Default Resolution: 576x384
Ubuntu Live DVD Default Refresh Rate: 30 Hz
Thursday, May 10, 2007
Logged Time: 17
I started at 11:00am today May 9th 2007
I Stopped at 7:00am today May 10th 2007
Logged Today: 20 Hour
Logged Time : 133.5 Hours
I must have had a fluke installing Fedora Core 6 before in Full mode. Because it worked then.
Every time after that Full installs failed. Couldn't figure out why, now I know.
However, I did find the solution for the non-mounting problem I had with minimum installs earlier.
They said mount using "mount /mnt/cdrom" however I would fail every time. After pain staking trial and arror,
I found out that if I did "mount /dev/cdrom" it would mount it. The reason the other wouldn't mount
properly because it was read only. After using /dev instead of /mnt I got the following confirming this.
"block device /dev/cdrom is write-protected, mounting read-only"
So, I installed in minimum this time. Mounted the DVD of Fedora Core 6 and installed SSH and configured
my IP address. Now I am able to remote into my PC for command-line interfacing.
Useful for copy/paste long strings of command.
Used PuTTY to remote into the PS3.
Currently installing Install graphical mode, it is taking a wile. Took some screen shots of its progress.
Installed 17 separate RPM's. It would download it from the Fedora Core 6 DVD then ask if it should install them.
Some would take as much as 3 minutes or more to install part of one, witch could have any where from 20 to
250+ separate jobs to install per RPM.
Read about Ubuntu for PS3.
The images at the top go from bottom to top in order.
Wednesday, May 9, 2007
Logged Time: 16
I Stopped at 2:00am today May 9th 2007
Logged Today: 5 Hour
Logged Time : 113.5 Hours
Fedora Core 6 would not load properly into command prompt. I tried to and the password would not work. After doing research, found that when I installed Fedora Core 6 and it asked me to insert the Fedora Core 6 Addon CD/DVD, I never so it bypassed it. It sometimes makes errors if it is not installed or not even load properly at all. So I reinstalled Fedora Core 6.
Never tested it. Tired, will test tomorrow.
Tuesday, May 8, 2007
Logged Time: 15
I Stopped at 6:00am today May 8th 2007 (- 2 hours)
Logged Today: 14 Hour
Logged Time : 108.5 Hours
2 hour break for food run and to go shopping for boxes and clothing.
Reinstalled Fedora Core 6, because couldn't mount cd or dvd in minimum install.
Wile packing my stuff in in my room to send back home, I unplugged a wrong power cord.
That power cord was the PS3 power cored. corrupting the 80% or so install of Fedora Core 6.
Replugged the power core in.
Had to restart install. Witch takes on its own average of 3 hours, give or take. :(
Read more articles about PS3 Linux information wile install of FC6 is in progress
Started dhclient
Started to make a Guide for installing Fedora Core 6 using Microsoft Office 2003.
Will upload it to blogger later.
Looking for website for uploading a couple of files for installing that are hard to find online.
Started trying to uninstall programs not needed in Fedora Core 6.
Read more about linux
Reading about Mondo backup. A useful full backup or partial back up of linux OS's.
I am seeing if I can implement it for the PS3.
Sunday, May 6, 2007
Logged Time: 14
I Stopped at 6:30am today May 6th 2007
Logged Today: 18.5 Hour
Logged Time : 94.5 Hours
Tried Ubuntu Live DVD. It was not working, found that it was a bad burn. Did a re-burn in 2x burn for better chance of good burn. Retried Ubuntu Live DVD, it worked. It booted up well. It auto-detected DHCP and DNS servers, so internet worked well on the first try without doing any settings.
Tried Firefox on Ubuntu Live DVD, it worked well. Starting took a little to start however it worked well.
Tried OpenOffice Word, it worked well. As in Firefox, OpenOffice ran a little slow to start, a few minutes. However, once it was up and running it ran well.
I saved OpenOffice Word Document as a .doc file. Then I saved it to a flash drive. Opened the document in Microsoft Office 2003 on my laptop. It worked well. Then brought it back to PS3 and opened .doc file in OpenOffice and added Header. Then opened in Office 2003 again, to see if the Header would work properly, it did.
I believe the reason for software starting slowly is because it is running off of the DVD rather than the Hard Drive.
Discovered a resolution that works well in the PS3. Using Ubuntu Live DVD I found that:
Good Resolution: 480i TV
Ubuntu Live DVD Default Resolution: 576x384
Ubuntu Live DVD Default Refresh Rate: 30 Hz
Is a good resolution for reading and navigating on a tv. Now I need to find out how to force that resolution on Fedora Core 6.
Wile trying Ubuntu Live DVD, at restart to get back into Fedora Core 6, Ubuntu Live DVD started to install Ubuntu onto the PS3. Once I realized that the DVD was installing Ubuntu I shutdown the PS3. It was to late. The PS3 OS was corrupt.
Reinstalled Fedora Core 6 was reinstalled. Minimum install this time.
Attempted to install GUI. However, had problem mounting cdrom. Without the cdrom mounted I cant install the GUI.
Did online research, as well as attempting many different methods of mounting the cdrom/DVD of Fedora Core 6.
Non have worked. If I cant figure it out by Sunday, I will reinstall in Full Mode.
Saturday, May 5, 2007
Logged Time: 13
I Stopped at 1:30am today May 4th 2007
Logged Today: 5.5 Hour
Logged Time : 76 Hours
Started FC6, got into GUI mode, looked at some settings. Then when tried to use command Ctrl+Alt+F1 to get to get back to Command Line. I discovered my Keyboard wasn't working.
After further research I discovered it had a few keys that wouldn't work. Like F1 for example. So I drove to Fred Myers and bought a new keyboard and a couple more Linux Magazines.
I read both the magazines and tried the new keyboard. The new keyboard worked. I refreshed my reading online at a few sites for reinstalling FC6. I plan on installing FC6 Minimum this time.
Wednesday, May 2, 2007
Logged Time: 12
I Stopped at 4:30am today May 2th 2007 (- 2 hours)
Logged Today: 15.5 Hour
Logged Time : 70.5 Hours
Had 2 hour break for store run and food.
Research more on petitboot for a kboot replacement. A GUI interface.
Changed resolution to RGB resolution wile on Monitor, Caused a unreadable
display. Couldn’t remote into it, dhclient was not running in background. After restarting a few times. From memory recalled what to type without display, of results.
Read a couple of magazines. “Linux Magazine” & “LinuxUser”
Articles discussing how to interact with Window Networks, as well as new Vista networks. Other articles discussed security issues as well as how to manage them.
Read another article for tips on installation or better means to handle FC6
Article: “Installing Fedora Core 6 and SKD 2.1 on the PlayStation 3”
Read more on FireFox Browser not working on PS3. Most articles say there isn’t any problem.
GAMESWITCH – A devise that allows the PS3 to connect to any DVI devise with the HDMI output of the PS3. However it is hard to find. Could not find any location or site that sold it.
Did some research on software that is installed on the PS3 to determine weather or not it was worth keeping it one on next install.
Tuesday, May 1, 2007
Logged Time: 11
I Stopped at 12:00am today May 1th 2007
Logged Today: 4 Hour
Logged Time : 55 Hours
Read more about RPM installs in a Fedora Core 6.
Tried to find a permanent solution for the dhclient problem on blogs and websites.
Nothing as of yet for a solution.
Burnt "Ubuntu Live CD" to DVD.
Looked up some more commands for Linux command line.
Sunday, April 29, 2007
Logged Time: 10
I Stopped at 4:00am today April 29th 2007
Logged Today: 12 Hour
Logged Time : 51 Hours
After doing research, never found anything that could help start GUI/startx.
Did a restart, it booted into GUI automatically.
However once out of GUI, it would not go back into it.
Also, it was set to wrong resolution.
Lastly I read the script that followed after attempting to start GUI.
It said,
************
xauth: creating new authority file /root/.serverauth.3068
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.
[root@localhost ~]# remove /tmp/.X0-lock
-bash: remove: command not found
************
After reading it. I decided to delete .XO-lock. I had nothing else to loose. I was about to reinstall.
Using command "rm /tmp/.X0-lock" I deleted it. Attempted to restart startx, it work!
Now trying to figure out, why boot to startx on start up is using wrong resolution.
Resolution that works for monitor doesn't quite work for command-line. expanded little to far so cant see
what is being written on command line. I figure it is because I am using a windscreen monitor.
For now I will switch between resolutions for convenience. Also use SSH whenever I can, so I don't have to change them.
Figured out how to get a connection to the Internet. My UAF log on password had expired. So I logged onto
Admin. and changed it. After that I restarted the PS3 and started the Internet browser. It is working.
Got a reply from "boi" from my PS3 message box. He says that there is a Kubuntu live DVD that will run on the PS3.
This means that I can run a OS on the PS3 without a install. I will look into it a little however I will stick with FC6.
This way I will still have instructions for someone wishing to have an OS installed. However the Live DVD might come
in handy for troubleshooting later.
Received another reply from "boi" giving address for more information and ISO of Kubuntu.
Checking site for more information regarding Kubuntu, and download ISO.
Thanks to "boi" found http://psubuntu.com, a really useful site for PS3 OS.
http://ozlabs.org/~jk/projects/petitboot/
Found a GUI interface that can replace the kboot of the PS3, however it is in the testing phases, looks good.
Will do some more research on it. Might try it on next install.
Ubuntu Live CD Designed for PS3
http://cdimage.ubuntu.com/ports/daily-live/
http://cdimage.ubuntu.com/ports/daily-live/20070415/
Downloading it.
Reading articles on http://psubuntu.com/about/, looking for relevant material.
Extra:
Found that Ctrl+Alt+F1, will switch from GUI to Command line.
Useful in bad resolution situations.
Saturday, April 28, 2007
Logged Time: 9
I Stopped at 4:00pm today April 28th 2007
Logged Today: 4.5 Hour
Logged Time : 39 Hours
Installed KDI
Ran FC6 command-lines
install X Windows System
install audio and video
yum groupinstall "KDE (K Desktop Environment)"
install pirut k3b mikmod
install "Server Configuration Tools"
install "Sound and Video"
install "GNOME Desktop Environment"
install "Legacy Software Support"
install "Development Libraries"
install "Development Tools"
install "Windows File Server"
install "System Tools"
install "X Window System"
Few other installs
install "Office/Productivity"
install netpbm netpbm-devel tk-8.4.*
install --enablerepo=extras freeglut freeglut-devel mesa-libGLU-devel mesa-libGL-devel libX11-devel libXmu-devel libXext-devel
After that I edited the video driver. located at /etc/X11/xorg.conf
Also edited /etc/inittab
Lastly messed with the kboot.conf
Along the way, I apparently messed up the startx/GUI interface. Now if I cant figure out what I did wrong, I will have to do a new install. If so, this time I will do a min. install.
Logged Time: 8
I Stopped at 4:30am today April 28th 2007
Logged Today: 8 Hour
Logged Time : 34.5 Hours
Received a reply from a person that has installed FC6 on PS3 before. He replied to my PS3 Message Box, built in messaging in PS3 system. He told me his reasoning behind why he prefers min. install of FC6 vs. Full install. He said he had a hard drive space issue/10 Gig's only. and he wanted to control his install packages.
After doing research, I installed SSH and started the server of it. Got my PS3 IP using ifconfig.
Downloaded and used PuTTY to login to my PS3 using SSH. Changed the Resolution to 720p/60 Hz. Started GUI/Startx, from PuTTY/SSH remotely. It worked! I started FC6 Graphical interface :). However, I did take a little till I successfully installed SSH and got it up and running. I did in the end. It was well worth it.
After that I attempted to start an internet Browser, Firefox. It didn't wont to start. So I used the other Internet Browser that was installed with FC6 Full install. It did work. I was redirected to UAF computer registration site. I attempted to register my PS3/PC. My password didn't seem to work. I will go to Tech Center tomorrow to renew my UAF Login/Password, so I can register my PS3 and get connectivity.
After getting internet access, I will attempt to use built in downloading utility to install a software program. After that, I will attempt to install a software RPM manually.
Side Note:
I had color problems with my Monitor. After troubleshooting for a bit. found that I had one audio jack mixed with the RGB video Jack. Switched it.
Thursday, April 12, 2007
Logged Time: 7
I Stopped at 1:30am today April 12th 2007
Logged Today: 4.5 Hour
Logged Time : 26.5 Hours
Played with the resolution on my roommates 24" monitor. Got it to show better than on my tv. However, still can't quite find the right resolution. Just a matter of time. Found out, at least with my version of Fedora Core 6, that I cant change the resolution from the GUI interface of resolution configurations. I have to get to the Command Line in order to change the resolution. It is panning out. I will get there, also explored it a little more, the way it is build and the system folders. Will look into the type of software there is installed in it. Since it is a Full install. I will after a wile, reinstall Fedora Core 6 to see the difference in the Minimum install. This way I can compare and recommend ether or... to someone.
Also, I will, with the minimum install, learn how to install programs that might be needed, or wonted.
I also found that the internet isn't auto-detecting. I will see how what is wrong, I changed the DNS to manual, and set those myself. I will figure out the other configurations in do time.
Monday, April 9, 2007
Logged Time: 6
I Stopped at 2:00am today April 9th 2007
Logged Today: 1 Hour
Logged Time : 22 Hours
Found how to change the PS3 resolution in command line. Tested it, it works. However, bigger the resolution the tv or monitor can support, the better. The smallest resolution doesn't quite fit on my tv. So, I am using roommates 24" monitor with RGB inputs. Use that when I can. My tv's native resolution is 480i. It would be better to have 720p or better.
Logged Time: 5
I Stopped at 1:00am today April 9th 2007
Logged Today: 5 Hour
Logged Time : 21 Hours
Got to command line interface. Logged in with Root, and then used master password. Once in, started the GUI, Windows interface, witch we all use, Windows, Mac's, Some Linux. Using the command "startx".
The GUI started and the resolution was wrong. I was not able to see much on the screen. Currently researching how to fix this. Have a few leads. Will fallow up...
Saturday, April 7, 2007
Logged Time: 4
I Stopped at 12:00am today April 7th 2007
Logged Today: 4 Hour
Logged Time : 16 Hours
Attempted to install Fedora Core 6 into PS3 using Fedora Core 6 DVD that came with Magazine. Didn't work, after research, found that I had wrong Fedora 6, I had the x86 32 bit version. Where I should have had the PPC 64 bit version.
I started download of it and burned it to dvd. Will continue more tomorrow.
Logged Time: 3
I Stopped at 1:00pm today April 7th 2007
Logged Today: 1 Hour
Logged Time : 12 Hours
Read a Magazine that had a article on Fedora Core 6 as well as had a Fedora Core DVD that came with it. Read more about Fedora Core 6 online.
Thursday, April 5, 2007
Logged Time: 2
I Stopped at 5:00pm today April 5th 2007
Logged Time: 11 Hours
After doing an initial install attempt, I found out that Ubuntu doesn't like the core kboot prompt that the PS3 has. After doing some research I found out that as of yet, in order to install Ubuntu, I first must install Fedora Core 5: Minimum install.
PS3 Linux Addon Disc-FC6.iso
Fedora Core 6 DVD
OtherOS.bld
OtherOS.self
This way my reasoning for making a affordable viable alternative PC for students will be easier for installing and would save hours.
Fedora Core 5 or 6 is still a useful OS for a student. It can have OpenOffice as well as other RPM's/Software.
I am doing more research online to see what other people have gone through with it. As well as any possible errors or problems along the way. Any information useful I bookmark with my Del.icio.us Bookmarks.
I plan on attempting an install after class tonight (class: 6-9pm).
Wednesday, April 4, 2007
Logged Time: 1
I Stopped at 11:00pm today April 4th 2007
Logged Time: 6 Hours
I researched more about the selected Operating System I wished to install "Ubuntu"
I found the proper Version I needed to download "PPC or PowerPC" version.
I also researched in patches for the kernel/boot for the PS3.
I added usful sites to my Del.icio.us online bookmarks.
I am downloading the Ubuntu ISO so I may burn it to CD and start the process of installing it.