Fixing Perl Warning Setting Locale Failed Error Message on Ubuntu/Debian

If you run across Ubuntu/Debian perl or shell script and see the following locale error: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = “UTF-8″, LANG = “en_GB.UTF-8″ are supported and installed on your system. perl: warning: Falling back to the standard locale (“C”). Then it is more likely that your Ubuntu/Debian locale is not configured properly. I Continue reading

Configure Timezone Settings on Raspberry Pi Raspbian Wheezy

Below is an example on how to configure date and timezone settings on your Raspberry Pi Raspbian Wheezy. The following example is based on Debian Linux and it is working perfectly with Raspbian Wheezy for Raspberry Pi. pi@raspi: ~ $ sudo -i password: root@raspi:~# tzselect Please identify a location so that time zone rules can be set correctly. Please select a continent or ocean. 1) Africa 2) Americas 3) Antarctica Continue reading

Connecting Raspberry Pi to WiFi

Raspberry Pi doesn’t come with WiFi adapter built-in. It only have one fast ethernet (RJ45) port to connect it to the network. In order to make your Raspberry Pi become wireless, there are many small-sized WiFi USB dongle which is work out of the box with Raspberry Pi. One of them is TP-LINK TL-WN823N WiFi USB dongle. Plug in the dongle to the Raspberry Pi USB port, then it should Continue reading

Enable DHCP Server on MacOS X Mountain Lion

MacOS X comes with DHCP server out of the box, but it is not enabled by default. The server, which is called bootpd in MacOS X, serves as DHCP server and BOOTP server. However, if you just need to enable DHCP server on your MacOS X, it is very easy. You need to create bootpd configuration file which is contains DHCP server configuration. The bootpd configurations are stored in /etc/bootpd.plist Continue reading

Install Raspbian Wheezy on Raspberry Pi SD Card Using MacOS X

Raspberry Pi is a credit card size ARM-powered mini computer which is very popular among embedded system developer and hobbyist. A vanilla Raspberry Pi is not come built-in with an operating system. The operating system for Raspberry Pi can be installed on an SD-card which is loaded during bootup process. So, to make your Raspberry Pi useful, you need to install an operating system into an SD Card, plug it Continue reading