9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Stanley Lieber <sl@stanleylieber.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Prompt for wpapsk during wifi boot
Date: Wed, 14 Jun 2023 10:30:50 -0400	[thread overview]
Message-ID: <2AE3EF3F-AB4E-4006-A04E-30FE2797DC94@stanleylieber.com> (raw)
In-Reply-To: <4d70f8a3860198c2ef1bddd92b8e3073723a8e25.camel@ck-weine.ch>

On June 14, 2023 10:18:13 AM EDT, Luis <luis@ck-weine.ch> wrote:
> 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?
> 

not sure what other problems there may be, but make sure essid appears on the same line as ether0.

sl

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

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

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-14 14:18 Luis
2023-06-14 14:30 ` Stanley Lieber [this message]
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=2AE3EF3F-AB4E-4006-A04E-30FE2797DC94@stanleylieber.com \
    --to=sl@stanleylieber.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).