Date: Thu, 10 Oct 2002 16:08:26 -0400 From: Damian Gerow <damian@sentex.net> To: freebsd-net@freebsd.org Subject: DHCP and media selection on bootup Message-ID: <64592473972.20021010160826@sentex.net>
next in thread | raw e-mail | index | archive | help
I haven't seen anything on this, but have just run into it when trying to set up a machine. We have a FreeBSD workstation that retrieves its IP address via DHCP. Normally this works all fine and dandy, but if the card autoselects the media to the wrong type, then there's no DHCP. The only way I've found around this is to create a script in /usr/local/etc/rc.d that does the ifconfig and dhclient itself. I've tried setting to ifconfig_fxp0 lines in /etc/rc.conf, the first for the media selection and the second for the DHCP instruction, but that didn't work -- the card stayed in autoselect. The only thing I haven't tried is "DHCP media <media> mediaopt <opt>", but I'm not sure this will work. Is there any way to manually set the NIC media, while retreiving the IP address via DHCP? - Damian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64592473972.20021010160826>