2010年5月26日 星期三

sslvpn

tun module in ubuntu 10.04

sudo apt-get install build-essential linux-headers-`uname -r`
mkdir faketun
cd faketun
echo -e "#include <linux/module.h>\nstatic int start__module(void) {return 0;}\nstatic void end__module(void){return;}\nmodule_init(start__module);\nmodule_exit(end__module);">tun.c
echo -e "obj-m += tun.o\nall:\n\tmake -C /lib/modules/\$(shell uname -r)/build/ M=\$(PWD) modules\nclean:\n\tmake -C /lib/modules/\$(shell uname -r)/build/ M=\$(PWD) clean\nclean-files := Module.symvers">Makefile
make
sudo install tun.ko /lib/modules/`uname -r`/kernel/net/tun.ko
sudo depmod -a
sudo modprobe tun



http://mad-scientist.net/juniper.html

2010年5月19日 星期三

lxr for uboot and linux

git repo with uboot and linux
http://mohammadthalif.wordpress.com/2010/05/09/how-to-setup-lxr/

plain repo
http://royc10000.blogspot.com/2009/10/debian-lxr.html

2010年5月3日 星期一

VPN

http://www.douhua.im/2010/01/06/ubuntu-server-install-openvpn-server/