Everything worked fine for ping and ssh (doing ls -l a couple of times) but the computer hang when I tried to mail (Netscape) this through that PPP. After reboot I tried both Netscape and lynx. Both were able to establish contact but none got any data."
Another way by Claudiu Costin:
Linux 2.2.5 with IrDA compiled as modules
Because irattach don't make kernel to load automatically IrDA stack, let's type modprobe actisys .
Now, irattach /dev/ttyS1 -d actisys where COM2 is used for null link
ping <address> works very good!
This has to be done for both machines.
Please note this is not the recommended stuff to connect two machines. Use PPP instead. Though I cannot see how this approach is useful I have included it beause it was asked sometimes in the mailing list.