Commit Graph

47 Commits

Author SHA1 Message Date
Roy Marples
feed4b4c90 Use default IFS here 2007-10-30 13:17:27 +00:00
Roy Marples
9d1c1b66e5 Fix vconfig and remove debug 2007-10-30 13:08:29 +00:00
Roy Marples
6ffd3b5289 You can now spoof the source address for arping as the third parameter in gateways_eth0 if you have arping2 installed, #180888. 2007-10-30 11:39:19 +00:00
Roy Marples
05f119a78e Embed newlines in __IFS to save our identing 2007-10-30 11:38:23 +00:00
Roy Marples
e372729b8c Network config arrays are now split by embedded new lines instead of being evaled into space separated values. This makes it easier to read, maintain and document as discussed on gentoo-dev. 2007-10-29 09:45:49 +00:00
Roy Marples
393d07cb6f txqueuelen_eth0= now works, #190538. 2007-10-09 09:56:45 +00:00
Roy Marples
0ccf248afd Default to tunctl so we can create the device as a specific user, #194588 thanks to Jaco Kroon. 2007-10-03 13:35:39 +00:00
Roy Marples
7a2507c52f Fix pppd metric, #193574 thanks to Martin Väth. 2007-09-24 06:57:40 +00:00
Roy Marples
77f9015f0b /lib/rcscripts -> /lib/rc 2007-09-19 13:53:40 +00:00
Roy Marples
726e754fff var no longer used 2007-09-18 17:37:35 +00:00
Roy Marples
25d46c0e96 Fix pppd getting the interface metric. 2007-08-21 08:21:40 +00:00
Roy Marples
a85a66348b Need to specify table for busybox. 2007-08-10 10:34:50 +00:00
Roy Marples
2fdff9d8d6 Always give ppp a defaultmetric 2007-08-07 21:01:16 +00:00
Roy Marples
3295a9c0e0 Add a defaultmetric to ppp if we have metric_$IFACE 2007-08-07 20:51:08 +00:00
Roy Marples
01ea7e3186 More pppd fixes 2007-08-07 20:23:38 +00:00
Roy Marples
d50a46a7a5 Fix chat connects for pppd 2007-08-07 12:56:07 +00:00
Roy Marples
65a9e4618b Fix static IPv6 routes, #187514. 2007-08-03 13:53:20 +00:00
Roy Marples
db7b953460 Remove baselayout-1 stuff 2007-07-31 18:23:56 +00:00
Roy Marples
9211d8b3db Work around a bash evaluation error 2007-07-21 22:35:34 +00:00
Roy Marples
56e51080ce Remove hardcoded reference to iwi0 2007-07-15 23:39:07 +00:00
Roy Marples
7545a44dde adsl module now finds the correct exe, #185276 thanks to Marcello Laganà. 2007-07-15 19:23:11 +00:00
Roy Marples
3fc53d1979 Fix ifconfig using some iproute2 commands. 2007-07-10 15:07:18 +00:00
Roy Marples
e03844fd26 Fix iproute handling of -host and improve iwconfig scanning 2007-07-09 09:14:19 +00:00
Roy Marples
0888f74f47 When we don't have an address return 1, #176577. 2007-05-08 16:52:26 +00:00
Roy Marples
3383221834 Only use any when >1 interface 2007-05-03 12:19:18 +00:00
Roy Marples
da7f6e7b11 Allow ip6to4 tunnels to use any derived address, #170290. 2007-05-03 11:43:16 +00:00
Roy Marples
c3d899714c Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554. 2007-04-30 13:19:26 +00:00
Roy Marples
ae32cbdd4b quiet clip 2007-04-25 08:46:41 +00:00
Roy Marples
c5ada996ee Fix udhcpc for releasing 2007-04-23 17:19:43 +00:00
Roy Marples
b0e3880bd4 Attempt to fix clip 2007-04-23 07:54:07 +00:00
Roy Marples
4768bd45f2 Remove default config for ppp 2007-04-19 13:00:59 +00:00
Roy Marples
b9f75802b0 duh, idiot uber 2007-04-19 12:24:10 +00:00
Roy Marples
768a8cf86c no need for the sed using printf 2007-04-19 12:09:19 +00:00
Roy Marples
d3b28724b5 use printf %s 2007-04-19 12:05:25 +00:00
Roy Marples
c2407df288 As pppd is mainly a link controller, move it's startup to pppd_pre_start and have pppd_start as a dummy function for old configs. 2007-04-19 10:52:37 +00:00
Roy Marples
2fc28414fa printf is more portable than echo -n 2007-04-19 07:37:59 +00:00
Roy Marples
f05ac25185 Fix bridge some more, remove superflous warning from vewarn and error when no interface correctly 2007-04-19 06:46:29 +00:00
Roy Marples
fb2f0495a6 more pppd fixes 2007-04-18 14:42:40 +00:00
Roy Marples
6617d946ec get pppoa the right way around 2007-04-18 14:23:50 +00:00
Roy Marples
35dc4e3424 Try and fix pppd, thanks to zzam for the patch 2007-04-18 14:21:25 +00:00
Roy Marples
e635e16464 Fix bridge, vlan and bonding modules to work together, #174792. 2007-04-17 11:27:47 +00:00
Roy Marples
757b8bcc96 Don't search for a space after interface names in /proc/net, #174792 thanks to Mike Auty. 2007-04-16 12:56:43 +00:00
Roy Marples
1f7770af7b Include old file conf.d/wireless and warn the user 2007-04-12 15:47:26 +00:00
Roy Marples
64c4d3875d Move carrier detection back into net.sh. Reserve a new hook numbers 2007-04-11 10:40:53 +00:00
Roy Marples
0c98067d57 Misc network fixes so we work on my stable server. Splash plugin removed as splashtuils-1.4 now ships with its own. 2007-04-10 10:33:44 +00:00
Roy Marples
25d219a086 Use character classes in sed 2007-04-06 19:38:23 +00:00
Roy Marples
5af58b4514 Rewrite the core parts in C. We now provide librc so other programs can
query runlevels, services and state without using bash. We also provide
libeinfo so other programs can easily use our informational functions.

As such, we have dropped the requirement of using bash as the init script
shell. We now use /bin/sh and have strived to make the scripts as portable
as possible. Shells that work are bash and dash. busybox works provided
you disable s-s-d. If you have WIPE_TMP set to yes in conf.d/bootmisc you
should disable find too.
zsh and ksh do not work at this time.

Networking support is currently being re-vamped also as it was heavily bash
array based. As such, a new config format is available like so
config_eth0="1.2.3.4/24 5.6.7.8/16"
or like so
config_eth0="'1.2.3.4 netmask 255.255.255.0' '5.6.7.8 netmask 255.255.0.0'"

We will still support the old bash array format provided that /bin/sh IS
a link it bash.

ChangeLog for baselayout-1 can be found in our SVN repo.
2007-04-05 11:18:42 +00:00