Forum Replies Created

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • in reply to: Help scripting printer options using lpoptions #379095
    jasonkstupski
    Participant

    Solved 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,
    Jason

    in reply to: Only three out of four Launch Daemons run #379093
    jasonkstupski
    Participant

    I’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!
    Jason

    in reply to: Only three out of four Launch Daemons run #379091
    jasonkstupski
    Participant

    Okay, 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,
    Jason

    in reply to: Only three out of four Launch Daemons run #379090
    jasonkstupski
    Participant

    Thanks 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,
    Jason

    in reply to: Only three out of four Launch Daemons run #379088
    jasonkstupski
    Participant

    Hey all,

    Here’s my plist and shell script file. Any help would be so appreciated!!

    [code]

    Disabled

    Label
    com.stupski.ActivateMCX
    ProgramArguments

    /Applications/Utilities/Scripts/ActivateMCX.sh

    RunAtLoad
    [/code]

    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!!
    Jason

    jasonkstupski
    Participant

    You’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,
    Jason

    in reply to: Trouble with JavaForMacOSX105Update6 and instaDMG #378531
    jasonkstupski
    Participant

    Thanks Allister. Updating to the 1.5rc1 fixed the problem (with the added bonus that it’s faster too!).

    Jason

    in reply to: ARD 3.3 #377034
    jasonkstupski
    Participant

    Hey 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,
    Jason

    in reply to: Hide user on Accounts Preference Pane #376971
    jasonkstupski
    Participant

    Thanks 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!
    Jason

    jasonkstupski
    Participant

    Solved 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,
    Jason

    in reply to: Office 12.2.1 update failing #376895
    jasonkstupski
    Participant

    I ended up creating a snapshot package of the 12.2.1 update using InstallEase, and it worked just fine.

    Thanks,
    Jason

    in reply to: Custom Remote Desktop Installer #376893
    jasonkstupski
    Participant

    Thanks Rusty, that worked for me!

    in reply to: InstaDMG with 10.5.7 and 10.5.8 #376849
    jasonkstupski
    Participant

    I’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

    in reply to: Office 12.2.1 update failing #376847
    jasonkstupski
    Participant

    Jeff –

    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,
    Jason

    in reply to: Change Output Volume Name #376692
    jasonkstupski
    Participant

    If 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

Viewing 15 posts - 1 through 15 (of 19 total)