summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rc.inet1: Use simple test (-n/-z) for non-empty/emptyJakub Jankowski2017-11-211-13/+13
| | | | | | | | sh has built-in test for non-empty (-n) and empty (-z) variables, so let's use them. Also, quote variables, especially in tests (if [ ]) and array expansion (${foo[@]}). Signed-off-by: Robby Workman <rworkman@slackware.com>
* rc.inet1: Replace [ test1 -a test2 ] with [ test1 ] && [ test2 ]Jakub Jankowski2017-11-211-3/+3
| | | | | | | | | Conditional expression like [ test1 -a test2 ] should be avoided as it is not well defined. See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html#tag_20_128_16 and https://github.com/koalaman/shellcheck/wiki/SC2166 Signed-off-by: Robby Workman <rworkman@slackware.com>
* rc.inet1*: Fix DHCP timeoutcurrent-20171121Robby Workman2017-11-213-7/+7
| | | | | This was accidentally changed from 15 seconds back to the 14.2 default of 10 seconds. Thanks to Eduard Rozenberg.
* netconfig: Add /sbin/netconfigcurrent-20171117Robby Workman2017-11-171-0/+706
|
* rc.inet1: Remove ipmask usage (unnecessary now)Robby Workman2017-11-121-3/+0
|
* rc.inet1.8: Minor fixupsRobby Workman2017-10-071-3/+4
|
* rc.inet1.conf.5: Update for IPALIASES, bridge, and virtual IFsRobby Workman2017-10-071-7/+57
| | | | There are a few other fixups for previously existing stuff too.
* manpages/*: Add manual pages for network-scriptsRobby Workman2017-10-072-0/+312
|
* rc.inet1.conf: Clarify comment wrt bridge interfacesRobby Workman2017-10-071-1/+1
|
* Merge branch 'ipaliases'Robby Workman2017-07-143-0/+32
|\
| * README: Note current status of branchRobby Workman2017-07-141-2/+2
| |
| * rc.inet1.*: Added support for IP address aliasesRobby Workman2017-07-142-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | This is accomplished with a new parameter in rc.inet1.conf: IPALIASES[$index]="space separated list of addresses" The aliases are added with a /32 mask and a label of ${interface}:{$number} to remain compatible with net-tools. IP address aliases are supported for both statically configured interfaces and dhcp-configured interfaces, although they'll only be configured for dhcp if the dhcpcd call succeeds. * note: I don't what happens if dhcpcd gets IPv4LL address
* | README: noted current statusRobby Workman2017-07-131-3/+5
| |
* | Merge branch 'virtual-ifs'Robby Workman2017-07-133-9/+47
|\|
| * rc.inet1: Use bash builtin arithmetic instead of external exprRobby Workman2017-07-131-1/+1
| |
| * README: Noted status of virtual-ifs branchRobby Workman2017-07-121-25/+8
| |
| * rc.inet1: fix index number usage in virtual interface setup/destroyRobby Workman2017-07-121-1/+1
| |
* | README: Noted status of master branchRobby Workman2017-07-121-23/+7
| |
| * rc.inet1{,.conf}: Allow create/destroy of virtual tun/tap devicesRobby Workman2017-07-122-0/+44
|/
* rc.inet1: Fix bridge teardown codeRobby Workman2017-07-121-3/+3
|
* README: Additional notesRobby Workman2017-07-111-0/+26
|
* rc.inet1: Bugfixes...Robby Workman2017-07-111-4/+4
|
* rc.inet1: Replace backticks with $()Robby Workman2017-07-111-9/+9
|
* rc.wireless.conf: Replace ifconfig MAC lookup with "ip link show"Robby Workman2017-07-111-1/+2
|
* rc.wireless: Migrate HWADDR getting from ifconfig to iproute2Robby Workman2017-07-111-1/+1
| | | | TODO: Someone fluent with sed needs to review this...
* rc.wireless: Migrate ifconfig --> ip link set dev $IFRobby Workman2017-07-111-1/+1
|
* rc.inet1: Migrate bridge setup/teardown to iproute2 from brctlRobby Workman2017-07-111-4/+13
| | | | This should complete f7533fca7e82 and eliminate the TODO
* rc.inet1: migrate gateway functionsRobby Workman2017-07-111-6/+6
|
* rc.inet1: Migrate code to take down interfacesRobby Workman2017-07-111-3/+3
|
* rc.inet1: Migrate code to bring up interfacesRobby Workman2017-07-111-10/+11
|
* rc.inet1: Partially migrate bridge setup codeRobby Workman2017-07-111-3/+3
| | | | TODO: brctl --> ip link add name ${br_name} type bridge
* rc.inet1: Migrate loopback interface codeRobby Workman2017-07-111-7/+8
|
* Add README fileRobby Workman2017-07-111-0/+11
|
* rc.inet1: Use return (not continue) to leave the if_up() function.Robby Workman2017-07-111-1/+1
| | | | | | Thanks to Tim Thomas for the bug report. Merged from Wed Sep 21 15:54:06 UTC 2016 changes to -current tree
* Initial commit of rc.inet1* and rc.wireless*Robby Workman2017-01-064-0/+1010
If other files are needed, they can be added later