summaryrefslogtreecommitdiffstats
path: root/netconfig
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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
|
* Fix domain name validation checks. Thanks to xbeastx74 on LQ for the report.Darren 'Tadgy' Austin2021-03-081-2/+5
|
* Add SLAAC security and privacy options.Darren 'Tadgy' Austin2021-03-081-0/+10
| | | | | | | | | | 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 descrepencies between rc.inet1.conf versions.Darren 'Tadgy' Austin2021-03-021-0/+1
|
* 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
|
* 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-271-1/+1
|
* Change final occurances of IPADDR/NETMASK/IPALIASES over to IPADDRS.Darren 'Tadgy' Austin2021-02-271-16/+4
|
* 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
|
* Update VLAN syntax checking. Add quotes in rc.inet1.conf.Darren 'Tadgy' Austin2021-02-271-12/+23
|
* Include the IPv6 address + hostnames in /etc/networks.Darren 'Tadgy' Austin2020-05-231-4/+2
|
* A couple of updates to netconfig and rc.inet1.conf.Darren 'Tadgy' Austin2019-12-171-4/+6
|
* Very small correction of rc.inet1.conf text.Darren 'Tadgy' Austin2019-11-291-1/+1
|
* IPv6 configuration support in netconfig. See full log.Darren 'Tadgy' Austin2019-11-201-159/+310
| | | | | | | | | | | | | | | | | | A lot of the changes are formatting (I had a bug I couldn't hunt down and the formatting wasn't helping), but there's quite a few new dialogs - not only to configure IPv6, but adding better user input issue handling. * Modify creation of the rc.inet1.conf file to incorporate IPv6. * Edited error text in syntax_check_color() to be more generic. * Added SLAAC option to the configuration type menu. * Added a new DHCP selection menu to cater for v4, v6 and both configurations. * Edited various dialog texts to be more consistent and/or IPv6 friendly. * Validate netmask that's entered by the user. * Produce an error about missing netmask when IPv4 IP is set. * Only do netmask and gateway (IPv4) prompting if an IPv4 address was set. * Added static IPv6 configuration dialogs. * Updated nameserver configuration dialog. * Added IPv6 fields to the final static IP confirmation/edit screen.
* Add VLAN configuration support to netconfig.Darren 'Tadgy' Austin2019-11-201-0/+30
|
* Update text in rc.inet1.conf (and netconfig).Darren 'Tadgy' Austin2019-11-181-4/+5
|
* Update text in rc.inet1.conf, and sync with netconfig.Darren 'Tadgy' Austin2019-11-141-30/+68
|
* Update rc.inet1.conf in netconfig. Update manpage.Darren 'Tadgy' Austin2019-11-071-0/+20
|
* Update rc.inet1.conf in netconfig.Darren 'Tadgy' Austin2019-11-061-14/+17
|
* Sync netconfig's rc.inet1.conf with the new one. Add ::1 to loopback in hostsDarren 'Tadgy' Austin2019-11-061-11/+44
|
* Fix up setting of IPALIASES and update docscurrent-20180531Darren Austin2018-05-241-1/+4
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* netconfig: formatting tweaks plus fixup NM default usagePatrick J. Volkerding2018-05-241-24/+29
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* netconfig: Don't write hostname to NM config file any moreAndrzej Telszewski2018-03-181-4/+0
| | | | Signed-off-by: Robby Workman <rworkman@slackware.com>
* netconfig: Add back a dropped "."Robby Workman2017-11-261-1/+1
|
* netconfig: Add comment to netconfig-generated rc.inet1.confJakub Jankowski2017-11-211-0/+2
| | | | | | Add same comment as in 4561bd10747935edf3e4f17ad18768d17ee95a4e Signed-off-by: Robby Workman <rworkman@slackware.com>
* rc.inet1*: Fix DHCP timeoutcurrent-20171121Robby Workman2017-11-211-1/+1
| | | | | 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