History log of /dragonfly/etc/rc.d/netif (Results 1 – 23 of 23)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ce083385 27-Feb-2024 Aaron LI <aly@aaronly.me>

rc.d: Clean up and tweak dependencies

- Don't use real entries in the dummy scripts; instead, use the dummy
entries in the real rc scripts. This makes the dummy entries clean.

- Use dummy entrie

rc.d: Clean up and tweak dependencies

- Don't use real entries in the dummy scripts; instead, use the dummy
entries in the real rc scripts. This makes the dummy entries clean.

- Use dummy entries instead of one/multiple real entries (such as 'root')
wherever appropriate.

- Use 'REQUIRE' instead of 'BEFORE' wherever appropriate, which makes it
clearer to understand.

- Simplify and clean up various dependencies; remove unnecessary
requires.

- Tweak dependencies of some scripts to make the startup order more
sensible. For example, make 'hostname' and 'ip6addrctl' run a bit
later, after 'FILESYSTEMS' but before 'NETWORKING'.

Referred to FreeBSD for some changes.

show more ...


Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1
# 3928a593 12-Dec-2018 Aaron LI <aly@aaronly.me>

rc.d/netif: Rework wlan interface configuration

* wlan interfaces are more similar to clonable interfaces rather than
vlan interfaces, so move the relevant code from childif_create() to
network.

rc.d/netif: Rework wlan interface configuration

* wlan interfaces are more similar to clonable interfaces rather than
vlan interfaces, so move the relevant code from childif_create() to
network.subr as wlan_up(), which will be called to create the wlan
interfaces before setting up them.

Now, list_net_interfaces() shouldn't list "net.wlan.devices".

* Add the wlan_down() function in network.subr to destroy the wlan
devices.

* Meanwhile, fix childif_destroy() to properly destroy the vlan
interfaces created by childif_create(). Also tweak the order of this
function in netif_stop().

* The 2-second delay in netif_start() doesn't apply anymore, since the
DHCP and WPA configurations are now handled in ifconfig_up() called by
ifn_start().

This patch is loosely based on FreeBSD's code. Thanks to them.

show more ...


# ef976ecc 11-Dec-2018 Aaron LI <aly@aaronly.me>

rc.d/netif: Rename network_* to netif_* for consistency

Rename network_* subroutines to netif_* for better consistency. Also
set the rcvar and add netif_enable=YES to rc.conf.

Taken-from: FreeBSD

rc.d/netif: Rename network_* to netif_* for consistency

Rename network_* subroutines to netif_* for better consistency. Also
set the rcvar and add netif_enable=YES to rc.conf.

Taken-from: FreeBSD (r272959, r278506)

show more ...


Revision tags: v5.4.0, v5.5.0, v5.4.0rc1
# 817cf585 25-Oct-2018 Aaron LI <aly@aaronly.me>

rc.d: Introduce 'dhcp_client' to wrap over dhclient and dhcpcd

The new 'dhcp_client' rc script is a wrapper to start either dhclient(8)
or dhcpcd(8) based on the value of the 'dhcp_client' rc variab

rc.d: Introduce 'dhcp_client' to wrap over dhclient and dhcpcd

The new 'dhcp_client' rc script is a wrapper to start either dhclient(8)
or dhcpcd(8) based on the value of the 'dhcp_client' rc variable.

Other rc scripts are updated to depend on this wrapper instead of the
explicit 'dhclient'. This eases the migration from dhclient(8) to
dhcpcd(8) later.

Update rc.conf.5 and dhcp.8 man pages accordingly.

Meanwhile, remove the two obsolete variables 'dhcp_{program,flags}' from
/etc/rc.subr.

show more ...


Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0
# 882823f5 12-May-2016 Matthew Dillon <dillon@apollo.backplane.com>

rc - Add unconfigured wifi interfaces to the netif list

* Use sysctl net.wlan.devices to get a list of wifi interfaces.
This sysctl is not yet active in master but will be when the wifi
update g

rc - Add unconfigured wifi interfaces to the netif list

* Use sysctl net.wlan.devices to get a list of wifi interfaces.
This sysctl is not yet active in master but will be when the wifi
update goes in (at which point the devices no longer show up in
ifconfig -l).

* This will allow existing wifi configurations in /etc/rc.conf to just
work with the upcoming update.

show more ...


Revision tags: v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2
# c025530f 13-Jul-2014 Alex Hornung <alex@alexhornung.com>

Revert "add load_kld to rc.subr"

This reverts commit 9b9814ddce54234e4b231ecb33b1de509a0a9bd5.

We don't really need load_kld, since ifconfig loads if_vlan on its own.


# ccb8cebe 13-Jul-2014 Alex Hornung <alex@alexhornung.com>

rc.conf - Add support for FreeBSD-style vlan conf

Obtained-from: FreeBSD


# d86e211f 13-Jul-2014 Alex Hornung <alex@alexhornung.com>

network.subr - move get_if_var here


Revision tags: v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc
# 7c87aae6 01-May-2014 Sascha Wildner <saw@online.de>

Remove ATM protocol support.

FreeBSD ditched it about 6 years ago. Also, I'm not sure if this ever
worked on x86_64.


# 6f25d555 20-Apr-2014 Sascha Wildner <saw@online.de>

