Saturday 7 February 2015

TROUBLESHOOTING NETWORK AND TREATMENT

Building a simple wireless network at home or office computer is easy enough to do little with the availability of various network devices, especially wireless router that has been integrated with the modem such as DSL-2640 D-Link or NETGEAR DGND3300. But sometimes it is not as simple as in theory, network problems often occur that force ourselves to do the network troubleshooting.

Troubleshooting network is doing a series langkah2 mostly to eliminate potensi2 problems one by one before we finally found the source of the problem. Basically there are three basic steps to troubleshoot a wireless network at home or at the office, namely: isolate the problem; troubleshooting problems; and if necessary contact the appropriate technical support.

isolating Problems

Before troubleshooting the network, we need to localize or isolate what is at the root of the problem. This article is devoted to the wireless network dirumahan or small office, although his theory can be applied to a method of troubleshooting network problems in corporate networks as well. Generally on a wireless network at home or small office, there are three layers as shown in the diagram below, namely the Internet, modem / routers, and computers on the network. We should be able to isolate in the layer where the problem is before we perform network troubleshooting effectively.

Network layer for insulation problems in the home network

Although we may be able to fix almost any network problems, knowing in the layer where the root of his problem is very helpful if the situation is forcing us if we need to contact technical support eg to the vendor or if it was stuck to the ISP can not fix it after we perform the network troubleshooting.

How do I know in the layer where the root of his problem, we can follow the following steps assuming our computer using Windows XP / Vista.

Click Start => Control Panel => Click Network and Internet Connections
Under Network and Internet Connection => Click Network Connection
Now we can see the status of the NIC connection to the computer network adapter under the Network Connections window with the possible status as follows:
A> Status is Connected but can not access the internet

Connected Status

This status indicates that your computer is connected to the network properly, that is connected to the router / modem in the middle layer in the layer above the image. If the wireless network, the computer connected to the wireless router properly. This indicates there is a problem in the upper layer, namely the Internet.

To be able to perform network troubleshooting with this status, we can follow the steps below.

Make sure the first to open our Internet browser and check to certain websites such as only to www.computer-network.net or to www.wireless-router-net.com or wherever. If you can access the particular website but another good website, there are no problems on the side of your network. The problem lies on the part of an ISP which may be one of backbonenya damaged or broken. If at all you can not open the internet anywhere, continue the following steps.
Disconnect the telephone line to the modem or Cable line, wait a while for a minute and then connect again.
Unplug the wireless router from the modem (the connection between the LAN port on the modem and the wireless router WAN port), wait a while and then continued again. This is if you have a separate device between the wireless router and modem.
Restart your computer and repeat to open and access the website. If you can access the website but once the connection is slow while others can access the computer (if there are more than two computers in a network) you can suspect some other computers are taking a very intensive bandwidth may be streaming HD media from the internet or many make sharing files with multiple computers. the lid on another computer some suspicious applications and if necessary turn off while to make sure the problem. If none of the website opens, then perform the following steps.
If you have a separate modem and wireless router, try to disconnect the connection to the wireless router and connect your computer directly to the modem. Restart your computer and try again internet access. If you successfully access to the internet, then you can be sure there is a problem with your wireless router.
If these steps still have not managed to access the internet, then certainly there is a problem with your modem or there is a problem with your P IS. Call your ISP to make sure if there is a problem with the Internet service.
B> NIC or wireless adapter disabled status

Disabled status

If the above picture is blurry status abu2 then ascertained that the adapters in the Disabled state. There is someone who inadvertently disabled downloading it or maybe you own a fraudulent attempt there click here and click Disable. Right-click the icon and select Enable.

C> limited or no connectivity status

Limited or no connectivity status

Conditions of limited or no connectivity basically no problem with your computer, connect to the router or modem is also no problem, but the configuration of the wireless router is not perfect. It is usually associated with the DHCP configuration on the router is off or there is a connection problem between the modem and the internet (if the parties ISP provides DHCP services to clients).

Troubleshooting a network with limited or no connectivity status is due to several different issues including the internet connection fails, the wireless router or adapter is not configured properly. Follow the instructions below for troubleshooting network with this status.

