ARTICLE

Ask Dr. UN*X
Contributed by Brian Wilson in Network on 2006-03-01 05:35:34
Page 4 of 4

Resources

The Linux Documentation Project, where you will find:
Linux Hardware Compatibility Howto
Linux Ethernet Howto
Linux Network Administrators Guide

You can really geek out at http://www.scyld.com/network.html; Scyld was founded by Don Becker, who wrote most of the Linux ethernet drivers.

For the impatient, the source for information on iproute2:

Linux Advanced Routing and Traffic Control where you will find the
LARTC Howto

Article Index
Ask Dr. UN*X
Chipset revealed
Test the completed setup
Resources
 
Discussion(s)
minor improvement regarding the test of
Written by izolan on 2006-03-06 02:42:42
snippet from the article:

Test the completed setup.

Without rebooting, you can shutdown and restart the complete networking subsystem with these commands from the console. (Doing the 'stop' will cut you off if you are logged in remotely! If you think this is blatantly obvious, you probably have not done it yet. Be careful.)

/etc/init.d/networking stop
/etc/init.d/networking start

================= beter solution is =============
/etc/init.d/networking restart

By doing it in this way, you can restart the networking on the REMOTE machine without a fear to be cut off

Discuss! Reply!

Remotely Restarting Network Services
Written by Ron on 2006-03-06 07:31:51
Quote:

From the article:
" Without rebooting, you can shutdown and restart the complete networking subsystem with these commands from the console. (Doing the 'stop' will cut you off if you are logged in remotely! If you think this is blatantly obvious, you probably have not done it yet. Be careful.)

/etc/init.d/networking stop
/etc/init.d/networking start"





Please note I've only tested on a Fedora Core 3 system and I'm not guaranteeing this will work for everyone.

On a fedora core based system you can issue the command:
service network restart
to stop and start the networking services. I tested that command from an ssh session and I didn't even get disconnected!

you can also chain the commands together:
#> /etc/init.d/networking stop; /etc/init.d/networking start

I would recommend remotely logging in, starting a screen session and chaining the commands together so that even if you get disconnected when the network stops, the commands will complete by virtue of the screen session.

As I say, its not a fully tested solution, please use at your own risk.
Discuss! Reply!

Strange Domain name
Written by Allan Registos on 2006-05-06 22:59:40
Hello Dr. UN*X

I have been using Fedora Core 4 for sometime now and got to learn a lot of its features. I am also investigating the features of CentOS and now im using it at the time of this writing. But before all this, we are using a Windows NT 4.0 sp6 server with Exchange 5.5 as an Internet sharing and Email server. The problem is our Windows has been sending a lot of Spams, I think it was infected as a ghost PC. This triggers me to use an alternative OS that is stable and more secure than windows. Aside from the spam generated by the NT server by using a fake address and real address by some employees here, it uses the name ´´ in the from field. When I tried to scan my our IP addresses here, the local IP registered this strange name: indus.cmie.ernet.in !!! .in shows that its from India. And when I run linux and run this command: netstat -tap I can still this domain as affiliated with my local/internal IP:

tcp 0 0 indus.cmie.ernet.in:domain *:* LISTEN 4345/named
tcp 0 0 192.168.0.2:domain *:* LISTEN 4345/named

I am confused why this was so...

Thank you in advance...

Discuss! Reply!