Jump to content

Having problems editing the Info.plist in the terminal


Pinkfish
 Share

3 posts in this topic

Recommended Posts

First, I wanted to make my Marvel Yukon Ethernet Card work. I wanted to use this method :

 

To make your network card work, you need to add the device ID to your AppleYukon.kext. My Yukon ID is 88E8056 so if you have a different ID just make the adjustment.

 

Ok, first browse through your directory and make sure you have the same path as this:

 

/System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleYukon.kext/Contents/Info.plist

 

There may be some slight difference so check first and make the necessary change if needed.

 

Now open Terminal and type the following (texts after the arrow are comments):

 

cd /System/Library/Extensions <– changes directory

 

sudo nano IONetworkingFamily.kext/Contents/PlugIns/AppleYukon.kext/Contents/Info.plist <– edits file

 

(find and change: Yukon-88E8053)

(to: Yukon-88E8056) <– change "53″ to "56″

 

(find and change: Yukon Gigabit Adapter 88E8053)

(to: Yukon Gigabit Adapter 88E8056) <– change "53″ to "56″

 

(find and change: 0×436211AB)

(to: 0×436411AB) <– change "62″ to "64″

 

(press Control-O) <– saves changes

(press Y and Enter) <– accepts saving to existing file

(press Control-X) <– exits nano

 

sudo chown -R root:wheel IONetworkingFamily.kext <– repairs permissions

cd /System/Library <– changes directories

sudo rm -rf Extensions.mkext Extensions.kextcache <– rebuilds kextcache on reboot

 

Here's what I get when I try to do it :

 

Last login: Wed Mar 5 02:00:41 on console

 

stephanye-carriers-vgn-c140qg:~ Stephanye$ cd /System/Library/Extensions

 

stephanye-carriers-vgn-c140qg:Extensions Stephanye$ sudo nano IONetworkingFamily.kext/Contents/PlugIns/AppleYukon.kext/Contents/Info.plist

 

 

 

WARNING: Improper use of the sudo command could lead to data loss

 

or the deletion of important system files. Please double-check your

 

typing when using sudo. Type "man sudo" for more information.

 

 

 

To proceed, enter your password, or type Ctrl-C to abort.

 

 

 

Password:

 

stephanye-carriers-vgn-c140qg:Extensions Stephanye$

 

Nothing happens. I also tried with "AppleYukon2.kext" but the result is the same.

So.... I tried to do it from the Finder...

I went to : Hard Drive/System/ Library/Extensions/IONetworkingFamily.kext/Contents/AppleYukon2.kext

Right-Click on Contents > Get info.

At the bottom of the Info window, there is a small lock. Clicked on it. A window poped up asking you to authenticate, authenticated.

Now back to the Info window.

In the Permissions list, under "Privilege" column, I have set everything there to "Read & Write"

Did the same thing with Info.plist

Then I edited a saved the Info.plist file.

I set back the permissions to what they were before.

 

When I rebooted, a message told me :

 

The system extension "/System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleYukon2.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update.

 

and yes I did try to repair the permissions as said above but nothing happens and it does not seem to work anyway.

Help? =(

Link to comment
Share on other sites

Hi

 

I'm lazy, so I don't use vi. I use TextEdit instead.

 

1. find the Info.plist with Finder, copy it to the desktop

2. Double click the file to open in TextEdit and modify + save (still file on desktop)

3. backup original file to some nice folder you can remember

4. copy the file from the desktop to the right place, with Finder

5. Finder asks for authentication, so authenticate

6. In terminal do #sudo chown -R root:wheel "name of .kext"

7. In terminal do #sudo chmod -R 755 "name of .kext"

8. In terminal do #sudo diskutil repairPermissions /"

 

reboot

 

This usually works for me.

Link to comment
Share on other sites

  • 2 weeks later...
 Share

×
×
  • Create New...