Right-click the adapter and select Repair. Consider whether it is a normal connected or still limited. This step ensures to obtain an IP address from the DHCP server.
Open the properties of TCP / IP on your adapter and make sure that the TCP / IP configuration is the Obtain an IP address automatically.
Disconnect the connection to the modem, wait a minute and connect again.
If there is a separate wireless router to the modem, disconnect the connection - wait a few seconds and plug it again.
Restart your computer
Until this step is still too limited status, then see if the router configuration or DHCP configuration was already enabled.
Restart your computer. If the status is Limited or no connectivity, and if the wireless computer and a separate modem, try to disconnect the modem and the router continues to connect your computer directly to the modem. Restart the computer and check if the status has changed.
If it is still too limited status, contact your ISP. This status indicates DHCP failed function can not provide IP addresses to clients. Usually parties ISP provides DHCP configuration to clients.
D> Cable disconnected or loose

The status of the network cable is disconnected

This condition shows the wiring connections regardless, there is no connection to the router / modem.

Check if there kebel apart
If the cables are connected perfectly to the router / switch, try to swap to another port on the router / switch. You can also check the status lights on the router or switch when the cable is connected to the computer how the port number to connect, usually light flashes if there is a connection to the wireless router / switch on the corresponding port.
If still disconnected status, try changing the network cable with a new one or try to borrow with a proven way cable from the computer side.
If the status is still disconnected, while other computers the way - then you can suspect a defective adapter. Replace with yangbaru.
E> Wireless adapter can not connect to wireless network

No connection to the wireless network

This shows the connection status of your wireless adapter is disconnected with your wireless network. There are two possibilities, your wireless adapter can not connect to your wireless network, or intermittent wireless connection

Friday 6 February 2015

HOW TO INSTALL OPENVPN ON CENTOS

How to Install OpenVPN on CentOS 5 & 6 32 / 64bit - One day I bought a vps vps and have not installed anything, I putuskatan to install openvpn on centos os, but then I do not know what what I install openvpn on centos. I can not find that here also, finally a friend tell me that there is in an existing web that discuss how to easily install openvpn, I became immediately to the scene in question and vps web sayapun now can be used for openvpn.

OpenVPN users are now a lot, because I think so good for surf, so stable. To share the Internet can also be used with Connectify hotspot, and others as well. Therefore, the user openvpn far enough.

VPS you want to plug openvpn? Follow yuk following way.

1. Log in via Bitvise open a terminal (xterm), or via putty.
2. Should the root access.

Make sure TUN TAP is active
Enter:
cat / dev / net / tun
Make sure also thanked: File descriptor in bad state
-----------
3. Enter the following command:
CentOS 5 32bit
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
CentOS 5 64bit
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
CentOS 6 32 bit
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm
CentOS 6 64bit
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
ALL CentOS 5
-Import rpm http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K-0.5.2-2.el5.rf RPMForge-release. *. rpm
rpm -i-0.5.2-2.el5.rf RPMForge-release. *. rpm
ALL CentOS 6
-Import rpm http://apt.sw.be/RPM-GPG-KEY.dag.txt
rpm -K-0.5.3-1.el6.rf RPMForge-release. *. rpm
rpm -i-0.5.3-1.el6.rf RPMForge-release. *. rpm
yum -y install openvpn
/usr/share/doc/openvpn-2.2.2/easy-rsa/ cp -r / etc / openvpn /
WATCH CentOS 6
need a little change
yum -y install nano
nano /etc/openvpn/easy-rsa/2.0/vars

Then EDIT following lines:
export KEY_CONFIG = `$ EASY_RSA / whichopensslcnf $ EASY_RSA`
TO BE:
export KEY_CONFIG = / etc / openvpn / easy-rsa / 2.0 / openssl-1.0.0.cnf
Then SAVE (Ctrl + X) (Y) (ENTER)
cd /etc/openvpn/easy-rsa/2.0/
chmod + x *
source ./vars
./vars
./clean-all
./build-ca
Quite Enter All EXCEPT COMMON NAME (fill in as you wish)
then:
./build-key-server server
Pay attention and follow the steps carefully, as it appears notification (two times) select Y (y)
------------
./build-dh
Wait until the process is complete
If you already enter the following:
/etc/openvpn/easy-rsa/2.0/keys/ cp -r / etc / openvpn / keys /
/etc/openvpn/keys/ca.crt cp / etc / openvpn /
cd / etc / openvpn /
Creating Response to TUN driver
paint> << END server.conf
dev tun *
END
MembuatConfigurasi server:
paint> << END vpn.conf
port 110
proto tcp
dev tun
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/server.crt
key /etc/openvpn/keys/server.key
dh /etc/openvpn/keys/dh1024.pem
/usr/share/openvpn/plugin/lib/openvpn-auth-pam.so plugin /etc/pam.d/login
client-cert-not-required
username-as-common-name
server 10.9.8.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
5 keepalive 30
comp-lzo
persist-key
persist-tun
the status of the server-tcp.log
verb 3
END
Port forwarding
echo 1> / proc / sys / net / ipv4 / ip_forward
Route iptables rules
iptables -t nat -A POSTROUTING -o -s 10.9.8.0/24 -j SNAT -to venet0 162.218.92.136

