Tuesday, April 29, 2008

Mount ntfs external Hard disk in Ubuntu

mount -t ntfs-3g /dev/sdxx /folder -o force

folder is a folder in Ubuntu
/dev/sdxx is the attached device (look dmesg)

Friday, April 25, 2008

Bacula Client - iptables

iptables -A INPUT -p tcp --dport 9102 -j ACCEPT

iptables -A OUTPUT -p tcp --dport 9103 -j ACCEPT

Thursday, April 24, 2008

Install Asus Onboard LAN in Ubuntu

Download the proper Driver:

and unzip that.

install Linux-Headers:

apt-get install linux-headers-$(uname -r)

go to src folder of Driver:

make install
modprobe atl1

add eth1 to /etc/network/interface.

Wednesday, April 16, 2008

OpenVPN with Dynamic IP

Create an account on DYNDNS.

Register a new Domain, for example:

On Router define the Dynamic DNS with information above.

Put a free port for OpenVPN on Router: for example 1194

Install OpenVPN and ddclient on Server.

On OpenVPN Client's Config file put this line:

remote 1194

Friday, April 11, 2008

Ubuntu - Share windows

Share the Folder in windows.

run this command on Ubuntu:

echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

Mount the share in Ubuntu:

mount -t cifs // /Floder-in-Ubuntu -o username=administrator,password=password-for-admin,

Mount permanently by add this line into /etc/fstab:

// /Folder-in-ubumntu smbfs auto,username=Administrator,password=password 0 0

Thursday, April 10, 2008

Windows File Synchronization

Dimio's Site:

Dimio's Tools:



Tuesday, April 8, 2008

Dynamic and Static IP in Ubuntu

Edit the following file:
for Dynamic IP:
auto eth0
iface eth0 inet dhcp

for Static IP:

auto eth0
iface eth0 inet static