?
Solved

COMMAND TO STOP AND RESTART NETWORK

Posted on 2004-10-09
8
Medium Priority
?
12,584 Views
Last Modified: 2008-01-09
WHAT IS THE rh LINUX COMMAND TO STOP AND START A NETWORK.
0
Comment
Question by:xoxomos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 6

Accepted Solution

by:
blkline earned 400 total points
ID: 12268972
service network stop
service network start
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12270591
or

in directory /etc/init.d/ you have your services so to start or stop services you can use:
to start
# /etc/init.d/<nameOfservice> start
to stop
# /etc/init.d/<nameOfservice> stop
to restart
# /etc/init.d/<nameOfservice> restart
so for network start is
# /etc/init.d/network start
and so on....

work for most linux distros :))

0
 
LVL 3

Assisted Solution

by:tolgadalkilic
tolgadalkilic earned 200 total points
ID: 12271223
ifconfig eth0 down
ifconfig eth0 up

but generally
 /etc/init.d/network stop
 /etc/init.d/network start

is more usefull because  /etc/init.d/network script does more
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 3

Expert Comment

by:TRobertson
ID: 12273359
Also most init.d scripts have the restart option which usually does both stop and start.
example: /etc/init.d/network restart

And some services have additional commands like status, help, and graceful.  Take a ls of your /etc/init.d folder to see all available services.
0
 
LVL 10

Assisted Solution

by:Luxana
Luxana earned 200 total points
ID: 12273377
to find out all options just run
# /etc/init.d/<nameOfservice>
0
 

Expert Comment

by:omphs_XXXX
ID: 12388064
i think the location of the network service in redhat9 is in the directory: $/etc/rc.d/init.d
0
 
LVL 6

Expert Comment

by:blkline
ID: 12390693
On RH9 /etc/init.d is a symlink to /etc/rc.d/init.d
0
 

Expert Comment

by:sreeji_vp
ID: 12536208
service network name restart
0

Featured Post

TCP/IP Network Protocol Cheat Sheet

TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question