/[baselayout]/trunk/net-scripts
Gentoo

Log of /trunk/net-scripts

View Directory Listing Directory Listing



Revision 734 - Directory Listing
Modified Thu Dec 2 19:01:39 2004 UTC (10 years ago) by uberlord
Fixed iwconfig report if iwgetid does not support --channel


Revision 733 - Directory Listing
Modified Thu Dec 2 16:20:11 2004 UTC (10 years ago) by uberlord
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


Revision 731 - Directory Listing
Modified Wed Dec 1 15:56:18 2004 UTC (10 years ago) by uberlord
Documentation fixes regarding iwconfig and linux-wlan-ng
Fixed bonding deps per bug #71419


Revision 723 - Directory Listing
Modified Fri Nov 26 14:11:40 2004 UTC (10 years, 1 month ago) by uberlord
clarified lack of linux-wlan-ng support in documentation


Revision 722 - Directory Listing
Modified Fri Nov 26 09:14:05 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 720 - Directory Listing
Modified Wed Nov 24 17:21:43 2004 UTC (10 years, 1 month ago) by uberlord
Fixed adsl stopping - #68934. Thanks to Andreas Kauer


Revision 718 - Directory Listing
Modified Wed Nov 24 15:06:40 2004 UTC (10 years, 1 month ago) by uberlord
Stopped user setting MODULES_DIR


Revision 717 - Directory Listing
Modified Wed Nov 24 09:58:23 2004 UTC (10 years, 1 month ago) by uberlord
Ensure all net-scripts modules depend on interface_variable function
where applicable


Revision 716 - Directory Listing
Modified Tue Nov 23 18:41:01 2004 UTC (10 years, 1 month ago) by uberlord
fixed variables for vlans in most modules


Revision 715 - Directory Listing
Modified Tue Nov 23 17:44:24 2004 UTC (10 years, 1 month ago) by uberlord
Fixed pump exporing ntp servers
implemented MODULES_DIR so we can change directory we load from on the fly


Revision 714 - Directory Listing
Modified Tue Nov 23 16:23:39 2004 UTC (10 years, 1 month ago) by uberlord
Removed rp_filter setting - fixes first part of bug #71971
Added sysctl.conf settings relating to rp_filter to sysctl.conf
- fixes last part of bug #71971


Revision 713 - Directory Listing
Modified Tue Nov 23 15:39:22 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 712 - Directory Listing
Modified Fri Nov 19 19:34:24 2004 UTC (10 years, 1 month ago) by uberlord
removed iproute2 udhcpc reliance on the "bc" command


Revision 711 - Directory Listing
Modified Fri Nov 19 18:06:30 2004 UTC (10 years, 1 month ago) by uberlord
some servers don't set the broadcast flag ... we now handle this


Revision 709 - Directory Listing
Modified Fri Nov 19 16:22:05 2004 UTC (10 years, 1 month ago) by uberlord
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.


Revision 708 - Directory Listing
Modified Wed Nov 17 15:12:00 2004 UTC (10 years, 1 month ago) by uberlord
ifconfig handles inet6 routing automatically - bug #33310
ifconfig - fixed old gateway + gateway in routes conflict
iproute2 cleaned up some functions


Revision 707 - Directory Listing
Modified Wed Nov 17 10:59:57 2004 UTC (10 years, 1 month ago) by uberlord
Fixed iproute2 adding addresses for vlans - bug #71419


Revision 706 - Directory Listing
Modified Wed Nov 17 10:37:18 2004 UTC (10 years, 1 month ago) by uberlord
Updated bonding documentation - bug #71419


Revision 705 - Directory Listing
Modified Wed Nov 17 10:33:54 2004 UTC (10 years, 1 month ago) by uberlord
Fixed invalid variable handling in bonding and vlan - bug #71419
apipa now brings the interface up before testing if address exists


Revision 704 - Directory Listing
Modified Wed Nov 17 10:00:34 2004 UTC (10 years, 1 month ago) by uberlord
We now buffer module_provides in a PROVIDES array localised inside
  modules_load in net.lo


Revision 702 - Directory Listing
Modified Tue Nov 16 15:17:10 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 701 - Directory Listing
Modified Tue Nov 16 11:13:50 2004 UTC (10 years, 1 month ago) by uberlord
Improved force module loading a bit
Better force module documentation


Revision 698 - Directory Listing
Modified Mon Nov 15 18:51:54 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 694 - Directory Listing
Modified Mon Nov 15 15:54:46 2004 UTC (10 years, 1 month ago) by uberlord
Added searchdomains_ESSID option to essidnet
Stopped the domain setting from putting the same entry in search
  in config-system and essidnet


Revision 691 - Directory Listing
Modified Mon Nov 15 14:14:26 2004 UTC (10 years, 1 month ago) by uberlord
Removed second warning in net.lo when configuration not set
Fixed random address range in apipa


Revision 690 - Directory Listing
Modified Mon Nov 15 12:17:06 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 688 - Directory Listing
Modified Sat Nov 13 09:53:56 2004 UTC (10 years, 1 month ago) by uberlord
Added arping duplicate address detection to net.lo
Created Automatic Private IP Addressing (APIPA) module
Bonding is now started pre instead of post


