9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* How did you setup plan9 on Raspberry Pi (3B v1.2) to use WiFi?
@ 2020-05-23 11:06 yati.sagade
  2020-05-23 14:37 ` [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use Richard Miller
  0 siblings, 1 reply; 3+ messages in thread
From: yati.sagade @ 2020-05-23 11:06 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 480 bytes --]

I tried following[1]: I opened the boot partition of the sdcard and copied cmdline-wifi.txt -> cmdline.txt

$ 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?

Thanks!

[1]: https://www.raspberrypi.org/forums/viewtopic.php?t=219401

[-- Attachment #2: Type: text/html, Size: 1102 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use
  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
  2020-05-23 16:14   ` yati.sagade
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Miller @ 2020-05-23 14:37 UTC (permalink / raw)
  To: 9fans

> $ 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% 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use
  2020-05-23 14:37 ` [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use Richard Miller
@ 2020-05-23 16:14   ` yati.sagade
  0 siblings, 0 replies; 3+ messages in thread
From: yati.sagade @ 2020-05-23 16:14 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

On Saturday, May 23, 2020, at 4:37 PM, Richard Miller wrote:
> The console is not stuck, just waiting for a reply to
the "root is from:" prompt.
That's embarrassing... It worked perfectly, I was able to load a webpage with Abaco.

Thanks Richard!

[-- Attachment #2: Type: text/html, Size: 383 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-23 16:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [9fans] How did you setup plan9 on Raspberry Pi (3B v1.2) to use Richard Miller
2020-05-23 16:14   ` yati.sagade

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).