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: [9fans] pxeboot & tftpd
Date: Tue,  6 Mar 2012 15:38:41 -0600	[thread overview]
Message-ID: <CF4E8A2E-136F-4C78-8257-3E1BA3928FEB@corpus-callosum.com> (raw)

I've been taking the time to finally setup pxeboot for a few new projects.  Oddly, or maybe not, I'm wanting to run dhcpd and tftpd on /net.alt instead of /net.  Doing so highlights a subtle point that I've clearly missed in the whole namespace documentation and network configuration.

ip/dhcpd -x /net.alt works perfectly well but ip/tftpd -x /net.alt will fail unless you've got a custom /lib/namespace  or /cfg/$sysname/namespace that includes something similar to the following:

# alt networks
bind -b '#l1' /net.alt
bind -b '#I1' /net.alt
mount -a /srv/cs_net.alt /net.alt
mount -a /srv/dns_net.alt /net.alt


There may a better way, but so far that's the only thing I've found to make tftpd work off of /net.alt.

-jas




             reply	other threads:[~2012-03-06 21:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06 21:38 Jeff Sickel [this message]
2012-03-06 21:42 ` erik quanstrom
2012-03-13 11:52   ` Yaroslav
2012-03-13 15:04     ` Jeff Sickel
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=CF4E8A2E-136F-4C78-8257-3E1BA3928FEB@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).