/[baselayout]/trunk/net-scripts/net.modules.d/ifconfig
Gentoo

Log of /trunk/net-scripts/net.modules.d/ifconfig

Parent Directory Parent Directory | Revision Log Revision Log



Revision 1457 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 1 06:45:25 2005 UTC (9 years, 3 months ago) by uberlord
File length: 11563 byte(s)
Diff to previous 1439
Fixed ifconfig bringing lo up and then working out aliases, bug #104415

Revision 1439 - (view) (download) (annotate) - [select for diffs]
Modified Tue Aug 30 14:34:49 2005 UTC (9 years, 4 months ago) by uberlord
File length: 11627 byte(s)
Diff to previous 1438
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, 4 months ago) by uberlord
File length: 11648 byte(s)
Diff to previous 1382
fixed IPv6 address problems in ifconfig and iproute2 modules

Revision 1382 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 5 11:16:26 2005 UTC (9 years, 4 months ago) by uberlord
File length: 11597 byte(s)
Diff to previous 1379
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, 4 months ago) by uberlord
File length: 11947 byte(s)
Diff to previous 1288
More anal about RHS quoting

Revision 1288 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jul 11 13:44:27 2005 UTC (9 years, 5 months ago) by uberlord
File length: 11930 byte(s)
Diff to previous 1274
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, 5 months ago) by uberlord
File length: 11804 byte(s)
Diff to previous 1258
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, 6 months ago) by uberlord
File length: 11393 byte(s)
Diff to previous 1251
    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, 6 months ago) by uberlord
File length: 11355 byte(s)
Diff to previous 1247
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, 6 months ago) by uberlord
File length: 11204 byte(s)
Diff to previous 1239
style updates to all modules

Revision 1239 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jun 14 10:15:44 2005 UTC (9 years, 6 months ago) by uberlord
File length: 11080 byte(s)
Diff to previous 1236
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, 6 months ago) by uberlord
File length: 11077 byte(s)
Diff to previous 1201
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, 7 months ago) by uberlord
File length: 11088 byte(s)
Diff to previous 1193
Added macnet module (like essidnet but for mac addresses)
Regresses macchanger one version
Tweaked module depends for macnet
dhcp helper now uses macnet


Revision 1193 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 24 16:01:28 2005 UTC (9 years, 7 months ago) by uberlord
File length: 11092 byte(s)
Diff to previous 1185
fix CIDR some more for ifconfig


Revision 1185 - (view) (download) (annotate) - [select for diffs]
Modified Fri May 20 11:04:22 2005 UTC (9 years, 7 months ago) by uberlord
File length: 11074 byte(s)
Diff to previous 1183
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, 7 months ago) by uberlord
File length: 10850 byte(s)
Diff to previous 1103
fix ifconfig to understand CIDR addresses - bug #93237
iproute2 now works out broadcast addresses


Revision 1103 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 22 14:42:57 2005 UTC (9 years, 8 months ago) by uberlord
File length: 10641 byte(s)
Diff to previous 1096
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, 8 months ago) by uberlord
File length: 9717 byte(s)
Diff to previous 1086
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, 8 months ago) by uberlord
File length: 9649 byte(s)
Diff to previous 1083
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, 8 months ago) by uberlord
File length: 9422 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) - [select for diffs]
Modified Fri Apr 8 17:13:43 2005 UTC (9 years, 8 months ago) by uberlord
File length: 9522 byte(s)
Diff to previous 1066
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 1066 - (view) (download) (annotate) - [select for diffs]
Modified Wed Mar 23 14:38:31 2005 UTC (9 years, 9 months ago) by uberlord
File length: 9518 byte(s)
Diff to previous 947
bridge stops removing IP addresses from bridge ports.
iwconfig no longer tries to get an ESSID from non-wireless interfaces.
ifconfig no longer errors when deleting addresses on a non-existant
interface.


Revision 947 - (view) (download) (annotate) - [select for diffs]
Modified Thu Feb 10 17:04:03 2005 UTC (9 years, 10 months ago) by uberlord
File length: 9423 byte(s)
Diff to previous 915
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 (9 years, 10 months ago) by uberlord
File length: 9392 byte(s)
Diff to previous 872
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 (9 years, 11 months ago) by uberlord
File length: 9370 byte(s)
Diff to previous 870
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 (9 years, 11 months ago) by uberlord
File length: 8958 byte(s)
Diff to previous 868
Updated copyright headers


