View previous topic :: View next topic |
Author |
Message |
Greenwing
Joined: 13 Oct 2009 Posts: 3
|
Posted: Tue Oct 13, 2009 10:58 am Post subject: Finding the MAC address |
|
|
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. |
|
Back to top |
|
|
Mega Man
Joined: 18 Jun 2005 Posts: 274
|
Posted: Sat Oct 17, 2009 7:07 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
Greenwing
Joined: 13 Oct 2009 Posts: 3
|
Posted: Sun Oct 18, 2009 7:57 am Post subject: |
|
|
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, |
|
Back to top |
|
|
|