Forum Replies Created
-
AuthorPosts
-
jasonkstupski
ParticipantSolved this by not using the lpoptions command and rolling it in at the same time as using the lpadmin command.
Ended up like this:
[code]#/usr/sbin/lpadmin -p “Printer Name” -E -v lpd://”xxx.xx.xx.xx”/ -P “ppdlocation.gz” -D “Printer Name” -o printer-is-shared=false -o HPOption_Tray3=Tray3_500 -L “Location”
[/code]Works for me. Couldn’t figure out why using the lpoptions command after the fact didn’t work, but oh well.
Thanks,
Jasonjasonkstupski
ParticipantI’ve got it.
I needed to run this line:
/usr/sbin/networksetup -detectnewhardware # just to make sure that it is done
As shown in this post: https://www.afp548.com/forum/viewtopic.php?forum=45&showtopic=23782
Thanks!
Jasonjasonkstupski
ParticipantOkay, took out the delete line, but it’s still making the field blank. Not sure what could be causing this – is it that at startup, the command
MAC=`ifconfig en0 | awk ‘ /ether/ {print $2}’`
is pulling back a blank address?
Thanks,
Jasonjasonkstupski
ParticipantThanks Rusty.
No change here. I now see that it must be doing something – when I run dscl . read /Computers/local_laptop, it now populates ENetAddress with a blank field. Not sure what’s going on there. Perhaps my script is busted?
Strangely enough, if I run the script by itself, it populates it correctly. Then, when I restart, it wipes ENetAddress out every time. Testing now by taking out the “delete” line. Totally confused..
Thanks,
Jasonjasonkstupski
ParticipantHey all,
Here’s my plist and shell script file. Any help would be so appreciated!!
[code]
[/code]
Disabled
Label
com.stupski.ActivateMCX
ProgramArguments
/Applications/Utilities/Scripts/ActivateMCX.sh
RunAtLoad
Here are the permissions on that file:
[code]-rw-r–r–@ 1 root wheel 423 Jul 14 08:50 ActivateMCX.plist[/code]
And here’s the shell script. I even mega-simplified it from my original one:
[code]#!/bin/sh
MAC=`ifconfig en0 | awk ‘ /ether/ {print $2}’`
dscl . -delete /Computers/local_laptop ENetAddress
dscl . -create /Computers/local_laptop ENetAddress $MAC
[/code]And the permissions on that file:
[code]-rwxr-xr-x@ 1 root wheel 164 Jul 13 17:27 ActivateMCX.sh[/code]
Thanks!!
JasonJuly 8, 2010 at 12:19 am in reply to: Help: Install Snow Leopard Server 10.6.0 on Mid-2010 Mac Mini, then update? #379037jasonkstupski
ParticipantYou’d have to get a copy of Server up to 10.6.4, image it, and then push it onto the Mini. At least that’s what I have to do right now for a Mid-2010 (i5) Macbook Pro. The issue is likely that 10.6.0 doesn’t have the proper information to run the new Mac Mini. Do you have an external or a partition somewhere that you could install up to 10.6.4 (on older hardware), and then image it to push onto the Mini?
Hope that helps,
Jasonjasonkstupski
ParticipantThanks Allister. Updating to the 1.5rc1 fixed the problem (with the added bonus that it’s faster too!).
Jason
jasonkstupski
ParticipantHey Fraser,
Rusty in the InstaDMG forum gave me a solution to this – follow the link he put over there: https://www.afp548.com/forum/viewtopic.php?showtopic=24979
Essentially, you can create a shell script that would enable ARD. You could push it out as a login script or some other method via MCX, I think.
Hope that helps,
Jasonjasonkstupski
ParticipantThanks for the tip.
I set that up to change the uid, but now when I boot up, the user isn’t hidden from the login window or the accounts pane.
I checked com.apple.loginwindow, and it doesn’t have the proper values set. Perhaps I made a mistake in editing the postflight script inside createUser.pkg?
Here’s what I did:
[code]if [ $hide_user -eq 1 ]; then
/usr/bin/defaults write “${TARGET_DIR}/Library/Preferences/com.apple.loginwindow” HiddenUsersList -array $shortname
/usr/bin/defaults write “${TARGET_DIR}/Library/Preferences/com.apple.loginwindow” Hide500Users -bool TRUE
fi[/code]Let me know if I did anything incorrectly.
Thanks!
JasonAugust 25, 2009 at 11:55 pm in reply to: Local MCX: Disabling automatic login also disables computer name setting #376956jasonkstupski
ParticipantSolved my own question by managing the individual keys in the Details section of that preference. I removed the key that assigned the version number to the computer name.
Thanks,
Jasonjasonkstupski
ParticipantI ended up creating a snapshot package of the 12.2.1 update using InstallEase, and it worked just fine.
Thanks,
Jasonjasonkstupski
ParticipantThanks Rusty, that worked for me!
jasonkstupski
ParticipantI’ve been able to create working images with at 10.5.7 disc that came with a new macbook pro plus the 10.5.8 combo updater. Everything seems to work a-ok.
I did have an issue with a 10.5.6 retail disc and the 10.5.7 combo updater (no audio upon boot).
– Jason
jasonkstupski
ParticipantJeff –
I can verify the same issue happening with my latest build – the log just says “Installing Quit Microsoft Applications….”
Any help would be much appreciated!
Thanks,
Jasonjasonkstupski
ParticipantIf you’re talking about the output volume (the name of the volume when it’s deployed), then it’s:
sudo ./instadmg.bash -n “Macintosh HD”
If you’re talking about the output name of the .dmg file, then it’s:
sudo ./instadmg.bash -m “myimage.dmg”
Hope that helps,
Jason -
AuthorPosts
Recent Comments