Thank you for the reply.
I read that tutorial, but I recently found a more recent howto.
http://http://www.ott.net/knowledge/tcpip-nullmodem/
Unfortunately it doesn't work. I installed Trumpet Winsock on the pc2 and I configured it with the SLIP settings...
But the PC2 still cannot ping the PC1...
------------EDIT------------
Now it can ping it!
How can I enable the IP forwarding in the Ubuntu pc?
i tried
echo "1" > /proc/sys/net/ipv4/ip_forward
and
iptables -t nat -A POSTROUTING -o sl0 -j MASQUERADE
but the DOS pc still cannot reach the internet....