Category Archives: Internet

cat 6

Maintain small network where you only dealing with 3 or 4 computer plus a few (around 4 laptop that use wireless connection) machines is simple. Just plug the ADSL modem and turn on dhcp with default setting but when happy problem came (grow bigger to thousand computer)  then its no more room for playing :-)

Yes, most of past problem is came with cable. Good network design without good network cable is like building sandbox. Looks strong but weak inside. Last week we have a job to see a hospital network built by someone that heavily use network cable here and there. You can drying clothes with the cable due to the way they pull the cord.

After look around for almost an hour we came with conclusion, mainly judge old cable they use. We give them online reference too (related to price and youtube videos). Some of them listed here :

Use different colour

By using different colour you can easily identify which cable work as backbone and which cable work as branch, channeled to the client.

Blue cable for backbone and other for client.

Continue reading

How to connect to OpenVPN server from Ubuntu 13.04 Desktop

Yesterday my friend came to my house and ask about connect to openvpn server from linux desktop. I told him to install vpn client first then connect to vpn server but that instruction is not enough for him so I give him personal assistance and document the process here in case someone need it in the future. Lets get start :

Install OpenVPN client

$ sudo apt-get install openvpn
[sudo] password for alamsyah:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libjavascriptcoregtk-1.0-0 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common
Use ‘apt-get autoremove’ to remove them.
The following extra packages will be installed:
libpkcs11-helper1
The following NEW packages will be installed:
libpkcs11-helper1 openvpn
0 upgraded, 2 newly installed, 0 to remove and 330 not upgraded.
Need to get 494 kB of archives.
After this operation, 1.247 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://id.archive.ubuntu.com/ubuntu/ raring/main libpkcs11-helper1 i386 1.09-1build1 [47,6 kB]
Get:2 http://id.archive.ubuntu.com/ubuntu/ raring/main openvpn i386 2.2.1-8ubuntu3 [447 kB]
Fetched 494 kB in 8s (61,7 kB/s)
Preconfiguring packages …
Selecting previously unselected package libpkcs11-helper1:i386.
(Reading database … 200544 files and directories currently installed.)
Unpacking libpkcs11-helper1:i386 (from …/libpkcs11-helper1_1.09-1build1_i386.deb) …
Selecting previously unselected package openvpn.
Unpacking openvpn (from …/openvpn_2.2.1-8ubuntu3_i386.deb) …
Processing triggers for man-db …
Processing triggers for ureadahead …
ureadahead will be reprofiled on next reboot
Setting up libpkcs11-helper1:i386 (1.09-1build1) …
Setting up openvpn (2.2.1-8ubuntu3) …
* Restarting virtual private network daemon(s)…                                                                                               *   No VPN is running.
Processing triggers for libc-bin …
ldconfig deferred processing now taking place
Processing triggers for ureadahead …
$

Download openvpn client configuration file

Connection setting for specific user can be found easily if you use openvn as, just access the address in the following format :

http://servername:943

openvpn_client_ubuntu

Click on “Yourself (user-located profile)”.

Connect to OpenVPN server

Pick downloaded client.ovpn

$ sudo openvpn --config Downloads/client.ovpn
Sat Jan 18 14:18:15 2014 OpenVPN 2.2.1 i686-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 13 2013
Enter Auth Username:alam
Enter Auth Password:
…………….
………………….
……………………..

Sat Jan 18 14:18:27 2014 TUN/TAP device tun0 opened
Sat Jan 18 14:18:27 2014 TUN/TAP TX queue length set to 100
Sat Jan 18 14:18:27 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sat Jan 18 14:18:27 2014 /sbin/ifconfig tun0 172.27.232.5 netmask 255.255.248.0 mtu 1500 broadcast 172.27.239.255
Sat Jan 18 14:18:32 2014 /sbin/route add -net 192.241.146.134 netmask 255.255.255.255 gw 192.168.1.1
Sat Jan 18 14:18:32 2014 /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 172.27.232.1
Sat Jan 18 14:18:32 2014 /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 172.27.232.1
Sat Jan 18 14:18:32 2014 Initialization Sequence Completed

if you want to hide all those message use –daemon

$ sudo openvpn --daemon --config Downloads/client.ovpn
Enter Auth Username:alam
Enter Auth Password:
$

