Skip to content

Add console setup helper#1712

Draft
filippocarletti wants to merge 2 commits into
mainfrom
filippo-setup-console-88
Draft

Add console setup helper#1712
filippocarletti wants to merge 2 commits into
mainfrom
filippo-setup-console-88

Conversation

@filippocarletti

Copy link
Copy Markdown
Member

Summary

Add a whiptail-based /usr/sbin/setup helper for first-console
configuration of keymap, LAN, and WAN settings.

Related issue

No tracked issue.

How to test

  1. Open /usr/sbin/setup on the local console.
  2. Change the keymap between it and us and confirm it is applied
    immediately.
  3. Change the LAN IP within the current subnet and confirm the existing
    interface name is preserved.
  4. Configure WAN as dhcp or static and confirm only the changed side
    is rewritten.
  5. Run Apply without changes and confirm no network config is touched.

Dependencies

None.

@filippocarletti filippocarletti self-assigned this Jun 5, 2026
Base automatically changed from nethsecurity-8.8 to main June 8, 2026 13:29
@filippocarletti filippocarletti force-pushed the filippo-setup-console-88 branch from af784a3 to f3a6e02 Compare June 9, 2026 10:09
Add a whiptail-based /usr/sbin/setup helper for first-console\nconfiguration of keymap, LAN, and WAN settings. The helper\nreuses the local rpcd handlers, preserves existing interface names,\nand avoids rewriting unchanged network configuration.

Assisted-by: OpenCode:openai/gpt-5.4
Support LAN DHCP, expose logical LAN/WAN interface selection,\nguide WAN static configuration, and strengthen IPv4/CIDR\nvalidation in the console setup helper. Keep keymap changes\nimmediate and avoid rewriting unchanged network state during\nno-op applies.

Assisted-by: OpenCode:openai/gpt-5.4
@Tbaile Tbaile force-pushed the filippo-setup-console-88 branch from f3a6e02 to 1a11fba Compare June 15, 2026 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant