Internet: How to test a POP server by using telnet

digg delicious technorati blinklist furl reddit

What you need

The host name of the POP server (for use in the telnet command)
The POP user name (for use in the USER command)
The user’s POP password (for use in the PASS command)

Encryption

For added security, you can encrypt your POP connection. This requires that your server supports SSL or TLS and that you have access to an SSL/TLS client program, for example OpenSSL, to use instead of telnet.

As the port number normally is 995, an example OpenSSL command would be openssl s_client -connect pop.example.com:995 -quiet.

Read to full article here

Posted by Administrator on Jan 05, 2012

Create FreeBSD jail without compiling userland.

digg delicious technorati blinklist furl reddit

I found an website explaining installing FreeBSD jails without compiling userland (make buildworld) first, altough the steps where clear and complete I screwed up my FreeBSD installation because of a minor typo (entering parameters in all lowecase instead of camel case). Then I decided to write a script avoiding this to happen in the future.

I you find this useful as well, you can find this script in my bitbucket repository

Posted by Administrator on May 07, 2011

Handy tcsh aliases for use with chef knife shell

digg delicious technorati blinklist furl reddit

Here are some handy tcsh aliases for the knife shell utility of the opscode chef infrastructure automation solution:

alias knifeshell knife ssh "\!:1" interactive -a hostname -x YourUserName

This will connect to all servers matching a search query so:

knifeshell "hostname:a*" will connect to all servers with a hostname starting with the letter “a” knifescreen knife ssh "\!:1" screen -a hostname -x -x YourUserName

This will do more or less the same as the previous command but it will use the gnu screen utility

and finaly:

alias kniferun knife ssh "\!:1" "\!:2" -a hostname -x YourUserName

will run a shell command on all servers matching the search query.

example:

to show the directory listing of your home folders for all servers known by chef:

kniferun "hostname:[* TO *]" ls

for more information about the search syntax or the knife utility check the opscode wiki

Continue Reading…

Posted by Administrator on Apr 06, 2011

Fix plymouth boot splash on Ubuntu 10.10 (Maverick Meerkat)

digg delicious technorati blinklist furl reddit

To get rid of the ugly plymouth boot splash screen after installing ATI or NVIDIA drivers do the following:

  1. Install v86d package (sudo apt-get install v86d)
  2. Edit the grub config file (/etc/default/grub)
    • replace GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” into GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset video=uvesafb:mode_option=1280x800-24,mtrr=3,scroll=ywrap" or whatever resolution you want to use.
    • replace #GRUB_GFXMODE=640×480 into GRUB_GFXMODE=1280x800 (or whatever resolution you used in the previous change).
  3. Edit the initramfs config file (/etc/initramfs-tools/modules)
    • add the following line to the the config file uvesafb mode_option=1280x1024-24 mtrr=3 scroll=ywrap
  4. Enable framebuffer support
    • add FRAMEBUFFER=y to /etc/initramfs-tools/conf.d/splash (echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash)
  5. Update grub and initramfs
    • sudo update-grub2 && sudo update-initramfs -u
  6. Reboot

Posted by Johan Bakker on Oct 11, 2010

Error on this site

digg delicious technorati blinklist furl reddit

Hi,

If you came across this website in the last months or so you probably noted the undefined method `[]’ for #, error message on several pages including the homepage. Today I finally took some time to fix this issue.

Continue Reading…

Posted by Johan Bakker on Sep 21, 2010

Installing Passenger Nginx module on FreeBSD

digg delicious technorati blinklist furl reddit
Currently (at least when I wrote this article) the FreeBSD ports system didn't contain a port for the Passenger Nginx module to deploy a Ruby on Rails application in the Nginx webserver, but it did contain all the necessary components. It is rather simple the use the nginx and rubygem-passenger from the port system and enable passenger support in Nginx. Continue Reading…

Posted by Johan Bakker on May 16, 2009