This commit is contained in:
MacRimi
2025-02-17 16:57:24 +01:00
parent 749451fcac
commit 08114c0281
3 changed files with 152 additions and 76 deletions

View File

@@ -3,7 +3,7 @@ import { Steps } from "@/components/ui/steps"
export const metadata: Metadata = {
title: "Repair Network | ProxMenux Documentation",
description: "Learn how to repair and verify network configurations in Proxmox VE using ProxMenux.",
description: "Learn how to repair network configurations in Proxmox VE using ProxMenux.",
}
export default function RepairNetwork() {
@@ -12,55 +12,12 @@ export default function RepairNetwork() {
<h1 className="text-3xl font-bold mb-6">Repair Network</h1>
<p className="mb-4">
This script provides comprehensive network repair and verification functionality for Proxmox VE systems. It
helps users troubleshoot and fix common network issues, ensuring stable connectivity and proper configuration.
The Repair Network function is part of the network management script in ProxMenux. It automatically detects and
fixes common network issues in Proxmox VE systems, ensuring stable connectivity and proper configuration.
</p>
<h2 className="text-2xl font-semibold mt-8 mb-4">What Does This Script Do?</h2>
<p className="mb-4">When executed, this script offers the following main functions:</p>
<ol className="list-decimal pl-6 space-y-2 mb-6">
<li>Repair Network: Automatically detects and fixes common network issues</li>
<li>Verify Network: Checks the current network configuration and connectivity</li>
<li>Show IP Information: Displays IP addresses for all relevant network interfaces</li>
</ol>
<h2 className="text-2xl font-semibold mt-8 mb-4">Key Features</h2>
<ul className="list-disc pl-6 space-y-2 mb-6">
<li>Detects and lists physical and network interfaces</li>
<li>Verifies and repairs bridge configurations</li>
<li>Cleans up non-existent interfaces from the configuration</li>
<li>Configures physical interfaces automatically</li>
<li>Checks network connectivity</li>
<li>Provides options to restart networking services</li>
<li>Offers an interactive menu for easy navigation</li>
</ul>
<h2 className="text-2xl font-semibold mt-8 mb-4">How to Use</h2>
<Steps>
<Steps.Step title="Access the Network Repair Menu">
<p>Run the script and select the "Network Repair Menu" option from the main ProxMenux interface.</p>
</Steps.Step>
<Steps.Step title="Choose an Option">
<p>Select one of the following options:</p>
<ul className="list-disc pl-6 space-y-1 mt-2">
<li>Repair Network</li>
<li>Verify Network</li>
<li>Show IP Information</li>
</ul>
</Steps.Step>
<Steps.Step title="Follow the Prompts">
<p>The script will guide you through the process with clear prompts and information dialogs.</p>
</Steps.Step>
<Steps.Step title="Review Results">
<p>After each operation, review the results displayed in the dialog boxes.</p>
</Steps.Step>
<Steps.Step title="Repeat or Exit">
<p>Choose another option or return to the main menu when finished.</p>
</Steps.Step>
</Steps>
<h2 className="text-2xl font-semibold mt-8 mb-4">Repair Network Process</h2>
<p className="mb-4">When you select "Repair Network", the script performs the following actions:</p>
<h2 className="text-2xl font-semibold mt-8 mb-4">What Does Repair Network Do?</h2>
<p className="mb-4">When you select the Repair Network option, the script performs the following actions:</p>
<ol className="list-decimal pl-6 space-y-2 mb-6">
<li>Detects physical network interfaces</li>
<li>Cleans up non-existent interfaces from the configuration</li>
@@ -71,9 +28,39 @@ export default function RepairNetwork() {
<li>Displays updated IP information</li>
</ol>
<h2 className="text-2xl font-semibold mt-8 mb-4">How to Use Repair Network</h2>
<Steps>
<Steps.Step title="Access the Network Repair Menu">
<p>Run the network management script and select the "Network Repair Menu" option.</p>
</Steps.Step>
<Steps.Step title="Choose Repair Network">
<p>From the menu, select the "Repair Network" option.</p>
</Steps.Step>
<Steps.Step title="Follow the Prompts">
<p>The script will guide you through the repair process with clear prompts and information dialogs.</p>
</Steps.Step>
<Steps.Step title="Review Results">
<p>After the repair process, review the results displayed in the dialog boxes.</p>
</Steps.Step>
<Steps.Step title="Restart Networking (if prompted)">
<p>If prompted, decide whether to restart the networking service to apply changes.</p>
</Steps.Step>
</Steps>
<h2 className="text-2xl font-semibold mt-8 mb-4">Key Features of Repair Network</h2>
<ul className="list-disc pl-6 space-y-2 mb-6">
<li>Automatic detection and repair of common network issues</li>
<li>Bridge configuration verification and fixing</li>
<li>Cleanup of non-existent interfaces</li>
<li>Automatic configuration of physical interfaces</li>
<li>Network connectivity check after repairs</li>
<li>Option to restart networking services</li>
<li>Display of updated IP information post-repair</li>
</ul>
<h2 className="text-2xl font-semibold mt-8 mb-4">Important Notes</h2>
<ul className="list-disc pl-6 space-y-2 mb-6">
<li>This script requires root or sudo privileges to execute.</li>
<li>This function requires root or sudo privileges to execute.</li>
<li>Restarting the network service may cause a brief disconnection.</li>
<li>Always ensure you have an alternative way to access your Proxmox VE system in case of network issues.</li>
<li>It's recommended to create a backup of your network configuration before making changes.</li>
@@ -81,9 +68,9 @@ export default function RepairNetwork() {
</ul>
<p className="mt-6 italic">
This script simplifies the process of troubleshooting and repairing network issues in Proxmox VE. It provides an
easy-to-use interface for common network maintenance tasks, helping to ensure your Proxmox system maintains
stable connectivity.
The Repair Network function simplifies the process of troubleshooting and fixing network issues in Proxmox VE.
It provides an automated approach to common network maintenance tasks, helping to ensure your Proxmox system
maintains stable connectivity.
</p>
</div>
)