How to Install OpenVPN in Ubuntu 11.04

Few days ago I bought VPS account which I installed Ubuntu 11.04. This is how I installed OpenVPN into the VPS. The network configuration: # ifconfig lo        Link encap:Local Loopback inet addr:127.0.0.1  Mask:255.0.0.0 UP LOOPBACK RUNNING  MTU:16436  Metric:1 RX packets:11947 errors:0 dropped:0 overruns:0 frame:0 TX packets:11947 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1287068 (1.2…

Read More

Build FreeBSD Kernel

Make sure kernel source is installed. If it is not installed, use ‘sysinstall’ command. Copy kernel GENERIC configuration: # cd /usr/src/sys/i386/conf/ # cp GENERIC KERNELNEW Edit KERNELNEW configuration as your needed: # ee KERNELNEW And then, build the kernel: # cd /usr/src # make buildkernel KERNCONF=KERNELNEW # make installkernel KERNCONF=KERNELNEW Finish. Reboot PC. To build…

Read More

Connect to Wireless Network (WEP) in Ubuntu 11.04 using Command Line

Check wireless adapter: $ iwconfig You will see wireless adapter as wlan0 or ath0 which depends on what driver is installed. Execute the following command to apply ESSID, network key, channel, and mode: $ sudo iwconfig wlan0 essid yantoknuk-singtel $ sudo iwconfig wlan0 channel 6 $ sudo iwconfig wlan0 key ngumbahkucing $ sudo iwconfig wlan0…

Read More

Connect to Wireless Network (WPA) in Ubuntu 11.04 using Command Line

Install wpa supplicant package: $ sudo apt-get install wpasupplicant Configure network ESSID and passphrase. In this example I use ESSID ‘yantoknuk-singtel’ and passphrase ‘ngumbahkucing’. $ wpa_passphrase yantoknuk-singtel # reading passphrase from stdin After that, type in your passphrase right below the text ‘# reading passphrase from stdin’. # reading passphrase from stdin ngumbahkucing network={ ssid=”yantoknuk-singtel”…

Read More