LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Restart network (https://www.linuxquestions.org/questions/%2Absd-17/restart-network-223653/)

zaicheke 08-28-2004 05:25 PM

Restart network
 
Is there a way to reboot the network, reload all the configs files if they have been modified, without restarting the whole computer?

Stack 08-28-2004 07:05 PM

Re: Restart network
 
Quote:

Originally posted by rcottere
Is there a way to reboot the network, reload all the configs files if they have been modified, without restarting the whole computer?
Sure but what do you mean by "rebooting the network"? You want to release your ip address? Refresh the routing tables?

zaicheke 08-28-2004 07:10 PM

no i just want the new config files to take effect. Whenever i edit them i have to restart and that takes five minutes on my computer (486). There must be an easier way to do this then to restart.

Stack 08-28-2004 07:15 PM

Quote:

Originally posted by rcottere
no i just want the new config files to take effect. Whenever i edit them i have to restart and that takes five minutes on my computer (486). There must be an easier way to do this then to restart.
What config files? Everyone has a different way of being updated...

zaicheke 08-28-2004 08:48 PM

i mean like resolv.conf, and hostname.<if>

frob23 08-28-2004 08:51 PM

resolv.conf

No need to update anything. The next nameserver request will use the new values.

hostname.* files. Say ep0 for this case.

ifconfig ep0 [the commands you put in the file]

You might need to bring ep0 down and then up in a very rare case... but even that shouldn't be needed.

zaicheke 08-28-2004 10:21 PM

what if i unplug the ethernet cable and plug it back in. How do i get it start back up.

chort 08-28-2004 10:23 PM

It should work automatically. There shouldn't be any need at all to restart anything if you unplug the cable and plug it back in.

zaicheke 08-28-2004 10:27 PM

Even with dhcp, i know on linux you have to type dhcpd to get it back up

Crunch 09-02-2004 11:01 PM

I thought you could just execute, 'netstart' in /etc.


All times are GMT -5. The time now is 11:23 PM.