Mac OS X : How to Set the MAC Address During Startup
FollowFollow reviews
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.
BeginBegin reviews
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 ControlControl reviews
-O), press ReturnReturn reviews
, 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. SaveSave reviews
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-
1. Install OSX
2. open terminal
3. type:
sudo su <enter>
4. enter password <enter>
5. type:
cd /SystemSystem reviews
/Library/Extensions/AppleAC97Audio.kext/Contents/PlugIns/ <enter>
6. type:
nano AppleAC97AudioIntelICH.kext/Contents/Info.plist <enter>
7. look for a part of the file where:
<key>ICH6 AC97 Audio</key>
{
<KeyKey reviews
>IOProbeScore</key>
<string>0x266e8086</string>
}
8. and change <string>0×266e8086</string> into <string>0×27de8086 0×266e8086</string> (thus add 0×27de8086 to the line)
9. type: <ctrl>-x to exit and say yes when it asks you to save the change
10. after exit back to prompt type:
kextload AppleAC97AudioIntelICH.kext <enter>
you should get somthing like
kextload: AppleAC97AudioIntelICH.kext loaded successfully
11. check for the sound it should work now…
12. back to the terminal prompt type:
rm /System/Library/Extensions.kextcache <enter>
13. type:
kextcache -k /System/Library/Extensions <enter>
14. reboot!!!
15. enjoy the sound
(sound is fully operational, inputs/outputs/mic in the front and the back are working)
Update by B
The update posted by Mc works perfectly! One minor point though, the following lines:
<Key>IOProbeScore</key> <string>0x266e8086</string>
do not have to be in this order. Since the only thing to be edited is <string>0×266e8086</string> just search for this string in the <key>ICH6 AC97 Audio</key> section.
To get on-board ethernet working
HeadHead reviews
to this post to get the .kext – http://forum.insanelymac.com/index.php?s=&showtopic=4987&view=findpost&p=129533
Instructions:
@Gellius31: try the following instructions
1. unpack AppleBCM5751Ethernet.kext.zip
2. move AppleBCM5751Ethernet.kext to /SystemSystem reviews
/Library/Extensions/
3. open TerminalTerminal reviews![]()
4. sudo -s
5. chown -R root:wheel /System/Library/Extensions/
6. cd /System/Library/Extensions/
7. chmod -R 755 AppleBCM5751Ethernet.kext
8. reboot
9. You will have MAC address of 00:00:00:00:00:00. Boot with ubuntu live cd, get MAC address of your NIC using ifconfig utility at terminal. Write it down.
10. RebootReboot reviews
to OS X, open terminal and set your MAC address manually:
sudo -s
Note: ethernet must be disconnected before trying the following command
ifconfig en0 ether <your mac address here>
NetworkNetwork reviews
should now be working!
I came across this on a forum somewhere to get the network adapter working with MacOSX86 on a DELL GX620
You can download the patched "AppleBCM5701Ethernet". HERE
And the SETMAC utility HERE
For people who have DELL GX520/620/SC430 which uses BCM5751 as onboard NIC.
Here is patched "AppleBCM5701Ethernet". This works on 10.4.5/10.4.6. Should be fine on 10.4.7, too.
You can open TerminalTerminal reviews
. Then…
(inside brackets is explanations)
—Part1PART1 reviews
—
sudo -s
(type password)
cd /SystemSystem reviews
/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/
cd AppleBCM5701Ethernet.kext/Contents/MacOS
cp AppleBCM5701Ethernet AppleBCM5701Ethernet.org
(backup original file)
rm AppleBCM5701Ethernet
cp (patched AppleBCM5701Ethernet) ./
ls -l
(you can see owner/group/permission)
(set AppleBCM5701Ethernet as same as AppleBCM5701Ethernet.org)
—Part2PART2 reviews
—
cd ..
(go to upper directory)
vi Info.plist
(edit Info.plist)
go to
"<string>pci14e4,16a6</string>"
then change into
"<string>pci14e4,1677</string>"
:wq
(save and quit)
—Part3PART3 reviews
—
(clean cache)
cd ../..
kextload AppleBCM5701Ethernet
(…successfully… NIC is working now)
rm /System/Library/Extensions.kextcache
kextcache -k /System/Library/Extensions
reboot
===done==
Patched AppleBCM5701Ethernet could not load proper MAC address.
So MAC address is now 00:00:00:00:00:00.
This not good reputation.
So you can now assign real MAC address from Terminal…
—
sudo -s
ifconfig en0 ether 00:13:72:xx:xx:xx
(replace xx as yours)
===done===
But you don’t like type same command all the time whenever you turn on DELL.
Download "SetMAC" and modify setmac as your MAC address.
Then change owner/group as SYSTEM/WheelWheel reviews
.
chmod 755 SetMAC folder and its contents.
copy SetMAC folder into /System/Library/StartupItems
===done===
reboot your DELL and type ifconfig after boot from Terminal and if you can see ether 00:13:72:xx:xx:xx instead of 00:00:00:00:00:00, you won.
If you are having problems getting osx86 to boot (flashing cursor then please follow these instructions)
Worked fine for me
1) Boot into the Installer DVD
2) Go to Utilities in the Menu Bar (thats the one at the top)
3) ClickClick reviews
on TerminalTerminal reviews
4) Type ‘/usr/misc/script.sh VOLNAME’ where VOLNAME is what you named the partition that leopard resides on to during the formatting of the disk. Ex. LEOPARD, OSX, or MAC
5) Type ‘reboot’
6) CrossCross reviews
you fingers and hope boots
7) If it doesn’t look around for some hardware incompatibility
HopeHope reviews
this helped some people and this MUST BE DONE if using ToH DVD to format drive
FirefoxFirefox
3 Beta 5 is available in 45 languages as a public preview release intended for developer testing and community feedback. It includes new features as well as dramatic improvements to performance, memory usage and speed.
You can download it from here (7mb file)
I have not yet installed this but i am about to, i will update this post ASAP
“UPDATED”
After trying out Firefox 3 BETA 5 I have decided that I like it alot more than Firefox 2!
I have included a screenshot of the new view, toolbars, plus the page that tells you what new features it has!
Firefox in my eyes pisses all over Microsoft Internet Explorer.