Copy image file to SD using Mac OS X Terminal app

If you are comfortable with the Terminal in Mac OS X, you can copy your disk image file to your SD card with a few short commands.

Run:

  • cd ~/Downloads
    • Go to the location of you img file
  • diskutil list
    • identify the disk (not partition) of your SD card. e.g. disk4 (not disk4s1)
  • diskutil unmountDisk /dev/<disk# from diskutil>
    • e.g. diskutil unmountDisk /dev/disk4
  • sudo dd bs=1m if=<your image file>.img of=/dev/<disk# from diskutil>
    • e.g. sudo dd bs=1m if=2012-12-16-wheezy-raspbian.img of=/dev/disk4
    • This will take a few minutes depending on image size and the speed of your SD card.
    • Using the “raw” non-buffed /dev/r<disk# from diskutil> might save you 20 minutes!

Source: http://elinux.org/RPi_Easy_SD_Card_Setup

16GB SanDisk SD Card for Raspberry Pi main disk.

16GB SanDisk SD Card for Raspberry Pi main disk.

Most Raspberry Pi users choose 2GB or 4GB disks to save soem money. Saving money is always a great idea but might come to haunt you in a PBX environment. In our setup, we’ve chosen a 16GB SD card by SanDisk.

A 16GB SD card makes an ideal disk size for use as a PBX disk. Having the extra space comes in very handy when dealing with voicemail messages. They can accumulate much quicker than you might expect!

We recommend creating a separate partition for voicemail that matches the location you’ve set in FreeSWITCH voicemail configuration file conf/autoload_configs/voicemail.conf.xml.

Adjust to match the new partition your created.

In our case, we created a partition mounted to /var/spool/ and add the directory /var/spool/freeswitch/vm/ for FreeSWITCH voicemail storage. In this case, we set .

Tagged , , , , ,

Debian vs Raspbian: Why we use Raspbian

For those of you who are new to Raspbian, Raspbian is an unofficial port of Debian wheezy specifically compiled for Raspberry Pi. There’s lots of info on Raspbian here. Although vanilla Debian is great, only Raspbian is compiled and built specifically for the Raspberry Pi. There are many specific reasons to use Raspbian. 

Raspberry Pi’s ARMv6 CPU does have a hardware Floating Point Unit (FPU). The issue with standard Debian is that it only support the FPU on ARMv7-A generation CPUs and higher. Raspbian provides support for the Raspberry Pi’s ARMv6 CPU’s FPU. 

 

In the context of a PBX which has audio codec processing needs, Raspbian is a clear winner over vanilla Debian because Raspbian has support for the Raspberry Pi’s FPU. When transcoding audio codes, having the FPU available to help is critical.

 

Tagged , , , , ,

Compile and Install FreeSWITCH with Google Voice on RaspberryPi

Compile & Install FreeSWITCH with Google Voice on RaspberryPi

Haim Lichaa’s step-by-step guide for compiling and installing FreeSWITCH (with Google Voice using the mod_dingaling FreeSWITCH module) is by far the most complete guide for getting started with your own FreeSWITCH PBX on your very own RaspberryPi. This install uses Raspbian Whezzy.

Tagged , , , , ,