/[baselayout]/branches/bsd-porting/net-scripts/net.modules.d/iproute2
Gentoo

Log of /branches/bsd-porting/net-scripts/net.modules.d/iproute2

Parent Directory Parent Directory | Revision Log Revision Log



Revision 1458 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 09:50:25 2005 UTC (9 years, 5 months ago) by uberlord
File length: 9403 byte(s)
Diff to previous 1439 , to selected 1077
Altered iproute2 to use the same lo logic as ifconfig below

Revision 1439 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 30 14:34:49 2005 UTC (9 years, 6 months ago) by uberlord
File length: 9358 byte(s)
Diff to previous 1438 , to selected 1077
iwconfig fixed for scanned ad-hoc networks
we now prefer managed over ad-hoc when processing scan results
iwconfig defaults to sleeping 1 second before scanning

iwconfig associate_test_quality now works. Fixes #103579 thanks to
Harald Schioeberg

iproute2 now understands ifconfig style netmask routes

Revision 1438 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 30 06:27:45 2005 UTC (9 years, 6 months ago) by uberlord
File length: 9137 byte(s)
Diff to previous 1418 , to selected 1077
fixed IPv6 address problems in ifconfig and iproute2 modules

Revision 1418 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 18 09:45:13 2005 UTC (9 years, 6 months ago) by uberlord
File length: 9071 byte(s)
Diff to previous 1402 , to selected 1077
RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP

consoletype is now cached. This has the benefit of being very slightly
faster and you now get coloured text for parallel startup

Parallel startup also does parallel shutdown as well

You're now warned if you're using a deprecated conf.d/net syntax

Revision 1402 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 11 20:08:53 2005 UTC (9 years, 6 months ago) by spb
File length: 8918 byte(s)
Diff to previous 1382 , to selected 1077
New bsd-porting branch, by popular request

Revision 1382 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 11:16:26 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8918 byte(s)
Diff to previous 1379 , to selected 1077
Added # vim:ts=4 to all net-script files and re-indented

/dep{cache,tree} are now chmodded 0644 so users can read them

