forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Finding the MAC address

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
Greenwing



Joined: 13 Oct 2009
Posts: 3

PostPosted: Tue Oct 13, 2009 10:58 am    Post subject: Finding the MAC address Reply with quote

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
View user's profile Send private message
Mega Man



Joined: 18 Jun 2005
Posts: 274

PostPosted: Sat Oct 17, 2009 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Greenwing



Joined: 13 Oct 2009
Posts: 3

PostPosted: Sun Oct 18, 2009 7:57 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group