Installation
Prerequisites
- Go 1.19 or later
- Access to a GNS3v3 server
- Network connectivity to the GNS3 server
Package Managers
AUR (Arch Linux)
Homebrew (macOS)
Windows - Coming Soon
Building from Source
Clone the Repository
Build the Binary
Install Dependencies
Pre-built Binaries
Pre-built binaries are available for: - Linux (amd64, arm64) - macOS (amd64, arm64) - Windows (amd64, arm64)
Download from the releases page.
Verification
Test your installation:
You should see the help output with available commands.
Configuration
Environment Variables (Optional)
# Optional: Set default server and keyfile
export GNS3_SERVER="https://your-gns3-server:3080"
export GNS3_KEYFILE="~/.gns3/gns3key"
Authentication Keyfile
The program will automatically create a keyfile when you use interactive login:
Troubleshooting
Common Issues
Permission Denied
SSL Certificate Errors
Connection Refused
- Verify the GNS3 server is running
- Check the server URL and port
- Ensure network connectivity
Authentication Failed
- Verify your API key is correct
- Check the keyfile permissions
- Try interactive login:
gns3util auth login