Newbie question here. I'm trying to get my main FreeBSD machine to obtain an IP address automatically through DHCP (Ethernet connection). This fails if I set the proper (?, not entirely sure) settings in rc.conf, but works fine if I manually use
at the command prompt after booting.
I had to set up my network card separately after the installation, as during installation I had no network cable plugged in.
The lines related to ifconfig in rc.conf are as follows:
The first line was set to DHCP earlier, but I changed it after reading http://www.nl.freebsd.org/doc/handbook/network-dhcp.html and figuring that maybe the system needing a bit more time to obtain the IP address.
What I do know about the hardware is that in Windows XP on the same machine renewing the DHCP-lease also fails, unless I reset my cable modem (probably an issue with the cable modem). However, I hope there is a simple solution for this in FreeBSD.
Edit: The machine is a Dell Dimension 4600, and the NIC is the one built into the motherboard.
Code:
dhclient fxp0
at the command prompt after booting.
I had to set up my network card separately after the installation, as during installation I had no network cable plugged in.
The lines related to ifconfig in rc.conf are as follows:
Code:
ifconfig_fxp0="SYNCDHCP"
ifconfig_fxp0=" inet netmask"
defaultrouter=""
The first line was set to DHCP earlier, but I changed it after reading http://www.nl.freebsd.org/doc/handbook/network-dhcp.html and figuring that maybe the system needing a bit more time to obtain the IP address.
What I do know about the hardware is that in Windows XP on the same machine renewing the DHCP-lease also fails, unless I reset my cable modem (probably an issue with the cable modem). However, I hope there is a simple solution for this in FreeBSD.
Edit: The machine is a Dell Dimension 4600, and the NIC is the one built into the motherboard.