Archive for November, 2008

How to share a VPN connection in Ubuntu Intrepid Ibex

Scenario:
You have a local area network:

  • 192.168.1.1 – Router
  • 192.168.1.4 – Laptop
  • 192.168.1.5 – Desktop

Solution:
In this scenario, your desktop computer is connected to your corporate VPN. You would also like your laptop connected, but can’t because the VPN only allows 1 connection per username. Your corporate lan is a 10.0.0.0 network. In this example I use VPNC, which creates an interface called ‘tun0′ when I connect (use ifconfig -a to see all of your interfaces).

Commands on Desktop:

#!/bin/bash
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -i eth0 -d 10.0.0.0/8 -j ACCEPT
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
sysctl net.netfilter.nf_conntrack_acct=1

Commands on client:

#!/bin/bash
sudo route add -net 10.0.0.0 netmask 255.0.0.0 gw 192.168.1.5

Tags: , ,

ATI + Compiz

My desktop has been feeling quite sluggish lately, so I decided to do a test.

Current system:

  • AMD X2 4800+
  • 4GB Ram
  • ATI 3870 PCI-E Video Card
  • FGLRX driver

My old system:

  • AMD XP 2800+
  • 1GB Ram
  • Nvidia 6600GT AGP Video Card
  • Nvidia Driver

The difference, using them both side by side, is pretty drastic. The old system just blows away my new system. I can barely scroll in firefox, and switching tabs takes like 1.5-2 seconds on my new system, on the old system it flies. Also full screen video can’t be done without major choppyness on new system, but the old one works awesome.

I think I am going to have to replace the video card in the new system, because I can barely use Linux with this card, even with compiz disabled. Or just deal with it until open source drivers make more headway (although with the Xorg people being so grumpy towards the radeonhd people, who knows when that will happen).

Tags: , ,

Ubuntu Intrepid Ibex

“Ubuntu 8.10 Desktop Edition, nicknamed “Intrepid Ibex,” provides so much functionality and ease of use, at zero cost of acquisition, that it is really impossible to ignore.”

Review: Ubuntu 8.10 Is The Real Deal

Tags: , ,