So, new operating system new things to do. Just read the Help Center bit on "Connect to a network that requires 802.1X authentication". The interesting bit was:
In most cases your network administrator provides a configuration profile that contains the information and settings you need to authenticate with the network.
To get on the 802.1X you now need to do a lot of stuff. Looks like it needs a .mobileconfig file.
Just read this Apple Discussion on it which gives you a nice guide on how to do it.
After much time we finally got around to having a network administrator on the case.
So, we were looking for a way to connect to the wifi without using usernames and passwords. The answer was EAP-TLS. We followed the link above and created a certificate for the computer. Only trouble was we had problems enabling TLS on the wifi. Network administrator looking into this I think.
We resorted to PEAP I think. We made a .mobileconfig file using the iphone configuration utility, got hold of the wifi certificate, put that in the credentials payload of the .mobileconfig file, and loaded it up on the machine in question. It added the certificate to the Users keychain (not system!) and put the old 802.1X stuff in the network settings! When we turned the wifi on it tried to connect to the wifi (with the username and password we set in the .mobileconfig file) but it came up with an error. Could not verify the server. Looks like the configuration file was at fault. Seems that the certificate server is automatically dishing out expired certificates. Network administrator is trying to fix.
A handy page to manually create a .mobileconfig file with more settings then the iphone configuration utility can create was here. You can specify the certificate to be added to the system keychain, and also that the wifi loads at login window!
------
So far so good. Our network team has now made a new wifi SSID with EAP-TLS. Using this tutorial we made the machine have a signed certificate from the certificate server, and add the profile for the wifi. We used this certificate (with the username - host/DNSnameofMachineHere) to successfully get onto the wifi, but did it manually.
Next time we'll need to set this file up with the wifi details properly (we didn't add system login window stuff here).
-----
We're now giving up on the old 'manually edit the .mobileconfig file' and going for the 'Mavericks Server' option.
Here's the help page on it
So, we've set up a mavericks server (just a computer with Mavericks installed and the "Server" app installed).
I've enabled "Profile Manager" and set it up so in a browser you can go to:
http://YourMavericksServer.ac.uk/profilemanager
go to groups, general.
from the list of payloads, go to AD Certificate
found this article on how to configure the page
Not quite working yet. Getting an error when installing the profile.
Need to add devices, but I think it looks like you have to add users which are in charge of devices? Not sure.
A catalogue of 'stuff' which somehow will help me through life by helping me remember problems I've solved, how I solved them and thoughts which will be otherwise forgotten (some of which might be of use later on).
Wednesday, 11 July 2012
Tuesday, 10 July 2012
Creating a Master Image for Mac OS X 10.7
So, I've just got a bunch of new iMacs and I'm creating a new master so I thought I could note down what I'm doing.
- Go through the initial steps of OS X 10.7.3
- username - Administrator
- fill in details
- setup some System Preferences
- in System Preferences > Users
- Guests
- Tick "Allow Guests to log into this computer"
- Login Options
- tick the "show username and password fields"
- go to Join and open Directory Utility
- Active Directory
- domain students.chesterfield.ac.uk
- name the computer
- domain admin username and password
- LDAPv3
- put in mac server address
- its all automatic
- goto Edit > Enable Root User
- enter a special root password
- System Preferences > Network
- Ethernet > Advanced > Proxies > Automatically Detect Settings
- System Preferences > Date and Time
- tick "set date and time automatically" and give it a****dc1.chesterfield.ac.uk
- System Preferences > Sharing > Remote Management
- Tick Remote Management
- click "Options"
- tick all of these
- click "Computer Settings"
- tick all of these
- put a password for VNC
- Install stuff:
- Sendlogon
- for proxy login
- NHR
- for Caches and other network folder redirections
- Fix NHR and Sendlogon
- so that sendlogon is added to the NHR login script
- UniFLOW client
- for print management info
- Intuos drivers
- for tablets
- Brushes Viewer
- Adobe Creative Suite 5
- mount the CD Master dmg file and run the normal install file
- don't need to drag it to the local drive
- Adobe Acrobat Pro 9
- just drag it to the Applications folder
- run it once to put in serial number
- Update Photoshop Camera RAW
- Burn 2.5.1
- for burning a multitude of different disks and ISO's
- Carbon Copy Cloner 3.4.5
- just drag app to Applications folder
- Celtx 2.9.7
- ClickView 2.0.0
- comes with Flip4Mac
- DivX 7.3
- DropBox 0.7.110
- drag to Applications folder
- Firefox 13.0.1
- drag to desktop
- if there's no profile in the users library it defaults to "use system settings"
- Google Chrome version 20
- Sketchup 8.0.14345
- Final Cut Studio 2
- Running Final Cut Studio 2 from disk it comes up with:
- You can't open the application FinalCutStudio.mpkg because PowerPC applications are no longer supported.
- Doh!
- I did a search on Google and found this Blog Article on how to manage it
- Basically run the installer from Command Line by typing the following:
- sudo installer -package /Volumes/Final\ Cut\ Studio/Installer/FinalCutStudio.mpkg -target /
- Came up with lots of Errors though, as described in the blog:
- 2012-07-09 13:02:25.728 installer[26889:9803] PackageKit: Token definition is missing bundle identifier, skipping: {
- path = "/Applications/Final Cut Pro.app";
- searchPlugin = CheckPath;
- }
- looks like it's searching for previously installed versions?
- In the end it came up with:
- installer: The install was successful.
- although it usually takes a few hours to install, this took 8 minutes
- It's because it didn't install the extras
- To do so, you can do it from the disks:
- Audio Content for Soundtrack Pro
- Motion Content
- DVD Studio Content
- LiveType Media 1 and 2
- comes up with the same PowerPC errors
- Type:
- sudo installer -package /Volumes/LiveType\ Media\ 1/Installer/LiveTypeMedia1.mpkg -target /
- sudo installer -package /Volumes/LiveType\ Media\ 2/Installer/LiveTypeMedia2A.pkg -target /
- XDCAM Final Cut Pro Plugin
- Needs Final Cut Pro 6.0.3 or above. Installed version is 6.0.1.
- Update via Software Update
- Handbrake 0.9.6
- iWork '09
- Logic Studio
- Same error as with Final Cut Studio
- Found this website with similar results
- Typed this:
- sudo installer -package /Volumes/Logic\ Studio/Installer/LogicStudio.mpkg -target / -verbose
- decided to use verbose mode to see what exactly happens. Most interesting.
- I think it helps if you have all your disks saved as disk images and all mounted at once. Seems to work.
- Not sure if it installed the extras. To make sure I ran the Audio Content installer
- What might be worth looking into is this forum above for installing extras
- ran this as in the website above:
- for f in /Volumes/Jam\ Pack\ Content\ 1/Installer/Packages/*.pkg; do sudo /usr/sbin/installer -pkg "$f" -target / -verbose; done
- Maya 2008
- although not the licence aw.dat file
- Microsoft Office 2011
- MPlayer OSX Extended R14
- Plays nearly all Video formats
- Nikon ViewNX 2
- for Nikon Camera RAW stuff
- Omni Disk Sweeper 1.7.2
- for checking disk space issues
- Libre Office 3.5.4
- basically an off-shoot of OpenOffice
- RealPlayer SP 12
- for streaming stuff
- might have to put in proxy settings?
- not even sure if we're using this?
- yes, it is setup by autodetect settings
- set through ~/Library/Preferences/com.RealNetworks.RealPlayer
- particularly "RealPlayer\UseSystemHTTPProxy" string "1"
- Skype 5.8.0.945
- you never know!
- SMART board 10.8
- Apparently rolling out 11 next year
- VLC Media Player 2.0.2
- Canon MFD drivers
- whoops, missed off these!
- Log out and back in as Networked user to connect to internet (with sendlogon)
- Note: needs to be on the Mac VLAN to use sendlogon
- Test Safari and other things for internet connectivity
- working
- Do an Apple Software Update
- update from 10.7.3 to 10.7.4
- airport update
- iTunes 10.6.3
- connection reset by peer
- looks like a manual download
- Camera RAW update
- etc...
- Microsoft Update
- Adobe Update
- App Store Updates!
- it's a new one to me
- you also NEED an Apple ID!
- having a few problems downloading BIG updates for iPhoto and iMovie
- seems to stop 400MB into the download and says it's having trouble
- Lucky thing is that it carries on from where it left off, so just keep pressing the retry button and it'll eventually download it all
- Install more Apps:
- iBooks Author
- for making iBooks!
- SketchBook Express
- made by SketchBook Pro people
- Need to look into App Store Permissions
- can anyone install via the App Store?
- is it just saved to their Home Drive?
- Confussed!
- this forum might help
- Test all Applications:
- Illustrator
- Working
- Photoshop
- Working
- InDesign
- Crashes when you try the Spell Check
- turns out NHR gives the wrong permissions for the ~/Library/Application\ Support/Adobe folder
- I changed NHR so that this Adobe folder is a symlink instead of the child folders for Illustrator and Acrobat
- added these lines to LIclean.hook
- rm -rf "$home_loc"/Library/Application\ Support/Adobe
- mkdir /tmp/$1/Adobe
- ln -s /tmp/$1/Adobe/ "$home_loc"/Library/Application\ Support/Adobe
- overwrote LIclean.hook in NHR.pkg/Contents/Archive.pax.gz
- first unzip it
- replace file
- zip it back up again:
- ditto -c --keepParent /Archive/Library Archive.pax
- gzip -9 Archive.pax
- Fireworks
- working
- Flash
- working
- Dreamweaver
- hangs when loading up.
- updating to 11.0.4
- now it prompts to load up extension manager every time!
- but it does end up loading Dreamweaver
- Acrobat Pro
- Working
- Aperture
- Working
- Audacity
- Working
- BookSmart
- permissions issue with .app folder
- gave everyone read only
- crashes on load up
- found this entry in Console Log
- 06/07/2012 15:21:23.621 [0x0-0xb40b4].com.blurb.booksmart: log4j:ERROR setFile(null,true) call failed.
- 06/07/2012 15:21:23.621 [0x0-0xb40b4].com.blurb.booksmart: java.io.FileNotFoundException: metrics.log (Permission denied)
- 06/07/2012 15:21:26.275 com.apple.launchd.peruser.2069522553: ([0x0-0xb40b4].com.blurb.booksmart[6906]) Exited with code: 1
- assuming it's a problem with folder permissions in ~/Library/
- not sure it's worth fixing?
- Word
- worked
- Powerpoint
- worked
- Excel
- worked
- outlook
- Google Chrome
- crashes on startup
- loads a window with google mail login screen and then sends crash report.
- just tried creating a symlink to the local drive for ~/Library/Application\ Support
- ln -s /Users/Shared/temp/Google ~/Library/Application\ Support
- Works a treat
- Need to add this to NHR scripts
- Viewed the Package contents of NHR.pkg
- unzipped Archive.pax.gz
- went into Library/Scripts/
- edited LIclean.hook
- added these lines:
- mkdir /tmp/$1/Google
- rm -rf "$home_loc"/Library/Application\ Support/Google
- ln -s /tmp/$1/Google "$home_loc"/Library/Application\ Support/
- made it into an Archive.pax.gz file (found in this forum)
- ditto -c --keepParent /Volumes/General\ Work/Problem\ Solve/NHR\ with\ new\ redirections/Archive/Library /Volumes/General\ Work/Problem\ Solve/NHR\ with\ new\ redirections/New-12-8-2012/Archive.pax
- gzip -9 /Volumes/General\ Work/Problem\ Solve/NHR\ with\ new\ redirections/New-12-8-2012/Archive.pax
- put it back in the Package Contents
- done
- Picks up Proxy settings from operating system
- Firefox
- works a charm
- Picks up proxy settings from system
- Celtx
- worked
- Clickview
- needs the server set as clickview.s*******.chesterfield.ac.uk
- set in file: ~/Library/Preferences/clickview.player.server.plist
- either set on xserves managed preferences
- or on the OS X managed preferences
- fix everything please
- works beautifully
- Sketchup
- worked
- HandBrake
- Worked
- iBooks Author
- Worked
- iMovie
- Worked
- iPhoto
- prompts to upgrade library and fails as it is on an unsupported media
- Known Problem
- iTunes
- worked
- Pages
- Worked
- Keynote
- worked
- numbers
- worked
- Libre Office
- worked
- MPlayer OSX extended
- Worked
- realPlayer
- worked
- SketchBook Express
- Worked
- Skype
- worked
- Notebook
- needed license but we have it
- worked
- Final Cut Pro
- worked
- Logic
- worked
- Log out of Networked user account
- Image a Master from the machine
- Unbind from Active Directory
- delete unwanted files
- Boot from another disk. Either:
- Netboot (if possible?)
- not possible because server is running OS X 10.4.9 with Deploy Studio RC20
- boot from install CD, mount server drive and image machine using disk utility
- does not come with disks anymore
- found this article explaining the new procedures
- boot up into Recovery Mode (command + R)
- Nice article here about Recovery Mode
- target disk mode to a machine which can netboot (or run the /Utilities/Deploy Studio Runtime)
- Make a image from a disk
- test the master image works
- get another machine
- Unmount disk which is being re-imaged and image it. Several Ways:
- target disk mode to another machine
- Recovery mode (command + R)
- go to terminal
- type:
- mkdir /Volumes/Images
- mount -t afp afp://admin:password@name.of.server.uk/Images /Volumes/Images
- exit terminal
- open disk utility
- restore
- source - select disk image on the server
- target - select partition
- done
Labels:
10.7.3,
10.7.4,
Active Directory,
disk image,
imaging,
LDAPv3,
NHR,
OS X,
reimage,
System Preferences,
xserver
HP Shortcut Manager
Whilst imaging a machine I noticed a process taking up 100% of one of the cores named HPShortcutManager. After a quick search I found this Apple Discussion on the issue. It appears there's an issue with HP Scanjet Scanners button manager. It isn't very effecient at waiting for someone pressing one of the buttons on the front of the scanner.
Best way to fix is by deleting the HPShortcutManagerstartup.app:
sudo rm -R /Library/Application\ Support/Hewlett-Packard/HP\ Scanjet\ Scanner/HPShortcutManagerStartup.app
Done
Best way to fix is by deleting the HPShortcutManagerstartup.app:
sudo rm -R /Library/Application\ Support/Hewlett-Packard/HP\ Scanjet\ Scanner/HPShortcutManagerStartup.app
Done
Saturday, 7 July 2012
Embedding multimedia into Joomla
So, I just wanted to make an article with an embedded youtube video. Easy you would think:
- go to the youtube video
- click share > embed
- copy code
- make a new joomla article
- write what you want
- go to code view
- paste iframe code
- save
- done
Not so simple. Seems when you go back to 'not code' view, it gets rid of the pasted bit of code. Very annoying.
After reading a forum discussion it appears for some reason it's best to have an extension. The simplest is "Allvideos". Download and install it under extensions. Enable it under "Plugin Manager". Then the procedure is:
- go to the youtube video
- get the id code of the video (the last bit of the address in the address bar)
- i.e. - http://www.youtube.com/watch?v=kI97VGGHkic (bit in bold)
- make a new joomla article
- write what you want
- where you want the video to appear type:
- {youtube}kI97VGGHkic{/youtube}
- save
- done
So, in the end not too hard, just have to know the right buttons to press. Not good user design if you ask me, i.e. I had to look it up in a forum. The good thing about it is that you can embed all sorts of stuff, like flv files, mp3 files and more like it. Nice.
Thursday, 5 July 2012
What to do if your windows computer is running ridiculously slow (only applies to Microsoft Windows)
So, I get a lot of people coming to me with Windows PC's and laptops which are running ridiculously slow. As I'm fixing one this very moment, I thought I'd document what I have found to be the easiest ways to get them running to their original speed (when they were first purchased).
I will run through it in a chronological order.
I will run through it in a chronological order.
- First things first, you need to be able to get the system to a 'usable' state, meaning you can click on stuff and something happens, and also you can install stuff. Here's how I do it in worst case scenarios:
- Boot up into safe mode (continuously press F8 when the computer is booting up)
- Enable the "Windows Installer" in safe mode.
- Heres a link to an article where I describe how to do this.
- A part from safe mode, you can always:
- open the task manager and end processes of anything which is taking up the CPU, but this is a little frustrating.
- delete startup items in the Start > Programs > Startup menu.
- Go to Start > Run -> msconfig and click "disable startups" described here
- If you're still having problems, run hijackthis
- It's a very good program and helps you delete entries in Windows linked with Malicious Programs. Here's the home page
- When you run it you can make a text file. Paste this text file on the home page and it'll analyse it and tell you which things you'll want to remove.
- Tick the right boxes and bingo.
- Install and run a free anti-virus.
- At the moment the top runners for free anti-virus are AVG and AntiVir
- I have found that in the past a lot of anti-virus programs are the things that actually slow your machine down. This is one of the reasons AVG and AntiVir have such good ratings.
- Install and run a free anti-malware application
- At the moment the top runner is MalwareBytes
- Install and run TuneUp Utilities 30 day free trial, currently on version 2012.
- You get a free 30 day trial, but I've found you really only need a 1 hour trial to fix all the problems. Luckily it doesn't "unfix" the problems once it has expired.
- The main part to run is "one-click-maintanance"
- It runs through your system and tells you how many things it can 'fix'.
- Click the fix button
- Keep running this program until it does not fix anything anymore.
If these basic steps aren't going to fix it, you're best option is to re-install Windows a-fresh and make a nice new start. Possibly consider installing the operating system it came with to begin with? Or even think about another operating system (i.e. not windows). Ubuntu, OS X?
At the end of the day, your computer will at best run at the speed it was running when you first bought it. If you upgrade the operating system you will notice a slow down.
Also, programs which run at startup are going to slow your machine down. I only have 3 running on my startup; DropBox, Carbonite and MAMP. I suggest you really think about how you want to use your computer. It's all about compromise.
Any suggestions are welcome, especially if it's easier than this list of 'things to do'.
Labels:
2012,
anti-virus,
antivir,
AVG,
hijackthis,
Install,
installer,
Malware,
malwarebytes,
Microsoft,
safe mode,
startup,
tuneup,
Tuneup utilities,
windows 7,
windows vista,
Windows XP
Thursday, 28 June 2012
Number Lock (numlock) at login screen in Windows XP
After re-imaging a MacBook Pro with Windows XP, I noticed (annoyingly) that the num lock was always switched on upon boot up at the login screen! After googling it I found this post, which describes how to change it on startup in the registry. Simply change:
HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators=3
to
HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators=1
This turns num lock off. Unfortunately, I think this just applies to whoever's logged in at the time, and doesn't apply to the login screen. Simple enough though, and is described at the bottom of the post in a reply (although for some reason he used some weird code - "2147483650" (string value)). I did this:
HKEY_USERS\.Default\Control Panel\Keyboard\InitialKeyboardIndicators=1
and it worked.
HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators=3
to
HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators=1
This turns num lock off. Unfortunately, I think this just applies to whoever's logged in at the time, and doesn't apply to the login screen. Simple enough though, and is described at the bottom of the post in a reply (although for some reason he used some weird code - "2147483650" (string value)). I did this:
HKEY_USERS\.Default\Control Panel\Keyboard\InitialKeyboardIndicators=1
and it worked.
Labels:
disk image,
imaging,
keyboard,
laptop,
Login,
MacBook Pro,
num lock,
number lock,
numlock,
regedit,
registry,
reimage,
Windows XP
Wednesday, 27 June 2012
DeployStudio rc20 not showing new Disk Image Masters
I've just taken a Master image using DeployStudio but the image doesn't appear in the list of images, nor in the /Masters/HFS/ directory on the server. Of course this has happened before so I'm merely writing this down as reference.
The reason is because it uses a directory called /Masters/.workInProgress/ to store disk images whilst they're being made. When they are complete (which is after post processing like ASR scan and gzip) they get moved into the appropriate folder, in this case /Masters/HFS/. I think something happened and it never got moved. In the terminal I simply typed:
admin$ mv /Masters/.workInProgress/OSX-10_6_6-SMALL-2012-06-27.i386.hfs.dmg ../HFS/
But replace OSX-10_6_6-SMALL-2012-06-27.i386.hfs.dmg with the name of your disk image. Tab completion is the easiest way.
The reason is because it uses a directory called /Masters/.workInProgress/ to store disk images whilst they're being made. When they are complete (which is after post processing like ASR scan and gzip) they get moved into the appropriate folder, in this case /Masters/HFS/. I think something happened and it never got moved. In the terminal I simply typed:
admin$ mv /Masters/.workInProgress/OSX-10_6_6-SMALL-2012-06-27.i386.hfs.dmg ../HFS/
But replace OSX-10_6_6-SMALL-2012-06-27.i386.hfs.dmg with the name of your disk image. Tab completion is the easiest way.
Labels:
10.4.11,
10.6.6,
Apple,
Deploy,
Deploy Studio,
disk image,
imaging,
OS X,
rc20,
Server
Subscribe to:
Posts (Atom)


