Page 1 of 1

Finding the MAC address

Posted: Tue Oct 13, 2009 10:58 am
by Greenwing
Greetings, I have a problem I'm hoping somebody will be kind enough to help me out with. I'm trying to read the MAC address of the PlayStation, to generate a persistent unique key. I've found the dev9 IOP function "dev9GetEEPROM" which seems to do what I'm looking for, but I'm unsure how to call this IOP function from code running on the EE.

Posted: Sat Oct 17, 2009 7:07 pm
by Mega Man
This is only available if the HDD adapter is connected or if the program is running on slim PSTwo.
I didn't test it, but the function ps2ip_getconfig() seems to read it if you loaded the network modules. There is the attribute hw_addr in the second parameter. I think the netif_name is "sm0" or "sm1". You need to try it.

Posted: Sun Oct 18, 2009 7:57 am
by Greenwing
That is, indeed, the answer, or at least it gets me the MAC address, which is all I really need to solve at this point.

Thanks,