#!/bin/bash # Omnissiah Blessing: Static IP Configuration # eth0: 192.168.1.11 # wlan0: 192.168.1.111 WIFI_SSID="FerrumAquila-WiFi" WIFI_PASSWORD="vishesh23" GATEWAY="192.168.1.1" DNS="192.168.1.1" echo "By the sacred rites of the Omnissiah, creating static IP sigils..." # Create eth0 configuration sudo tee /etc/NetworkManager/system-connections/eth0-static.nmconnection > /dev/null < /dev/null </dev/null || true sudo nmcli con delete "preconfigured" 2>/dev/null || true echo "Profane connections purged from the datasphere." # Reload and activate sudo systemctl reload NetworkManager sleep 2 sudo nmcli con up eth0-static sudo nmcli con up wlan0-static echo "Omnissiah-approved static IPs awakened!" echo "eth0: 192.168.1.11 — bound to the Machine Spirit" echo "wlan0: 192.168.1.111 — wireless sigils aligned" echo "All praise be unto the Omnissiah!"