It uses the TTL (Time To Live) parameter and UDP to get the path. Each router which is passed needs to decrease the TTL value of a packet and if it is below 1 the router will discard it and send a ICMP (time exceeded) back to the source. So traceroute sends the first packet with a TTL of 1 to reach the first router and one more with a TTL of 2 to reach the second and so on. You get the picture. But how does it know when the destination is reached? Well it useses another trick for that. Traceroute sends out a UDP Packet with it with a port higher than 3000. It is very unlikely that this port will be opened at the destination so it will get back from the destination a ICMP packet (port unreachable) which is the answer to the question.
Important: Remember that not all packets are going the same way and it’s likely that they use different paths.
admin on June 27th 2013 in IT, Network
ping
#hostname
Computer Name
#ping [Computername/IP]
Checks if computer can be reached 4 times
#ping -t [Computername/IP]
Checks if computer can be reached unlimited times
#ping –a [IP]
Name resolution of the IP
ipconfig
#ipconfig
Get IP-Adress
#ipconfig /all
Here you can get the MAC-Adress
#ipconfig /release
Removes the IP-Adress
#ipconfig /renew
Gets a new IP-Adress from the DHCP
DNS
#ipconfig /registerdns
Renews the registration on the DNS-Server
#ipconfig /displaydns
Shows local DNS-Cache
#ipconfig /flushdns
Deletes local DNS-Cache
ARP
#arp –a
Table IP-Adresses / MAC-Adresses
NSLOOKUP
#nslookup [IP/Domainname]
DNS – Name Resolution
admin on February 8th 2013 in IT, Network, Windows, Windows Server
Don’t forget to backup beforehand
|
tar -cvzf nagios.tgz /usr/local/nagios/ |
As always make a backup beforehand. The paths and command options might need to be adjusted to your environment.
|
rm /usr/local/nagios/share/{main,side,index}.html wget http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.x.tar.gz tar xzf nagios-3.x.tar.gz cd nagios ./configure --with-command-group=nagcmd make all make install /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg service nagios restart |
admin on August 6th 2012 in IT, Linux, Network
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
admin on May 20th 2011 in IT, Network
Check the state
# ifconfig –a
Activate/Deactivate Network Interface
# ifup eth0
# ifdown eth0
Hostname
# hostname
# uname -n
# vi /etc/hostname
Get an IP from the DHCP Server
# dhclient
Edit this file to setup a fix IP
#vi /etc/network/interfaces
auto eth0
iface eth0 inet static
address 192.168.0.25
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.5.1
# /etc/init.d/networking restart
Edit this file to setup DNS
#vi /etc/resolv.conf
order hotsts, bind
domain mydomain.local
nameserver 192.168.0.10
admin on May 17th 2010 in IT, Linux, Network
Open Command Console and type:
nslookup
set type=mx
google.com

admin on December 3rd 2009 in Internet, Network, Windows, Windows Server

I spend hours try to find out why I have a lowid in emule. I set port forwarding in my router. Opened the ports in my firewall etc. but I still got a lowid. I scanned with an online portscanner my ports and it told me that it is opened. So what’s the problem?
It wasn’t my settings problem. It’s because there are a lot fake servers in emule and they want to get all the traffic trsough their server. So they don’t allow high ids. After fixing my server list I finally got a high id again;-)
Thanks to this post:
Fix
To get a reliable server list free of fake ones, you can follow these steps
- Go to Options/Security
- Select Filter servers too
- In Update from URL, type: http://emulepawcio.sourceforge.net/ipfilter.zip
- Click on Load.
- Go to Options/Server
- Set number of errors allowed before removing the server to 9
- Click List button that appears next to the option Auto update
- In Notepad, that is opened, write this line and remove all others if exists:
http://www.peerates.net/servers.php
- Save changes in notepad
- Untick the options to update list of servers when connecting to new server and new client
- Click on Accept
- Go to servers window
- Remove all servers from static list
- Remove all servers from list
- In Update Server.met from URL, type the same URL you did in point #8
- Click on Update button
- If you have selected Autoconnect only to servers on static list add the servers you want to static list
- Double click on any server
admin on January 26th 2009 in IT, Network
You need to access your computer at home or company. Or do you need to fix you relatives computer but you are to lazy to get up from you chair and visit them. So you need a remote control software. You could use vnc or remote desktop etc. But usually they are behind a firewall and it needs first a lot of configuration. And not everybody knows how to make a ssh tunnel through port 80 to bypass the firewall. Anyway if you looking for a pretty good and fast solution that most of the time works have a look here:
www.logmein.com

It is by the way free to use, but there are a couple of limitations. One important feature which is missing in the free version is that you can’t share files. Still this service is great and helped me already a couple of times.
admin on May 16th 2008 in Network