KVM VPS:
chkconfig openvpn on
vi /etc/sysctl.conf
look for
find net.ipv4.ip_forward
And change valuenya from 0 to 1 like this
net.ipv4.ip_forward = 1
echo 1> / proc / sys / net / ipv4 / ip_forward
iptables -t nat -A POSTROUTING -s 10.9.8.0/24 -o eth0 -j MASQUERADE
service iptables save
service iptables restart
xxx.xxx.xxx.xxx above replace with your VPS IP
Run VPN on the server:
service openvpn start
Create Client Config:
paint> << END vpn.ovpn
client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 443
resolv-retry infinite
route-method exe
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
auth-user-pass
comp-lzo
verb 3
END
REMEMBER, replace xxx.xxx with your VPS IP
==============================
Make that ca be accessed via the web:
mkdir / var / www / html / ca
ca.crt cp / var / www / html / ca
-Add chkconfig openvpn ca.crt cp / var / www / html / ca
chkconfig openvpn on
clear
exit
Please file 1194-client downloaded at http: // IpVPSkamu / ca
Example: http://49.213.22.50/ca

Tuesday 3 February 2015

HOW TO INSTALL WEBMIN ON CENTOS

Before starting the install Webmin + Virtualmin, you should check whether the hostname hostname is fully qualified domain name (FQDN), if not please in the first setting, because it can interfere with the installation process webmin.

1. Check the hostname
# Hostname -f
host1.e-padi.com

If Exit writing as above, shall mean the FQDN configuration is correct.

If still not out FQDN posts like the above, you should first set the FQDN in the / etc / hosts
# Cat / etc / hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
Host1 127.0.0.1 localhost.localdomain localhost
:: 1 localhost6.localdomain6 localhost6

Change into
# Pico / etc / hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
Localhost.localdomain localhost 127.0.0.1 host1.e-padi.com
:: 1 localhost6.localdomain6 localhost6
-----------------------------------------

Several methods Webmin installation on Centos linux server
1. [RECOMMENDED] Automatic Install Virtualmin + webmin with install.sh installer
a. # Wget http://software.virtualmin.com/gpl/scripts/install.sh
b. # Sh ./install.sh
c. Follow the installation process
d. If completed, access to webmin by: https: // IP_Mesin: 10000 /
Login: root
Passwd: (passwd root ssh)

-----------------------------------------

2. Install webmin manually via ssh
a. Open http://www.webmin.com/download.html find the right plan for servers
b. # Wget http://prdownloads.sourceforge.net/webadmin/webmin-1.510-1.noarch.rpm
c. # Rpm ivh webmin-1.510-1.noarch.rpm
d. If completed, access to webmin by: https: // IP_Mesin: 10000 /
Login: root
Passwd: (passwd root ssh)

-----------------------------------------

3. Install Webmin + Virtualmin manual
a. # Wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
b. # Gunzip webmin-1.500.tar.gz
c. # Tar xf webmin-1.500.tar
d. # Cd webmin-1.500
e. # ./setup.sh / Usr / local / webmin

-----------------------------------------

4. Install virtualmin / webmin with yum / repository
a. # Vi /etc/yum.repos.d/webmin.repo

b. Paste the code below gets under file /etc/yum.repos.d/webmin.repo
[Webmin]
name = Webmin Neutral Distribution
# baseurl = http: //download.webmin.com/download/yum
mirrorlist = http: //download.webmin.com/download/yum/mirrorlist
enabled = 1

Finish by saving the file in a way: "ESC +" type "wq!" + Enter
c. Download key
    # Wget http://www.webmin.com/jcameron-key.asc
    # Rpm --import-key.asc jcameron
    # Rm -rf jcameron-key.asc

d. Start install webmin
# Yum install webmin