Revision 687 - Directory Listing
Modified Fri Nov 12 18:18:27 2004 UTC (10 years, 1 month ago) by uberlord
Fixed typo in tuntap module


Revision 686 - Directory Listing
Modified Fri Nov 12 17:51:14 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 685 - Directory Listing
Modified Fri Nov 12 12:21:55 2004 UTC (10 years, 1 month ago) by uberlord
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


Revision 684 - Directory Listing
Modified Thu Nov 11 15:28:18 2004 UTC (10 years, 1 month ago) by uberlord
    Fixed category of rp-pppoe to net-dialup error when requesting ADSL
    Improved inet6 address deletion and detection in iproute2
    Improved gateway logic in ifconfig
    Changed all wireless reporting functions to use iwgetid instead of
      parsing iwconfig output except for essid


Revision 679 - Directory Listing
Modified Mon Nov 8 15:18:24 2004 UTC (10 years, 1 month ago) by uberlord
Added options to configure bridge
Added bridge configuration example to net.example
Added missing required function interface_exists to iptunnel check_depends


Revision 675 - Directory Listing
Modified Fri Nov 5 17:03:08 2004 UTC (10 years, 1 month ago) by uberlord
net-scripts/net.modules.d/bridge
- fixed destroying a bridge if no ports were added
- starts interfaces if they don't exist - fixed bug #65153

net-scrips/net.modules.d/bonding
- starts interfaces if they don't exist

net-scripts/init.d/net.lo
- added net_start() function to start depandant ifaces
  so that bridge br0 can active tun0 which net.tun0 has to create


Revision 674 - Directory Listing
Modified Fri Nov 5 14:32:33 2004 UTC (10 years, 1 month ago) by uberlord
    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


Revision 673 - Directory Listing
Modified Fri Nov 5 00:09:12 2004 UTC (10 years, 1 month ago) by uberlord
    net-scripts/net.modules.d/pump
    - fixed setting ntp servers

    net-scripts/net.modules.d/dhcpcd
    - fixed stopping function

    Fixed last ChangeLog date to today and not tomorrow :/


Revision 672 - Directory Listing
Modified Thu Nov 4 21:42:07 2004 UTC (10 years, 1 month ago) by uberlord
    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


Revision 671 - Directory Listing
Modified Thu Nov 4 16:50:33 2004 UTC (10 years, 1 month ago) by uberlord
Fixed bonding module to work with interface commands
Added extra output to the bonding module


Revision 670 - Directory Listing
Modified Thu Nov 4 16:20:25 2004 UTC (10 years, 1 month ago) by uberlord
   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


Revision 667 - Directory Listing
Modified Wed Nov 3 19:02:25 2004 UTC (10 years, 1 month ago) by uberlord
net.lo update


Revision 666 - Directory Listing
Modified Wed Nov 3 15:41:42 2004 UTC (10 years, 1 month ago) by uberlord
Fixed up error message and documentation when scanning does not work in iwconfig


Revision 665 - Directory Listing
Modified Wed Nov 3 12:40:11 2004 UTC (10 years, 1 month ago) by uberlord
fixup iwconfig error when scanning is not supported


Revision 664 - Directory Listing
Modified Wed Nov 3 10:32:25 2004 UTC (10 years, 1 month ago) by uberlord
inet6 fixes - bug #65417


Revision 663 - Directory Listing
Modified Tue Nov 2 16:28:07 2004 UTC (10 years, 1 month ago) by uberlord
    net-scripts/init.d/net.lo
    - modprobe ${IFACE} when ${IFACE} does not exist


Revision 662 - Directory Listing
Modified Tue Nov 2 15:57:09 2004 UTC (10 years, 1 month ago) by uberlord
*** empty log message ***


Revision 657 - Directory Listing
Modified Mon Nov 1 18:55:41 2004 UTC (10 years, 1 month ago) by uberlord
*** empty log message ***


Revision 655 - Directory Listing
Modified Mon Nov 1 16:24:04 2004 UTC (10 years, 1 month ago) by uberlord
*** empty log message ***


Revision 646 - Directory Listing
Modified Tue Oct 26 18:24:18 2004 UTC (10 years, 2 months ago) by vapier
make comment a little bit clearer #69046


Revision 643 - Directory Listing
Modified Mon Oct 25 21:22:04 2004 UTC (10 years, 2 months ago) by agriffis
more net-scripts fixes, related to module loading and stopping aliases


Revision 642 - Directory Listing
Modified Mon Oct 25 18:40:43 2004 UTC (10 years, 2 months ago) by agriffis
In net-scripts/net.modules.d/ifconfig:
- Simplify ifconfig_is_up()
- Fix ifconfig_get_aliases_rev() to actually work... you can't
  specify an interface name to ifconfig if you want to see the
  aliases.
- Workaround a couple ifconfig bugs dealing with aliases
- Correct a return status in ifconfig_interface_del_addresses()


