iptables rule for dyndns host

Goal Add a iptables rule for a dynamic changing IP with an associated dyndns host. How to make your computer register your changing IP #apt-get install inadyn Create a /etc/inadyn.conf #cat /etc/inadyn.conf --username ******** --password ******** --update_period 60000 --alias *****.dyndns.org --background Start the process: /usr/sbin/inadyn Make it start at reboot: #crontab -l @reboot /usr/sbin/inadyn First idea Use the hostname directly in iptables. There are 2 problems: the iptables manual says (quote): -s, --source [!...

August 6, 2007 · len

T630 phone sync

Sony Ericsson T630 phone sync After making the IR and bluetooth work on Feisty the next step was to sync all the contacts from my Sony Ericsson T630 phone. This was extremely easy as I was just required to install multisync: apt-get install multisync libmultisync-plugin-evolution libmultisync-plugin-backup libmultisync-plugin-irmc libmultisync-plugin-irmc-bluetooth and then create a backup synchronization pair: After synchronization all the contacts will be found as vcard files in the backup directory....

June 5, 2007 · len

Disabling avahi-daemon

One of the things I quickly found to be bothering me is the fact that there was an apparently long and unexplicable delay for all new network connections which resembled to a dns resolving. No reason for lengthy dns resolving though. So I did a strace: socket(PF_FILE, SOCK_STREAM, 0) = 4 fcntl64(4, F_GETFD) = 0 fcntl64(4, F_SETFD, FD_CLOEXEC) = 0 connect(4, {sa_family=AF_FILE, path="/var/run/avahi-daemon/socket"}, 110) = 0 fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR) fstat64(4, {st_mode=S_IFSOCK|0777, st_size=0, ....

May 4, 2007 · len

Use the bluetooth port with ubuntu

Making bluetooth work on my Dell Latitude D820 with my Sony Ericsson T630 phone was rather easy. I just needed to enable bluetooth in bios and then install the following packages: apt-get install bluetooth gnome-bluetooth apt-get install bluez-gnome bluez-utils After the install I started the bluetooth-applet. A bluetooth icon appeared in the notification area and I was able to add the laptop to my phone as a bluetooth friend and send a file from the phone to the laptop....

April 30, 2007 · len

Use the IR port with ubuntu

This is more of a fuss as I wanted to connect to my Sony Ericsson T630 phone over infrared, hopefully at some point I will be able to use it’s modem for GPRS access. Activate the ir (COM2 – /dev/ttyS1) in bios Install the irda-utils and openobex packages apt-get install irda-utils obexfs obexftp openobex-apps Load the needed kernel modules modprobe irda modprobe ircomm modprobe ircomm-tty modproble irtty-sir edit /etc/modules and add...

April 29, 2007 · len

Ubuntu Edgy on Latitude D820

With great surprise I found out that my long awaited laptop arrived the next day after Christmas! Of course, for a few days I did not get much sleep and I played with my new toy. The alternatives It was a hard choice to find a replacement for the Inspiron 8000, which I used for 5 years with great joy. I was tempted by the new MacBook Pro, but adding the cost for 3 years of warranty, and all taxes in Romania, and Leopard needing a few more months of wait, I chose Dell Latitude D820 with an extra bonus: better screen resolution....

December 31, 2006 · len

From Gentoo to Ubuntu on a Dell I8600

## Start Taking advantage of the the holiday spirit and the free time that comes with the package I could not resist the urge to update my 3 years gentoo linux system. It seems like an invisible bad force which pushes people to update things which work good such that they don’t work at all after. So, pushed by this force started a emerge -u world which I usually do twice a year....

December 30, 2006 · len

Portknocking

Port knocking sample client-server Last updated: 18-jan-2005 This update contains the following improvements: * configuration of the server is now located in a separate file Example configuration file for the server: #$Id: knockd.cfg,v 2.0 2005/01/18 11:57:19 len Exp $ #knockd configuration file [main] #the file to monitor file=/var/log/all.log #the pattern to watch for, note that you must have the #"ts", "from" and "port" groups (see python "re" module for more documentation) pattern=(?...

November 19, 2006 · len