Remove support for the IPX and NCP protocols, and for NWFS.

This was on the list for a longer time now. FreeBSD removed it
recently, too. Their commit msg has some more info:

"IPX was a network tra

Remove support for the IPX and NCP protocols, and for NWFS.

This was on the list for a longer time now. FreeBSD removed it
recently, too. Their commit msg has some more info:

"IPX was a network transport protocol in Novell's NetWare network
operating system from late 80s and then 90s. The NetWare itself
switched to TCP/IP as default transport in 1998. Later, in this
century the Novell Open Enterprise Server became successor of
Novell NetWare. The last release that claimed to still support
IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco)
discontinued support for IPX in 2011."

The commit removes support for NCP (NetWare Core Protocol) and
NWFS (NetWare File System) along with it (both gone from FreeBSD
too since a while).

show more ...


Revision tags: v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3
# 9f97b95a 24-Jul-2012 Sascha Wildner <saw@online.de>

rc.d/netif: Require cleanvar.

Before the ipfilter removal, netif required ipfilter, which required
ipmon, which required cleanvar. In other words, cleanvar was run before
netif.

With the ipfilter r

rc.d/netif: Require cleanvar.

Before the ipfilter removal, netif required ipfilter, which required
ipmon, which required cleanvar. In other words, cleanvar was run before
netif.

With the ipfilter requirement removed from netif, cleanvar was now
ordered at some place after netif, which caused the PID file and
control socket of wpa_supplicant(8) (which is started by netif if an
ifconfig_xxx="WPA" line is found in /etc/rc.conf) to be removed from
/var/run by cleanvar after they were created.

This caused trouble for wpa_cli(8), which needs the socket.

Found-by: Johannes Hofmann <Johannes.Hofmann@gmx.de>

show more ...


Revision tags: v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# eb8e7aa8 06-Jul-2008 Thomas Nikolajsen <thomas@dragonflybsd.org>

Fix typo.


# f26c267a 10-Jul-2007 Sascha Wildner <swildner@dragonflybsd.org>

Add a wpa_supplicant rc script and bring in code to handle "WPA" in an
ifconfig_blah0="..." line in rc.conf. It should now be possible to bring
up a wireless interface with a line similar to:

ifconf

Add a wpa_supplicant rc script and bring in code to handle "WPA" in an
ifconfig_blah0="..." line in rc.conf. It should now be possible to bring
up a wireless interface with a line similar to:

ifconfig_iwi0="up WPA DHCP"

This commit also removes the restriction that when "DHCP" was specified,
the rest of the arguments were ignored. So the following should work now:

ifconfig_rl0="DHCP media 10baseT/UTP"

The commit also adds rc settings for interface renaming, e.g.:

ifconfig_iwi0_name="net0"
ifconfig_net0="up WPA DHCP"

Obtained-from: FreeBSD

show more ...


# 2540cca8 17-Jun-2007 Sascha Wildner <swildner@dragonflybsd.org>

err takes 2 arguments.


# eb6d8966 29-Dec-2005 Matthew Dillon <dillon@dragonflybsd.org>

Add a 2 second delay after configuring interfaces before continuing.
dhclient and named can get mightily confused if an interface they need
isn't entirely operational.

This is a temporary hack until

Add a 2 second delay after configuring interfaces before continuing.
dhclient and named can get mightily confused if an interface they need
isn't entirely operational.

This is a temporary hack until we get more proactive interface testing
ported from FreeBSD.

show more ...


# 696a5717 19-Nov-2005 Sascha Wildner <swildner@dragonflybsd.org>

- Remove unused "network" and "network[123]" scripts.

- Remove obsolete "DragonFly" keyword.


# a96c60d1 15-Apr-2005 Joerg Sonnenberger <joerg@dragonflybsd.org>

Remove pccard RCNG script, the daemon config, the depency on pccard
for the other RCNG scripts, the actual daemon and the control program.

pccard_ether is used by usbd, keep it for now.


# 283b4f06 27-Jan-2004 Robert Garrett <rob@dragonflybsd.org>

update rcng to remove FreeBSD and NetBSD


# 9c600e7d 24-Jul-2003 Matthew Dillon <dillon@dragonflybsd.org>

Bring RCNG in from 5.x and adjust config files and scripts accordingly.
Bring in the 5.x mergemaster.
Bring in the 5.x rcorder.
Adjust Makefile's and mtree to deal with /etc/rc.d

Submitted-by: ROBER

Bring RCNG in from 5.x and adjust config files and scripts accordingly.
Bring in the 5.x mergemaster.
Bring in the 5.x rcorder.
Adjust Makefile's and mtree to deal with /etc/rc.d

Submitted-by: ROBERT GARRETT <rg70@sbcglobal.net>
Additional-work-by: dillon

show more ...


# 1cb3b2e4 06-May-2011 Sascha Wildner <saw@online.de>

Remove ipfilter from the system.


# df1f242a 02-Mar-2010 Rui Paulo <rpaulo@FreeBSD.org>

Replace an instance of ifexists.


# 665fe72b 02-Mar-2010 Rui Paulo <rpaulo@FreeBSD.org>

Bring the code to support the new rc.conf wlan interface setup.