Jump to content
3 posts in this topic

Recommended Posts

I instaled the kalyway 10.5.1, and the "sudo ifconfig enX lladdr" not chage the mac address.

To fix it, put the AppleYukon.kext from IONetworkingfamily from a 10.4.8 dvd and put in the your IONetworkingFamily.kext ->plugins. Remove the "AppleYukon2.kext" and reboot the system with -v -f

 

I have a P5W DH Deluxe and it works.

 

AppleYukon.zip

  • 1 month later...

I followed all your instructions but I can´t change the mac address.. :(

 

I have an hp/compaq 6710b laptop and a belkin v4 wireless card (Zydas chipset)

 

I installed Leopard with ToH 10.5 and got the 10.5.2 update with Kalyway update pack

 

I installed this kernel: 9.1 Speedstep Kernel that got from here

http://forum.insanelymac.com/index.php?sho...mp;#entry627517

Mac OS X : How to Set the MAc Address During Startup

 

Follow these steps to create a script that sets the MAC Address each time the computer restarts:

 

1. Open Terminal (/Applications/Utilities/).

2. Type: cd /Library

3. Press Return.

4. Type: mkdir StartupItems

5. Press Return. (If you encounter an error, continue to step 6.)

6. Type: cd StartupItems

7. Press Return.

8. Type: mkdir MACADD

9. Press Return.

10. Type: cd MACADD

11. Press Return.

12. Type: pico MACADD

13. Press Return.

14. In the pico editor, paste in the following text.

 

Begin copying below this line.

--------------------------------------------------------------------------------

 

#!/bin/sh

 

. /etc/rc.common

 

##

# Configure a network interface MAC Address setting

##

#

# This script will set the MAC Address setting for the specified interface(s)

#

# The name of the interface (ex. en0) must be edited to match the interface

# to which the MACADD setting should be applied

#

##

 

StartService ()

{

ConsoleMessage "Configuring MACADD"

 

### uncomment lines and change the value following 'MACADD' as appropriate mac address

 

if [ "${MACADD:=-NO-}" = "-YES-" ]; then

 

# /sbin/ifconfig en0 lladdr xx:xx:xx:xx:xx:xx

# /sbin/ifconfig en1 lladdr xx:xx:xx:xx:xx:xx

 

fi

 

}

 

StopService ()

{

return 0

}

 

RestartService ()

{

return 0

}

 

RunService "$1"

 

--------------------------------------------------------------------------------

 

End copying above this line.

 

15. Uncomment the /sbin/ifconfig line(s) to set the MACADD for a particular interface.

 

 

Note: Removing the number sign (#) from the beginning of a line uncomments it. Typically, en0 is the interface name for the Built-in Ethernet port and en1 is interface name for the AirPort Card. This is not always the case, though. To confirm that a network port is associated with a particular interface name, open the Network Utility (/Applications/Utilities/), and click the Info tab.

 

 

16. When you have finished customizing the file, save it (press Control-O), press Return, and exit pico (press Control-X).

 

17. Type: chmod 755 MACADD

 

18. Press Return.

 

19. Type: pico StartupParameters.plist

 

20. Press Return.

 

21. In the pico editor paste in the following text.

 

 

Begin copying below this line.

 

 

--------------------------------------------------------------------------------

 

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>Description</key>

<string>Can set MACADD</string>

<key>OrderPreference</key>

<string>None</string>

<key>Provides</key>

<array>

<string>MACADD</string>

</array>

<key>Requires</key>

<array>

<string>Network Configuration</string>

</array>

</dict>

</plist>

 

--------------------------------------------------------------------------------

 

End copying above this line.

 

22. When you have finished customizing the file, save it (Control-O), press Return, and exit pico (Control-X).

23. Type: chmod 755 StartupParameters.plist

24. Press Return.

25. Type: sudo pico /etc/hostconfig

26. When prompted, enter your password.

27. Press Return.

28. In the pico editor, add this line at the bottom:

 

MACADD=-YES-

 

29. Save it (Control-O), press Return, and exit pico (Control-X).

 

When you restart the computer, MACADD is set for the interface that you specified.

 

Notes

 

 

1. The MACADD will be reset after changing a Location, waking the computer from sleep, or changing the state of the network interface. To use the script again without having to restart, enter the following command:

 

sudo SystemStarter start MACADD

 

2. If you experience any issues or wish to not set MACADD during startup, you can turn off the new script by changing the MACADD line in /etc/hostconfig to:

 

MACADD=-NO-

×
×
  • Create New...