看板 DFBSD_bugs 關於我們 聯絡資訊
On Thu, Feb 03, 2005 at 01:34:12PM -0800, Chris Pressey wrote: >On Tue, 1 Feb 2005 15:10:14 -0800 >Chris Pressey <cpressey@catseye.mine.nu> wrote: > >> On Tue, 1 Feb 2005 09:59:10 -0500 >> "George Georgalis" <george@galis.org> wrote: >> >> > [...] >> > On Tue, Feb 01, 2005 at 01:09:39AM -0800, Chris Pressey wrote: >> > >You can look at function fn_assign_ip() in fn_configure.c: >> > > >> > >http://www.bsdinstaller.org/cgi-bin/cvsweb.cgi/installer/src/backe >> > >nd /installer/fn_configure.c >> > > >> > >But, by the looks of the code, it actually does write your selected >> > >network settings to rc.conf, even if they failed to connect. >> > >Possibly all that is needed is a more informative error message. > >I just tested this (with the latest version) by manually disabling my >DHCP server, and trying to DHCP-configure the interface. It times out >and fails after a while, but it still writes 'ifconfig_dc0="DHCP"' to >the target system's rc.conf. > >I'll make the failure message more descriptive. my problem was setting the interface to a foreign net while I was on a local dhcp, then checked (possibly the wrong) rc.conf in 3rd console (before I got back to the menu) -- gave up when I saw the error, and didn't see anything new in rc.conf Think I got a good grip of it now. but appreciate the error message update, just the same. Thanks, // George -- George Georgalis, systems architect, administrator Linux BSD IXOYE http://galis.org/george/ cell:646-331-2027 mailto:george@galis.org