forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ps2link works partially

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
peskanov



Joined: 03 Mar 2005
Posts: 7
Location: Spain

PostPosted: Thu Mar 03, 2005 10:51 am    Post subject: ps2link works partially Reply with quote

Hi! I am starting with ps2dev, but I am having trouble with the ps2link.
It boots and shows the correct ip and mask I configured.
When I use ps2client, only the command "reset" seems to work correctly
Any attemp to exec an elf end with a "I can't execute ****" on the ps2 side.

The command "dir" returns (on the pc side):
[ ERROR] Connect socket failed. (-1)
[ ERROR] Connect to request failed. (-3)
[ ERROR] Connect to ps2netfs failed. (-1)

I have also tried ps2exec. Also fails...

I have the feeling that the ps2 can't pass the packets to the pc for some reason...but the other way (pc->ps2) it works, as the command "reset" shows!
I have checked the firewall, it seems ok.
I have also looked on previous threads here, but I don't see my problem anywhere.

Does this error sound usual to anybody? Any hint?
Back to top
View user's profile Send private message
Neil Stevens



Joined: 27 Jan 2005
Posts: 79
Location: California

PostPosted: Thu Mar 03, 2005 11:47 am    Post subject: Reply with quote

You have to tell it to load the netfs. It doesn't load that by default. You have execiop some stuff:

rom0:SIO2MAN
rom0:MCMAN

and then from the ps2sdk load

ps2fs.irx
ps2netfs.irx

Correct me if I'm wrong, ye who know better, but this is what worked for me.
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Thu Mar 03, 2005 12:21 pm    Post subject: Reply with quote

Are you forgetting to put 'host:' at the beginning of the file?

Example:

ps2client execee host:program.elf

Also, to use the 'advanced' features you have to load ps2netfs.irx.

Example:

ps2client execiop rom0:SIO2MAN
ps2client execiop rom0:MCMAN
ps2client execiop host:ps2netfs.irx


Use devlist to see which devices are available, then use dir to look at the files on that device.
Back to top
View user's profile Send private message Visit poster's website
peskanov



Joined: 03 Mar 2005
Posts: 7
Location: Spain

PostPosted: Thu Mar 03, 2005 8:51 pm    Post subject: Reply with quote

Yes, silly me, I missed the example that explained the "host:" device name.
Using host: I can send the elfs now, time to hit the metal :)

But the rom loading does not seem to work.

ps2client -h xx.xx.xx.xx execiop rom0:SIO2MAN

Both sides, PC and PS2 hang without showing signs of life. No error messages or anything...
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Thu Mar 03, 2005 8:58 pm    Post subject: Reply with quote

They do not hang. They are just waiting. ps2client won't return unless you break it by CTRL-C, or add a timeout option.
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
peskanov



Joined: 03 Mar 2005
Posts: 7
Location: Spain

PostPosted: Thu Mar 03, 2005 9:42 pm    Post subject: Reply with quote

Cool, everything works now.
Thanks to all!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group