Xlink and PS2Link problems

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Xlink and PS2Link problems

Post by ghostboy78 »

If this post is bad or isnt in the rite forum please tell me now i dont wanna look like an idiot.

Im confused on how im supposed to run/test .ELFs on my PS2

first i run PS2Link v1.46 on my ps2.

then i run Xlink on my computer and it doesnt recognize my ps2. Inlink doesnt work either, please help me.
:D
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

I've put ps2client binary into the gsKit starter kit.
You can use it as command line in cygwin (see makefile for syntax)
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

have you configured your IP gateway and mask in the dat files
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

im not sure what you mean by configureing the .dat files.

Ill be a little more clear with what i did.

1. Run Xlink (Beta_1) on pc
2. Start PS2Link v1.46 on ps2

When i start PS2Link on my ps2 i get the following output on my tv.

Welcome to ps2link v1.46
Booting from cdrom (cdrom0:\SLES_000.00:1)
Using chached config
Intializing...
Net config: 192.168.0.10 10.0.0.2 192.168.0.1
Ready

As soon as ready hits the screen my disk stops, i think this is normal. now i get the following output from Xlink as soon as ps2link is loaded.

tty mounted
host: mounted
IOP cmd thread started
Naplink thread started
loadbuffer: id 31, ret 0
loadmodule: fname rom0:CLEARSPU args 0 arg
clearspu: completed
loadmodule: id 32, ret 1
read/write allocate memory 4000

What does any of this mean, im still not connected.
:D
ubergeek42
Posts: 83
Joined: Wed Jul 13, 2005 12:25 am

Post by ubergeek42 »

It means you are connected.
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

ubergeek42 wrote:It means you are connected.
no, if i was connected then Xlink would say online or connected or whatever it says besides offline....
:D
ubergeek42
Posts: 83
Joined: Wed Jul 13, 2005 12:25 am

Post by ubergeek42 »

I don't use Xlink or inlink or those programs, just plain ps2client for me, but if you are seeing that then there exists a working connection between your ps2 and your pc.
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

ubergeek42 wrote:I don't use Xlink or inlink or those programs, just plain ps2client for me, but if you are seeing that then there exists a working connection between your ps2 and your pc.
:D
dlanor
Posts: 258
Joined: Thu Oct 28, 2004 6:28 pm
Location: Stockholm, Sweden

Post by dlanor »

ubergeek42 wrote:I don't use Xlink or inlink or those programs, just plain ps2client for me, but if you are seeing that then there exists a working connection between your ps2 and your pc.
Yes, you're absolutely right. And for those who don't see this, here's a simple explanation:

Without a working connection of some kind there is no way for the PC-side program (whether that's Xlink or Inlink or whatever) to have any idea of what is happening on the PS2 side.

So any feedback at all about PS2 activity, given by the PC-side program, does mean that the connection has to be working.
(or else the program is just hallucinating... :) :) :) )

Best regards: dlanor
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

dlanor wrote:
ubergeek42 wrote:I don't use Xlink or inlink or those programs, just plain ps2client for me, but if you are seeing that then there exists a working connection between your ps2 and your pc.
Yes, you're absolutely right. And for those who don't see this, here's a simple explanation:

Without a working connection of some kind there is no way for the PC-side program (whether that's Xlink or Inlink or whatever) to have any idea of what is happening on the PS2 side.

So any feedback at all about PS2 activity, given by the PC-side program, does mean that the connection has to be working.
(or else the program is just hallucinating... :) :) :) )

Best regards: dlanor
ps2client 3.0 doesn't seem to work either. i have no idea what i am doing wrong. is there a special way this is supposed to be set up?
:D
ubergeek42
Posts: 83
Joined: Wed Jul 13, 2005 12:25 am

Post by ubergeek42 »

How are you using ps2client?
From the command line if you are in the folder containing the elf you want to run you would type something like:
ps2client -h 192.168.0.10 execee host:/elfname.elf
And the program would be loaded and executed on the ps2.
ghostboy78
Posts: 22
Joined: Mon Jul 24, 2006 1:11 pm

Post by ghostboy78 »

ubergeek42 wrote:How are you using ps2client?
From the command line if you are in the folder containing the elf you want to run you would type something like:
ps2client -h 192.168.0.10 execee host:/elfname.elf
And the program would be loaded and executed on the ps2.
im using it the way you say im supposed to. still nothing on the tv. or output from the command line.
:D
ubergeek42
Posts: 83
Joined: Wed Jul 13, 2005 12:25 am

Post by ubergeek42 »

Maybe you have some weird firewall settings that allow the program to only recieve data, and block all sending of data? Thats about all I can think of though, since it shows you output from the ps2 in xlink.
ps2devman
Posts: 259
Joined: Mon Oct 09, 2006 3:56 pm

Post by ps2devman »

Be sure to have your PC ip adress set at 192.168.0.n
(usually n=1, since turning XP into a getway server -ICS:Internet Connection Sharing- forces it to get this address anyway)

If masks are 255.255.255.0 that means machines that can see each other on ethernet must share the same first three numbers
gotokennedy
Posts: 1
Joined: Fri Mar 23, 2007 3:45 am

Post by gotokennedy »

I realize this is an old topic but I had the same problem. After searching the web for a fix I realized the simple solution.

What I did was I opened ipconfig.dat in my ps2link files (with notepad) and I manually changed the default ip address to my ps2's ip address. I found the ps2's IP address in my routers DHCP Client List. So it went from looking like this:

192.168.0.10 255.0.0.0 192.168.0.1# EXTRACNF = mc0:extra.cnf;

to

10.57.57.3 255.0.0.0 10.57.57.1# EXTRACNF = mc0:extra.cnf;

When I reloaded the ELF file in the ps2, My Xlink went online.
snoop0820
Posts: 2
Joined: Sat Nov 24, 2007 2:09 am

Post by snoop0820 »

gotokennedy wrote:I realize this is an old topic but I had the same problem. After searching the web for a fix I realized the simple solution.

What I did was I opened ipconfig.dat in my ps2link files (with notepad) and I manually changed the default ip address to my ps2's ip address. I found the ps2's IP address in my routers DHCP Client List. So it went from looking like this:

192.168.0.10 255.0.0.0 192.168.0.1# EXTRACNF = mc0:extra.cnf;

to

10.57.57.3 255.0.0.0 10.57.57.1# EXTRACNF = mc0:extra.cnf;

When I reloaded the ELF file in the ps2, My Xlink went online.
How did you find the DHCP Client List?
snoop0820
Posts: 2
Joined: Sat Nov 24, 2007 2:09 am

Post by snoop0820 »

never mind I got it now thx anyway
Post Reply