16 lines
207 B
Bash
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 |