Jump to content
RADIatiON

Command to restart network?

6 posts in this topic Last Reply

Recommended Posts

OK,

 

Simple question, how do I restart the network from the console?

 

I googled "linux restart network" and only came up with "/etc/init.d/network restart" but I don't see a /etc/init.d folder.

 

Share this post


Link to post

Try this:

 

/etc/rc.d/rc.inetd restart

or

/etc/rc.d/rc.inetd start

or

/etc/rc.d/rc.inetd stop

 

Share this post


Link to post

As always Joe... you are the man.

 

My network connection keeps dropping for some reason every time I try to sync my ipod, so I just trying a couple things... but I may need a new NIC.

 

 

Share this post


Link to post

I think it's rc.inet1

 

root@unraid:/etc/rc.d# ls -l /etc/rc.d/rc.inet1         

-rwxr-xr-x 1 root root 9237 May 26 05:55 /etc/rc.d/rc.inet1

 

Inetd is the daemon that starts other daemons based on socket connection.

 

rc.inet1 manages the interface itself.

Share this post


Link to post

I think it's rc.inet1

 

root@unraid:/etc/rc.d# ls -l /etc/rc.d/rc.inet1         

-rwxr-xr-x 1 root root 9237 May 26 05:55 /etc/rc.d/rc.inet1

 

Inetd is the daemon that starts other daemons based on socket connection.

 

rc.inet1 manages the network interface itself.

Oops, you are right... the above command stops and starts all services.

/etc/rc.d/rc.inet1  stop

/etc/rc.d/rc.inet1  start

/etc/rc.d/rc.inet1  restart

 

Joe L.

Share this post


Link to post

Added to FAQ (link back only), here.  Feel free to add, edit, or expand.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.