我找不到我的问题的答案,因此我发布了此内容。
我正在使用 Kali linux,当我使用 macchanger 成功更改我的 mac 地址时,我无法重新启动我的网络接口 eth0。
我需要帮助来解决这个问题。
命令序列:
Checking default mac address:
# macchanger -s eth0
Stopping Network Manager:
# service network-manager stop
Changing mac address:
# macchanger -r eth0
Confirming the mac address change
# macchanger -s eth0
Starting Network-Manager
# service network-manager start
Network interface eth0 does not come back up.
# tail -f /var/log/messages
Jan 23 22:44:08 kali NetworkManager[4893]: <info> [1485240248.3456]
dhcp4 (eth0): activation: beginning transaction (timeout in 45 seconds)
Jan 23 22:44:08 kali NetworkManager[4893]: <info> [1485240248.3670] dhcp4 (eth0): dhclient started with pid 4932
Jan 23 22:44:53 kali NetworkManager[4893]: <warn> [1485240293.3168] dhcp4 (eth0): request timed out
Jan 23 22:44:53 kali NetworkManager[4893]: <info> [1485240293.3208] dhcp4 (eth0): state changed unknown -> timeout
Jan 23 22:44:53 kali NetworkManager[4893]: <info> [1485240293.3244] dhcp4 (eth0): canceled DHCP transaction, DHCP client pid 4932
Jan 23 22:44:53 kali NetworkManager[4893]: <info> [1485240293.3244] dhcp4 (eth0): state changed timeout -> done
Jan 23 22:44:53 kali NetworkManager[4893]: <info> [1485240293.3281] device (eth0): Scheduling DHCPv4 restart because the connection is assumed
# cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=none
[ifupdown]
managed=true
这似乎是 DHCP 问题,但我没有更改 DHCP 配置文件。它是 Kali Linux 自带的默认设置。
提前致谢。