Parent Directory
|
Revision Log
Remove nasty undocumented backgrounding as we now support ifplugd, netplug and wpa_supplicant-0.4.x which do much better jobs.
Fix dhcp options, #114519.
Changed from eval foo=\"\$config_$ifvar\" to foo=config_$ivar; foo=$!foo
This is to avoid using the eval statement to extract user configured vars.
Enhanced pppd module so that it obeys metric routes, does not mess
with the system resolv.conf and works with updetach a bit better, #112049.
Fixed pointotpoint, #112757.
udhcpc now checks the dhcp lease file for a valid IP address.
We prefer iproute2 when stopping an interface by default.
iwconfig now detects an unencrypted AP and doesn't apply any configured
WEP settings.
baselayout now caters for systems without /bin/hostname (from net-tools)
and uses sysctl instead.
New net scripts depend calls - functions, variables and provide.
This saves having to create 3 seperate functions in each module which means
a saving of around 600-800 bytes per module.
Split apipa out of arping module due to user demand for seperate
functionality.
arping module now works correctly.
runscript sets RC_KILL_CHILDREN=no when restarting a service, otherwise
things like your ssh session get killed.
adsl module supports new rp-pppoe-3.6 ebuild, #102820
Config profile is now changed correctly when doing 'rc foo' and you're in
the default runlevel, #101105
Added # vim:ts=4 to all net-script files and re-indented
/dep{cache,tree} are now chmodded 0644 so users can read them
More anal about RHS quoting
Branch baselayout-1.12.
Added nosendhost dhcp option so users can request not to send their
machines hostname by default. Fixes #98132
Minor tweaks to all dhcp modules - basically better quoting so that the eval calls work better pump can now be backgrounded Tweaked the dhcp helpers so that more code is shared A few tweaks to runscript.sh and rc-services.sh to avoid races
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
udhcpc now parses -(h|H) instead of just --hostname
wpa_supplicant now respects the background=no option if
wpa_suppliant>=0.4.0 is installed
fixed network dependencies some more
You can now restart a script marked starting/inactive
Documented the use of the RC_USE_CONFIG_PROFILE variable in conf.d/rc
udhcpc now removes stale pidfiles
udhcpc now doesn't send hostname if it's set at the default of localhost
style updates to all modules
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
etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts
added #!/bin/bash or #!/bin/sh to modules and helpers so they now get nice syntax highlighting and indenting
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.
Fixed ifconfig and iproute2 erroring from new lo code - fixes #88006 If /proc/net/netlink does not exist then iproute2 will fail the check_installed function with an appropriate error - Thanks to Jeremy Huddleston for the patch. If /proc/net/packet does not exist then wpa_supplicant will fail check_installed function with an appropriate error Background fixes for net.lo, udhcpc and wpa_supplicant
added a bash_variable to functions.sh which converts the given string
into a variable that bash can use - fixes #88175
net scripts can only launch if we're not in ${BOOTLEVEL}
udhcpc now checks for custom hostname correctly
changed from $( cat ${file} ) to $( < ${file ) in net-scripts
fixed ChangeLog corruption
rc-daemon.sh now works with the env program
rc-daemon.sh now provides a working wrapper for start-stop-daemon fixes bug #7198 removed ps calls from net scripts
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.
Updated copyright headers
STYLE fixes to many net-scripts modules Removed hardcoded Version and replaced with cvs $Header:
replaced awk commands with sed equivalents in net-scripts to make us more portable
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
dhcpcd and udhcpc now run via the eval statement so quotes can be used in options. Fixes #74053 - thanks to Evan Buswell
added rc-script statuses "starting" and "inactive" dhcpcd, udhcpc and dhclient now support backgrounding - fixes #52975
macchanger defaults to setting the interface down, and then trying
with it up - fixes #71929
macchanger converts mac_${IFACE} to lowercase - fixes #73549
iproute2 now configures the interface up everytime we add an address
removed "need interface" from all modules depends as net.lo requires
interface anyway
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
don't use cache if an ip is requested in configuration
udhcpc now caches it's IP address and requests it the next time it starts if the address is not released
Moved generic dhcp options into a space seperated string
corrected dhcp release logic
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
Ensure all net-scripts modules depend on interface_variable function where applicable
Fixed pump exporing ntp servers implemented MODULES_DIR so we can change directory we load from on the fly
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.
Added dependancy checking to ipppd Bonding is now started pre instead of post Fixed missing changes of get_type to interface_type and get_variable to interface_variable
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
*** empty log message ***
*** empty log message ***
Install net.modules.d to /lib/rcscripts instead of /etc so we don't have to deal with CONFIG_PROTECT Fix diff code in modules_load so it can identify which functions have been modified Fix fallback mechanism in iface_start so that it works correctly and doesn't report a bogus error message when trying the fallback Get rid of need_begin trickery in iface_stop Simplify eend processing in dhcp modules Implement eindent, eoutdent, esetdent in functions.sh and adjust net-scripts to use them. Re-write einfo, ewarn, eerror, ebegin, eend, ewend to use RC_INDENTATION and to work better on serial terminals Remove conf.d/net.ppp0 since that is provided by net-dialup/ppp
Update to net-scripts 1.0.2 from Roy
fix whitespacing
update to version 1.0 of net-scripts from Roy add default conf.d/net which is blank except for a short comment referring to net.example
update to 0.6.4 from Roy
Update to 0.6.3 from Roy
update to net-scripts-0.6.2
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 |