interface

Q. How do I find out my IP address assigned to eth0 or ra0 interface using perl? A. If you need to know the IP address of the UNIX / Linux machine you are running on, use the following perl one liner. Perl don’t have any inbuilt facility but combination of ifconfig command ans shell […]

{ 10 comments }

Q. I’m using Red hat Enterprise Linux server. I’m getting following error in /var/log/message file: Apr 16 16:38:02 server ntpd[22694]: sendto(10.0.77.54): Bad file descriptor Apr 16 16:38:08 server ntpd[22694]: sendto(66.111.46.200): Bad file descriptor Apr 16 16:38:25 server ntpd[22694]: sendto(83.133.111.7): Bad file descriptor Apr 16 16:38:28 server ntpd[22694]: sendto(81.169.156.100): Bad file descriptor How do I fix […]

{ 3 comments }

How do I change existing openbsd gateway (openbsd routing) IP address? How do I see current routing table under OpenBSD?

{ 1 comment }

Q. How do I remove virtual interfaces such as eth0:1 or eth1:1?

{ 4 comments }

Q. How do I setup default gateway with a route command? A. route command show and/or manipulate the IP routing table under Linux and UNIX oses. Route manipulates the kernel’s IP routing tables. Its primary use is to set up static routes to specific hosts or networks via an interface after it has been configured […]

{ 28 comments }

lsusb is a utility for displaying information about USB buses in the system and the devices connected to them.

{ 3 comments }