📅  最后修改于: 2022-03-11 14:51:51.656000             🧑  作者: Mango
# List devices, find your device name using
ip link
# If your device is eth0, for example
ip link set eth0 up
# Grab an IP from DHCP
dhclient eth0
# Check the status, confirm you have an IP
ip addr show dev eth0