Revision 1379 - (view) (download) (annotate) - [select for diffs]
Modified Thu Aug 4 22:28:28 2005 UTC (9 years, 6 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 9214 byte(s)
Diff to previous 1288 , to selected 1077
More anal about RHS quoting

Revision 1288 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 13:44:27 2005 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 9194 byte(s)
Diff to previous 1274 , to selected 1077
udhcpc/dhclient helpers no longer flush IPv6 addresses - fixes #98539

Revision 1274 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 4 13:23:16 2005 UTC (9 years, 7 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 9062 byte(s)
Diff to previous 1258 , to selected 1077
dded a rename module to rename interfaces based on MAC address
    (preferred) or current name. Fixes #76328


Revision 1258 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 28 11:44:18 2005 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8871 byte(s)
Diff to previous 1251 , to selected 1077
    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


Revision 1251 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 20 15:49:41 2005 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8858 byte(s)
Diff to previous 1247 , to selected 1077
ifconfig now reports correct MAC address

ifconfig and iproute2 now support mtu_eth0 option

net.lo attemts to arping the requested address when RC_AUTO_INTERFACE==yes
	    


Revision 1247 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 17 17:16:14 2005 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8736 byte(s)
Diff to previous 1239 , to selected 1077
style updates to all modules

Revision 1239 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 14 10:15:44 2005 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8622 byte(s)
Diff to previous 1236 , to selected 1077
fixed auto_interface -> RC_AUTO_INTERFACE in ifconfig and iproute2

Revision 1236 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 13 10:21:12 2005 UTC (9 years, 8 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8619 byte(s)
Diff to previous 1201 , to selected 1077
etc/{resolv,ntp,yp}.conf now link to /var/lib/net-scripts

Revision 1201 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 27 08:51:04 2005 UTC (9 years, 9 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8630 byte(s)
Diff to previous 1185 , to selected 1077
Added macnet module (like essidnet but for mac addresses)
Regresses macchanger one version
Tweaked module depends for macnet
dhcp helper now uses macnet


Revision 1185 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 20 11:04:22 2005 UTC (9 years, 9 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8634 byte(s)
Diff to previous 1183 , to selected 1077
added #!/bin/bash or #!/bin/sh to modules and helpers so they now get
nice syntax highlighting and indenting


Revision 1183 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 20 00:46:03 2005 UTC (9 years, 9 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8332 byte(s)
Diff to previous 1104 , to selected 1077
fix ifconfig to understand CIDR addresses - bug #93237
iproute2 now works out broadcast addresses


Revision 1104 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 25 07:26:30 2005 UTC (9 years, 10 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8171 byte(s)
Diff to previous 1103 , to selected 1077
iproute2 now handles mtu the same way as ifconfig - fixes #90242

net.lo no longer errors when using postdown and postup functions


Revision 1103 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 22 14:42:57 2005 UTC (9 years, 10 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8086 byte(s)
Diff to previous 1096 , to selected 1077
Address network routes now get metrics applied as well
(ie a route automatically added when an address is added)

net.lo no longer errors when exlcuding modules who are installed


Revision 1096 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 18 17:10:41 2005 UTC (9 years, 10 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7668 byte(s)
Diff to previous 1086 , to selected 1077
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.


Revision 1086 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 14 09:32:33 2005 UTC (9 years, 10 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7405 byte(s)
Diff to previous 1083 , to selected 1077
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


Revision 1083 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 11 13:42:06 2005 UTC (9 years, 10 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 6964 byte(s)
Diff to previous 1077
removed ${devnull} from net.lo and net-script modules
updated all modules not to re-direct stderr where appropriate

iwconfig and wpa_supplicant now save their current ESSID via save_options
and reload it in their pre_stops so that ${ESSID} and ${ESSIDVAR} can be
used in users custom postdown functions


Revision 1077 - (view) (download) (annotate) - [selected]
Modified Fri Apr 8 17:13:43 2005 UTC (9 years, 10 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7034 byte(s)
Diff to previous 1018
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}


Revision 1018 - (view) (download) (annotate) - [select for diffs]
Modified Thu Mar 3 14:00:48 2005 UTC (9 years, 11 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7030 byte(s)
Diff to previous 947 , to selected 1077
bridging and bonding modules now start an interface if it's not
marked as started


Revision 947 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 10 17:04:03 2005 UTC (10 years ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7029 byte(s)
Diff to previous 915 , to selected 1077
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


Revision 915 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 4 10:36:39 2005 UTC (10 years ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 6992 byte(s)
Diff to previous 872 , to selected 1077
It's now possible to configure addresses and routes for the loopback
interface if required - however you cannot override our defaults

wpa_supplicant and iwconfig now loop for 5 seconds if essid is
not returned straight away

fixed depends error in run_script


Revision 872 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 27 12:37:06 2005 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7334 byte(s)
Diff to previous 870 , to selected 1077
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.


Revision 870 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 25 10:44:05 2005 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7085 byte(s)
Diff to previous 868 , to selected 1077
Updated copyright headers


Revision 868 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 24 18:34:05 2005 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7113 byte(s)
Diff to previous 867 , to selected 1077
STYLE fixes to many net-scripts modules
Removed hardcoded Version and replaced with cvs $Header:


Revision 867 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 24 11:45:03 2005 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7151 byte(s)
Diff to previous 859 , to selected 1077
replaced awk commands with sed equivalents in net-scripts to make us
more portable


Revision 859 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 17 15:39:02 2005 UTC (10 years, 1 month ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7344 byte(s)
Diff to previous 762 , to selected 1077
all modules should now check interface existance correctly - fixes #76385


Revision 762 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 15:10:14 2004 UTC (10 years, 2 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7300 byte(s)
Diff to previous 754 , to selected 1077
ifconfig and iproute2 now support function interface_set_mac_address
macchanger no longer depends on macchanger if configuring a specific
mac address


Revision 754 - (view) (download) (annotate) - [select for diffs]
Modified Mon Dec 6 13:39:01 2004 UTC (10 years, 2 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7115 byte(s)
Diff to previous 717 , to selected 1077
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


Revision 717 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 24 09:58:23 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7017 byte(s)
Diff to previous 713 , to selected 1077
Ensure all net-scripts modules depend on interface_variable function
where applicable


Revision 713 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 15:39:22 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 6998 byte(s)
Diff to previous 708 , to selected 1077
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 708 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 15:12:00 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8255 byte(s)
Diff to previous 707 , to selected 1077
ifconfig handles inet6 routing automatically - bug #33310
ifconfig - fixed old gateway + gateway in routes conflict
iproute2 cleaned up some functions


Revision 707 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 10:59:57 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8402 byte(s)
Diff to previous 685 , to selected 1077
Fixed iproute2 adding addresses for vlans - bug #71419


Revision 685 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 12 12:21:55 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8416 byte(s)
Diff to previous 684 , to selected 1077
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 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 11 15:28:18 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8665 byte(s)
Diff to previous 674 , to selected 1077
    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 674 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 5 14:32:33 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8948 byte(s)
Diff to previous 664 , to selected 1077
    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 664 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 3 10:32:25 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 8894 byte(s)
Diff to previous 662 , to selected 1077
inet6 fixes - bug #65417


Revision 662 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 2 15:57:09 2004 UTC (10 years, 3 months ago) by uberlord
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7946 byte(s)
Diff to previous 655 , to selected 1077
*** empty log message ***


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


Revision 643 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 25 21:22:04 2004 UTC (10 years, 4 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7306 byte(s)
Diff to previous 605 , to selected 1077
more net-scripts fixes, related to module loading and stopping aliases


Revision 605 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 17:13:49 2004 UTC (10 years, 4 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7206 byte(s)
Diff to previous 570 , to selected 1077
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 570 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 30 04:10:55 2004 UTC (10 years, 5 months ago) by vapier
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7191 byte(s)
Diff to previous 554 , to selected 1077
fix whitespacing


Revision 554 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 16:56:29 2004 UTC (10 years, 5 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7233 byte(s)
Diff to previous 549 , to selected 1077
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, 5 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7233 byte(s)
Diff to previous 548 , to selected 1077
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, 5 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7456 byte(s)
Diff to previous 545 , to selected 1077
Update to 0.6.3 from Roy


Revision 545 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 10 15:53:24 2004 UTC (10 years, 5 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7272 byte(s)
Diff to previous 535 , to selected 1077
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, 6 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7035 byte(s)
Diff to previous 532 , to selected 1077
- changes from UberLord, in particular before/after dep processing


Revision 532 - (view) (download) (annotate) - [select for diffs]
Added Wed Aug 11 19:53:29 2004 UTC (10 years, 6 months ago) by agriffis
Original Path: trunk/net-scripts/net.modules.d/iproute2
File length: 7039 byte(s)
Diff to selected 1077
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:
(Current path doesn't exist after revision 2693)

  ViewVC Help
Powered by ViewVC 1.1.20