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 to setup wifi on raspberry pi 4
Date: Tue, 10 Aug 2021 15:13:24 +0100	[thread overview]
Message-ID: <f86f397e67db15955baa155072b82e54@hamnavoe.com> (raw)
In-Reply-To: <CALp9=oKau751eHzNeHtyvJbcDhuGk=v3k7uUKE=Zn11CiY4WTA@mail.gmail.com>

> I have Raspberry Pi 4B (1 Gb RAM) and how to run wifi (and setup wifi) on
> it ?

Assuming you're running with root fs on SD card, and
no ethernet connected.

Assume your wifi ssid is MYSSID and uses wpa2 authentication,
and your wifi passwd is MYPASSWORD.

In cmdline.txt on the DOS partition, make sure the command line
contains ether1=type=4330 and doesn't contain ipconfig=.

Then it goes like this:

term% cat /net/ipselftab
127.0.0.0                                    01 6b  
127.0.0.1                                    01 6u  
255.255.255.255                              01 6b  
127.255.255.255                              01 6b  
term% bind -a '#l1' /net
term% aux/wpa -2p -s MYSSID /net/ether1

!Adding key: essid=MYSSID proto=wpapsk
password: MYPASSWORD
term% ip/ipconfig ether /net/ether1
term% cat /net/ipselftab
192.168.23.0                                 01 6b  
127.0.0.0                                    01 6b  
127.0.0.1                                    01 6u  
192.168.23.110                               01 6u  
192.168.23.255                               01 6b  
255.255.255.255                              02 6b  
127.255.255.255                              01 6b  
term% ndb/dns -r
term% ip/ping www.google.com
sending 32 64 byte messages 1000 ms apart to icmp!www.google.com!1
1: rtt 119714 µs, avg rtt 119714 µs, ttl = 117
2: rtt 15776 µs, avg rtt 67745 µs, ttl = 117
3: rtt 12913 µs, avg rtt 49467 µs, ttl = 117
...


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T3464a8c7bad3062a-M12b5ad87e46b22c5f742ba6a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

  parent reply	other threads:[~2021-08-10 14:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 12:58 Олег Бахарев
2021-08-10 13:50 ` hiro
2021-08-10 14:13 ` Richard Miller [this message]
2021-08-11  5:13   ` a
2021-08-11  5:31     ` Олег Бахарев
2021-08-11  8:17       ` Richard Miller
2021-08-11  9:07         ` Олег Бахарев
2021-08-11 19:48           ` Richard Miller
2021-08-11 20:37             ` Stuart Morrow
2021-08-11 20:53               ` Dan Cross
2021-08-11 21:03           ` Skip Tavakkolian
2021-08-11 21:13             ` Steve Simon

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=f86f397e67db15955baa155072b82e54@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).