| /[baselayout]/trunk/net-scripts/conf.d/net.example |
Parent Directory
|
Revision Log
New pump and dhcpcd helpers as pump now does everything it should - weeeeee
pump-0.8.21-r4 now creates ntp.conf by itself so the ntp.conf creation code has been removed from the pump module and helper.
Added dhcp_eth0=nogateway option, generic to all dhcp clients.
Fixes #98466
Documented nosendhost
dded a rename module to rename interfaces based on MAC address
(preferred) or current name. Fixes #76328
dhclient now parses dhclient_eth0 for -cf parameter to set
dhclient now strips lines starting with script and send host-name
from and adds send host-name uberlaptop; at the top
To stop this behaviour, add dhclient_edit_config=no to /etc/conf.d/net
Fixes #96322
Removed killing udhcpc hard as it now dies nicely
interfaces can now dynamically add themselves to a bridge using bridge_add_eth0="br0" - they are dynamically removed as well. Fixes #93321
added hotplug policy check for interface name #78495
Fixed VLAN documentation for working with eth0.1 style names #95121 tarball.sh now works with svn dhclient and udhcpc now report any errors to stdout RC_DEVICE_TARBALL now defaults to no STYLE updates to iwconfig
You can now configure all options via the MAC address of your network card and the MAC address of AP you connect to like so config_001122334455=( "192.168.0.2/24 brd +") Fixes the last part of #52975 The old way of configuring for the MAC address of the AP is no longer supported
networking now expands configuration parameters - fixes #91564
so config_eth0=( "192.168.{1..3}.{1..3}/24 brd +" ) expands into
config_eth0=(
"192.168.1.1/24 brd +"
"192.168.1.2/24 brd +"
"192.168.1.3/24 brd +"
"192.168.2.1/24 brd +"
"192.168.2.2/24 brd +"
"192.168.2.3/24 brd +"
"192.168.3.1/24 brd +"
"192.168.3.2/24 brd +"
"192.168.3.3/24 brd +"
)
updated ESSID variables example in wireless.example - fixes #92469
Changed "sed -ne" to "sed -n -e" for portability.
Added auto_interface (default yes).
if auto_interface is yes then we
*) default to dhcp
*) automatically calculate a metric (this may need work)
*) select the best interface based on metric
(restore resolv.conf, ntp.conf and yp.conf we have saved)
otherwise we
*) default to null
wpa_supplicant no longer kills itself when we're not stopping the interface
it's running on.
wpa_supplicant now uses wpa_monitor (yet to be released) if available.
Added a new module called system which enables the definition of domain
name, dns servers, ntp servers, nis domain and nis servers per interface.
essidnet and dhcp helpers have been re-coded around this module.
rc-services.sh now does a /sbin/depscan.sh -u if we have not got
our deptree loaded
removed net_start/stop function from net.lo, bridge and bonding
net.lo now supports depend() per interface like so
depend_br0() { need net.eth0 net.eth1 }
net.lo now supports fallback_route - fixes #75676 due to bash limitations, only one fallback route is supported cleaned up dhcp helper iproute now appends routes instead of adding them - this allows multiple default routes RC_STRICT_NET_CHECKING now supports the none "option" which means that the net service is always up
removed udhcpc-* and dhclient-* helper modules and replaced them with a generic dhcp module which caters for all interfaces and dhcp clients that need it. We now prefer iproute2 over ifconfig if both are installed.
added "noop" config parameter which means take no action if the interface is up and has an address configured, otherwise continue addresses are now removed when starting an interface - fixes #77111
ifconfig and iproute2 now support function interface_set_mac_address macchanger no longer depends on macchanger if configuring a specific mac address
wpa_supplicant module added
config-system now creates files as .tmp instead of .new and loads the
wpa_supplicant module if needed
ifconfig now addes aliases to devices other than eth0
dhcpcd, dhclient, pump and udhcpc now expose the dhcp_${IFACE} variable
instead of the old peer_dns_${IFACE}, peer_ntp_${IFACE}, peer_nis_${IFACE}
ones
Moved generic dhcp options into a space seperated string
Added option dhcp_release to specify if we release the DHCP lease or not defaults to no Changed variables peer_* to dhcp_* dhclient and udhcpc now specify a pidfile
Documentation fixes regarding iwconfig and linux-wlan-ng Fixed bonding deps per bug #71419
clarified lack of linux-wlan-ng support in documentation
Fixed up address detection in apipa
net.lo now checks for duplicate static IPv4 addresses before assigning
iwconfig now supports preassociate and postassociate user hooks
net.example - changed $1 to ${IFACE} in examples
iproute2 does not need to create dummy interfaces for aliases unlike ifconfig so we no longer do this We now bring down all aliases and addresses properly Split off some functions from net.lo into helpers.d/functions so that our DHCP helper scripts can use them too :) Deprecated interface specific setup in favour of a generic config macchanger brings interface up now - fixes #71929 DHCP over VLAN now works - fixes #71860 Disabled modified function checking as it's far too expensive on CPU and still isn't 100% reliable When specifing a module that isn't emerged, you now get an error telling you what to emerge Removed -p option from the diff call used for function removal
tests for hostname (none) when sending hostname via dhcpcd, udhpc or pump udhcpc now does correct signal handling so we can release leases and terminate cleanly Improved pump process detection Rewrote udhcpc helper scripts around udhcpc and wrapped dhclient to udhcpc scripts. This makes things much saner as udhcpc is much saner - also fixed essidnet and ipv6 local link for them.
ifconfig handles inet6 routing automatically - bug #33310 ifconfig - fixed old gateway + gateway in routes conflict iproute2 cleaned up some functions
Updated bonding documentation - bug #71419
We no longer default a fallback to APIPA when no config is given net.example fleshed out a bit more for dhcpcd - fixes #60845 Improved forced module handling a touch modules_sort and modules_check_user in net.lo buffer _provides, _before and _after in arrays to avoid shelling out
Improved force module loading a bit Better force module documentation
Split modules_load into smaller more managable functions in net.lo Added modules_force option to net.lo with a big phat warning in net.example about it potentially breaking networking Fixed indentation problem in ifconfig
Documented APIPA module in net.example Added kernel checking for vlan - fixes #70829 Added kernel checking for bonding, bridging and tuntap Added iproute2 support to the APIPA module
Fixed iface variable in dhcp modules for vlans Changed get_device to interface_device Changed get_type to interface_type Added vlan configuration options and documented them in net.example Fixed bridge configuration handling Removed _get_vlans from iproute2 and ifconfig as vlan now does it itself
Added options to configure bridge Added bridge configuration example to net.example Added missing required function interface_exists to iptunnel check_depends
net-scripts/init.d/net.lo
- added use dependany on wlan incase we're using linux-wlan-ng drivers
fixes bug #64978
- moved start() to run_start() and stop() to run_stop()
created run() and new start()/stop() functions
this is so that we have one single entry point to localise variables
and to remove any added functions loaded by our modules
- removed redundant interface_exists() as it's provided by
ifconfig and/or iproute2
net-scripts/net.modules.d/ifconfig and iproute2
- added ifconfig_tunnel and iproute2_tunnel functions
addred gre/ipip tunnel support via the the tunnel module
- fixes bug #50765
net.lo - added get_type function to return the type of the interface
- eth, ippp, etc
ipppd, tuntap
- start() moved to pre_start() and we now test by type
this means you no longer need ifconfig_ippp0=( "isdn" "dhcp" )
as ippp0 is always an isdn device
bridge - fixed stop function and moved start() to pre_start()
and automatically start if the variable bridge_${iface} exists
net.example - fixed up documentation for changed behaviour above
net-scripts/init.d/net.lo
- we remove all added functions when restarting an interface
this relies on the diff command being available
added isdn support via the new ipppd module
net-scripts/conf.d/net.example
- added sample isdn setup
net-scripts/conf.d/wireless.example
- added better descriptions to the _sleep variables
Fixed boolean logic error when testing is_net_up in /sbin/runscript.sh
- fixed bug #70022
inet6 fixes - bug #65417
*** empty log message ***
*** empty log message ***
Add support for user_eth0 in the adsl module and in net.example. This means that most users won't need to edit pppoe.conf at all
Remove old etc/conf.d/net and try to clarify instructions in net-scripts/conf.d/net.example. Add example for ADSL
fix ipaddr_fallback example
Create NET_FS_LIST and is_net_fs in functions.sh and use them in checkroot, localmount, netmount, net.example, and net.lo
Update to net-scripts 1.0.2 from Roy
update net.example prior to release
update to 0.6.4 from Roy
Update to 0.6.3 from Roy
update to net-scripts-0.6.2
version 0.5.0 of Roy "UberLord" Marple's modular networking scripts
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.13 |