9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Romano <unobe@cpan.org>
To: 9front@9front.org
Subject: [9front] loopback for secstore
Date: Mon, 05 Jun 2023 11:25:18 -0700	[thread overview]
Message-ID: <54831B916B2838A74313020EB2A6B1C5@smtp.pobox.com> (raw)

In my /cfg/$sysname/cpurc, I have placed the following after 'auth/secstored':

# start loopback, which is then used by /lib/ndb/local to connect
# to secstore even when network isn't up via wifi or cable.
if (~ `{cat /net/iproute | grep 127.0.0.1} '')
	    ip/ipconfig loopback /dev/null 127.1

I was noticing that if my ethernet wasn't configured already (i.e., a
cable wasn't plugged in), then I wouldn't be able to connect to
secstored.  Is there a better way to approach the problem?  Or has no
one else run into that?

- Romano


                 reply	other threads:[~2023-06-05 18:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=54831B916B2838A74313020EB2A6B1C5@smtp.pobox.com \
    --to=unobe@cpan.org \
    --cc=9front@9front.org \
    /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).