Revision 868 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jan 24 18:34:05 2005 UTC (9 years, 11 months ago) by uberlord
File length: 8991 byte(s)
Diff to previous 867
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 (9 years, 11 months ago) by uberlord
File length: 9176 byte(s)
Diff to previous 859
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 (9 years, 11 months ago) by uberlord
File length: 9251 byte(s)
Diff to previous 826
all modules should now check interface existance correctly - fixes #76385


Revision 826 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jan 6 21:51:03 2005 UTC (9 years, 11 months ago) by uberlord
File length: 9207 byte(s)
Diff to previous 762
ifconfig now deletes addresses using 0.0.0.0 for uclibc - fixes #76846


Revision 762 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 15:10:14 2004 UTC (10 years ago) by uberlord
File length: 9059 byte(s)
Diff to previous 761
ifconfig and iproute2 now support function interface_set_mac_address
macchanger no longer depends on macchanger if configuring a specific
mac address


Revision 761 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 7 13:06:59 2004 UTC (10 years ago) by uberlord
File length: 8889 byte(s)
Diff to previous 750
essidnet - fixed setting up search domains
ifconfig now reads the old gateway variable correctly - fixes #73607
iwconfig now supports backgrounding


Revision 750 - (view) (download) (annotate) - [select for diffs]
Modified Sat Dec 4 20:19:47 2004 UTC (10 years ago) by uberlord
File length: 8889 byte(s)
Diff to previous 717
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


Revision 717 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 24 09:58:23 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8885 byte(s)
Diff to previous 715
Ensure all net-scripts modules depend on interface_variable function
where applicable


Revision 715 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 17:44:24 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8766 byte(s)
Diff to previous 713
Fixed pump exporing ntp servers
implemented MODULES_DIR so we can change directory we load from on the fly


Revision 713 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 23 15:39:22 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8755 byte(s)
Diff to previous 709
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 709 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 19 16:22:05 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8929 byte(s)
Diff to previous 708
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 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 17 15:12:00 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8929 byte(s)
Diff to previous 698
ifconfig handles inet6 routing automatically - bug #33310
ifconfig - fixed old gateway + gateway in routes conflict
iproute2 cleaned up some functions


Revision 698 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 15 18:51:54 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8930 byte(s)
Diff to previous 685
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 685 - (view) (download) (annotate) - [select for diffs]
Modified Fri Nov 12 12:21:55 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8911 byte(s)
Diff to previous 684
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, 1 month ago) by uberlord
File length: 9106 byte(s)
Diff to previous 674
    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, 1 month ago) by uberlord
File length: 9129 byte(s)
Diff to previous 664
    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, 1 month ago) by uberlord
File length: 9077 byte(s)
Diff to previous 662
inet6 fixes - bug #65417


Revision 662 - (view) (download) (annotate) - [select for diffs]
Modified Tue Nov 2 15:57:09 2004 UTC (10 years, 1 month ago) by uberlord
File length: 9079 byte(s)
Diff to previous 655
*** empty log message ***


Revision 655 - (view) (download) (annotate) - [select for diffs]
Modified Mon Nov 1 16:24:04 2004 UTC (10 years, 1 month ago) by uberlord
File length: 8925 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, 2 months ago) by agriffis
File length: 8465 byte(s)
Diff to previous 642
more net-scripts fixes, related to module loading and stopping aliases


Revision 642 - (view) (download) (annotate) - [select for diffs]
Modified Mon Oct 25 18:40:43 2004 UTC (10 years, 2 months ago) by agriffis
File length: 8172 byte(s)
Diff to previous 605
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 605 - (view) (download) (annotate) - [select for diffs]
Modified Wed Oct 13 17:13:49 2004 UTC (10 years, 2 months ago) by agriffis
File length: 7718 byte(s)
Diff to previous 554
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 554 - (view) (download) (annotate) - [select for diffs]
Modified Wed Sep 15 16:56:29 2004 UTC (10 years, 3 months ago) by agriffis
File length: 7944 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
File length: 7944 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
File length: 8293 byte(s)
Diff to previous 545
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, 3 months ago) by agriffis
File length: 8095 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
File length: 7869 byte(s)
Diff to previous 532
- 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, 4 months ago) by agriffis
File length: 7873 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:
(Current path doesn't exist after revision 1954)

  ViewVC Help
Powered by ViewVC 1.1.20