|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.3.0, v6.0.1 |
|
| #
ae75c143 |
| 03-Jul-2021 |
Sascha Wildner <saw@online.de> |
kernel: Remove ndis(4) and associated tools and stuff.
ndis(4) was a wrapper to allow running binary Windows network drivers that conformed to the Network Driver Interface Specification, i.e. NDIS.
kernel: Remove ndis(4) and associated tools and stuff.
ndis(4) was a wrapper to allow running binary Windows network drivers that conformed to the Network Driver Interface Specification, i.e. NDIS.
It only ever supported drivers from the days of Windows XP and Windows Server 2003 (i.e. NDIS 5.1). And even if one was actually able to extract the .sys and .inf files from the driver package and successfully convert them to a building module, which both were adventures in itself, it could be any result when trying to run it, depending on the card and driver, from resonably working to not working, even crashing. But it did work for some cards, so it had some limited merit in its time.
NetBSD removed it in 2018, FreeBSD in January 2021, so let's follow suit now.
show more ...
|
|
Revision tags: v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2 |
|
| #
4c258131 |
| 18-Jun-2020 |
Daniel Fojt <df@neosystem.org> |
etc/network.subr: enhance wlan initialization
Teach wlan_up() and wlan_down() to process just a single interface passed as optional argument. If no argument is given, process all "net.wlan.devices"
etc/network.subr: enhance wlan initialization
Teach wlan_up() and wlan_down() to process just a single interface passed as optional argument. If no argument is given, process all "net.wlan.devices" just like before.
Reviewed by: Aaron LI
show more ...
|
| #
69dc5784 |
| 29-May-2020 |
Daniel Fojt <df@neosystem.org> |
etc/network.subr: enhance wlan initialization
Introduce new functions wlan_get_unused() and wlan_is_parent(), and extend wlan_up() to utilize them.
With this change, devices configured the traditio
etc/network.subr: enhance wlan initialization
Introduce new functions wlan_get_unused() and wlan_is_parent(), and extend wlan_up() to utilize them.
With this change, devices configured the traditional way in rc.conf(5) are created first, and then all other wireless interfaces are assigned to next available wlan<index> devices automatically.
This allows either to have wlan configured manually in rc.conf(5) via "wlans_<iface>" or to remove the static assignment and let devices be auto-created. With dhcpcd_enable and wpa_supplicant_enable in rc.conf, no further configuration is then needed to get network connectivity.
Furthermore, this will allow to enhance devd(8) default configuration, so that also hot-pluggable wireless interfaces are automatically detected and brought up (ie. assigned to wlan<index> devices).
Reviewed by: Aaron LI
show more ...
|
| #
8716355d |
| 03-May-2020 |
Daniel Fojt <df@neosystem.org> |
wpa_supplicant: Adjust master for the 2.9 upgrade.
- update README.DRAGONFLY and README.DELETED - apply local modifications to contrib/wpa_supplicant - adapt build to vendor update - update manpages
wpa_supplicant: Adjust master for the 2.9 upgrade.
- update README.DRAGONFLY and README.DELETED - apply local modifications to contrib/wpa_supplicant - adapt build to vendor update - update manpages wpa_cli(8), wpa_passphrase(8) and wpa_supplicant(8) - update /etc/wpa_supplicant.conf
Adapt rc script:
- add is_wired_interface() and is_ndis_interface() to network.subr (taken from FreeBSD) - remove "security" warning - don't consider DPorts wpa_supplicant anymore - allow wpa_supplicant to be launched either for a single interface or in interface matching mode, ie. single daemon handling multiple interfaces - add wpa_supplicant_* variables to /etc/defaults/rc.conf
show more ...
|
|
Revision tags: 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 |
|
| #
e9136cbf |
| 12-Dec-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Workaround race between wpa_supplicant and dhcpcd
Insert a 1-second delay after starting wpa_supplicant(8) to workaround the race between it and dhcpcd(8), which can modify the interfa
network.subr: Workaround race between wpa_supplicant and dhcpcd
Insert a 1-second delay after starting wpa_supplicant(8) to workaround the race between it and dhcpcd(8), which can modify the interface's state and break wpa_supplicant's ongoing SSID scan.
dhclient(8) doesn't have such an issue with wpa_supplicant.
Tested-by: me, Daniel Bilik <ddb@neosystem.org>
show more ...
|
| #
203bea78 |
| 12-Dec-2018 |
Aaron LI <aly@aaronly.me> |
Allow optional "inet6" keyword in ipv6_ifconfig_<ifname>
|
| #
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 ...
|
| #
5ad36ff1 |
| 12-Dec-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Properly bring up/down interfaces
Now that the interface will be properly brought up in ifconfig_up(), clean up the rc.d/wpa_supplicant script.
|
| #
3b4e0f2a |
| 12-Dec-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Add IPv6 support to ifalias_{up,down}()
* Factor out the common parts of ifalias_{up,down}() to be ifalias_common(). * Add IPv6 support to ifalias_common(). * Use ifalias_up() in net
network.subr: Add IPv6 support to ifalias_{up,down}()
* Factor out the common parts of ifalias_{up,down}() to be ifalias_common(). * Add IPv6 support to ifalias_common(). * Use ifalias_up() in network6_interface_setup().
show more ...
|
| #
0e387345 |
| 11-Dec-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Clean up list_net_interfaces()
The rc.d/netif takes care of DHCP/non-DHCP interfaces appropriately, and thus the interface type filter feature in list_net_interfaces() is no longer nee
network.subr: Clean up list_net_interfaces()
The rc.d/netif takes care of DHCP/non-DHCP interfaces appropriately, and thus the interface type filter feature in list_net_interfaces() is no longer needed since long ago.
show more ...
|
| #
e4b0f1d1 |
| 11-Dec-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Cleanups and minor improvements
* Localize variables in all functions. * Better name several variables (e.g., $i -> $_if). * Simplify several test and case usages. * Use the newly adde
network.subr: Cleanups and minor improvements
* Localize variables in all functions. * Better name several variables (e.g., $i -> $_if). * Simplify several test and case usages. * Use the newly added "-n" option for ifconfig(8) in ifexists(). * Improve comments, debug messages, and styles. * Print a message when calling rtsol(8) to auto configure an interface, since it may take several seconds.
show more ...
|
| #
b0a4258d |
| 09-Dec-2018 |
Aaron LI <aly@aaronly.me> |
rc: Use SYSCTL{,_N,_W} variables
With minor cleanups to IO redirections.
|
|
Revision tags: v5.4.0 |
|
| #
d15e512d |
| 28-Nov-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Handle DHCP in ipv6_ifconfig_<ifname>
Commit 329743def50a061489debcd9682983235c8f5b42 allows to set 'ipv6_ifconfig_<ifname>="DHCP"' to tell dhcpcd(8) to configure DHCPv6 for interface
network.subr: Handle DHCP in ipv6_ifconfig_<ifname>
Commit 329743def50a061489debcd9682983235c8f5b42 allows to set 'ipv6_ifconfig_<ifname>="DHCP"' to tell dhcpcd(8) to configure DHCPv6 for interface <ifname>. However, the "DHCP" argument shouldn't be passed to ifconfig(8). Handle this case by using 'ifconfig_getargs()' in 'network6_interface_setup()'.
show more ...
|
|
Revision tags: 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 ...
|
| #
329743de |
| 14-Nov-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Support IPv6 in dhcpif()
Extend the 'dhcpif()' to support checking the interface needs DHCP for IPv4-only, IPv6-only or either.
The 'dhcpcd' rc script in the following commit will use
network.subr: Support IPv6 in dhcpif()
Extend the 'dhcpif()' to support checking the interface needs DHCP for IPv4-only, IPv6-only or either.
The 'dhcpcd' rc script in the following commit will use this new feature to determine whether dhcpcd should do DHCPv4 or DHCPv6 or both.
show more ...
|
| #
da4dd514 |
| 25-Oct-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Add ipv6if()
This function determines whether the given interface should be configured for IPv6. This function will be used to determine whether to apply DHCPv6 to an interface in the
network.subr: Add ipv6if()
This function determines whether the given interface should be configured for IPv6. This function will be used to determine whether to apply DHCPv6 to an interface in the following commit.
Taken from FreeBSD, but modified to consider ${ipv6_enable}.
show more ...
|
| #
8cd2e074 |
| 25-Oct-2018 |
Aaron LI <aly@aaronly.me> |
network.subr: Support IPv6 in ifconfig_getargs()
Update the 'ifconfig_getargs()' to accept the address family option to support the extraction of IPv6 arguments of an interface, which is configured
network.subr: Support IPv6 in ifconfig_getargs()
Update the 'ifconfig_getargs()' to accept the address family option to support the extraction of IPv6 arguments of an interface, which is configured using 'ipv6_ifconfig_<ifname>="..."'.
Obtained from FreeBSD; but FreeBSD uses 'ifconfig_<ifname>_ipv6'.
show more ...
|
| #
cc419283 |
| 25-Oct-2018 |
Aaron LI <aly@aaronly.me> |
Sync /etc/pccard_ether with FreeBSD
Our original 'pccard_ether' became unnecessarily complex as a big part of the work is already implemented in 'network.subr', so just bring FreeBSD's version over
Sync /etc/pccard_ether with FreeBSD
Our original 'pccard_ether' became unnecessarily complex as a big part of the work is already implemented in 'network.subr', so just bring FreeBSD's version over (with 'checkauto()' ignored as we don't support it).
NOTE: The 'pccard_ether' is still disabled by default on DragonFly.
show more ...
|
|
Revision tags: v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2 |
|
| #
06937ef9 |
| 25-Nov-2017 |
Sascha Wildner <saw@online.de> |
Remove faith(4) and faithd(8) from the tree.
FreeBSD did that 3 years ago (r274331). Quoting from their commit msg:
-----8<----- It looks like industry have chosen different (and more traditional)
Remove faith(4) and faithd(8) from the tree.
FreeBSD did that 3 years ago (r274331). Quoting from their commit msg:
-----8<----- It looks like industry have chosen different (and more traditional) stateless/stateful NAT64 as translation mechanism. Last non-trivial commits to both faith(4) and faithd(8) happened more than 12 years ago, so I assume it is time to drop RFC3142 in FreeBSD. ----->8-----
Some more info here:
https://lists.freebsd.org/pipermail/freebsd-net/2014-October/040224.html
Discussed-with: sephe
show more ...
|
|
Revision tags: 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 |
|
| #
a939f930 |
| 13-Jul-2014 |
Alex Hornung <alex@alexhornung.com> |
network.subr - use get_if_var extensively
|
| #
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 |
|
| #
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.4.3, v3.4.2, v3.4.1, v3.4.0, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, 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 |
|
| #
667713fe |
| 15-Mar-2008 |
Hasso Tepper <hasso@dragonflybsd.org> |
Make sure lo0 is brought up before any other interfaces to avoid problems if network startup script is interrupted by user.
|