02-28-2005,05:50 PM
1st case: search for "192.168.0.10" (that is the default IP address) and replace it with something else. C-style strings are zero-terminated, and maximum length of v4 IP address is 15 characters, so any valid IP address should work just fine. In my copy the offset is 0x6780. Below it (considering 16-bytes column) is networking mask and the last is the default gateway (which is irrelevant, IMHO).
The 2nd approach: create an empty text file and name it IPCONFIG.DAT. Open it with notepad and enter desired IP address, space, networking mask, space and default gateway. Text file is one line only and addresses are separated by a single space. Save the file and copy it to mc0:/SYS-CONF/IPCONFIG.DAT (uppercase is important). If you decide to use ps2link + ps2client plug-in the memory card and use the following steps:
1) open a command prompt and navigate to the directory, where ps2netfs.irx is; execute the following (replace IP with the address of the Playstation 2 console; ps2link should be running there!):
Code:
ps2client -h IP execiop host:ps2netfs.irx
wait for few seconds and when no more new messages appear, use Ctrl+C
2) navigate to the directory, where IPCONFIG.DAT is and issue the following commands:
Code:
ps2client -h IP mkdir mc0:SYS-CONF
ps2client -h IP copyto IPCONFIG.DAT mc0:/SYS-CONF/IPCONFIG.DAT
that's all I think.
You might use an ftp-server to transfer the file, but I cannot help you there.
Good luck.
"Only those who try will become." -- Kimahri Ronso