Files
GRC/server1.sh
2025-08-07 16:29:20 +00:00

16 lines
207 B
Bash

#!/bin/bash
echo "Router, ok!"
ip link set up dev enp0s3
ip address flush enp0s3
ip address add 192.168.200.2/24 dev enp0s3
ip route add default via 192.168.200.1
apt clean
history -c
history -w
reboot