+ Post New Thread
Results 1 to 13 of 13
Mac Thread, Software Update - I got it working! in Technical; Many thanks to HodgeHi for a little tip he put my way in another thread namely some business videos . ...
  1. #1
    theeldergeek
    Guest

    Software Update - I got it working!

    Many thanks to HodgeHi for a little tip he put my way in another thread namely some business videos.

    Armed with that, and having come across one to do with Software Update, I thought I'd have a go. Never been able to get it to work before, that is, server downloads updates, client updates from server. Always had to go to each client and update from the web.

    Anyway, I got it working, but not quite to my needs, so maybe someone can help me with taking it a touch further?

    The server is downloading updates, I enable them, then I have to log into a client as the local admin, start Software Update and it looks to the server and tells me what is required. All well and good, I can install from there.

    However, to do this, I have to log in as a local admin on each machine (which I can do via ARD) and instigate the process manually.

    Is there any way I can force the machine to download the updates to itself, and install when I next log in as admin? For example, Windows will download the updates to a machine and will install when next prompted/allowed to do so.

    Can the same process (or something similar) be applied to the Macs? OS is 10.5 on both clients and xserve.

    However, what I want to avoid, is for my everyday users to not be hounded by "you have updates to install". I still want that to remain strictly an admin task. I just want to try and save a bit of time when I does come to me installing any updates, that they have already been downloaded to the machine, and are ready to be installed.
    Last edited by theeldergeek; 18th May 2010 at 10:20 PM.

  2. #2

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    On 10.5 i've never got it to work myself, there is a command line tool but for me atleast running the command remotely it never finds updates unless an admin account is logged in anyway; does this ring any bells for anyone or is it flawed?

  3. #3

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    Right. You will need to do a bit of tinkering first. Remotely log into all the clients as the local admin. Then use ARD to set the proxy settings (there is a command in the templates section in ARD) and also specify the excluded addresses if you need to for your update server.

    Now this is done check to make sure that this account can see your server (run software update manually). If so good. Then log out.
    Then using ARD you can do a number of things. I tend to just run softwareupdate -i -a. You need to specify the admin user when running the command.

    This will list the updates for each machine and then download then and install them without any manual intervention. You should be able to all of the updates remotely without ever having to visit client. Occasionally though you may get some issues with some clients.

    This how i set mine up.
    Attached Images Attached Images

  4. #4
    theeldergeek
    Guest
    Quote Originally Posted by HodgeHi View Post
    Right. You will need to do a bit of tinkering first. Remotely log into all the clients as the local admin. Then use ARD to set the proxy settings (there is a command in the templates section in ARD) and also specify the excluded addresses if you need to for your update server.

    Now this is done check to make sure that this account can see your server (run software update manually). If so good. Then log out.
    Then using ARD you can do a number of things. I tend to just run softwareupdate -i -a. You need to specify the admin user when running the command.

    This will list the updates for each machine and then download then and install them without any manual intervention. You should be able to all of the updates remotely without ever having to visit client. Occasionally though you may get some issues with some clients.

    This how i set mine up.
    I'll give it a go when the rooms are free
    Thanks again.

  5. #5
    theeldergeek
    Guest
    Quote Originally Posted by HodgeHi View Post
    Right. You will need to do a bit of tinkering first. Remotely log into all the clients as the local admin. Then use ARD to set the proxy settings (there is a command in the templates section in ARD) and also specify the excluded addresses if you need to for your update server
    I'm using ARD > send UNIX - template > network setup > web proxy

    In there, I can see the format I'd have to put (i'm using networksetup -setwebproxy proxy.name portnumber) but I can't see how I would specify excluded addresses?

    If I could do this, it would save me quite a task of having to enter the excluded addresses in manually. There is one excluded address (namely our own domain) which is key to get it working.

    If I enter the exclusion manually, SU works perfectly.

    What I need to do is enter the exclusion in the UNIX part.

  6. #6

    Join Date
    May 2008
    Posts
    213
    Thank Post
    2
    Thanked 27 Times in 27 Posts
    Rep Power
    17
    Not had a chance to try this again myself but if you open a terminal and do networksetup --help you should get the command iirc its something like -setproxybypassdomains then your domains

  7. Thanks to nicklec from:


  8. #7
    theeldergeek
    Guest
    Quote Originally Posted by nicklec View Post
    Not had a chance to try this again myself but if you open a terminal and do networksetup --help you should get the command iirc its something like -setproxybypassdomains then your domains
    Many thanks, that helped a lot.

    I used ...

    networksetup -setproxybypassdomains "Ethernet" <domain> (where Ethernet is the name of the built-in connection)

    Worked like a charm.
    Last edited by theeldergeek; 20th May 2010 at 10:06 AM.

  9. #8

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    There is a tips and tricks document found somewhere on the AFP548 website. IIRC in the back of this was a whole list of unix commands that are useful for ARD. You could get the commands by listing the man pages but you need to know the command first.

    ARD coupled with the Unix commands is a very powerful tool for remote administration. Learn a bit of terminal and then you are pretty much unlimited to what can be done from ARD.

    Also have a watch of the terminal tips video in the link I posted in the other thread. I thought it was a useful vid

  10. Thanks to HodgeHi from:


  11. #9


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,717
    Thank Post
    220
    Thanked 2,616 Times in 1,927 Posts
    Rep Power
    777
    The following two blogs posts are worth a read since they contain quite a few SU tips...

    http://managingosx.wordpress.com/200...pdate-options/
    http://managingosx.wordpress.com/200...mware-updates/

  12. #10
    nibulon's Avatar
    Join Date
    Dec 2009
    Posts
    9
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    When i'm having to update a mac suite (10.5), as all clients are the same original image build and hardware type i sit at one, run software update locally on a client, select download packages only, copy them from the client (cant remember off top of my head where they get saved to) up onto the server and use ARD to push out the update packages as a remote install to the rest of the suite.

    saves me logging into each machine and updates are still only downloaded the once, i keep them in a dated folder with the suite name for future reff also - not sure what would happen if an update was pushed out to a client and not required if it would force install it or not and cause a problem - but a bit of planning and checking and I've not had any problems doing this so far - not done this for a while though.

    I kept the software update server pointing to an incorrect update source setting so the clients normally dont see any updates available to them and wont bug users with the 'update available for install' message on apps start up.

    Just wish the Macs had a WSUS style arrangement, much better in my opinion.

    Hope it helps

  13. #11

    Join Date
    May 2006
    Location
    West Bromwich
    Posts
    2,190
    Thank Post
    299
    Thanked 215 Times in 185 Posts
    Rep Power
    56
    I must say I'm a little confused about your comment. How does this make things easier? Surely if you don't want to deploy a package but still want to mirror it, you just disable that update on the software update server. You don't have to update the clients with the updates that your server has. You can choose which ones to deploy. Also once on your own SUS server you can deploy to clients a lot faster than you would be able to download them. Even if it is only once.

    You could also stop the clients asking for the updates by unticking check for updates.

    Or am I missing something? If so then please help clarify things for me. You may very well be onto something.

  14. #12


    Join Date
    Feb 2007
    Location
    51.405546, -0.510212
    Posts
    8,717
    Thank Post
    220
    Thanked 2,616 Times in 1,927 Posts
    Rep Power
    777
    Quote Originally Posted by HodgeHi View Post
    You could also stop the clients asking for the updates by unticking check for updates.
    This is what I do and it works really well.

    The updates we don't want (like firmware updates which usually require user intervention) are deselected on the SUS.

  15. #13
    TomH's Avatar
    Join Date
    Jan 2010
    Location
    Nottingham
    Posts
    47
    Thank Post
    0
    Thanked 5 Times in 5 Posts
    Rep Power
    11
    Guys,

    As above I specify the proxy and any bypass's that are required in WGM as well as the software update URL and then run the softwareupdate -i -a as root from remote desktop, works like a charm

SHARE:
+ Post New Thread

Similar Threads

  1. Windows Update not working
    By ronnoco in forum Windows Server 2008
    Replies: 2
    Last Post: 16th December 2009, 01:53 PM
  2. Microsoft Update and Downloads not working?!
    By Crispin in forum Windows
    Replies: 8
    Last Post: 21st August 2009, 08:54 AM
  3. Software update on 10.3.9
    By sidewinder in forum Mac
    Replies: 3
    Last Post: 1st October 2008, 01:08 PM
  4. OS X 10.4.8 Software Update
    By plock in forum Mac
    Replies: 4
    Last Post: 4th February 2008, 02:26 PM
  5. Network Software Update???
    By dagza in forum Mac
    Replies: 5
    Last Post: 23rd February 2006, 07:55 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •