Puppet Installation


In my lab I have set up the CentOS 6.3 as the Puppet Master server, and Ubunt 12.10 as the Puppet agent. Install Puppet-Server on CentOS (Master) sudo rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-6.noarch.rpm sudo yum install puppet-server Install Puppet on Ubuntu (Agent) wget http://apt.puppetlabs.com/puppetlabs-release-precise.deb sudo dpkg -i puppetlabs-release-precise.deb sudo apt-get update sudo apt-get install puppet  Specify the … Continue reading Puppet Installation →

Disable the blinking wifi LED in Ubuntu


The wifi LED keeps blinking in my Ubunut 12.10 laptop (Intel chips) when it is connected. To disable it, I have changed the led_mode to 0. Here is how I did it:1) Change to root user.jchen@JC:~$ sudo -i[sudo] password for jchen: 2) Find out the wifi module.root@JC:~# lsmod | grep iwiwlwifi           … Continue reading Disable the blinking wifi LED in Ubuntu →

Screen brightness reset in Ubuntu


My Ubuntu laptop's screen brightness resets everytime after reboot. I have found a way to make the brightness adjustment 'stay permantly': 1) Adjust the brightness to the level that I like, then run 'cat /sys/class/backlight/acpi_video0/brightness '. The command will return the brightness level in a integer value. Mine is 12. 2) Add the line 'echo 12 … Continue reading Screen brightness reset in Ubuntu →

Auto Configure Proxy in Ubuntu


It is painful to turn the proxy on and off in my Ubuntu laptop between office and home.  As a lazy guy, I would like to make it automatic. Easy life now 🙂 1) Create 3 scripts named proxy_on, proxy_off and check_proxy under /usr/local/bin. #!/bin/bash #proxy_on gsettings set org.gnome.system.proxy.socks host 'proxy.company.local' gsettings set org.gnome.system.proxy.socks port … Continue reading Auto Configure Proxy in Ubuntu →