/[baselayout]/branches/rc-scripts-1_6/net-scripts/init.d/net.lo
Gentoo

Log of /branches/rc-scripts-1_6/net-scripts/init.d/net.lo

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)

Revision 777 - (view) (download) (annotate) - [select for diffs]
Modified Sun Dec 12 10:47:05 2004 UTC (10 years ago) by uberlord
File length: 23181 byte(s)
Diff to previous 773
fixed installed typo in net.lo - fixes #74152. Thanks to Federico Galassi


Revision 773 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 9 17:08:25 2004 UTC (10 years ago) by uberlord
File length: 23180 byte(s)
Diff to previous 757
fixed net.lo getting vlan config


Revision 757 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 6 15:46:18 2004 UTC (10 years ago) by agriffis
File length: 23134 byte(s)
Diff to previous 756
Merge updates from HEAD


Revision 756 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 6 15:46:18 2004 UTC (10 years ago) by (unknown author)
File length: 24016 byte(s)
Diff to previous 722
This commit was manufactured by cvs2svn to create branch
'rc-scripts-1_6'.

Revision 722 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 26 09:14:05 2004 UTC (10 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24016 byte(s)
Diff to previous 718
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 718 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 24 15:06:40 2004 UTC (10 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23684 byte(s)
Diff to previous 714
Stopped user setting MODULES_DIR


Revision 714 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 16:23:39 2004 UTC (10 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 23711 byte(s)
Diff to previous 713
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 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 15:39:22 2004 UTC (10 years ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24046 byte(s)
Diff to previous 705
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 705 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 10:33:54 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24631 byte(s)
Diff to previous 704
Fixed invalid variable handling in bonding and vlan - bug #71419
apipa now brings the interface up before testing if address exists


Revision 704 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 10:00:34 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24627 byte(s)
Diff to previous 702
We now buffer module_provides in a PROVIDES array localised inside
  modules_load in net.lo


Revision 702 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 16 15:17:10 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24248 byte(s)
Diff to previous 701
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 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 16 11:13:50 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24024 byte(s)
Diff to previous 698
Improved force module loading a bit
Better force module documentation


Revision 698 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 18:51:54 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 24043 byte(s)
Diff to previous 691
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 691 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 14:14:26 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 22349 byte(s)
Diff to previous 688
Removed second warning in net.lo when configuration not set
Fixed random address range in apipa


Revision 688 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 13 09:53:56 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 22336 byte(s)
Diff to previous 686
Added arping duplicate address detection to net.lo
Created Automatic Private IP Addressing (APIPA) module
Bonding is now started pre instead of post


Revision 686 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 12 17:51:14 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 21614 byte(s)
Diff to previous 685
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 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 12 12:21:55 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 21608 byte(s)
Diff to previous 675
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 675 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 5 17:03:08 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 21429 byte(s)
Diff to previous 674
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 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 5 14:32:33 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20950 byte(s)
Diff to previous 672
    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 672 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 4 21:42:07 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20694 byte(s)
Diff to previous 670
    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 670 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 4 16:20:25 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20563 byte(s)
Diff to previous 667
   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 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 19:02:25 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20118 byte(s)
Diff to previous 664
net.lo update


Revision 664 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 10:32:25 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 20010 byte(s)
Diff to previous 663
inet6 fixes - bug #65417


Revision 663 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 2 16:28:07 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 19952 byte(s)
Diff to previous 655
    net-scripts/init.d/net.lo
    - modprobe ${IFACE} when ${IFACE} does not exist


Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 1 16:24:04 2004 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/init.d/net.lo
File length: 19571 byte(s)
Diff to previous 643
*** empty log message ***


Revision 643 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 25 21:22:04 2004 UTC (10 years, 1 month ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 17461 byte(s)
Diff to previous 626
more net-scripts fixes, related to module loading and stopping aliases


Revision 626 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 18 23:10:20 2004 UTC (10 years, 2 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16771 byte(s)
Diff to previous 625
In net.lo, use eindent for output of pre/post scripts


Revision 625 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 18 23:03:19 2004 UTC (10 years, 2 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16638 byte(s)
Diff to previous 607
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 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 18:39:18 2004 UTC (10 years, 2 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16387 byte(s)
Diff to previous 605
Cosmetic fixes for starting loopback interface


Revision 605 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 17:13:49 2004 UTC (10 years, 2 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 16398 byte(s)
Diff to previous 602
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 602 - (view) (download) (annotate) - [select for diffs]
Modified Sun Oct 10 03:11:48 2004 UTC (10 years, 2 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15477 byte(s)
Diff to previous 597
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 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 7 01:06:13 2004 UTC (10 years, 2 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15344 byte(s)
Diff to previous 556
Update to net-scripts 1.0.2 from Roy


Revision 556 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 20:48:13 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15068 byte(s)
Diff to previous 554
remove extraneous \n from eerror


Revision 554 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 16:56:29 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15070 byte(s)
Diff to previous 549
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 549 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 16:49:40 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 15033 byte(s)
Diff to previous 548
update to 0.6.4 from Roy


Revision 548 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 14 16:44:41 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 14570 byte(s)
Diff to previous 547
Update to 0.6.3 from Roy


Revision 547 - (view) (download) (annotate) - [select for diffs]
Modified Mon Sep 13 03:16:11 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 14631 byte(s)
Diff to previous 546
Detect infinite loops when sorting modules


Revision 546 - (view) (download) (annotate) - [select for diffs]
Modified Sun Sep 12 03:15:38 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 14284 byte(s)
Diff to previous 545
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 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 15:53:24 2004 UTC (10 years, 3 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 13738 byte(s)
Diff to previous 535
update to net-scripts-0.6.2


Revision 535 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 22:10:30 2004 UTC (10 years, 4 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 12100 byte(s)
Diff to previous 534
- changes from UberLord, in particular before/after dep processing


Revision 534 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 12 04:29:53 2004 UTC (10 years, 4 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 11030 byte(s)
Diff to previous 532
- 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 - (view) (download) (annotate) - [select for diffs]
Added Wed Aug 11 19:53:29 2004 UTC (10 years, 4 months ago) by agriffis
Original Path: trunk/net-scripts/init.d/net.lo
File length: 10378 byte(s)
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.

  Diffs between and
  Type of Diff should be a

Sticky Revision:

  ViewVC Help
Powered by ViewVC 1.1.20