Revision 637 - Directory Listing
Modified Fri Oct 22 16:47:40 2004 UTC (10 years, 2 months ago) by agriffis
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


Revision 636 - Directory Listing
Modified Fri Oct 22 03:50:21 2004 UTC (10 years, 2 months ago) by agriffis
Remove old etc/conf.d/net and try to clarify instructions in net-scripts/conf.d/net.example. Add example for ADSL


Revision 626 - Directory Listing
Modified Mon Oct 18 23:10:20 2004 UTC (10 years, 2 months ago) by agriffis
In net.lo, use eindent for output of pre/post scripts


Revision 625 - Directory Listing
Modified Mon Oct 18 23:03:19 2004 UTC (10 years, 2 months ago) by agriffis
Add v-e-commands (veinfo, vbegin, etc) to sbin/functions.sh that
depend on RC_VERBOSE which defaults to no. Add --verbose to args
understood by runscript.sh.

Use veinfo and friends in net-scripts/init.d/net.lo when loading
modules since this information is confusing to users.

Always load global "modules" setting in following "modules_iface"
since this is a little easier for users to understand.


Revision 607 - Directory Listing
Modified Wed Oct 13 18:39:18 2004 UTC (10 years, 2 months ago) by agriffis
Cosmetic fixes for starting loopback interface


Revision 605 - Directory Listing
Modified Wed Oct 13 17:13:49 2004 UTC (10 years, 2 months ago) by agriffis
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


Revision 604 - Directory Listing
Modified Tue Oct 12 20:50:28 2004 UTC (10 years, 2 months ago) by agriffis
fix ipaddr_fallback example


Revision 602 - Directory Listing
Modified Sun Oct 10 03:11:48 2004 UTC (10 years, 2 months ago) by agriffis
Create NET_FS_LIST and is_net_fs in functions.sh and use them in checkroot, localmount, netmount, net.example, and net.lo


Revision 597 - Directory Listing
Modified Thu Oct 7 01:06:13 2004 UTC (10 years, 2 months ago) by agriffis
Update to net-scripts 1.0.2 from Roy


Revision 570 - Directory Listing
Modified Thu Sep 30 04:10:55 2004 UTC (10 years, 3 months ago) by vapier
fix whitespacing


Revision 556 - Directory Listing
Modified Wed Sep 15 20:48:13 2004 UTC (10 years, 3 months ago) by agriffis
remove extraneous \n from eerror


Revision 554 - Directory Listing
Modified Wed Sep 15 16:56:29 2004 UTC (10 years, 3 months ago) by agriffis
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


Revision 553 - Directory Listing
Modified Wed Sep 15 16:01:29 2004 UTC (10 years, 3 months ago) by agriffis
update net.example prior to release


Revision 549 - Directory Listing
Modified Tue Sep 14 16:49:40 2004 UTC (10 years, 3 months ago) by agriffis
update to 0.6.4 from Roy


Revision 548 - Directory Listing
Modified Tue Sep 14 16:44:41 2004 UTC (10 years, 3 months ago) by agriffis
Update to 0.6.3 from Roy


Revision 547 - Directory Listing
Modified Mon Sep 13 03:16:11 2004 UTC (10 years, 3 months ago) by agriffis
Detect infinite loops when sorting modules


Revision 546 - Directory Listing
Modified Sun Sep 12 03:15:38 2004 UTC (10 years, 3 months ago) by agriffis
Fix sorting of after/before/need/use variables.  The arguments are
space-separated, not newline-separated, so they need to be massaged
before sorting.  Sort the arguments on calling the
after/before/need/use callback rather than while sorting modules; this
should speed things up since they won't be sorted every time through
the loop in modules_load

Use some descriptive variable names in modules_load: loaded_interface,
changed_something, tmp, modnums, missingdeps.  Try to avoid re-using
variables for different purposes

Don't test true or false in [[ ]], instead call them directly

Remove an unnecessary eval when setting umods

Use sort -n for sorting the modules numerically

Normalize spacing for loops: for ((var=0; ...))


Revision 545 - Directory Listing
Modified Fri Sep 10 15:53:24 2004 UTC (10 years, 3 months ago) by agriffis
update to net-scripts-0.6.2


Revision 535 - Directory Listing
Modified Thu Aug 12 22:10:30 2004 UTC (10 years, 4 months ago) by agriffis
- changes from UberLord, in particular before/after dep processing


Revision 534 - Directory Listing
Modified Thu Aug 12 04:29:53 2004 UTC (10 years, 4 months ago) by agriffis
- Get rid of "interface" and "interface_provides" functions, instead
  dynamically generate class functions instead when modules are
  loaded.
- Double-check when loading modules to make sure that functions aren't
  replaced
- Sanity check user-specified module list to make sure none conflict
- Get ride of IFMODULE


Revision 532 - Directory Listing
Added Wed Aug 11 19:53:29 2004 UTC (10 years, 4 months ago) by agriffis
version 0.5.0 of Roy "UberLord" Marple's modular networking scripts


Sticky Revision:
(Current path doesn't exist after revision 2259)

  ViewVC Help
Powered by ViewVC 1.1.20