connecting vpn in xp
setting up vpn server in win 7
connecting vpn in ubuntu
My problems and solutions about tech.
(1.) Launch Firefox.(2.) Then, insert about:config in the address bar. Right click on the list, select New, then Boolean; insert network.protocol-handler.external.ed2k as Preference Name and true as Value.(3.) Now another right click, select New and String; insert network.protocol-handler.app.ed2k as Preference Name and /usr/bin/ed2k (or path to where the file is installed on you system) as Value.(4.) Restart Firefox.
#include#include/* Needed by all modules */ #include/* Needed for KERN_INFO */ #include/* Needed for the macros */ static int __init hello_start(void){printk(KERN_INFO "Loading hello module...\n");printk(KERN_INFO "Hello world\n");return 0;}static void __exit hello_end(void){printk(KERN_INFO "Goodbye Mr.\n");}module_init(hello_start);module_exit(hello_end);
sudo apt-get install linux-headers-`uname -r`vi hello.c
vi Makefile
obj-m := nothing.o
make -C /lib/modules/`uname -r`/build M=`pwd` modules
scp user@remote_server:myfile ~/mydir
sudo gedit /etc/network/interfaces
auto eth0iface eth0 inet staticaddress 10.8.16.1netmask 255.255.255.0broadcast 10.8.16.0network 10.8.16.0
ddns-update-style none;option domain-name "mynetwork";option domain-name-servers Nameserver1, Nameserver2;option routers 10.8.16.1;default-lease-time 42300;max-lease-time 84600;authoritative;log-facility local7;subnet 10.8.16.0 netmask 255.255.255.0 {range 10.8.16.50 10.8.16.150;}
INTERFACES="eth0"
/sbin/iptables -P FORWARD ACCEPT/sbin/iptables --table nat -A POSTROUTING -o ra0 -j MASQUERADE