Monday, November 7, 2011

How To Make Newer, Older and Home Links Visible in Blogger?

Simply do this, Go To Blogger> Design > Edit HTML Backup Your Template Search For this code by pressing Ctrl+F,   #blog-pager-newer-link {    float: left;}#blog-pager-older-link {    float: right;}#blog-pager {    text-align: center;} 4.   And replace it with this code, #blog-pager-newer-link {    float: left;        display:inline;}#blog-pager-older-link {    float: right;        ...
Continue Reading »

Configure Cisco switch telnet login and password

The ability to telnet into a Cisco switch greatly simplifies remote administration of the device. This recipe describes enabling telnet logins and password protecting them. To enable telnet logins into a Cisco switch and set the telnet password to keepout use the following commands from configuration mode: line vty 0 15password keepoutlogin To telnet to the switch, it must have an IP address configured. ...
Continue Reading »

Monday, October 31, 2011

How to disable ICMP echo responses in Linux

Many malicious attacks begin with a ping scan. Disabling ICMP echo requests prevents your system’s discovery with a ping. Disable ICMP echo responses temporarily You can temporarily disable the ICMP using the following method but this setting will be erased after the reboot.root@lifelinux:~# echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_allAlso, to enable the ICMP echo responses back, type the following command:root@lifelinux:~# echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_allDisable ICMP echo responses permanentlyYou can permanently disable ...
Continue Reading »

How to Enable TCP/IP Forwarding in Windows XP

To enable TCP/IP forwarding, follow these steps: Start Registry Editor (Regedit.exe). In Registry Editor, locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters Set the following registry value: Value Name: IPEnableRouterValue type: REG_DWORDValue Data: 1 A value of 1 enables TCP/IP forwarding for all network connections that are installed and used by this computer. Quit Registry Editor. ...
Continue Reading »

Howto enable internet for ip in Centos

#eth0 – internet#eth1 – networkecho -e “192.168.10.99 00:15:F2:16:6C:C2 dev eth1″ > /srv/mac.listarp -f /srv/mac.listiptables -t nat -A POSTROUTING -o eth0-j MASQUERADEiptables -A FORWARD -i eth1 -j ACCEPTecho 1 > /proc/sys/net/ipv4/ip_forward#this script enable internet for ip 192.168.10.99 with MAC 00:15:F2:16:6C:C2 ...
Continue Reading »

Enable IP forwarding under RHEL/CentOS

The regular way Edit /etc/sysctl.conf Edit the “net.ipv4.ip_forward” line and set it to 1# Kernel sysctl configuration file for Red Hat Linux## For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and# sysctl.conf(5) for more details.# Controls IP packet forwardingnet.ipv4.ip_forward = 1# Controls source route verificationnet.ipv4.conf.default.rp_filter = 1# Do not accept source routingnet.ipv4.conf.default.accept_source_route = 0# Controls the System Request debugging functionality of the kernelkernel.sysrq = 0# Controls whether core ...
Continue Reading »

Thursday, August 18, 2011

Email Fundamentals: How to Send Email via Telnet

This is one of the essential troubleshooting tricks that an Exchange administrator needs to know, sending an email using Telnet from the command line. Let’s say you’ve just configured a relay connector and want to test it from the server that you wish to allow relay from before you let that server’s owner know that it is all set up for them. Or perhaps you want to quickly test whether a another email server on the internet is accepting mail from your network. For just about any scenario where you want to quickly test SMTP knowing this method is ...
Continue Reading »

Set Multiple Sites as a Homepage in Internet Explorer 9

The Procedure for Setting the Homepage First, open Internet Explorer 9 and then a tab for each site you want to set as a homepage. Browse to those websites. Once you have all the websites loaded, click on the Tools button from the upper-right side of the Internet Explorer window. Then, click on Internet Options. You set the homepage in the General tab. Simply click ’Use current’. The websites you have loaded in each tab are now set as a homepage.Click OKand you are done. From now on, when you start Internet Explorer 9, the websites which you ...
Continue Reading »

Sunday, August 7, 2011

Enabling And Disabling Services During Start Up In GNU/Linux

In any Linux distribution, some services are enabled to start at boot up by default. For example, on my machine, I have pcmcia, cron daemon, postfix mail transport agent ... just to name a few, which start during boot up. Usually, it is prudent to disable all services that are not needed as they are potential security risks and also they unnecessarily waste hardware resources. For example, my machine does not have any pcmcia cards so I can safely disable it. Same is the case with postfix which is also not used. So how do you disable these services ...
Continue Reading »

Tuesday, June 28, 2011

Basic vi Commands

Linuxi or insert to insert textii ir insert insert to replace (overwrite)arrow keys to navigateesc :q! to exit with out changesesc :wq to save and exitmy faveesc shift^ZZ to save and exit. *BSDsame as above but no arrow keys and sometimes no insert i(only)esc takes you to command mode and you can navigate.with keysx =deleteh,j,k,l = arrowsetc...just the very basicsAlmost forgot that *BSD has an editor ee I like alot when you're done editingesc and you get a little menu ...
Continue Reading »

Thursday, May 5, 2011

linux command line reference for common operations

   This is a linux command line reference for common operations.Examples marked with • are valid/safe to paste without modification into a terminal, soyou may want to keep a terminal window open while reading this so you can cut & paste.All these commands have been tested both on Fedora and Ubuntu.     Command Description • apropos whatis Show commands pertinent to string. See also threadsafe • man -t ascii | ps2pdf - > ascii.pdf make a pdf of a manual page   which command Show full path name ...
Continue Reading »