9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Jeff Sickel <jas@corpus-callosum.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] pxeboot & tftpd
Date: Tue, 13 Mar 2012 10:04:48 -0500	[thread overview]
Message-ID: <92935DD0-93A5-4C1F-B69A-229DF176E036@corpus-callosum.com> (raw)
In-Reply-To: <CAG3N4d9WfBCszVRS69SCL-4gz9sOVgK33X5XVf_bmZ7KvCbqEQ@mail.gmail.com>

Also note:

Some old 9fans mails requested help solving DHCP errors showing up like:

	!Discover(hwa01_204e7f518eeb via 192.168.0.239): no binding ::

I don't think there was a concise description of what the solution was
in the prior threads.  Here's a small attempt:

The DHCP discovery error occurs because dhcpd will only only provide
an IP address on the subnet for the inquiry.  In this case a device
defaults to ip=192.168.0.239 ipmask=255.255.0.0 when in discovery mode.
The device may have broadcast a src=0.0.0.0, but you'll probably find
that your ipboot logs never show it.

Given that the broadcast subnet mask is 255.255.0.0, you'll need to
have an entry in your ndb local/external/etc file that can resolve
the inquiry like

ipnet=catch-net ip=192.168.0.0 ipmask=255.255.0.0

or some higher level network.  Doing so will allow dhcpd to respond
and not flood ipboot with failed discovery messages.

I've only seen this kind of behavior from certain devices (e.g. routers)
that force a default ip&mask so they can be configured by an end user.
You'd think that with tools like cec(8) and zeroconf available there
would be a better solution for discovering and initializing a device.

-jas



On Mar 13, 2012, at 6:52 AM, Yaroslav wrote:

> Yes, tftpd becomes none and calls newns(2), thus the only way to have
> /net.alt populated for it is through /lib/namespace, as you figured
> out.
> --
> - Yaroslav
>
>




  reply	other threads:[~2012-03-13 15:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 21:38 Jeff Sickel
2012-03-06 21:42 ` erik quanstrom
2012-03-13 11:52   ` Yaroslav
2012-03-13 15:04     ` Jeff Sickel [this message]
2012-03-13 15:10       ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92935DD0-93A5-4C1F-B69A-229DF176E036@corpus-callosum.com \
    --to=jas@corpus-callosum.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).