Alat darah lngkap mcu ruang urine #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
IP nya tidak UP ketika alat off .. ini sdh sy setting ulang
Buat/replace file dengan isi ini:
sudo tee /usr/local/bin/fix-net.sh > /dev/null <<'EOF'
#!/bin/bash
interface dan connection name sesuai output nmcli
IF=enp2s0
CON="Wired connection 1"
flush ARP / neighbour untuk interface
ip neigh flush dev "$IF"
flush route cache
ip route flush cache
(re-)bring up the connection (harus pakai nama koneksi)
nmcli connection up "$CON"
tampilkan status singkat
echo "Ran fix-net.sh: IF=$IF CON=$CON"
ip neigh show | sed -n '1,20p'
EOF
sudo chmod +x /usr/local/bin/fix-net.sh
Jalankan:
sudo /usr/local/bin/fix-net.sh