How to test Netperf

You need 2 system to test netperf. PC.2: [root@pc.2]$ ./netserver -4 Starting netserver at port 12865 Starting netserver at hostname 0.0.0.0 port 12865 and family AF_INET [root@pc.2]$ PC.1: [root@pc.1]$ ./netperf -f M –l 120 -H 172.168.1.3 TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 172.168.1.3 (172.168.1.3) port 0 AF_INET Recv   Send    Send Socket [...]

OpenSWAN: L2TP/IPSec common error

23:58:40 pluto[14958] packet from X.X.X.X:500: initial Main Mode message received on X.X.X.X:500 but no connection has been authorized with policy=PSK This is a very common error and will cause the vpn not to come up. This basically means that this end of the vpn (where the log is) has received a request to handshake an [...]

openVPN

Config openVPN http://linuxconfig.org/VPN_-_Virtual_Private_Network_and_OpenVPN

nbd: howto

Network block devices are used to access remote storage device that does not physically reside in the local machine. Using Network Block Device, we can access and use the remote storage devices in following three ways on the local machine: SWAP File System RAW

vpnc HOWTO

1.  Introduction If you’re reading this, then you likely need to connect to your office network from home or during travel. Many companies utilize Cisco 3000 VPN concentrators for their VPN needs, and I am willing to bet that most Linux newbies think that they are forced to use Windows to connect to them. Well, this [...]

wget: recursively download all FTP directories

http://www.cyberciti.biz/faq/wget-recursive-download-command/

Mount NFS share in MAC OS X

http://www.cyberciti.biz/faq/apple-mac-osx-nfs-mount-command-tutorial/

Setup Time / Clock Synchronization with NTP server and ntpdate command

Just run ntpdate command as follows to see you can set date and clock via NTP: Set wrong date (Mon Dec 13 4:27 pm): # date 0412131627 Now set correct date with ntp client: # ntpdate -v -b in.pool.ntp.org

Ubuntu 10.10 and iBus-Unikey

1. Install ibus-unikey sudo apt-get update sudo apt-get install ibus-unikey

openSSL:ELF file data encoding not little-endian

This problem because ${cross_compile}ld need to load host .so library when running. and at this time, for many reason the LD_LIBRARY_PATH has change, and ${cross_compile}ld can not load *host* dynamic library files. so you need to set LD_LIBRARY_PATH to host to make it work. export LD_LIBRARY_PATH=/lib:/usr/lib Another solution is patched to openSSL itself. — openssl-0.9.8i/Makefile.shared  [...]

free blog themes