Plesk SMTP respon slow

Mempercepat SMTP respon :

secara standar , plesk pada OS freebsd sangat lambat pada saat menampilkan koneksi smtp. hal ini dikarenakan dilakukannya pengecekan reverse-dns lookup untuk alasan yg tidak penting. hal ini dapat menimbulkan terasa lambat pada saat mengirimkan email (default timeout reverse DNS lookup ialah 26 detik).

disable reverse DNS pada  Plesk freebsd :

edit /etc/inetd.conf

smtp stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env  /usr/local/psa/qmail/bin/rblsmtpd   -rbl.spamcop.net -r sbl.spamhaus.org –r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local/
psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

smtps stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env  /usr/local/psa/qmail/bin/rblsmtpd  -r bl.spamcop.net -r sbl.spamhaus.org -r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local
/psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

 

tambahkan –Rt0 setelah kata “tcp-env”

smtp stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env -Rt0 /usr/local/psa/qmail/bin/rblsmtpd   -rbl.spamcop.net -r sbl.spamhaus.org –r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local/
psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

smtps stream tcp nowait root /usr/local/psa/qmail/bin/tcp-env tcp-env -Rt0 /usr/local/psa/qmail/bin/rblsmtpd  -r bl.spamcop.n
et -r sbl.spamhaus.org -r zen.spamhaus.org /usr/local/psa/qmail/bin/relaylock /usr/local/psa/qmail/bin/qmail-smtpd /usr/local
/psa/qmail/bin/smtp_auth /usr/local/psa/qmail/bin/true /usr/local/psa/qmail/bin/cmd5checkpw /usr/local/psa/qmail/bin/true

Free Yahoo Messenger for handphone

