content top

Remove the Apple Remote Desktop Curtain when frozen.

  • SSH to the computer.
  • To unlock an already locked screen remotely:

    ps -ax | grep LockScreen

    sudo kill -9 <pid>

Read More

Fix for Thunderbolt Ethernet Adaptor not showing.

This excellent fix has been found and all credit goes to MartynMacMan!

This is for macs which show the thunderbolt interface in the System Report but wont add via the Network Connections Control Panel.

  1. Unplug thunderbolt adaptor
  2. Reboot
  3. Login as root
  4. Remove all interfaces from all locations you have in Network Connections control panel.
  5. Apply settings to all locations.
  6. Add a Thunderbolt Bridge
  7. Apply
  8. Remove Thunderbolt bridge
  9. Apply
  10. Now add the Thunderbolt Ethernet
  11. Apply
  12. Should now show in the list!
Read More

Deploy DeployStudio hosted operating system image to VMWare Fusion.

 

Deploy DeployStudio hosted operating system image to VMWare Fusion.

 

  1. Create new virtual machine using the wizard.
    1. Click the ‘+’ to add a new Virtual Machine.
    2. The wizard will appear – select ‘More Options’
    3. In the next window select ‘Create a custom virtual machine’
    4. In the next window select ‘Apple OS X’ and ‘OS X 10.9’
    5. The next window leave the default settings unchanged – click continue.
    6. Choose for the VM not to start after creation.
    7. In the next screen review the settings and click ‘Finish’.
  2. Right click on the new virtual machine and choose ‘Settings’.
    1. Select the ‘Network Adaptor’ ensure the connection is selected as a ‘Bridged Connection’ (this will need to be on the Brampton Student network Vlan 17 in order to netboot).  Also the port may need to have sticky removed to allow two mac addresses to function.
    2. From the main settings window choose ‘ Startup Disk’ – choose the ‘Network Adaptor’ the settings pane can now be closed.
  3. We need to add a few configuration lines to the config file for the new VM – these will tell VMWare to use a serial number which deploystudio will recognise.  The settings are listed below, just append them to the bottom of the VMX file.
    1. The VMX file can be found by navigating to the Virtual Machine in the finder (or if you don’t know where it is stored you can right click on the VM in VMFusion and select ‘Show in Finder’.
    2. Right click on the Virtual Machine in the Finder and select ‘Show Package Contents’.
    3. Open the .vmx file using a text editor such as TextWrangler.
    4. Paste the lines below to the bottom of the text file, save and close the file once complete – altering the information, the serial number needs to be altered so it is unique on the local network:

board-id.reflectHost = “FALSE”

board-id = “MAC-F22589C8″

hw.model.reflectHost = “FALSE”

hw.model = “MacBookPro6,2″

serialNumber.reflectHost = “FALSE”

serialNumber = “CK5654844HF8″

smbios.reflectHost = “FALSE”

SMBIOS.use12CharSerialNumber = “TRUE”

 

We also need to ensure that no duplicate lines exist in the VMX file, otherwise an error will be displayed on starting the VM.  The line I found which was duplicated was

board-id.reflectHost = “FALSE” on my system the line number was 44.

 

  1. The final step is to preconfigure the new client in DeployStudio so an automatic workflow occurs when the VM is first booted.  First login to the DeployStudio Admin application as the administrator.
    1. Click on ‘Computers’ on the left hand pane of DS Admin.
    2. Click the ‘+’ icon to add a new computer, in the pop up window choose ‘Serial Number’ and enter the value which was put into the VMX file, click add.
    3. Find the record created in the list, add the computer name to the ‘Local Hostname’ and ‘Computer Name’ field.  Enter the computer information in the boxes 1-4.  Enter the desired work group manager field into Client management.
    4. Finally drag the record to the group ‘ Auto Staff’ – this will set the computer to automatically use the VMWare specific image on first boot.
    5. This prevents having to use the keyboard and mouse as these did not work in the DeployStudio environment.
Read More

Backup and Restore to new hardware.

With Endian 2.5.1 a problem occured when backing up the existing configuration and attempting to apply to a dormant replica server.  What appeared to happen is when restored the network cards appeared to be added to the old ones, so instead of eth0,1 ,2 they were named eth 3, 4, 5.  So subsequently the green ip could not be accessed and current config would not work.
I found a bug report with the following useful info (credit to author!)
 

on shell:
press “0″ to access shell
type login and hit enter
You will be asked to provide password if you have setup one or the password of your old firewall from which you have acquired the backup tar file
Remove the businfotab under etc directory

cd /etc
rm businfotab
shutdown -r now and hit enter (will reboot the firewall)

Read More

Install SBS 2010 on HP ML110 G6

http://alanhardisty.wordpress.com/2011/05/25/installing-sbs-2011-on-an-hp-proliant-ml110-g6-server-woes-resolved/

Read More
content top