Jump to content

Lan IOMACAddress to IOPlatformUUID String


  • Please log in to reply
31 replies to this topic

#21
Konami®

Konami®

    InsanelyMac Legend

  • Donators
  • 956 posts
  • Gender:Male
  • Location:Pennsylvania
Thanks a lot Arial!

Tested, working like a charm! :star_smile:

#22
max22

max22

    InsanelyMac Protégé

  • Members
  • PipPip
  • 89 posts

I get this error!



By the way I have a Apple usb ethernet Adapter!

same here, is there a fix?

#23
donkey

donkey

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 202 posts
  • Gender:Male
  • Location:USA
Thanks for this util.

I'm not using UUID, or PlatformUUID kext. I am however using chameleon 2 rc3 in conjunction with a smbios.plist. I added the lan to uuid string in the SMUUID field. Originally, the SMUUID string was the UUID for my boot partition. I also see another UUID option which looks generic in smbios.plist "SMBoarduuid"

So the question is, can I add the lan to uuid generated string in smbios.plist or do I have to use uuid/platformuuid.kext?

Last but not least, I was checking my logs, and I saw the following in the Console>asl.log:
2009-10-17 15:23:50.446 socketfilterhelper[41:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
2009-10-17 15:23:50.679 socketfilterfw[135:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35

Any suggestions or help is welcome. thank you!

#24
BarboneNet

BarboneNet

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,414 posts
  • Gender:Male
  • Location:Italy - Parma

I get this error!



By the way I have a Apple usb ethernet Adapter!

i have the same error, the same code, and the same Apple USB Adapter!

#25
donkey

donkey

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 202 posts
  • Gender:Male
  • Location:USA

Thanks for this util.

I'm not using UUID, or PlatformUUID kext. I am however using chameleon 2 rc3 in conjunction with a smbios.plist. I added the lan to uuid string in the SMUUID field. Originally, the SMUUID string was the UUID for my boot partition. I also see another UUID option which looks generic in smbios.plist "SMBoarduuid"

So the question is, can I add the lan to uuid generated string in smbios.plist or do I have to use uuid/platformuuid.kext?

Last but not least, I was checking my logs, and I saw the following in the Console>asl.log:

2009-10-17 15:23:50.446 socketfilterhelper[41:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
2009-10-17 15:23:50.679 socketfilterfw[135:107] _CFGetHostUUIDString: unable to determine UUID for host. Error: 35

Any suggestions or help is welcome. thank you!


First, thanks for this util, it helped to fix the errors... :D

Figured it out...
This will also show up in alf.log and system.log:
Oct 21 12:38:38 localhost bootlog[39]: BOOT_TIME: 1256153908 0
Oct 21 12:38:29 localhost com.apple.launchd[1]: *** launchd[1] has started up. ***
Oct 21 12:38:51 localhost BBDaemon[44]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost configd[15]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost diskarbitrationd[14]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost securityd[24]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost DirectoryService[36]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost coreservicesd[52]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35
Oct 21 12:38:54 localhost mDNSResponder[27]: mDNSResponder mDNSResponder-212.1 (Jul 24 2009 22:34:12) starting
Oct 21 12:38:54 localhost mDNSResponder[27]: _CFGetHostUUIDString: unable to determine UUID for host. Error: 35

How to fix it?
1) Download the two files, the one by the developer here and UUID.kext
2) Run MacToPlatformUUID, copy the UUID
2) Right click on UUID.kext, open info.plist
3) Paste the copied UUID into XXXX... area
4) Place UUID.kext in /Extra/Extensions/
5) Repair Permissions

Done.

#26
talisman

talisman

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 380 posts

for anyone who need real IOPlatformUUID string
i just created smoll app does this for you, using your IOMacAddress ( if present )


The string that your app generates is different from the UUID of the boot device. Apologies for my ignorance, but

a. Should it be so?
b. Why would one prefer this UUID over the boot device UUID or are they equivalent.
c. If I use a kext to inject the UUID, how is it different from using the smbios.plist to inject it?
d. In Leopard, the UUID contained the macid for the ethernet, is it necessary to do the same in SL and, if so, how can it be done

Thank you in advance.

#27
tdtran1025

tdtran1025

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 351 posts

for anyone who need real IOPlatformUUID string
i just created smoll app does this for you, using your IOMacAddress ( if present )
just copy PlatformUUID and paste ( you know where )

have a fun.

ps: there is no "license" for this app means you are allowed to sell , re-package , distribute, claim that you wrote it - anything you like

np_



update ( forget to remove a test inside, sorry now is ok )


Like a couple of posts here, I get IOMacAddress Error. Does anybody have an idea why?

#28
digital_dreamer

digital_dreamer

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,074 posts
  • Gender:Male
  • Location:Missouri USA
I get the error here, as well.

The string that your app generates is different from the UUID of the boot device. Apologies for my ignorance, but

a. Should it be so?
b. Why would one prefer this UUID over the boot device UUID or are they equivalent.
c. If I use a kext to inject the UUID, how is it different from using the smbios.plist to inject it?
d. In Leopard, the UUID contained the macid for the ethernet, is it necessary to do the same in SL and, if so, how can it be done

Thank you in advance.

The UUID of the boot device is simply used to identify the boot device (i.e. identify the boot volume on a EFI boot system). The UUID mentioned in this thread is the platform or hardware UUID that's used to identify your 'Mac.' Software (i.e. iTunes) will use this to determine that it is running on the same hardware (Mac system). In this case, you certainly don't want to use the drive UUID, as running iTunes on another hard drive is not the problem - it's running it on another Mac.

So, yes, the two UUIDs are different and are used for different purposes. One for IDing the drive, the other for IDing the Mac itself.

As for using the kext, instead of the smbios.plist, most use the kext, because the smbios.plist is not working for them. In my case, having the UUID in the smbios.plist does nothing. But, I do keep it in the smbios.plist as a reference to keep the injectors updated to the proper (same) UUID. Plus, I find it easier to see and edit in the smbios.plist than in the kexts.

regards,
MAJ

#29
XLR

XLR

    2cores1cpu.mov

  • Donators
  • 888 posts
  • Location:חולון

i have the same error, the same code, and the same Apple USB Adapter!

Same here, lol.

#30
max22

max22

    InsanelyMac Protégé

  • Members
  • PipPip
  • 89 posts
The GetMacAddress problem is also described here by semthex http://web.archive.o.../...ticle&id=22 (source: http://www.hackint0sh.org/f40/1091.htm and http://www.insanelym...p...t&p=366421)

I think it can be fixed by recompiling parts of IONetworkingfamily.kext.

But the kext already provided in the thread seem to be outdated and don't support the Apple Ethernet Adapter.

-> One should patch (means recompiling with Xcode) the IONetworkingfamily.kext according to semthex instructions to make Timemachine working again.
http://www.opensourc...ingFamily-47.3/

An alternative would be updating to Snow Leopard (Did anyone else have this problem?)

#31
Goron

Goron

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 338 posts
  • Gender:Male
  • Location:somewhere out there ...

This code apply to you perfect:

Name (BRN, Zero)        Name (GGL, One)        Method (N00B, 0, NotSerialized)        {            If (LNotEqual (BRN, Zero))            {                Return (GGL)            }            Else            {                Return (Zero)            }        }        Method (RTFM, 0, NotSerialized)        {            If (LGreater (BRN, Zero))            {                Return (One)            }            Else            {                Return (Zero)            }        }        Method (STFU, 0, NotSerialized)        {            If (LEqual (BRN, Zero))            {                Return (One)            }            Else            {                Return (Zero)            }        }

In case you still don't get what does that code:
BRN=brain
GGL=google

Lemme know if I have to explain the rest of the code...



Posted Image

#32
SleepingPanda

SleepingPanda

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Arima, Trinidad and Tobago
Is this possible to do without an ethernet card installed? I'm asking since it(the UUID) seems to be bound to eth0. My netbook, HP Mini 110-1000 CTO, doesn't currently have a working kext for the ethernet card which deems it unusable. However, I do have a working wireless card. Is it possible to do this with that instead? Also, I don't seem to have an smbios.plist, or a PlatformUUID.kext or a UUID.kext. I've tried just downloading and running the app and inserting the generated UUID into the PlatformUUID.kext provided by another poster in this topic, but after doing this, I met the swift embrace of a kernel panic.

Please understand that I'm new to all of this and spare me some of your patience. I'm not a complete imbecile, however, which affords me the rare ability to follow instructions!

Edit: SOLVED

I had to go to Library/Preferences/SystemConfiguration and delete all the network related plists including preferences.plist and reboot to set my wifi card as eth0. After doing that, I was able to simply follow your instructions. :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy