Category Archives: Software

Keep Calm and Install Wheezy

Debian 7.0 Wheezy released!

Want to give it a try?
Check out the live images!

Want to install it?
Choose your favorite installation media among Blu-ray Discs, DVDs, CDs and USB sticks.

Already on Debian and want to upgrade?
You are just an apt-get dist-upgrade away from Wheezy! Find how, reading the installation guide and the release notes.

Get the 3ware 9650SE working with ESXi 5.x

At the office we recently built two white box, built it yourself servers (lego’s). I called them Lego’s due to the fact they are build your own types and not OEM. For each of these powerhouse systems we got 3ware 9650SE RAID controllers (3ware 9650SE-4LPML PCI Express Lanes: 4 SATA II Controller Card RAID Levels 0, 1, 5, 10, Single Disk, JBOD, KIT).

After getting ESXi 5.x installed to a USB Stick to boot from I encountered an issue where the 3ware controller was not recognized by the system. Well this could only be one thing. Drivers.

This is where installing of the controller driver fun begins.

I first navigated to the LSI website and their support page to download the drivers for these controllers. Where I was able to find drivers for VMware ESXi 5.0 update 1 driver for 9650SE/9690SA

After downloading the zip archive of the driver, I extracted and used WinSCP to upload the drivers to the /tmp directory of my ESXi 5.x hosts.

I then logged into the ESXi 5.x using SSH with Putty.

After changing my directory to /tmp I ran the following command:

esxcli software vib install -v /tmp/scsi-3w-9xxx-2.27.08.036-1OEM.500.0.0.472560.x86_64.vib

Soon after I got the following messages:

Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: LSI_bootbank_scsi-3w-9xxx_2.27.08.036-1OEM.500.0.0.472560
VIBs Removed:
VIBs Skipped:

After the install I followed the instruction to reboot and after the systems were up and running again I was able to see the controller and create my new datastores.

buslogic SCSI adapter is not supported for 64-bit guests

After converting a Linux (Debian) machine using VMware vCenter Converter Standalone, to have a copy of my virtual machine running on ESXi 5.x in VMware Player. I encountered the following error on start-up: buslogic SCSI adapter is not supported for 64-bit guests

There isn’t an option in the VMware Player to change the scsi type, so I turned to editing the virtual machine’s .vmx file changing the following steps.

  1. Opened the .vmx file for the virtual machine with a text editor; in my case notepad++
  2. Located the following line: scsi0.virtualDev = “buslogic”
  3. Replaced the line scsi0.virtualDev = “buslogic” with scsi0.virtualDev = “lsilogic”
  4. Saved the .vmx file and returned back to VMware Player and started my virtual machine.

 

Enable VNC Console Access in ESXi 5.x

Long story short; I wanted to have VNC Console access to my VMware ESXi 5.x guest systems. Now knowing what I wanted I needed to find a way out. After trying many steps I narrowed down the steps that work perfectly in ESXi 5.

First thing to know is that you require a custom firewall rule in ESXi to allow network access to your guest machines that are enabled for VNC console access. This firewall setting does not exist by default.

The following steps should help you create the new rule:

Using vi or in my case WinSCP I navigated my way to the following location /etc/vmware/firewall and created a file named VNC.xml

Using the built in editor I added the following information:

<ConfigRoot>
<service>
<id>VNC</id>
<rule id=’0000′>
<direction>inbound</direction>
<protocol>tcp</protocol>
<porttype>dst</porttype>
<port>
<begin>5901</begin>
<end>5910</end>
</port>
</rule>
<rule id=’0001′>
<direction>outbound</direction>
<protocol>tcp</protocol>
<porttype>dst</porttype>
<port>
<begin>0</begin>
<end>65535</end>
</port>
</rule>
<enabled>true</enabled>
<required>false</required>
</service>
</ConfigRoot>

After saving the VNC.xml file I logged into my ESXi Console (via SSH) and issued the following command to restart the firewall service and enable my new custom firewall rule: esxcli network firewall refresh

Next I powered off the guest virtual machine I wanted to enable VNC access for and added the following lines:

remoteDisplay.vnc.enabled = “TRUE”
remoteDisplay.vnc.password = “password”
remoteDisplay.vnc.port = “5901″

The above lines can also be added via the vCenter Interface by doing the following:

Go to ‘Edit Settings’ for the virtual machine
Then the ‘Options’ tab
Select ‘General’ under the Advanced section
Click the ‘Configuration Parameters’ button and add the lines from above 1 by 1

Notes:

  1. Be sure to choose a port number within the range you specified in the VNC.xml custom firewall rule. You can also specify whatever range fits your needs, as long as its not already used by ESXi.
  2. Also remoteDisplay.vnc.password = “password” seems to be optional, however I recommend using a password

Disable warnings when SSH is enabled vSphere ESXi 5

The following steps are what I used to disable this warning on top of my VSphere Client to manage my ESXi 5.x servers.

  1. Select the ESXi 5.x host server in your Inventory
  2. Select Configuration
  3. Select Advanced Settings on the left under the Software menu
  4. Once selected find your way to the bottom where UserVars is located.
  5. Change the value of UserVars.SuppressShellWarning from 0 to 1
  6. Click OK

Cluster warning for ESXi Shell and SSH appear on an ESXi 5.x

Another way to resolve this is to use the esxcli command via the local console or over ssh.

Connect to the ESXi host using the root credentials and run the following command:

esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1

 

 

 

For the source of this info and additional steps please check out the VMware KB 2003637

Bria Android Smartphone App

I have been testing several free SIP Apps to go along with my FreePBX Asterisk server and after using an excellent app CSipSimple for a while I wanted to test how one of the paid variants would compare.

This had me looking right at CounterPath Corp’s Bria VoIP Softphone for Android. An app suited for corporations needed and at this point my own. It simply works great right out of the box. I had this setup in under five minute’s time. The sound quality is crisp both on 3G (H+) and Wireless There are many advanced features that I haven’t even played with yet. I may not need to as there doesn’t seem to be a need to fix what isn’t broken at this point.

The phone device I am using is a Samsung Galaxy S2 (i777 AT&T model).

For those of you who are serious about the applications you use and want to use a reliable one this is the app for you. Best of all, there is customer support if I find myself needing them.

 

Highlights

  • Highly secure, SIP-based softphone with exceptional voice quality
  • Purchase in-app Premium Features like Video Calls, Presence and Messaging or audio codecs to enhance your mobile softphone experience
  • Pre-defined VoIP Providers list available when adding new accounts on the Accounts screen
  • Multi-tasking support for background operation, such as fielding incoming calls while using other applications
  • Available in the following languages: English, Chinese (Simplified and Traditional), French, Japanese, Korean, Russian and Spanish.
  • Winner of the 2011 Product of the Year Award from Communications Solutions
  • Winner of the 2011 Product of the Year Award from INTERNET TELEPHONY Magazine

Telephony Features

  • Multiple account support for up to 12 accounts on any SIP-compliant server
  • Contact List leveraging the device’s native contact directory
  • Call display and voicemail indicator
  • Speakerphone, mute and hold functions
  • Call history with a list of received, missed and dialed calls
  • Ringtones and contact avatars
  • Dial plan support
  • Multiple call support – swap between two active calls, merge and split calls, transfer calls (attended and unattended)
  • Audio codecs include G.711 a/u, G.722 (HD), iLBC, GSM and SILK
  • Automatic codec selection to ensure optimal call quality
  • Support for DTMF: the ability to enter numbers to use an auto attendant via RFC 2833, SIP INFO and in-band
  • VPN support

Advanced Features

  • NAT traversal
  • Application managed, server managed or user specified
  • Global IP support
  • STUN and ICE
  • Media efficiency and quality
  • Noise Reduction
  • Echo cancellation
  • VAD (Voice Activation Detection)
  • QoS (Quality of Service)
  • ToS Marking
  • Security and encryption
  • TLS and SRTP (secure call signaling and audio encryption)
  • Logging support for trouble shooting
  • DNS SRV record lookups
  • Call quality statistics
  • VPN Support

Accessories

The following accessories are supported:

  • Headset with microphone: Bria uses the ear-piece and microphone on the headset.
  • Headphones (no microphone): Bria uses the ear-piece on the headphone and the built-in microphone on the phone.
  • Bluetooth™ support: dependent on Android device and operating system.

ITSP/Operator/Enterprise Features

  • Bria Android includes features specifically designed for business and enterprise users, including:
  • Optional customized branding for graphic assets and SIP settings
  • Additional security settings

Feature Info Source: CounterPath’s Website

Convert VirtualBox VDI to VMware VMDK

I am in the process of moving VirtualBox vdi’s over the VMware ESXi host so what better chance is there to post the process I am taking to make this happen. To perform this “magic” trick you will be using the VBoxManger tool to clone the VirtualBox disk into VMware formatted disk types.

I am using the following steps to convert my disks.

  • Open a terminal or ssh into machine hosting the virtual box disks
  • Ensure the disk is not  being used by a running system
  • Locate the disk image, change into the directory
  • Type the following command:
    VBoxManage clonehd “<vdi file >” <new.vmdk> –format vmdk
  • You can monitor the output as it will look somewhat like this via the console: 0%…10%…20%…30%…40%…50%…60%…

Once completed you have your new VMDK disk image which you can then copy over to a VMware Player, or ESX host to run from there.

Please note: You can do similar to above with other disk formats, however in this post I am just covering VDI to VMDK.

More info on VBoxManage here

Did you like this post, please stop by my Facebook Page and give us a Like

Google Voice Setup on FreePBX and Asterisk Version 11

This past weekend I installed a fresh new FreePBX (FreePBX 2.11.0) distribution with Asterisk 11.3. The install of FreePBX and Asterisk is made simple and once installed you have a fully functioning PBX waiting for your phones and trunks to connect.

I don’t have a trunk provider at this time so I decided to use Google Voice as my solution. The process of setting this up via the FreePBX WebUI was simplified and simply works. Best of all you have this all configured and running in under 10 min’s (5 min’s if you have done this more than once).

Here are the steps I took to get this up and running.

Requirements:

  • Computer (I am using a VMware Virtual Machine, 1GB of RAM, 2 vCPU, 16GB HDD)
  • Latest FreePBX Distribution CD/ISO (ISO works best for me to mount in VMware ESX)
  • Google Voice Account
  • Hardware or Softphone (I have tested with XLite and CSipSimple for Android)

After you have installed FreePBX and are up and running you will need to enter the webUI (http:// pbx address). From here you do the following:

Under Connectivity

  • Select Google Voice (Motif)
  • Under Typical Settings Enter your 
  • Google Voice Username 
  • Google Voice Password
  • Google Voice Phone Number (10 digit number, no spaces or dashes)
  • Check the option to Add Trunk
  • Check the option to Add Outbound Routes
  • Check the option to Send Unanswered ‘calls’ to Google Voicemail (optional)
  • Under Advanced Setting > Google Voice Status Message (keep it short)
  • In the XMPP Priority – Leave this as it is. No need to change this
  • Click Submit, followed by applying the settings (you’ll notice it in red up at the top navigation area)

Under Applications

  • Select Extensions
  • Device: Generic SIP Device and Submit
  • Configure an extension id (example: 101)
  • Fill in the Display Name (example: jermsmit)
  • Find your way down to ‘device options’
  • In the ‘secret’ a default passphrase is give, replace this what a value of your choosing 
  • Scroll down to the bottom and Click Submit

Under Connectivity

  • Inbound Routes
  • Create a description (example: GV_GoogleVoiceNumber)
  • In DID place your 10 digit Google Voice Number
  • Scroll down to ‘Set Destination’
  • Change the value to Extension and choose the extension you created above
  • Click Submit

Lastly you want to edit your sip settings

Under Settings

  • Choose Asterisk SIP Settings
  • Change the value of NAT to ‘yes’
  • Change the IP Configuration to ‘Dynamic IP’ (in my case)
  • Under Dynamic Host, enter your hostname (keep default refresh rate)
  • Under Local Networks fill out the info pertaining to your network. You can also attempt to use the Auto Configure if so desired.
  • Under Codecs you can leave the defaults (I enabled all of them)
  • Scroll to the bottom and Click Submit Changes

At this point you should be all set to test with your SIP Client. Simple log in using the extension and secret (password). Once registered attempt to place a phone call. Open port 5060 on your firewall and you can use this to connect to your server remotely.

Did you like this post, please stop by my Facebook Page and give us a Like

Extending Windows 8 Trial


I have been using the Windows 8 Enterprise for several months this way for testing rather than backup my data and reinstall the OS just to reinstall my applications, followed by configuration tweaks, which can be time consuming. I have started extending the trail to give me more time.

The process of extending a trial is called ‘rearming’.
Here is how I have done so:

  1. Open the command prompt as (Admin) | Answer Yes to the User Account Control
  2. You can then check your license information by typing slmgr /dli – this provides information on your version and license status.
  3. You could also use the command slmgr /dlv for more detailed information – good to give you status of how long you have before complete expiration of your trial 

If you just want the expiration date info type: slmgr /xpr

And finally what you have been waiting for: The rearm command.
Like the ones I mentioned above all you need to do is type: slmgr /rearm then reboot the computer.

This can be done no more than 3 times of the life of the install of the Windows 8 system. If you time it correctly you could have Windows 8 for free for 270 days. How cool is that.

Info on my test machines:
1 Physical Machine and 2 Virtual Machines (VMware)

SharePoint 2010 – Updating Webpart Solution

Similar to my previous post SharePoint 2010 – Deploying Webpart Solution, the upgrade process of a Webpart Solution you have a few steps to take to make this all happen.

As I did in my previous post:

I copied the webpart to the local disk of my SharePoint 2010 server. Placing it in a folder c:\install this time around I am not going to be running the command Add-SPSolution c:\install\SharePointWebpart.wsp as it already exist. If you do you will get an error stating that the solution already exists.

What you will need to do is run the following command for example: Update-SPSolution –Identity SharePointWebpart.wsp –LiteralPath c:\install\SharePointWebpart.wsp –GACDeployment

For more info on features and solutions cmdlets: http://technet.microsoft.com/en-us/library/ff607724.aspx