Ip address before connection made

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:9e:01:1c:3a:f9
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 08:3e:8e:32:8f:62
inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0
inet6 addr: fe80::a3e:8eff:fe32:8f62/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:348892 errors:23 dropped:0 overruns:0 frame:253441
TX packets:267410 errors:25 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:438515703 (438.5 MB)  TX bytes:29792681 (29.7 MB)
Interrupt:19

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:4789 errors:0 dropped:0 overruns:0 frame:0
TX packets:4789 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:481600 (481.6 KB)  TX bytes:481600 (481.6 KB)
$

Ip address after connected :

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:9e:01:1c:3a:f9
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 08:3e:8e:32:8f:62
inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0
inet6 addr: fe80::a3e:8eff:fe32:8f62/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:349509 errors:24 dropped:0 overruns:0 frame:261386
TX packets:268163 errors:25 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:438599978 (438.5 MB)  TX bytes:29983493 (29.9 MB)
Interrupt:19

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:4829 errors:0 dropped:0 overruns:0 frame:0
TX packets:4829 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:484929 (484.9 KB)  TX bytes:484929 (484.9 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:172.27.232.5  P-t-P:172.27.232.5  Mask:255.255.248.0
UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
RX packets:142 errors:0 dropped:0 overruns:0 frame:0
TX packets:240 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:13651 (13.6 KB)  TX bytes:53785 (53.7 KB)

Use service like whatismyip.com to check current ip address.

Step by step guide install Hotspot Shield

Unblocked blocked website and open blocked website are common problem that I face when I’m in the office. Sometime I need to open facebook, gmail, youtube etc but its get blocked due to office IT policy restriction.

A few way to overcome that problem are :

  1. Using UltraVPN – How To Open Blocked Websites with UltraVPN
  2. Using Ultrasurf – How to use Ultrasurf for Bypass Blocked Websites
  3. Using Web Based Proxy –  click this address to test.
  4. Using SecureIpad – for Ipad user.

In this post I’ll add  Hotspot Shield, another way to overcome blocked sites.

Continue reading

How to use filter in google apps email

I hate spam and more when they know my real email address.

But I need solution to stop them. Currently I use Google Apps service which use the same engine as gmail minus a few feature.

First step I use is using ‘Report Spam’ that available in each email display.

This solution is not help me to combat unwanted email that force me to join their mailing list until I use filter.

Yes, the same filter that gmail use.

First : copy and paste the email address.

Continue reading

Vmware 2.0

Vmware 2.0 released.

Some features of Vmwware 2.0 :

  • VI Web Access: VI Web Access enables you to perform host and virtual machine configuration on VMware Server 2.0. This intuitive web-based interface provides a simple and flexible tool for virtual machine management.
  • VMware Remote Console: VMware Remote Console enables you to interact with the guest operating system on the host or a remote system. After you install it as a Web browser add-on, it can run independently from VI Web Access. VMware Remote Console also allows you to connect and disconnect client CD/DVD and floppy devices.
  • USB 2.0 Device Support: VMware Server now supports faster data transfer with USB devices plugged into the host system. If the guest operating system has appropriate USB 2.0 device drivers, you can use peripherals that require high-speed performance, such as speakers, webcams, next-generation printers and scanners, and fast storage devices.
  • Increased RAM support: The maximum amount of memory that can be allocated per virtual machine has been raised from 3.6GB to 8GB. The amount of memory used by all virtual machines combined is limited only by the amount of the host computer’s RAM.
  • Improved 64-bit guest support: 64-bit guest operating systems that run on Intel EM64T VT-capable or AMD64 revision D or later processors are fully supported.
  • Native 64-bit host support on Linux: VMware Server now runs natively on 64-bit Linux host operating systems.
  • Quiesced backups of virtual machines: On Windows hosts, you can enable the VMware VSS Writer, which uses snapshots to maintain the data integrity of applications running inside the virtual machine when you take backups.
  • VMCI Sockets interface: This feature provides a sockets interface for the Virtual Machine Communication Interface, which provides a faster means of communication among applications running on the host and in virtual machines. For more information, see the VMCI Sockets Programming Guide.
  • Hot add and remove for SCSI hard disks: You can now add and remove SCSI virtual hard disks while the virtual machine is running in hardware version 7 virtual machines.