How do I restart Linux network service?

RedHat Linux command to reload or restart network (login as root user):

# service network restart
OR
# /etc/init.d/network restart

To start Linux network service:
# service network start

To stop Linux network service:
# service network stop

Debian Linux command to reload or restart network:
# /etc/init.d/networking restart

To start Linux network service:
# /etc/init.d/networking start

To stop Linux network service:
# /etc/init.d/networking stop

Ubuntu Linux user use sudo command with above Debian Linux command:
# sudo /etc/init.d/networking restart

To start Linux network service:
# sudo /etc/init.d/networking start

To stop Linux network service:
# sudo /etc/init.d/networking stop

How do I restart inetd service under Linux?

inetd is a daemon on Linux (BSD/Unix) systems that manages Internet services. inetd listens on all ports used by internet services such as FTP, POP3, and telnet. When a TCP packet or UDP packet comes in with a particular port number, inetd launches the appropriate server program to handle the connection. This uses memory more efficiently, as the other daemons do not run constantly.

Under old version of RedHat Linux you can restart inetd (login as root user):
# killall -HUP inetd

Note above command should work with almost any Linux distrobution.

New version of RedHat Linux (Fedora) comes with xinetd daemon, which can be restarted as follows:
# service xinetd restart

See also:

=> How to restart inetd under FreeBSD

Resetting RX and TX counters

You need to remove driver related to Ethernet card. Under Linux use following commands:

1) Find out driver attached to eth0 using following command
lsmod | less

2) Remove the driver using rmmod command:
rmmod driver-name

3) Again insert driver into kernel using
modprobe driver-name

For example, let us assume your driver name is 8139too , then your command should be (log in as root user):
# rmmod 8139too
# modprobe 8139too

Verify that RX and TX couters reset:
ifconfig

Under FreeBSD use following the commands:

Get list of loaded drivers, and find out ID of device driver related to Ethernet
# kldstat

Remove driver
# kldunload driver-ID

Load driver into kernel:
# kldload -v driver-name

Don’t try this command on remote server via telnet or ssh, at it will take down your connection. For more information please see
FreeBSD : How to unload (remove) device driver (module) from kernel
FreeBSD How to list device drivers (modules) loaded in memory?
FreeBSD : How to unload (remove) device driver (module) from kernel

Google messed up home page

Well main home page looks same but when you put search text and hit enter key you will notice something different at bottom of screen. Yup they got Copyright and other links at bottom repeated twice. Very bad even these days smallest site don’t have this kind of goof ups.


If that is not sufficient they have also messed up top of page by displaying link to all other search engine and blog site, where you can do additional search. C’mon we know google is the best and we don’t need other sites ;)

How do I install Java Run Time (JRE) environment for Firefox?

First visit Sun java site and download latest JRE for Linux. You can download RPM or self-extracting file. All the information to install JRE is on same page, just follow it. Once you downloaded and installed the JRE, you need to restart FireFox and Test your JRE installation.

Microsoft Windows XP Legal version for Rs.1000

Yup Microsoft India to release a low-cost version of its Windows software for India in an attempt to check high piracy levels. It will cost us Rs.1000/- only. So you don’t have to purchase Rs.200/- pirated CD now. Just get legal version :)
Full article here.

Apple blames iPod nano screen defects on obese Americans

Apple today officially acknowledged that a small number of iPod nano owners have reported problems with the hot-selling music player. Customers are reporting instances where after removing the iPod nano from their front pocke…
LOL, it is really funny!
Full article here.