Finding the MAC address
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.
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.
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.