Files
GRC/server2.sh
2025-08-07 16:29:31 +00:00

16 lines
201 B
Bash

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