Official Gitbrew Forums
These forums cover all aspects of the Gitbrew biosphere. If you would like your development project to be based here, ask an admin.

Home » PS3 » OtherOS++ » Linux » Linux 'L' plates (This 'Learner' driver for Linux has issues with initial log in and reverse parking Look out!)
icon9.gif  Linux 'L' plates [message #981] Wed, 28 March 2012 20:51 Go to next message
Anonymous
Embarrassed This is a noob question.
I'm just starting with Linux... and with the PS3 the only machine I can use to install and learn on. I run CFW ReBug 3.55.2.6 OOS++ on a Phat 16mb NOR 40GB model. I also successfully ran the Gitbrew OOS install and after some hiccups have succeeded in installing Red Ribbon RC5.
Question? Which version do I run from petitboot, normal or failsafe???
I ran the top normal one and at log in I got this warning after entering username and password...
Quote:
Your home directory is listed as '/home/ps3' but it does not appear to exsist. Do you want to log in with the / (root) directory as your home directory? It is unlikely anything will work unless you use a failsafe session.
Yes (or) No

Do I want to log in with root? I heard this was damaging if i dont know what I'm doing (I don't!!!) Laughing
Do i have to set the home directory up?
Or is this normal for ps3 and I should use a failsafe session?
Please explain as my linux knowledge is minus 1000!
Shocked Crying or Very Sad Mad Confused Sad
Re: Linux 'L' plates [message #982 is a reply to message #981] Thu, 29 March 2012 10:53 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
you would run Normal, as a general rule.



Login as root.

then type

adduser <username>

So eg.

adduser saner

and follow the prompts.

than you will have created a user account. Although the Red Ribbon installer should have done it (Well I imagine) dont you set a user / pass during the installer ?

If that fails (because you dont have a root password) login the way you are doing, choose yes and then add sudo, so

sudo adduser <username>
icon4.gif  Re: Linux 'L' plates [message #984 is a reply to message #982] Thu, 29 March 2012 13:55 Go to previous messageGo to next message
Anonymous
Greetings Saner Very Happy
Yes normal as a general rule but this isn't general?... Rolling Eyes
The installer did most definately set a username & password right after partitioning a / (root) dir, a /home/ps3 dir and a swap dir. As this is a communal project, numerous unknown users, I left the log in as <ps3> as both username and password, predetermined by the install.

As my quote states earlier the /home/ps3 dir is missing???? I remember setting it up!!!! Mad
Sad if i adduser wont that just make a user acc on the root?
What alarms me more is that a whole partition i setup appears to be undetected or corrupt maybe during install??? Just guessing...anyway thats niether here nor there.
So ok create user acc, lets say that I did and still same issue next log in Confused
So then I
 sudo adduser <blahblahblab> 

WTF? does that do (for me, too me) Laughing
Shocked Short for pseudonum... ?
Remember -1000 negative linux knowledge and this ps3 is my only access to linux. Evil or Very Mad What does sudo do exactly? And why? If you'd care to elaborate.
My main issue is the missing dir???
cheers for the paitence
Re: Linux 'L' plates [message #985 is a reply to message #984] Thu, 29 March 2012 14:10 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
Its just a basic adduser command, it just sets up a new basic user account and should create the directory(s) for it in /home/

You can type "man adduser" if you want / need lots more info on it Very Happy

Once you have run the adduser command you shouldbe able to logout and then log back in with the user you created.

sudo will allow you to run commands that usually require a root account, as adduser needs. You could do this

su
<root pasword>
adduser <username>

or login as root

Its just another way to get the same outcome.


I can only guess (and it is a guess) that Red Ribbon does not create the ps3 users for some reason known only to itself, as it expects you to change it.

What does

ls /home/

give you, if its empty try

sudo mkdir /home/ps3/
sudo chown ps3 /home/ps3

(First command makes the home users directory, second tells it the owner is the user ps3)

Personally I would just add a new user account, as that should solve it. I suspect something just went wrong because it didn't expect you to keep the login "ps3", so its possibly just a bug in the installer (This is pure guesswork on my part)




icon10.gif  Re: Linux 'L' plates [message #987 is a reply to message #985] Thu, 29 March 2012 16:08 Go to previous messageGo to next message
Anonymous
Same here i think you hit the nail on the head... Cool

"What? You kept 'THAT' log in! The one we made so obvious that it was pure ironic genius, and no one ever would be as dumb as to use the suggested, first guess and so easy to crack? " Shocked
Really??
Embarrassed Well sorry... Crying or Very Sad
Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad
ACCESS DENIED!!! No home dir for you cause you are stupid...
Twisted Evil Very Happy Laughing Bah ha ha haa ha haaa
Laughing Very Happy Twisted Evil

Seriously though i tried
ps3@ps3:/$ adduser loufiethecat
bash: adduser: command not found
ps3@ps3:/$ help

No adduser command in the help list
ps3@ps3:/$ ls /home/
lost+found
ps3@ps3:/$ 

There is no root password... I don't think there is??? Oh wait ps3 D'oH
So with the lost and found ...
I dudo the sudo type judo ect and success...!
sudo adduser loufiethecat

It asked for the ps3 password <ps3> then went throught the prompts added a new password and I reboot.
Mad SAME WARNING Mad
this time i say no and it delivers me to the login and i enter the new username and password... Log in is successful. Console address is
 loufiethecat@ps3:~$ ls /home/ 
[color=indigo] lost+found loufiethecat [/color]
loufiethecat@ps3:~$ 

Do i need to sudo mkdir ect ect to rid the start up message??? And let ps3 know it has a home ... Very Happy Will i have full functionality now? All seems to be fine.
Thanks Saner for your paitence and excellent explanations and welcoming attitude. This means alot to me!
Re: Linux 'L' plates [message #988 is a reply to message #987] Thu, 29 March 2012 16:32 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
"loufiethecat" seems to be logging in ok, and its got its directory in /home/ so you should have full functionality with that user.

I would try creating the /home/ps3 directory to see if you can get rid of the error, just to make it tidy.


Quote:

sudo mkdir /home/ps3/
sudo chown ps3 /home/ps3

icon10.gif  Re: Linux 'L' plates [message #992 is a reply to message #988] Thu, 29 March 2012 22:27 Go to previous messageGo to next message
Anonymous
Surprised I concur Very Happy

I believe in doing things right ... And with a smile!!! Very Happy Surprised Smile Twisted Evil Laughing Cool
Yes yes good good
ABRAHADABRA
93 93/93...

Now I wish to cast a magick spell and make files disapear from a PC and,
wullah!... Appear on my usb external connected to my ps3 with out swapping the drive!
TADAAH!

So how do i go about basic ftp setup/config and copy files over the network? I have ps3netserver gui, what's needed on the ps3 end and how do i get things started also I'd like to understand a console command line or script to do this... When saving files Is there a rule? or considerations to be made, Such as in the Game OS file tree?
Email server's??? Any info spat out will be lapped up.
I know I know ... Shocked
"Man, you are so green!"
but seeing as I've got this far with only the ps3 to learn the Linux on... I'm quite chuffed Cool ! Any everyday PC tasks in code and an expanation of what and why such as Saners awesome messages above will be utilised emensly and passed on to other Linux noobs with Love and Energy. Surprised
LINUX: QUANTUM MAGICK Twisted Evil
Re: Linux 'L' plates [message #993 is a reply to message #992] Fri, 30 March 2012 08:37 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
you may be better off looking at debian forums for guides, as its pretty much the same all over.

I dont use the GUI so I cant remember the exact name, but you have somewhere (System) "Software Package Manager" and from that you can install stuff like FTP servers and what not easily.

from the command line you can type

sudo apt-get install vsftpd


let that finish then

sudo nano /etc/vsftpd

in that file change


anonymous_enable=YES to anonymous_enable=NO



local_enable=NO to local_enable=YES

write_enable=NO to write_enable=YES


press CTRL + X, press Y, Press Enter


Then

sudo service vsftpd restart


and you will have a FTP server installed and working, allowing users to login.

I only have a limited experience with mail servers, so I doubt I will be much help there. It is debian though so as a general rule most things will have debian guides and PPC versions.
Re: Linux 'L' plates [message #995 is a reply to message #993] Fri, 30 March 2012 12:07 Go to previous messageGo to next message
Anonymous
Again amazing help....!!!!! Cheers
Re: Linux 'L' plates [message #1004 is a reply to message #993] Sun, 01 April 2012 01:07 Go to previous messageGo to next message
Anonymous
Linux Red Ribbon RC5. Cool
My keyboard layout is screwed up, i think its producing a russian layout. Laughing How do I change keyboard layouts in the terminal? Sad
Also where would i find the original wallpaper that comes with distro on my hdd?
I changed it to a peronal photo and when i went back to change it again it was not available in drop down box or recents. Rolling Eyes
Re: Linux 'L' plates [message #1006 is a reply to message #1004] Sun, 01 April 2012 09:09 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
to fix the keyboard try

sudo dpkg-reconfigure keyboard-configuration

or

sudo dpkg-reconfigure console-data




Sont know about the dekstop stuff sorry Sad
Re: Linux 'L' plates [message #1048 is a reply to message #1006] Wed, 11 April 2012 13:26 Go to previous messageGo to next message
Anonymous
Does anyone know if Red Ribbon is capable of running the debian cell miner and its required dependencies?
Re: Linux 'L' plates [message #1049 is a reply to message #1048] Wed, 11 April 2012 14:16 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
Yeah it will work, you will have to manually grab

"libspe2-2_2.2.80-95-1_powerpc.deb" and "libspe2-dev_2.2.80-95-1_powerpc.deb" from somewhere ( i found them via google) and then

sudo dpkg -i *.deb

to install them, for some reason debian pulled them from the official repo.

you will only get around 23 Mhas / S though
Re: Linux 'L' plates [message #1055 is a reply to message #1049] Wed, 11 April 2012 22:29 Go to previous messageGo to next message
Anonymous
Don't care... Basically its to educate others on the principle of mining plus also do some research on cell exploitation. I've recently read some interesting articles that the cell isn't being used to optimum due to lazy programing... Apparently the programing/software needs to be more simpler and linear i.e. instead of looping a repetitive instruction set, just write 1 instruction set that ends with same outcome, creativity and logical thinking are a must, and there are ways of making the cell and the RSX work in tandem to move unprecedented amounts of information at unrivaled speeds to current GPU hauls. The vector calculations possible by both chips together working at maximum capacity actually speeds up and is more stable the harder/faster it is pushed. Google 'Brute force attacks, password cracking' ect. It has something to do with not letting the cell read GDDR memory but rather pipe it thru the rsx to read and then write back to the cell. Again new creative code specifically designed to exploit both chips working together with thier specialised architecture (spu, spe ppe) being utilised to full capacity needs to be researched and written. I have no idea of programing ...yet. So take it all with a grain of salt and research these avenues I have most likely completely misunderstood... You might just
'make sony believe'
Re: Linux 'L' plates [message #1058 is a reply to message #1049] Thu, 12 April 2012 17:57 Go to previous messageGo to next message
Anonymous
The cellminer download is gone!!! Can any one help me with a copy of the auto installer script .sh .... Please!!!!
Re: Linux 'L' plates [message #1068 is a reply to message #1058] Fri, 13 April 2012 08:00 Go to previous messageGo to next message
Saner is currently offline  Saner
Messages: 28
Registered: March 2012
Location: United Kingdom
Gitbrew Noob
sudo apt-get update
sudo apt-get install git
git clone git://github.com/verement/cellminer.git
sudo apt-get install make gcc binutils-spu ruby1.9.1-dev gcc-spu binutils ruby1.9.1
sudo dpkg -i *.deb (for those two .deb files I mentioned earlier)
sudo gem1.9.1 install net-http-persistent
cd cellminer
make


(or something like that)
Re: Linux 'L' plates [message #1072 is a reply to message #1068] Sat, 14 April 2012 08:23 Go to previous messageGo to next message
Anonymous
After your spot on advice in another thread I formatted the ps3dd partitions and finished a fresh start re-install of everything CFW OOS++ and Red Ribbon Linux without any hicupps, remapped the keyboard, and added a second user.
coverted to a a root console
I wget the debian libs-2 and libs2-dev dependencies and apt-get the cellminer git, updated the OS and related dependencies step by step as above. dpkg'd and installed.
all good.
# cd to cellminer\
fine
# make
tried to build with make but errored out immeadiately saying missing libary dependency possibly or configuration must be set??? I believe maybe it was a spu hiccup... I atttempted to mount the spu before as instructed but it too bitched and moaned in error. What is the JSON-RPC settings all about how do I configure this?
how do i set this shabang up?/ Mad
Re: Linux 'L' plates [message #1089 is a reply to message #1055] Mon, 16 April 2012 16:01 Go to previous messageGo to next message
masterzorag is currently offline  masterzorag
Messages: 99
Registered: August 2011
Location: maiworld
Gitbrew Member
Fr Shan Tao wrote on Wed, 11 April 2012 22:29
Google 'Brute force attacks, password cracking' ect. It has something to do with not letting the cell read GDDR memory but rather pipe it thru the rsx to read and then write back to the cell. Again new creative code specifically designed to exploit both chips working together with thier specialised architecture (spu, spe ppe) being utilised to full capacity needs to be researched and written.

I'm doing pairwise master keys with OpenCL, you know pyrit?
My program computes 5565 pmk/s, it should be faster than some new Intel I-series doing this job!
If you want exploit some power, OpenCL is the key...
icon14.gif  Re: Linux 'L' plates [message #1090 is a reply to message #1089] Mon, 16 April 2012 19:22 Go to previous messageGo to next message
Anonymous
So its true??? Masterzorag.... I am just a spec of dust on a beach full of sand, no skill or idea where to start... I came in real late to relizing the beauty and magic of 'code'. I'm 34 and all GUI after sticking to windows. After Bactracking to Linux, I realised I am home but completely lost in which direction I should go and after toying with and putting on my PS3 pretty Red Ribbon.... Razz I have a book of 300 bAsh commands I intend to consume, but where to then? OpenCL... Hmmmmm I think I need some rudimentary Nmenomic download into my brain to catch up... Sounds like you guys grew up witha dovorak keyboard in your mouth at birth. I'm positively jealous and bewildered... Laughing
Re: Linux 'L' plates [message #1091 is a reply to message #1090] Mon, 16 April 2012 19:42 Go to previous message
Anonymous
Sounds amazing though... And I'm into my trawling of tangents on tangents till I find my resting place. I wish i knew where to start....
Previous Topic: Reboot from Linux no return to Petitboot
Next Topic: Compiler Kernel 3.2.1 - loader ubuntu usb
Goto Forum:
  


Current Time: Thu Jun 20 02:01:16 CEST 2013

Total time taken to generate the page: 0.02460 seconds