I use FreeBSD in a VMware Virtual Machine. Between uses, I suspend the VM. However, on resuming, I find that Internet connectivity is lost.
To restore Internet access, I run sysinstall and select Configure > Networking > Interfaces > em0 and then select Yes for DHCP configuration. Once I select OK in the resulting dialog, Internet access is restored.
I would like to do the same thing from the command line without launching sysinstall. I am suspecting this has to do with ifconfig but all attempts so far have failed. (I have tried all options listed here: http://www.cyberciti.biz/tips/freebsd-how-to-start-restart-stop-network-service.html)
Can someone tell me what applet/program is launched by sysinstall for DHCP configuration?
To restore Internet access, I run sysinstall and select Configure > Networking > Interfaces > em0 and then select Yes for DHCP configuration. Once I select OK in the resulting dialog, Internet access is restored.
I would like to do the same thing from the command line without launching sysinstall. I am suspecting this has to do with ifconfig but all attempts so far have failed. (I have tried all options listed here: http://www.cyberciti.biz/tips/freebsd-how-to-start-restart-stop-network-service.html)
Can someone tell me what applet/program is launched by sysinstall for DHCP configuration?