e. Wait until the install is complete, If completed, access to webmin by: https: // IP_Mesin: 10000 /
Login: root
Passwd: (passwd root ssh)

Similarly tutorial on how to install Webmin on Linux Centos VPS.
Hope it is useful.
source : tipsonliner | alhub service | duta teknologi

HOW TO INSTALL KLOXO MR

Kloxo-MR 7 is fork Kloxo LXCenter original project and developed by Mustafa Ramadan, the "MR". MR Kloxo not only bug fixes from Kloxo but has many additional features such as the ability to switch to Nginx server. It's fun to see Kloxo get some improvements and more advanced

spec : 
  • OS: Redhat/CentOS 5 and 6 (32bit and 64bit) or their variants
  • Billing: AWBS, WHMCS, HostBill, TheHostingTool, AccountLab Plus and Blesta (note: claim by billing's author)
  • Web server: Nginx, Nginx-Proxy and Lighttpd-proxy; beside Httpd and Lighttpd (in progress: Squid, Varnish, Hiawatha, ATS and Httpd 2.4) *)
  • Php: Dual-php with php 5.3/5.4 as primary and php 5.2 as secondary (in progress: multiple-php) *)
  • PHP-type for Apache: php-fpm_worker/_event and fcgid_worker/_event; beside mod_php/_ruid2/_itk and suphp/_worker/_event
  • Mail server: qmail-toaster instead special qmail (in progress: change from courier-imap to dovecot as imap/pop3) *)
  • Database: MySQL or MariaDB
  • Database Manager: PHPMyAdmin; Adminer, MyWebSql and SqlBuddy as additional **)
  • Webmail: Afterlogic Webmail Lite, Telaen, Squirrelmail, Roundcube and Rainloop; Horde and T-Dah dropped
  • FTP server: Pure-ftpd
  • DNS Server: Bind and Djbdns; add Powerdns, MaraDNS and NSD *)
  • Addons: ClamAV, Spamassassin/Bogofilter/Spamdyke and RKHunter

  • Here's how to install Kloxo-MR 7, propagate Centos 5.6 32 bit or 64 bit version on your server and follow these steps:

    The installation process Kloxo-MR 7
    First, update CentOS 5/6 32 or 64-bit:
    # Yum -y update
    Install the required packages:

    # Yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip -y
    # Yum -y install telnet
    Disable SELinux:

    # Setenforce 0
    # Echo 'selinux = disabled'> / etc / selinux / config
    Download KloxoMR repo:

    # Cd /etc/yum.repos.d/
    # wgethttps://github.com/mustafaramadhan/kloxo/blob/rpms/release/neutral/noarch/mratwork-release-0.0.6-2.noarch.rpm --no-check-certificate
    # Cd /
    Install KloxoMR:

    # Yum install -y kloxomr7
    Now, run the installer:

    # Sh / script / upcp
    It will ask you whether you want to install as a slave or master.

    Select option 1 (Master) and click enter. Only that. Reboot the server after installation is complete.

     

    # reboot
    Visit serverip: 7778 in your web browser to view the control panel and

      The default username and password is "admin".

    Monday 2 February 2015

    HOW TO INSTALL OVENVZ ON CENTOS - STEP 3

    this step you will read how to install, but you must read this step
    1. first step
    2. second step
    oke now you will follow this step
    sysctl -p

    Important: This step is very important, if we are different virtual machine with the IP subnet ip host system. Otherwise perform the following steps networking will not work on a virtual machine that we just created.

    Open the / etc /vz/vz.conf And set NEIGHBOUR_DEVS To all:
    nano /etc/vz/vz.conf
     Settings for NEIGHBOUR_DEVS
    […]
    NEIGHBOUR_DEVS=all
    […]
     OpenVZ mengharus disable SELinux in condition. Open the / etc / sysconfig / selinux and set the value to disabled SELinux.
    nano /etc/sysconfig/selinux
     Settings for SELinux:
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    # enforcing – SELinux security policy is enforced.
    # permissive – SELinux prints warnings instead of enforcing.
    # disabled – SELinux is fully disabled.
    SELINUX=disabled
    # SELINUXTYPE= type of policy in use. Possible values are:
    # targeted – Only targeted network daemons are protected.
    # strict – Full SELinux protection.
    SELINUXTYPE=targeted
    reboot the system
    reboot
     Up here, if the process does not appear to reboot error, meaning OpenVZ installation process is complete and successful.

    Check to make sure OpenVZ, OpenVZ kernel has been installed correctly.
    uname -r
     for OpenVZ kernel installed:
    [root@server1 ~]# uname -r
    2.6.18-53.1.19.el5.028stab053.14
    [root@server1 ~]#
    finish ^_^
    source : tipsonliner  | support : duta teknologi | blog : alhub Service

    HOW TO INSTALL OVENVZ ON CENTOS - STEP 2

    The installation process should automatically update the GRUB bootloader settings. Make sure the new settings have been added, go to the bootloader settings with your favorite text editor (I use nano),
    nano /boot/grub/menu.lst
     for example, setting the GRUB bootloader her as follows:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd0,0)
    #          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
    #          initrd /initrd-version.img
    #boot=/dev/sda
    default=0
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title CentOS OpenVZ (2.6.18-53.1.19.el5.028stab053.14)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-53.1.19.el5.028stab053.14 ro root=/dev/VolGroup00/LogVol00
    initrd /initrd-2.6.18-53.1.19.el5.028stab053.14.img
    title CentOS (2.6.18-92.1.1.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-92.1.1.el5 ro root=/dev/VolGroup00/LogVol00
    initrd /initrd-2.6.18-92.1.1.el5.img
    title CentOS (2.6.18-92.el5)
    root (hd0,0)
    kernel /vmlinuz-2.6.18-92.el5 ro root=/dev/VolGroup00/LogVol00
    initrd /initrd-2.6.18-92.el5.img
     Next install some additional tools for OpenVZ users
    yum install vzctl vzquota
     Open /etc/sysctl.conf
    nano /etc/sysctl.conf
     make sure the settings as follows:
    […]
    net.ipv4.ip_forward = 1
    net.ipv4.conf.default.proxy_arp = 0
    net.ipv4.conf.all.rp_filter = 1
    kernel.sysrq = 1
    net.ipv4.conf.default.send_redirects = 1
    net.ipv4.conf.all.send_redirects = 0
    net.ipv4.icmp_echo_ignore_broadcasts=1
    net.ipv4.conf.default.forwarding=1
    […]
     To change the sysctl settings, use the command


    source : tipsonliner  | support : duta teknologi | blog : alhub Service

    HOW TO INSTALL OVENVZ ON CENTOS

    1. Before starting the install OpenVZ should add the first repo yum configuration
    cd /etc/yum.repos.d
    wget http://download.openvz.org/openvz.repo
    rpm –import http://download.openvz.org/RPM-GPG-Key-OpenVZ
    2.  OpenVZ repository has several different kernel versions, (for more details check here:
    yum search ovzkernel
    sample output :
     [root@server1 yum.repos.d]# yum search ovzkernel
    Loading “fastestmirror” pluginLoading mirror speeds from cached hostfile* Base: ftp.halifax.rwth-aachen.de* OpenVZ kernel-RHEL5: openvz.proserve.nl* updates: ftp.halifax.rwth-aachen.de* addons: ftp.halifax.rwth-aachen.de* openvz-utils: openvz.proserve.nl* Extras: ftp.halifax.rwth-aachen.deopenvz-kernel-rhel5 100% |=========================| 951 B 00:00primary.xml.gz 100% |=========================| 22 kB 00:00openvz-ker: ################################################## 14/14openvz-utils 100% |=========================| 951 B 00:00primary.xml.gz 100% |=========================| 6.7 kB 00:00openvz-uti: ################################################## 26/26ovzkernel-ent.i686 : The Linux kernel compiled for huge mem capable machines.ovzkernel-PAE.i686 : The Linux kernel compiled for PAE capable machines.ovzkernel-ent-devel.i686 : Development package for building kernel modules to match the ent kernel.ovzkernel-PAE-devel.i686 : Development package for building kernel modules to match the PAE kernel.ovzkernel.i686 : Virtuozzo Linux kernel (the core of the Linux operating system)ovzkernel-xen.i686 : The Linux kernel compiled for Xen VM operationsovzkernel-xen-devel.i686 : Development package for building kernel modules to match the kernel.ovzkernel-devel.i686 : Development package for building kernel modules to match the kernel.[root@server1 yum.repos.d]#
    3. Select the appropriate version of OpenVZ kernel with your machine. then install

    source : tipsonliner  | support : duta teknologi | blog : alhub Service