LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 08-28-2004, 06:25 PM   #1
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
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?
 
Old 08-28-2004, 08:05 PM   #2
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
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?
 
Old 08-28-2004, 08:10 PM   #3
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
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.
 
Old 08-28-2004, 08:15 PM   #4
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
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...
 
Old 08-28-2004, 09:48 PM   #5
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
i mean like resolv.conf, and hostname.<if>
 
Old 08-28-2004, 09:51 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: Ubuntu, FreeBSD, NetBSD
Posts: 1,449

Rep: Reputation: 47
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.
 
Old 08-28-2004, 11:21 PM   #7
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
what if i unplug the ethernet cable and plug it back in. How do i get it start back up.
 
Old 08-28-2004, 11:23 PM   #8
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
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.
 
Old 08-28-2004, 11:27 PM   #9
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
Even with dhcp, i know on linux you have to type dhcpd to get it back up
 
Old 09-03-2004, 12:01 AM   #10
Crunch
Member
 
Registered: Feb 2003
Location: York, PA
Distribution: Slackware, FreeBSD, OpenBSD
Posts: 162

Rep: Reputation: 30
I thought you could just execute, 'netstart' in /etc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
restart network zaicheke Slackware 2 12-30-2004 10:18 PM
Network not accessible after boot; OK after network restart chriswei Linux - Networking 5 09-22-2004 11:16 PM
restart network JROCK1980 Linux - Networking 7 05-11-2004 08:23 AM
Restart network Niphargus Linux - Networking 3 09-16-2002 12:42 PM
Network Restart vofkid Linux - Newbie 1 03-14-2002 01:08 PM


All times are GMT -5. The time now is 03:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration