9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Richard Miller <9fans@hamnavoe.com>
To: 9fans@9fans.net
Subject: Re: [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use
Date: Sat, 23 May 2020 15:37:45 +0100	[thread overview]
Message-ID: <5803889ef37d2c0a3e68e0f1800539d5@hamnavoe.com> (raw)
In-Reply-To: <15902319880.aa32BC78.376311@composer.9fans.topicbox.com>

> $ cat cmdline.txt
> readparts=1 nvram=#S/sdM0/nvram ether1=type=4330
> 
> I don't understand these options, so I did not change anything. Booting Plan9 gets stuck on the console: https://imgur.com/lqL8V3z.
> 
> What exact changes do I need to make to be able to connect to a WiFi network with WPA2?

No changes needed.  The console is not stuck, just waiting for a reply to
the "root is from:" prompt.

Reply 'local' (or hit return), and when you're asked for a user name, reply 'glenda'.

It should boot to a desktop with some windows.  Click on the one with the
biggest text, read and follow the information there, and get to the term% prompt
at the bottom.

Connecting to wifi looks like this, where ESSID and PASSWD are your wifi network
essid and password:

term% bind -a '#l1' /net
term% aux/wpa -2p -s ESSID /net/ether1

!Adding key: essid=ESSID proto=wpapsk
password: PASSWD
!
term% ip/ipconfig ether /net/ether1
term% ndb/dns -r
term% ip/ping 9p.io
sending 32 64 byte messages 1000 ms apart to icmp!9p.io!1
0: rtt 42934 µs, avg rtt 42934 µs, ttl = 247
1: rtt 29954 µs, avg rtt 36444 µs, ttl = 247
2: rtt 36768 µs, avg rtt 36552 µs, ttl = 247
term% 


  reply	other threads:[~2020-05-23 14:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23 11:06 How did you setup plan9 on Raspberry Pi (3B v1.2) to use WiFi? yati.sagade
2020-05-23 14:37 ` Richard Miller [this message]
2020-05-23 16:14   ` [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use yati.sagade

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=5803889ef37d2c0a3e68e0f1800539d5@hamnavoe.com \
    --to=9fans@hamnavoe.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).