summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add support for a DHCP_OPTS parameter.HEADmasterDarren 'Tadgy' Austin2023-06-212-0/+5
| | | | | | | | | | | This commit allows an interface specific DHCP_OPTS parameter to set additional dhcpcd command line options where they may be required on a local network. It is still recommended to use the supported DHCP_* options in preference to this option, but it is being added to aid customisations. Thanks to ljb643 on LQ for the bug report regarding DHCP_IPADDR and the suggestion of a DHCP_OPTS parameter.
* Expand the help text for DHCP_IPADDR in rc.inet1.conf.Darren 'Tadgy' Austin2023-06-211-1/+2
|
* Re-add support for the DHCP_IPADDR parameter from rc.inet1.conf.Darren 'Tadgy' Austin2023-06-211-0/+1
| | | | | | | | | During the last major updates, somehow the DHCP_IPADDR option got missed while I re-implemented the options handling. This commit re-adds the support for that option. Note that this commit changes the previously used '-s' dhcpcd option with the '-r' option as this seems more appropriate.
* netconfig: Ensure proper rc.networkmanager permissionsPatrick J. Volkerding2021-11-121-0/+2
| | | | | | | | In case rc.networkmanager was made executable by the admin or with a previous run of netconfig, we need to disable it if networkmanager wasn't selected in this netconfig run. Signed-off-by: Robby Workman <rworkman@slackware.com>
* rc.inet1: Skip bridge and bond configuration in LXC containerPatrick J. Volkerding2021-11-121-3/+10
| | | | | | | | | Add LXC detection at the beginning of the script to set container="lxc" if an LXC container is detected. Later, use this to skip bridge and bond creation in an LXC container. Patched script works in both LXC and on bare metal. Signed-off-by: Robby Workman <rworkman@slackware.com>
* netconfig: remove (broken) checks on hostname/domainname validityPatrick J. Volkerding2021-11-121-26/+4
|
* Correct spelling mistake of equivalent in netconfig.Darren 'Tadgy' Austin2021-04-161-1/+1
|
* Take interface down at exit from rc.wireless. Thanks to davjohn.current-20210318Darren 'Tadgy' Austin2021-03-091-4/+6
|
* rc.wireless: don't leave interfaces in up state as it prevents SLAAC.tadgyDarren 'Tadgy' Austin2021-03-091-5/+6
|
* Fix domain name validation checks. Thanks to xbeastx74 on LQ for the report.Darren 'Tadgy' Austin2021-03-081-2/+5
|
* Move enabling RA before SLAAC security section. Thanks to davjohn on LQ.Darren 'Tadgy' Austin2021-03-081-8/+8
|
* Added debugging output around new SLAAC enhancements.Darren 'Tadgy' Austin2021-03-081-0/+4
|
* Fix typo of 'default'.Darren 'Tadgy' Austin2021-03-081-1/+1
|
* Add SLAAC security and privacy options.Darren 'Tadgy' Austin2021-03-083-2/+37
| | | | | | | | | | This patch adds some security and privacy enhancements to SLAAC configuration. When SLAAC_PRIVIPGEN is "yes", address generation is enhanced with a secret key for the interface set in SLAAC_SECRET. This prevents predictable address generation. When SLAAC_TEMPADDR is "yes", a temporary address is used with SLAAC. Thanks to davjohn from LQ for the inital patches and help testing.
* Fix a typo in br_open when configuring IFOPTS: i->1.Darren 'Tadgy' Austin2021-03-071-1/+1
|
* Don't bring up a bridge interface if it will be brought up later by IP config.Darren 'Tadgy' Austin2021-03-071-2/+6
| | | | | This fixes a bug where SLAAC would take a while to be effective when the interface is already up. Thanks to davjohn on LQ for the report.
* Move configuration of SLACC before DHCP.Darren 'Tadgy' Austin2021-03-071-29/+29
| | | | | This seems to improve the ability to obtain a SLAAC address without waiting for up to 5 minutes. Thanks to davjohn on LQ for the patch.
* Remove README.networking as it's not finished yet and shouldn't be in the ↵Darren 'Tadgy' Austin2021-03-021-554/+0
| | | | release.
* Fix descrepencies between rc.inet1.conf versions.Darren 'Tadgy' Austin2021-03-022-5/+4
|
* README.IPv6: Remove implementation detailscurrent-20210301Robby Workman2021-02-281-50/+0
|
* netconfig: fix formatting of generated hosts fileRobby Workman2021-02-281-1/+1
|
* netconfig: remove outdated note about /etc/hostsRobby Workman2021-02-281-4/+0
|
* Fix bug where the CIDR mask was included in /etc/hosts.Darren 'Tadgy' Austin2021-02-281-2/+2
|
* rc.inet1: Fix typo (destory -> destroy)Robby Workman2021-02-281-1/+1
|
* scripts/netconfig: menu fix for formatting and add additional infoPatrick J. Volkerding2021-02-281-7/+9
|
* netconfig and rc.inet1.conf: Fix types (aggrigation -> aggregation)Robby Workman2021-02-272-2/+2
|
* README.networking: Fix typos (aggrigation --> aggregation)Robby Workman2021-02-271-3/+3
|
* README.bonding: Remove implementation detailsRobby Workman2021-02-271-51/+1
|
* Minor updates to README.networking - still a work in progress.Darren 'Tadgy' Austin2021-02-271-12/+16
|
* Update changelog comments in rc.wireless.Darren 'Tadgy' Austin2021-02-271-0/+3
|
* Some small syntax updates to quiet shellcheck.Darren 'Tadgy' Austin2021-02-271-15/+15
|
* Use extglobs to protect expansion of IFOPTS. Note: bash + extglob is now ↵Darren 'Tadgy' Austin2021-02-271-4/+7
| | | | required.
* Change final occurances of IPADDR/NETMASK/IPALIASES over to IPADDRS.Darren 'Tadgy' Austin2021-02-272-28/+7
|
* Update manpages with new/changed options, update email address.Darren 'Tadgy' Austin2021-02-272-48/+48
|
* Update write out of rc.inet1.conf to new format. +moreDarren 'Tadgy' Austin2021-02-271-68/+54
| | | | | | | Change to new format IP6ADDRS when writing out /etc/networks. Remove old syntax variables. Use 'Exit' as cancel button label on some dialogs. Changed a couple of occurances of cancel to abandon for clarity.
* Add function to convert new CIDR format netmasks to old style dotted quad.Darren 'Tadgy' Austin2021-02-271-1/+13
| | | | Replace setting of BROADCAST and NETWORK for use when writing files.
* Updated nameserver processing handling to include syntax checks + more.Darren 'Tadgy' Austin2021-02-271-50/+82
| | | | | | | | | | When creating example for nameserver dialog, take into account multiple IPs. Add the . to the VLAN part When writing rc.inet1.conf. Update SLAAC final confirmation dialog to match output of DHCP confirmation. Update final confirmation for static IPs to include IPv6 and VLAN ID. Include VLAN ID in DHCP final confirmation screen. Unconditionally output final info screen, ref accepted/discarded settings. Update static IP infomarion input/processing.
* Allow exiting when in NetworkManager confirmation dialog.Darren 'Tadgy' Austin2021-02-271-1/+4
|
* Add IPv6 support to 'loopback' option. Use IPADDRS.Darren 'Tadgy' Austin2021-02-271-4/+8
|
* Don't skip VLAN entry if it's empty + moreDarren 'Tadgy' Austin2021-02-271-12/+10
| | | | | Change a couple of button text to 'Exit'. Allow canceling out of DHCP hostname prompt.
* Don't write HOSTNAME before confirmation. Remove colour around examples.Darren 'Tadgy' Austin2021-02-271-3/+4
|
* Give 2 examples for IP address entry syntax.Darren 'Tadgy' Austin2021-02-271-2/+2
|
* Check entered prefix length is valid + more.Darren 'Tadgy' Austin2021-02-271-102/+60
| | | | | | Added a dialog to warn if no IP addresses have bee configured. Adjusted some dialog box sizes for altered text. Updated text for some dialog boxes.
* Add syntax_check_v6 function to validate IPv6 addresses + more.Darren 'Tadgy' Austin2021-02-271-19/+44
| | | | | Move temp directory code to start of main block. Update dialog text for some screens.
* Begin implementing multiple IPv6 addresses handling.Darren 'Tadgy' Austin2021-02-271-33/+76
|
* Use an IPv4 specific bounce file with IPv4 config.Darren 'Tadgy' Austin2021-02-271-7/+7
|
* Use an ipv4 specific bounce file for gateway config.Darren 'Tadgy' Austin2021-02-271-15/+6
|
* Clean up after ourselves in various places with new code.Darren 'Tadgy' Austin2021-02-271-15/+41
| | | | | * Keep a file with the VLAN ID while processing VLANs. * Touched up a couple more bits of dialog text.
* Various updates to netconfig - see full log.Darren 'Tadgy' Austin2021-02-271-80/+90
| | | | | | | | | | * Rename -syntax_check_color function to syntax_check_v4 as it more accurately represents its IPv4 specific function now. * Some updates to text presented in dialogs. * Protect some variable expansions with ""s. * Initial support for IPADDRS/IP6ADDRS arrays. * Improve validation of user supplied input. * Refactoring for use of the IPADDRS array and multiple IP/mask entry.
* Clean up syntax of host+domain entry and add some basic validation.Darren 'Tadgy' Austin2021-02-271-28/+42
|