summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/NETWORKING
Commit message (Collapse)AuthorAgeFilesLines
* MFC r292752:ian2016-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enhance rc.d/netwait script to wait for late-attaching interfaces such as USB NICs. USB network hardware may not be enumerated and available when the rc.d networking scripts run. Eventually the USB attachment completes and devd events cause the network initialization to happen, but by then other rc.d scripts have already failed, because services which depend on NETWORKING (such as mountcritremote) may end up running before the network is actually ready. There is an existing netwait script, but because it is dependent on NETWORKING it runs too late to prevent failure of some other rc scripts. This change flips the order so that NETWORKING depends on netwait, and netwait now depends on devd and routing (the former is needed to make interfaces appear, and the latter is needed to run the ping tests in netwait). The netwait script used to be oriented primarily towards "as soon as any host is reachable the network is fully functional", so you gave it a list of IPs to try and you could optionally name an interface and it would wait for carrier on that interface. That functionality still works the same, but now you can provide a list of interfaces to wait for and it waits until each one of them is available. The ping logic still completes as soon as the first IP on the list responds. These changes were submitted by Brenden Molloy <brendan+freebsd@bbqsrc.net> in PR 205186, and lightly modified by me to allow a list of interfaces instead of just one. PR: 205186 Relnotes: yes
* MFC r278704:ngie2015-03-011-1/+1
| | | | | Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE: in NETWORKING to BEFORE: in the script
* Forgotten in r255825: NETWORKING requires local_unbound.des2013-09-241-1/+1
| | | | Approved by: re (blanket)
* Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp.mm2011-10-231-0/+1
| | | | | | | | | | Make sure that static ARP and NDP bindings are set before NETWORKING. As static_ndp is based on static_arp, pass copyright to the project with permission of the original author (delphij@). Reviewed by: delphij@FreeBSD.org MFC after: 3 days
* Use REQUIRE: line to reorder rc.d/bridge instead of BEFORE: line.hrs2011-09-201-1/+1
| | | | | Pointed out by: dougb Approved by: re (bz)
* Integrate rc.d/network_ipv6 into rc.d/netif:hrs2009-09-121-1/+1
| | | | | | | | | | - Add rc.d/stf and rc.d/faith for stf(4) and faith(4). - Remove rc.d/auto_linklocal and rc.d/network_ipv6. - Move rc.d/sysctl to just before FILESYSTEMS because rc.d/netif depends on some sysctl variables. Reviewed by: brooks MFC after: 3 days
* Reverse the effect of r193198 for pf and ipfw which will once againdougb2009-06-261-1/+1
| | | | | | | | | | | | | | | allow them to start after netif. There were too many problems reported with this change in the short period of time that it lived in HEAD, and we are too late in the release cycle to properly shake it out. IMO the issue of having the firewalls up before the network is still a valid concern, particularly for pf whose default state is wide open. However properly solving this issue is going to take some investment on the part of the people who actually use those tools. This is not a strict reversion of all the changes for r193198 since it also included some simplification of the BEFORE/REQUIRE logic which is still valid for ipfilter and ip6fw.
* As previously discussed, add the svn:executable property to all scriptsdougb2008-07-161-0/+0
|
* Fix the wait for default route change I made a few weeks ago by creatingbrooks2008-06-051-1/+1
| | | | | | | a new defaultroute script that just does the wait. The previous attempt created a circular dependency through network_ipv6. Pointy hat to: brooks
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andbz2008-05-261-1/+1
| | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-081-1/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Finish making resolv ordering deterministic by REQUIRE'ing it here.dougb2007-06-021-1/+1
|
* Apply "additional TCP options" earlier.des2007-04-091-1/+1
| | | | | Requested by: andre@ MFC after: 1 week
* Don't bogusly depend on dhclient. It's now run either bybrooks2005-12-031-1/+1
| | | | /etc/rc.d/netif or from devd rather than by the startup scripts.
* Transforming "ppp-user" into just "ppp", step 1:yar2005-10-281-1/+1
| | | | | | | | | | | The rcorder(8) condition PROVIDE'd by the script and REQUIRE'd by the others becomes "ppp". The ultimate goal of the transformation is to reduce confusion resulting from the fact that $name has been "ppp" already. Discussed with: pjd, -rc
* Remove the requirement for the FreeBSD keyword as it no longermtm2004-10-071-1/+0
| | | | | | | makes any sense. Discussed with: dougb, brooks MFC after: 3 days
* Remove scripts we don't use from requirement lines. These weremtm2004-03-051-1/+1
| | | | hold-overs from the initial NetBSD import.
* Luke Mewburn has indicated that they (NetBSD) are not interestedmtm2004-01-171-1/+1
| | | | | | in keeping the scripts under rc.d in sync with us. So, begin removal of NetBSD specific stuff (which made our scripts more complicated than necessary), starting with the NetBSD KEYWORD.
* o Hookup rc.d/routing and rc.d/netoptionsmtm2003-06-291-1/+1
| | | | | | | o Ensure rc.d/network2 and rc.d/network3 are not automatically run during boot o Modify script headers so rcorder(8) can put the two scripts in the correct sequence.
* o Hook the new files up to the build.mtm2003-04-181-1/+1
| | | | | | o Make sure all the scripts reference rc.d/netif and not rc.d/network1 Approved by: markm (mentor)
* NETWORKING should also mean routing daemons are up.mtm2003-01-251-0/+1
| | | | Approved by: markm (mentor)
* Start isdnd before ppp for those folks who use ppp-over-isdn.mtm2003-01-251-1/+1
| | | | Approved by: markm (mentor)
* s/dependancy/dependency/schweikh2002-10-121-1/+1
|
* Merge in all the changes that Mike Makonnen has been maintaining for agordon2002-06-131-0/+12
while. This is only the script pieces, the glue for the build comes next. Submitted by: Mike Makonnen <makonnen@pacbell.net> Reviewed by: silence on -current and -hackers Prodded by: rwatson
OpenPOWER on IntegriCloud