Hello, I apologize in advance if this is not the best board for this topic but I thought it fit most in networking.
Essentially we have a custom version of FreeBSD8 in our organization which we install via a PXE server to all new computers that we provision.
To install this custom FreeBSD on the machines, the PXE server boots a mfsBSD .iso image which then should obtain an IP via DHCP (there is a DHCP server running on the PXE server) and then automatically fun /etc/rc.local which fetches a script from the PXE server to begin the installation.
The problem is that when mfsBSD boots, I can see the interface within
I then get kicked down to a root prompt in mfsBSD where I have to manually run
This seems simple enough but it is a pain to have to babysit the computer until it reaches the prompt. What we are going for here is a fully automatic installation requiring no user intervention.
So my question remains, why is the mfsBSD OS not obtaining an IP from DHCP automatically? Is there perhaps some timeout variable set that only tries to grab an IP from DHCP once and if it fails it does not retry? I have extracted the mfsBSD .iso image and began snooping myself but to no prevail.
If anybody knows what could be causing this I would really appreciate it! Or if there is some workaround script I could employ that would also be helpful. I thought of putting an extra line in /etc/rc.local that reads
Thanks!
Essentially we have a custom version of FreeBSD8 in our organization which we install via a PXE server to all new computers that we provision.
To install this custom FreeBSD on the machines, the PXE server boots a mfsBSD .iso image which then should obtain an IP via DHCP (there is a DHCP server running on the PXE server) and then automatically fun /etc/rc.local which fetches a script from the PXE server to begin the installation.
The problem is that when mfsBSD boots, I can see the interface within
ifconfig
(let's just say the interface is em0) but it has no IP. I then get kicked down to a root prompt in mfsBSD where I have to manually run
dhclient em0
and then re-run /etc/rc.local to start the installation. This seems simple enough but it is a pain to have to babysit the computer until it reaches the prompt. What we are going for here is a fully automatic installation requiring no user intervention.
So my question remains, why is the mfsBSD OS not obtaining an IP from DHCP automatically? Is there perhaps some timeout variable set that only tries to grab an IP from DHCP once and if it fails it does not retry? I have extracted the mfsBSD .iso image and began snooping myself but to no prevail.
If anybody knows what could be causing this I would really appreciate it! Or if there is some workaround script I could employ that would also be helpful. I thought of putting an extra line in /etc/rc.local that reads
dhclient em0
but that will not work on a system that has a different interface name :\ Thanks!