I read many installation guide which says to start dhcp use the following command but it NEVER works for me:
# systemctl enable dhcpcd@.service
Anyway, this is what I do to fix it(mine is just VMware NAT network):
- cp /etc/network.d/examples/ethernet-dhcp /etc/network.d/mynetwork
- vi /etc/network.d/mynetwork , modified line INTERFACE='enp2s1'
- try in root, netcfg mymetwork, see if it can fetch IP properly
- if everything looks good, # systemctl enable netcfg@mynetwork
No comments:
Post a Comment