berikut aplikasi ym untuk dihandphone. semua tipe handphone harusnya bisa asalkan support java.
yamee
Features
  • add and remove contact
  • conference
  • contacts grouping
  • send message to group or several selected contacts (press # to show the mark)
  • send and receive BUZZ
  • receive offline message
  • incoming mail notifications
  • typing notification
  • offline/online notifications
  • show/hide offline contacts (shortcut: press 0)
  • set or view status (status shown on the top screen)
  • skinnable (4 type skins)

download disini

How to download CIsco IOS free

bagaimanakan cara mendownload cisco IOS tanpa punya account login dicisco.

gunakan google searching untuk mendownload cisco IOS secara gratis menggunakan keyword “intitle of”.

caranya :

buka www.google.com

contoh:

mencari 7200 series IOS : ketikkan –> intitle:index.of c7200*.bin -site:cisco.com

mencari 3660 series IOS : ketikkan –> intitle:index.of c3660*.bin -site:cisco.com

mencari pix series IOS : ketikkan –> intitle:index.of cisco pix*.bin -site:cisco.com

how to manage qmail queue

Salah satu software yg dapat menghandle antrian message email yaitu qmhandle. untuk mendownload versi terbaru di sini. versi terbaru qmhandle 1.3.2.

#wget http://nchc.dl.sourceforge.net/sourceforge/qmhandle/qmhandle-1.3.2.tar.gz
#tar -zxvf qmhandle-1.3.2.tar.gz
edit qmhandle directory file untuk menyesuaikan letak direktori qmail: my ($queue) = ‘/var/qmail/queue/’;
my ($stopqmail) = ‘/etc/init.d/qmail stop’;
my ($startqmail) = “/etc/init.d/qmail start”;
my ($pidcmd) = ‘pidof qmail-send’;

cara menggunakan qmHandle :
-a : mecoba mengirimkan antrian pesan sekarang (qmail service harus running)
-l : daftar antrian email
-L : daftar antrian email dilokal
-R : daftar antrian email remote
-s : show statatistik
-vN : display email nomor N
-dN : delete email nomon N
-Stext : delete semua email mengandung kata2 sbg subject
-D : delete semua email dalam antrian(lokal&remote)

contoh:
melihat list antrian email :
#qmHandle -l
delete semua pesan yang mengandung kata2/sebagai subject:
#qmHandle -l -S yahoo.com.tw

cacti machine very slow

very intersting to find what’s wrong with my cacti machine. it’s very slow to view graph traffic. after i try to clear user_log tables and also delete cacti.log file, it’s faster than before.

# mysql -u cactidb -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 211685 to server version: 4.0.24_Debian-10ubuntu2.3-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> use cacti ;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+---------------------------+
| Tables_in_cacti           |
+---------------------------+
| cdef                      |
| cdef_items                |
| colors                    |
| data_input                |
| data_input_data           |
| data_input_fields         |
| data_local                |
| data_template             |
| data_template_data        |
| data_template_data_rra    |
| data_template_rrd         |
| graph_local               |
| graph_template_input      |
| graph_template_input_defs |
| graph_templates           |
| graph_templates_gprint    |
| graph_templates_graph     |
| graph_templates_item      |
| graph_tree                |
| graph_tree_items          |
| host                      |
| host_graph                |
| host_snmp_cache           |
| host_snmp_query           |
| host_template             |
| host_template_graph       |
| host_template_snmp_query  |
| poller                    |
| poller_command            |
| poller_item               |
| poller_output             |
| poller_reindex            |
| poller_time               |
| rra                       |
| rra_cf                    |
| settings                  |
| settings_graphs           |
| settings_tree             |
| snmp_query                |
| snmp_query_graph          |
| snmp_query_graph_rrd      |
| snmp_query_graph_rrd_sv   |
| snmp_query_graph_sv       |
| user_auth                 |
| user_auth_perms           |
| user_auth_realm           |
| user_log                  |
| version                   |
+---------------------------+
48 rows in set (0.51 sec)

mysql> delete from user_log;

mrtg:/var/www/cacti/log# rm cacti.log

upgrading cacti

This is how to  from cacti website how to upgrade cacti version. cacti is opensource software for monitoring traffic data.

  • Backup the old Cacti database.

    shell> mysqldump -l --add-drop-table cacti > mysql.cacti


    Note: You will probably have to specify the -u and -p flags for the MySQL username and password. This user must have permission to read from Cacti's database or you will end up with an empty backup.





  • Backup the old Cacti directory.



    shell> mv cacti cacti_old




  • Extract the distribution tarball.



    shell> tar xzvf cacti-version.tar.gz




  • Rename the new Cacti directory to match the old one.



    shell> mv cacti-version cacti




  • Edit include/config.php and specify the MySQL user, password and database for your Cacti configuration.



    $database_type = "mysql";
    $database_default = "cacti";
    $database_hostname = "localhost";
    $database_username = "cactiuser";
    $database_password = "cacti";




  • Copy the *.rrd files from the old Cacti directory.



    shell> cp cacti_old/rra/* cacti/rra/




  • Copy any relevant custom scripts from the old Cacti directory. Some script are updated between versions. Therefore, make sure you only over write if the scripts either don't exist or are newer than the distribution's.



    shell> cp -u cacti_old/scripts/* cacti/scripts/




  • Copy any relevant custom resource XML files from the old Cacti directory. Some resource XML files are updated between versions. Therefore, make sure you only over write if the XML files either don't exist or are newer than the distribution's.



    shell> cp -u -R cacti_old/resource/* cacti/resource/




  • Set the appropriate permissions on Cacti's directories for graph/log generation. You should execute these commands from inside Cacti's directory to change the permissions.



    shell> chown -R cactiuser rra/ log/


    (Enter a valid username for cactiuser, this user will also be used in the next step for data gathering.)





  • Point your web browser to:






    http://your-server/cacti/





  • freebsd install packet using port

    To begin, change to the directory for the port you want to install:
    # cd /usr/ports/sysutils/lsof

    Once inside the lsof directory, you will see the port skeleton. The next step is to compile, or “build”, the port. This is done by simply typing make at the prompt. Once you have done so, you should see something like this:
    # make
    >> lsof_4.57D.freebsd.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
    >> Attempting to fetch from ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/.
    ===>  Extracting for lsof-4.57
    ...
    [extraction output snipped]
    ...
    >> Checksum OK for lsof_4.57D.freebsd.tar.gz.
    ===>  Patching for lsof-4.57
    ===>  Applying FreeBSD patches for lsof-4.57
    ===>  Configuring for lsof-4.57
    ...
    [configure output snipped]
    ...
    ===>  Building for lsof-4.57
    ...
    [compilation output snipped]
    ...
    #

    Notice that once the compile is complete you are returned to your prompt. The next step is to install the port. In order to install it, you simply need to tack one word onto the make command, and that word is install:
    # make install
    ===>  Installing for lsof-4.57
    ...
    [installation output snipped]
    ...
    ===>   Generating temporary packing list
    ===>   Compressing manual pages for lsof-4.57
    ===>   Registering installation for lsof-4.57
    ===>  SECURITY NOTE:
          This port has installed the following binaries which execute with
          increased privileges.
    #

    Once you are returned to your prompt, you should be able to run the application you just installed. Since lsof is a program that runs with increased privileges, a security warning is shown. During the building and installation of ports, you should take heed of any other warnings that may appear.

    It is a good idea to delete the working subdirectory, which contains all the temporary files used during compilation. Not only does it consume valuable disk space, but it would also cause problems later when upgrading to the newer version of the port.

    # make clean
    ===> Cleaning for lsof-4.57
    #

    How to install Quagga on Debian linux

    quaqqa is one of the routing software support dynamic protocol like OSPF,RIP and BGP. quaqqa is fork of GNU zebra. in fact name of zebra more familiar than quagga, but quagga more powerfull,both of name take from name of animals…it seem great. (about guagga).
    1. QUAGGA DAEMONS:
    You have to activate the Quagga daemons matching the routing protocols you want to set on your router.
    zebra:
    bgpd:
    ospfd:
    ospf6d:
    ripd:
    ripngd: Interface declaration and static routing
    BGP routing protocol
    OSPF routing protocol
    OSPF IPv6 routing protocol
    RIP v2 routing protocol
    RIP Ipv6 routing protocol
    In the example below, the zebra and IPv4 OSPF daemon have been activated.
    #vim /etc/quagga/daemons
    zebra=yes
    bgpd=no
    ospfd=yes
    ospf6d=no
    ripd=no
    ripngd=no
    Restart the Quagga service:
    #/etc/init.d/quagga restart
    Stopping Quagga daemons (prio:0): ospfd zebra (bgpd) (ripd) (ripngd) (ospf6d) (isisd).
    Removing all routes made by zebra.
    Nothing to flush.
    Loading capability module if not yet done.
    Starting Quagga daemons (prio:10): zebra ospfd.
    You can check the Quagga daemons status:
    #ps -ef | grep quagga
    UID PID PPID C STIME TTY TIME CMD
    quagga 4632 1 0 22:25 ? 00:00:00 /usr/lib/quagga/ospfd --daemon
    quagga 4636 1 0 22:25 ? 00:00:00 /usr/lib/quagga/zebra --daemon
    If a Quagga daemon doesn't stop properly, you can kill it manually and start the quagga service:
    #kill -9 "UID number"
    #/etc/init.d/quagga start
    2. CONFIGURATION FILES: (/etc/quagga/*.conf files)
    You must create a configuration file (even if it is empty) each time you activate a Quagga daemon.
    Each daemon is associated with a specific file name:
    zebra:
    bgpd:
    ospfd:
    ospf6d:
    ripd:
    ripngd: zebra.conf
    bgpd.conf
    ospfd.conf
    ospf6d.conf
    ripd.conf
    ripngd.conf
    To create the config files, copy the sample config files as follows:
    In our example, as we activated the zebra and ospfd daemons; we need to create the zebra.conf and ospfd.conf files.
    #cp /usr/share/doc/quagga/examples/zebra.conf.sample /etc/quagga/zebra.conf
    #cp /usr/share/doc/quagga/examples/ospfd.conf.sample /etc/quagga/ospfd.conf
    Another way to do it is to create two empty files called /etc/quagga/ospfd.conf and /etc/quagga/zebra.conf. But in this case you cannot telnet a daemon, you need to configure the telnet permissions with vtsh (see below).
    Finally, give user and group ownership to respectively quagga and quaggavty to the files inside the /etc/quagga directory:
    #chown quagga.quaggavty /etc/quagga/*.conf
    #chmod 640 /etc/quagga/*.conf
    Restart the Quagga service:
    #/etc/init.d/quagga restart
    3. DEBIAN.CONF FILE
    By default, the Quagga daemons are listening only to the loopback interface 127.0.0.1. It means that you can telnet a daemon only on its loopback address 127.0.0.1 and thus cannot access it remotely.
    If you want to telnet a Quagga daemon remotely you can, in the /etc/quagga/debian.conf file. Either indicate one or several IP addresses or remove the -A option meaning that you can telnet a daemon on any of its IP addresses.
    Here are two examples:
    The ospfd daemon is listening to the 127.0.0.1 and 192.168.1.104 IP addresses.
    ospfd_options=" --daemon -A 127.0.0.1 192.168.1.104"
    The zebra daemon is listening to all the Linux interfaces IP addresses. We recommend using this setting. If you want to filter who can access to your router, configure access lists on the router software.
    zebra_options=" --daemon "
    Here is the recommended debian.conf file:
    #vim /etc/quagga/debian.conf
    # If this option is set the /etc/init.d/quagga script automatically loads
    # the config via "vtysh -b" when the servers are started.
    # Check /etc/pam.d/quagga if you intend to use "vtysh"!
    #
    vtysh_enable=yes
    zebra_options=" --daemon -A "
    bgpd_options=" --daemon -A "
    ospfd_options=" --daemon -A "
    ospf6d_options="--daemon -A "
    ripd_options=" --daemon -A "
    ripngd_options="--daemon -A "
    isisd_options=" --daemon -A "
    The "vtysh_enable=yes" setting is required to access the Quaggga router via vtysh. (see vtysh section).
    Restart the Quagga service
    #/etc/init.d/quagga restart
    4. VTYSH
    As indicated in the Quagga introduction, you can access the daemons by telnetting their port number because each daemon has its own configuration file and terminal interface.
    zebra:
    ripd:
    ripng:
    ospfd:
    bgpd:
    ospf6d: 2601
    2602
    2603
    2604
    2605
    2606
    By instance, to access the ospfd daemon:
    #telnet localhost 2604
    As it's not very practical to configure your router by telnetting its daemons separately, vtysh has been created to configure everything in one single interface.
    To use vtysh, you must first create its configuration file as follows:
    #cp /usr/share/doc/quagga/examples/vtysh.conf.sample /etc/quagga/vtysh.conf
    /etc/quagga/vtysh.conf
    !
    ! Sample
    !
    ! service integrated-vtysh-config
    hostname quagga-router
    username root nopassword
    !
    Apply correct permissions and restart Quagga:
    #chown quagga.quaggavty /etc/quagga/*.conf
    #chmod 640 /etc/quagga/*.conf
    #/etc/init.d/quagga restart
    In the example above the "service integrated-vtysh-config" setting has been disabled (recommended). In this case, when you save the config under vtysh, it will be stored in separate files depending on the protocols you activated.
    Below, an example where the Quagga configuration is saved under vtysh. (The zebra and ospfd daemons have been enabled.)
    #vtysh
    quagga-router#write
    Configuration saved to /etc/quagga/zebra.conf
    Configuration saved to /etc/quagga/ospfd.conf
    If you activate "service integrated-vtysh-config", the configuration under vtysh will be saved in one file called Quagga.conf in the /etc/quagga/ directory.
    With this setting, when you access a daemon via telnet, the daemon will look first to the Quagga.conf file before looking for its own file. This means that, when you telnet a device, there can be a difference between what you see after the "show run" command and the content of the associated file, for example zebra.conf.
    #vtysh
    quagga-router#write
    Configuration saved to /etc/quagga/Quagga.conf
    It is recommended to disable "service integrated-vtysh-config" because if this setting is enabled and in case of a syntax error in the Quagga.conf file, this can lead to all your daemons being unable to start up. This will not be case when "service integrated-vtysh-config" is disabled because the configurations are stored in separate files.
    Check that the default "vtysh_enable=yes" setting are configured in your /etc/quagga/debian.conf file. You can read the previous paragraph about the debian.conf file to get more information.
    Then it's useful to add the "VTYSH_PAGER=more" setting in your /etc/environment file, otherwise you will see an unfriendly "(END)" blinking in the left-down corner of the screen each time your enter a command and will need to press the "q" key to continue.
    #echo VTYSH_PAGER=more > /etc/environnement
    Log off and log on to enable the environment setting. You can now access the Quagga router with the vtysh command:
    #vtysh
    Hello, this is Quagga (version 0.99.6).
    Copyright 1996-2005 Kunihiro Ishiguro, et al.
    quagga-router#
    If you want to run a Quagga command from the Linux shell:
    #vtysh -c "command"
    For instance, vtysh -c "show ip route" will display the Quagga routing table.
    You can use ping and traceroute to perform connectivity checks from the vtysh prompt. Of course, these two programs need to be installed on the Linux machine. Ping is generally installed by default but traceroute often not.
    To install traceroute:
    #apt-get install traceroute
    5. IP FORWARDING:
    IP forwarding is required to transfer packets between the network interfaces of a Linux system.
    See a picture of the Linux kernel routing.
    #echo "1" > /proc/sys/net/ipv4/ip_forward
    The command above will add the "1" value inside the /proc/sys/net/ipv4/ip_forward file and thus activate the IP forwarding.
    If you want to keep the IP forwarding after a Linux reboot:
    #echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
    It is possible to check the ip_forwarding status under the Quagga router:
    #show ip forwarding
    IP forwarding is on
    In this case the IP forwarding is activated.

    configuring bandwidth management netenforcer via hyperterminal

    NetEnforcer is a network policy enforcement device that enables you to monitor, categorize and optimize network traffic by assigning Quality of Service (QoS) to specified classes of traffic. QoS is the ability to define a level of performance in a data communications system.

    you can use a standard terminal /PC running terminal emulation software connected to the Console port, or Telnet via the internet to configure a NetEnforcer. If you choose to connect via the Console port, most standard windows-based PC systems have a terminal emulation program called HyperTerminal that can be used for this purpose. Configure the terminal to run VT100 terminal emulation with the following parameters:

    · Baud rate 19200

    · 8 bits

    · Stop bits 1

    · No flow control

    · No parity

    CISCO CATALYST stp BLOCKING

    Today, i had problem wtih my trunking cisco catalyst c2950. one of my access port to fibre optic interconnection was problem. after one hour i try to find solution for this matter.

    this is log problem show:

    %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/1 VLAN2.
    004964: May  4 00:01:17.302: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/1 on VLAN0002. Inconsistent port type.

    status of the port show that operational mode change into trunk (before access).
    #sh int fa0/1 switchport
    Name: Fa0/1
    Switchport: Enabled
    Administrative Mode: dynamic desirable
    Operational Mode: trunk

    Administrative Trunking Encapsulation: dot1q
    Operational Trunking Encapsulation: dot1q
    Negotiation of Trunking: On
    Access Mode VLAN: 2 (VLAN0002)
    Trunking Native Mode VLAN: 1 (default)
    Administrative private-vlan host-association: none
    Administrative private-vlan mapping: none
    Operational private-vlan: none
    Trunking VLANs Enabled: ALL
    Pruning VLANs Enabled: 2-1001

    After i change to static access it’s running again

    #sh int fa0/1 switchport
    Name: Fa0/1
    Switchport: Enabled
    Administrative Mode: static access
    Operational Mode: static access

    Administrative Trunking Encapsulation: dot1q
    Operational Trunking Encapsulation: native
    Negotiation of Trunking: Off
    Access Mode VLAN: 2 (VLAN0002)
    Trunking Native Mode VLAN: 1 (default)
    Administrative private-vlan host-association: none
    Administrative private-vlan mapping: none
    Operational private-vlan: none
    Trunking VLANs Enabled: ALL
    Pruning VLANs Enabled: 2-1001

    In the majority of cases, the reason for detection of STP inconsistency on the port is apparent:

    Access port receives an IEEE 802.1Q-tagged SSTP BPDU.

    pvid_inconsistency_24063b

    In this scenario, access port on bridge A receives, from bridge B, a tagged PVST+ BPDU from STP of a VLAN other than 1. The port on A will be put into type-inconsistent state.

    Note: The switches need not be connected directly; if they are connected through one or more IEEE 802.1D or IEEE 802.1Q switches—or even hubs—then the effect is the same.

    IEEE 802.1Q trunking port receives an untagged SSTP BPDU with a VLAN type, length, value (TLV) that does not match the VLAN where the BPDU was received.

     

    pvid_inconsistency_24063c

     

     

     

    • In this scenario, the trunk port on A receives a PVST+ BPDU from STP of VLAN 2 with a tag of VLAN 2. This triggers the port on A to be blocked in both VLAN 1 and VLAN 2.

    • If devices on both ends of a point-to-point link are Cisco Catalyst switches, an examination of the local and remote port configuration typically reveals the configuration mismatch:

    • The port is configured for IEEE 802.1Q trunking on one side but the other side is access port.

    • IEEE 802.1Q trunks are on both sides, but the Native VLANs are different.

    • In these cases, fix the configuration mismatch to resolve the STP inconsistency.

    802.1q vlan interface with mikrotik

    Nowadays, Ussually we use Vlan Tagging 802.1q for many connection to one router. And also most of that we using cisco router combine with cisco catalyst 2950(Layer 2 router).
    I thinking how about we use Mikrotik router combine with Layer 2 Switch non cisco to build Vlan tagging 802.1q. so I decided to try new improvement for efisien cost
    VLAN is an implementation of the 802.1Q VLAN protocol for MikroTik RouterOS 2.7. It allows you to have multiple Virtual LANs on a single ethernet cable, giving the ability to segregate LANs efficiently. It supports up to 4094 vlan interfaces per ethernet device. Many routers, including Cisco and Linux based, and many Layer 2 switches also support it.
    A VLAN is a logical grouping that allows end users to communicate as if they were physically connected to a single isolated LAN, independent of the physical configuration of the network. VLAN support adds a new dimension of security and cost savings permitting the sharing of a physical network while logically maintaining separation among unrelated users.
    Tagged Port Members
    A port is a tagged member of a specific VLAN when it is a member of more than one VLAN. If a port is a tagged member of one VLAN, then the same port is also an untagged member of another VLAN.
    Untagged Port Members
    A port is an untagged member of a VLAN if the PVID is equal to the VID of that VLAN. A port can be an untagged member of only one VLAN. An example of this is the Default VLAN configuration where all ports are initially configured to be untagged members of VLAN 1 only. A port can also be an untagged member of one VLAN and be a tagged member of one or more VLANS
    How do I setup VLAN Tagging Between Mikrotik PC Router and Layer2 Switch :                 First, We configure 3com switch to define which as port member tagged and untagged.
    Menu options: --------------3Com SuperStack 3 Switch 4200-------------
    bridge - Administer bridge-wide parameters
    gettingStarted - Basic device configuration
    logout - Logout of the Command Line Interface
    physicalInterface - Administer physical interfaces
    protocol - Administer protocols
    security - Administer security
    system - Administer system-level functions
    trafficManagement - Administer traffic management
    Type ? for help
    -------------------------------------amino, 1 (1)---------------------
    Select menu option: bridge vlan
    Menu options: --------------3Com SuperStack 3 Switch 4200-------------
    create - Create a VLAN
    delete - Delete a VLAN
    detail - Display detailed information
    modify - Modify a VLAN
    summary - Display summary information

    vlantag

    After that we have to configure Vlan Interface on mikrotik router,
    Note :
    Ether 1  Direct to Router WAN
    Ether 2  To Switch 3com

    vlaninterface

     

     

    Next, you just assign ip address per VLAN. Example Company A want to connect to you and you just plug to port 1 switch 3Com which belong to vlan 02 (see configuration switch 3com above).

    ipassign

     

     

     

     

     

     

    Next if there’s Company B connect, you just continue to plug to port 2 switch 3Com and assign ip to ether2-vlan03.

    php redirect script

    You can use a simple PHP script to redirect a user from the page they entered to a different web page. One reason you may want to do this is that the page they are trying to access no longer exists. Using this method, they can be seamlessly transfered to the new page without having to click a link to continue.
    To do :

    go to web file you want to redirect :
    add this source code or change all source with this one for more simple:

    <?php header( 'Location: http://www.yoursite.com/new_page.html' ) ?>

    You need to replace the URL above with the URL you wish to direct to.

    top-10-web-hosting-best-web-hosts-2009

    From webhostinggeeks, based on review : Cheap professional web hosting services under $10 a month; all web hosting plans include at least one free domain name registration and 30 day money back guarantee. Review your web host — let other webmasters know the best and the worst!


    Rank Web Hosting Provider Features Bonus Features Hosting Review
    1 Inmotion web hosting rating - 5 stars
    Business Web Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $8.95 Free Domain Name,
    Choice of Data Centers,
    Top Technical Support Inmotion Review
    Host Rating: 98%
    Rate and Review a Host Review Inmotion
    2 JustHost web hosting rating - 5 stars
    Editor's Choice Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $4.95 Free Domain Forever,
    Host Unlimited Domains,
    $75 Marketing Bonus JustHost Review
    Host Rating: 97%
    Rate and Review a Host Review JustHost
    3 WebHostingPad web hosting rating - 5 stars
    Cheap Reliable Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $3.96 Free Domain Forever,
    Host Unlimited Domains,
    $100 Marketing Bonus WebHostingPad Review
    Host Rating: 97%
    Rate and Review a Host Review WebHostingPad
    4 Bluehost web hosting rating - 4.5 stars
    Unlimited Web Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $4.95 Free Domain Forever,
    Host Unlimited Domains,
    $75 Marketing Bonus Bluehost Review
    Host Rating: 96%
    Rate and Review a Host Review Bluehost
    5 FatCow web hosting rating - 4.5 stars
    Cheap Business Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $4.83 Free Domain Forever,
    Host Unlimited Domains,
    $75 Marketing Bonus FatCow Review
    Host Rating: 96%
    Rate and Review a Host Review FatCow
    6 Hostmonster web hosting rating - 4.5 stars
    Cheap Unix Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $4.95 Free Domain Forever,
    Host Unlimited Domains,
    $75 Marketing Bonus Hostmonster Review
    Host Rating: 96%
    Rate and Review a Host Review Hostmonster
    7 Globat web hosting rating - 4 stars
    Cheap Web Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $4.44 Free Domain Name,
    Host Unlimited Domains,
    $55 Marketing Bonus Globat Review
    Host Rating: 95%
    Rate and Review a Host Review Globat
    8 Lunarpages web hosting rating - 3.5 stars
    Cheap Shared Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $4.95 Free Domain Forever,
    Host Unlimited Domains,
    Free $775 in Software Lunarpages Review
    Host Rating: 94%
    Rate and Review a Host Review Lunarpages
    9 GoDaddy web hosting rating - 3.5 stars
    Largest Web Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $12.74 Free Domain Name,
    Host Unlimited Domains,
    Free SSL Certificate GoDaddy Review
    Host Rating: 93%
    Rate and Review a Host Review GoDaddy
    10 Yahoo web hosting rating - 3.5 stars
    Reliable Web Hosting Space: Unlimited
    Traffic: Unlimited
    Price: $8.96 Free Domain Name,
    $100 Yahoo Credit,
    $50 Google Credit Yahoo Review
    Host Rating: 93%
    Rate and Review a Host Review Yahoo

    ip policy based routing

    Cisco routers running Cisco IOS supports pased based IP Routing which can route packets based on a set IP Policy exiting an Interface.
    Policy based routing in Cisco ROuters can be performed by using "route-map" and then applying as a policy to the interface of the IP Packets.
    The route-map has a list of "match" and "set" commands where match defines the criteria under which the policy routing is performed (say, match a destination IP or a standard or Extended ACL) and set defines the actions to perform when match criteris met (say, set next hop).
    In this example, I change the routing to a particular network only from a particular subnet which is defined in a standard ACL. This ACL is then matched in a route-map and applied as an IP policy for routing change for the change in routing behaviour.

    route-map

     

     

     

     

     

     

     

    Create Standard ACL
    From the global configuration mode, create an ACL to permit source network 10.1.1.0/24
    ciscorouter# conf term
    ciscorouter(config)# access-list 10 permit 10.1.1.0 0.0.0.255
    That creates a new ACL "10" with a permit for 10.1.1.0/24 network.
    Create Route-Map
    Define a route-map with "match" conditions and "set" actions.
    ciscorouter(config)# route-map SetNextHop permit 10
    ciscorouter(config-route-map)# match ip address 10
    ciscorouter(config-route-map)# set ip next-hop 192.168.0.1
    ciscorouter(config-route-map)# exit
    That creates a route-map called "SetNextHop" and matches the ACL 10 where the source network for which the route-map should be actioned. I've set the action to be taken when the source network matches to set the next hop router as 192.168.0.1
    Apply Policy Route-map to interface
    This route-map is now applied to the interface (fa0/0)
    ciscorouter(config)# interface fa0/0
    ciscorouter(config-if)# ip policy route-map SetNextHop
    Test for yourself. For source network 10.1.1.0/24, the nexthop IP is set as 192.168.0.1 (Router B) where every other source networks are router as specified by the static/dynamic routes (in our example through Router A)

    debian installation failed with sata disk

    Yesterday i was try to install debian with my new server. it was Intel Core 2 with SATA hardisk. but it’s failed. really confused because my disc is running well. after searching for this problem, i found answer from debian website.

    this is answer from bugs.debian.org :
    Try booting with 'linux26' since the default is 2.4 kernel, which does not like sata in general. 2.6 has better sata support, although if the machine is very new it may still not be supported.
    Sarge was released in the summer last year, so any hardware made by about the begining of 2005 is supported in general (there are exceptions of course). Anything that only came out in the second half of 2005 is almost certainly unsupported. That is true of all distributions in general. Hardware newer than the release of the distribution almost never works right.

    OSPF cisco with ospf mikrotik

    This is how to to implement dynamic routing OSPF with mikrotik combine with OSPF with Cisco router.
    1. we have to configure in cisco router with OSPF routing.
    #conf t
    (config)#router ospf 200
    (config-router)#redistribute static subnets
    (config-router)#network 203.78.224.0 0.0.0.255 area 0
    (config-router)# network 203.78.226.0 0.0.0.255 area 0
    (config-router)# network 203.78.227.0 0.0.0.255 area 0
    (config-router)# network 203.78.228.0 0.0.0.255 area 0
    (config-router)# network 203.78.229.0 0.0.0.255 area 0
    (config-router)# network 203.78.230.0 0.0.0.255 area 0
    2. configure in mikrotik router
    set OSPF setting interface: ospfsetting

     

     

     

     

    3.Add interface ospf:

    ospf interface

     

     

     

     

     

     

     

    Add OSPF areas

    ospfarea

     

     

     

     

     

     

     

    Add OSPF network

    ospfnetwork

     

     

     

     

     

     

     

    Now, see log in cisco and mikrotik:
    #sh ip ospf neighbor
    Neighbor ID Pri State Dead Time Address Interface
    203.78.236.227 1 FULL/BDR 00:00:37 203.78.227.21 FastEthernet1/1
    203.78.227.34 1 FULL/BDR 00:00:36 203.78.227.34 FastEthernet1/0.5
    [user@mikrotik] /routing ospf neighbor> pr
    0 router-id=203.78.236.241 address=203.78.227.33 interface=ether1
    priority=1 dr-address=203.78.227.33 backup-dr-address=203.78.227.34
    state="Full" state-changes=5 ls-retransmits=0 ls-requests=0 db-summaries=0
    adjacency=2w6d1h3m58s

    publish your blog using windows live writer pinging

    One of the less obvious features available in Windows Live Writer is the ability to automatically ping (send a signal) to popular blog aggregators every time you publish something to your blog.  This feature actively pings the servers of the blog aggregators you specify and to indicate when there is new material.

    To use this feature in Writer click on Ping Servers in the Options dialog (navigation: Tools | Options | Ping Servers). Then add the names of the servers you want to ping.

    1. go to tools –> accounts –> ping servers

    windows livewriter

     

     

     

     

     

     

     

    Some names of some popular search engines you could choose are:
    http://rpc.technorati.com/rpc/ping
    http://blogsearch.google.com/ping/RPC2
    http://ping.feedburner.com
    http://rpc.icerocket.com:10080
    http://services.newsgator.com/ngws/xmlrpcping.aspx
    http://api.feedster.com/ping.php

    You can also use a pinging service like Ping-o-Matic (this service will automatically ping a number of popular sites for you). Just put the following in the list of ping servers:

    http://rpc.pingomatic.com

    How to remove windows genuine advantage notification

    Disclaimer: This article is for informational and educational purpose only, as most information is found on various part of Internet. Readers should contacts Microsoft if their licensed or OEM software cannot be validated or purchase genuine software. 

    wga-notification1

     

     

     

    wga-notification2

     

     

    This is simple way to remove notification of windows genuine.

      1. Lauch Windows Task Manager.
      2. End wgatray.exe process in Task Manager.
      3. Restart Windows XP in Safe Mode.
      4. Delete WgaTray.exe from c:\Windows\System32.
      5. Delete WgaTray.exe from c:\Windows\System32\dllcache.
      6. Lauch RegEdit.
      7. Browse to the following location:
         HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
         Windows NT\CurrentVersion\Winlogon\Notify
      8. Delete the folder ‘WgaLogon’ and all its contents
      9. Reboot Windows XP.

    HOW to create Equal bandiwdth sharing among users

    This example shows how to equally share 10Mibps download and 2Mibps upload among active users in the network 192.168.0.0/24. If Host A is downloading 2 Mibps, Host B gets 8 Mibps and vice versa. There might be situations when both hosts want to use maximum bandwidth (10 Mibps), then they will receive 5 Mibps each, the same goes for upload. This setup is also valid for more than 2 users.

     

    queue-1

    Interface public = 10.10.58.1
    Interface local = 192.168.1.1/24

     

     

     

     

     

    1. create ip NAT

    ip firewall nat add chain=srcnat src-address=192.168.0.0/24
    to-addresses=10.10.58.1 to-ports=0-65535

     

    2. mark all traffic, coming from local network 192.168.0.0/24 with a mark users:

    ip firewall nat add chain=srcnat src-address=192.168.0.0/24
    to-addresses=10.10.58.1 to-ports=0-65535
    /ip firewall mangle add chain=forward src-address=192.168.0.0/24 \
    action=mark-connection new-connection-mark=users-con
    /ip firewall mangle add connection-mark=users-con action=mark-packet \
    new-packet-mark=users chain=forward

     

    3.Now we will add 2 new PCQ types. The first, called pcq-download will group all traffic by destination address. As we will attach this queue type to the Local interface, it will create a dynamic queue for each destination address (user) which is downloading to the network 192.168.0.0/24. The second type, called pcq-upload will group the traffic by source address. We will attach this queue to the Public interface so it will make one dynamic queue for each user who is uploading to Internet from the local network 192.168.0.0/24.

    queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
    queue type add name=pcq-upload kind=pcq pcq-classifier=src-address

     

    4. make a queue tree for download&upload traffic:

    queue tree add name=Upload parent=Public max-limit=2048000
    queue tree add parent=Upload queue=pcq-upload packet-mark=users
    queue tree add parent=Local queue=pcq-download packet-mark=users
    queue tree add parent=Public queue=pcq-upload packet-mark=users

     

    Reference:  www.mikrotik.com

    Followers