Ubuntu Wireless with BCM4322
I have been having issues with the BCM4322 wireless card on my macbook pro under ubuntu. As it turns out after some digging the BCM4322 driver only supports the ‘Rest of World’ locale which does not include wireless channels 12 & 13. You can test this by trying:
sudo iwlist eth2 channel Which on the macbook pro returns:
eth2 20 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.
Windows 7 Explorer Context Menu Options
Hold down shift when you right click a folder to get some quite useful options:
If you choose ‘Open a command window from here’ and you are in a network location it will automatically mount a drive for you.
Issues with Ubuntu Apache Vhost File
In Ubuntu server after an upgrade to apache, the process can copy your 000-default file and leave it with the name 000-default.save. This can cause issues with your vhost config and lead to unpredictable results. If you do have strange vhost issues, check in /etc/apache/sites-enabled and make sure that there is no duplication and all the files there are required. In my case it was causing the error:
[warn] NameVirtualHost *:80 has no VirtualHosts
Finding out Your Mac Model Identifier
From a terminal use:
sysctl hw.model In my case:
hw.model: MacBookPro5,2 Update: This still works on OS X Yosemite:
hw.model: MacBookPro10,1
Listing System Center Configuration Manager Inbox Folders with Powershell
It is a good idea to keep track of these folders as they can get out of control quite quickly. This powershell command quickly highlights if you have any build up going on. Look out for large numbers of files:
Get-ChildItem “c:\Program Files\Microsoft Configuration Manager\inboxes” -recurse | Where {!$_.PSIsContainer} | Group Directory | Format-Table Name, Count -autosize
Convert a MAC Address with Hyphen to Colons
If you have a MAC delimited with hyphens:
xx-xx-xx-xx-xx-xx You can convert it to use colons using sed:
echo xx-xx-xx-xx-xx-xx | sed ’s/-/:/g' Which will output as:
xx:xx:xx:xx:xx:xx Anything can be replaced:
echo xx-xx-xx-xx-xx-xx | sed ’s/-/%/g' Would output:
xx%xx%xx%xx%xx%xx
Connecting to a Virtual Machine’s Serial Console with OS X and VMware Fusion
Fusion does have many of the features of VMware workstation but they are not all available in the GUI. An example of this is when you need a VM which only has a serial console. Make sure you have added the virtual serial hardware from the ‘other’ section in the settings. Next you need to edit the vmx file to add the correct settings:
serial0.fileType = "pipe" serial0.fileName = "/tmp/serial1" Depending on how many serial devices you have the serial0 may change to serial1 etc.
Create an virtual network interface in an ESX windows guest using VGT (Virtual Guest Tagging)
Get the intel drivers from e1000 NIC (32bit) and install them in your vm. Once installed make sure you configure the network card properties with the correct VLAN tag. Then make sure that you assign the VLAN tag 4095 to the virtual machine’s portgroup.
Creating an ISO image from a CD in OS X
You need to find the device path of your CD drive.:
drutil status Look through the status info for the CD dvice path. It will look like /dev/disk3 or /dev/disk1 depending on your hardware. You then need to unmount the disk:
diskutil unmountDisk /dev/disk3 Now you can use use dd to make an image:
dd if=/dev/disk3s0 of=file_name.iso To mount the image you created:
hdiutil mount file_name.iso