[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RC - Dbootstrap is somewhat broken for non-networked boxes



On Fri, Apr 21, 2000 at 07:17:49AM -0700, Randolph Chung wrote:
> > you can simply use if (!is_network_configured() && !is_network_up(1))
> > 
> > if is_network_up(1) returns 0, there are no network interfaces available.
> 
> with the new /proc/dev code you put in this is probably true. originally
> though it checks !is_network_configured() || !is_network_up() to see if the
> network is not yet activated. i wonder if pcmcia is affected by this....

Well, unless you choose an NFS install source, you wont get the network
config until after you setup the drivers/pcmcia. So hopefully by here you
have configured your network driver. If not, then it is still a good idea
to continue the configuration without a network setup (and just hostname
config) until the system is rebooted and more steps can be taken.

I've set it up as I explained above, so the code is there now in CVS.

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'


Reply to: