- This topic has 2 replies, 2 voices, and was last updated 16 years, 5 months ago by
Greg Neagle.
-
AuthorPosts
-
October 28, 2008 at 6:11 pm #374577
christern
ParticipantHi
Have made google my best friend for some time but can’t find (mostly change location but not helped with that)
We want to create 3 network locations and let the automatic location just be there
1. static IP on en0 and only active port
2. dchp on en0 and only active port
3 dchp (en1)airport only active port
and put it on our image (if possible)
I think it can be done by applescript / automator, bash script and phyton….but my script skills is far from good so need a bit of help
After the image have been transferd to a new ibook we need to start it to make account (our account are made by create user script and we change password later) to the user, and some other things ( start page i Firefox, start / update / check so it works = MS Office2008) so if we have to start a script that makes this network location doen’t matterBest way do do it? Made the change to a computer (all the same model) and copy the locations and make a pkg of to tranfer to the instadmg image?
TIA
/ christer
October 29, 2008 at 3:52 pm #374590christern
ParticipantHi
I made all 3 network locations on a newly made ibook, copy the preferens plist file (/Library/Preferences/SystemConfiguration/preferences.plist) USB drive, made a pkg on my computer (use pakagemaker so I could fix same errors with owner and groups) and put in that pkg i my instadmg system (custompkg, #28 of 28). made a new image and 2 hours later , success, it works, we have 3 networks locations that we want/ christer
we have only ibooks, thats make things easer
October 29, 2008 at 4:02 pm #374591Greg Neagle
Participant[QUOTE][u]Quote by: christern[/u][p]Hi
I made all 3 network locations on a newly made ibook, copy the preferens plist file (/Library/Preferences/SystemConfiguration/preferences.plist) USB drive, made a pkg on my computer (use pakagemaker so I could fix same errors with owner and groups) and put in that pkg i my instadmg system (custompkg, #28 of 28). made a new image and 2 hours later , success, it works, we have 3 networks locations that we want/ christer
[/p][/QUOTE]
This should work OK as long as the hardware the image will be deployed to has the same network interfaces. It would fail with MacBook Airs and MacPros, since on a MacBook Air, en0 is AirPort, and en1 may or may not exist (and would be USB Ethernet if it did). On a Mac Pro, en0 is Ethernet, en1 is Ethernet, and en2 is AirPort…
-Greg
-
AuthorPosts
- You must be logged in to reply to this topic.
Comments are closed