9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Luis <luis@ck-weine.ch>
To: 9fans@9fans.net
Subject: [9fans] Prompt for wpapsk during wifi boot
Date: Wed, 14 Jun 2023 16:18:13 +0200	[thread overview]
Message-ID: <4d70f8a3860198c2ef1bddd92b8e3073723a8e25.camel@ck-weine.ch> (raw)

According to plan9.ini(8):
wpapsk=password
 WPA/WPA2 encryption is detected automatically and a prompt
 for the password will appear when using the WIFI interface
 for netbooting. To avoid the prompt, the password can be
 specified with the boot parameter above.

However, I do not get said prompt, and when I try to netboot with this
configuration:
 ether0=type=iwl
 essid=myessid
 bootargs=tls!-g 192.168.1.1 ether /net/ether0
That (obviously, as I did not enter my wifi creds) fails with
"ipconfig: no success with DHCP."

It works if I escape to shell with !rc and run aux/wpa manually.

How do I get aux/wpa to automatically prompt for a password OR to
permanently store the password for use at boot time?


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tf639303c48fd1149-M67cae9dd43941a5b1c8b7446
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14 14:18 Luis [this message]
2023-06-14 14:30 ` Stanley Lieber
2023-06-14 16:26   ` Luis
2023-06-14 17:28     ` unobe
2023-06-14 18:35       ` 9johansen via 9fans
2023-06-14 18:38         ` unobe
2023-06-14 18:50           ` Luis
2023-06-14 18:58             ` unobe
2023-06-14 19:02             ` mkf9

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=4d70f8a3860198c2ef1bddd92b8e3073723a8e25.camel@ck-weine.ch \
    --to=luis@ck-weine.ch \
    --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).