LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 05: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, 07: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, 07: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, 07: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, 08: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, 08:51 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
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, 10: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, 10: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: 76
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, 10: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-02-2004, 11:01 PM   #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



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 09:18 PM
Network not accessible after boot; OK after network restart chriswei Linux - Networking 5 09-22-2004 10:16 PM
restart network JROCK1980 Linux - Networking 7 05-11-2004 07:23 AM
Restart network Niphargus Linux - Networking 3 09-16-2002 11:42 AM
Network Restart vofkid Linux - Newbie 1 03-14-2002 12:08 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:47 PM.

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
Open Source Consulting | Domain Registration