[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(Pi router & DNS and ...) Re: Berkeley Pi: Getting ready for next week.
- To: BerkeleyLUG <berkeleylug@googlegroups.com>
- Subject: (Pi router & DNS and ...) Re: Berkeley Pi: Getting ready for next week.
- From: "Michael Paoli" <Michael.Paoli@cal.berkeley.edu>
- Date: Sun, 23 Feb 2020 08:47:47 -0800
- Arc-authentication-results: i=2; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-authentication-results: i=1; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:user-agent:content-disposition :mime-version:in-reply-to:references:subject:to:reply-to:from:date :message-id:sender:dkim-signature; bh=mktdU48q51cT97xXXSxfpLWWWAbdzLVd6fH11u+mSEw=; b=WFBs043MU6PVE9uHgmhr/9Y7LmQ0BgB3PMBZ8DpbxRn7ygeC63fXZ7WzKL7F3PUIWQ KrwN/xFkwzKThwRWKDxtt1/kmDMAl5LgIFISSNBc+hefmQwvuDcZ9ebpsMxwmaHTZzto 59kJIUsqwCwXpniwiAmLSj8cFQ2H1GilD90N/QBJFrSfzBUTmY0PkjvwHdHlGeOlr5Yy bAKHUz6WTAJ2OCN8cTVL1hxKP9Plvz7OWRM8V1ZFLOmx6cvD1anugxOE+bWfmtdHx5Zh x01DUvzZnBvRHuOP+FSEIOAp114hIReRxx61TgYeeD4ceURIWa3vlz/yzLbSg1pPWDEw hCyQ==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-transfer-encoding:content-disposition :mime-version:in-reply-to:references:subject:to:reply-to:from:date :message-id; bh=TUiWRxxsb1PUt6BkMnCcHeFD4/cdZzrQYdnpD3kGQzw=; b=OOo9GADqD8xzIPnM2iBTMs94mL7qFXFc/HQGJlGEFPC1GkEUDtkNrGzcwHnpaHcg54 aag9mSoc9EoXGr85NvK1uWvz5fYtBxNY5hriz13KPVvZbNJrz/j3xlMx+n5USBGcOkdu SDjnBrXQJB+6FH2Q03m4oSoO4OVSXX6xHB6bihqQZc+EI8OvK901UOeQJqcnVetYNe4Q W9u0KFAHRNZLgw27+1CC7xRQ30oUVd0QpnL+pxZRB2YDxCM3MwLk7LvKh3DIc7ItnrNI oIX5inYDC4GJ+d5vwZ/7EMfV1ud31b+cwdELloKAhd9DvTrfdZokSdokQNMJxVgXy44m Hd9Q==
- Arc-seal: i=2; a=rsa-sha256; t=1582476468; cv=pass; d=google.com; s=arc-20160816; b=CHQwoWMPa0pL7SdH3vtMXvu6czZs47fomXfvhCDT7dh+BhSp8hkrNVsrMR2tDV4kDc q0VK2zBRHKTFjEOy4v4JbthxpQMkc5q5Lx1TfDvpqZs0G5s/eV39uy050mcXIRqfXqPf UzTv3x0uQtQ9ooLhe0N3nxAiUHzlei1AgvDld/+v8wXHz5eLhafpeOoLyEqf6NVWJDqh GbW/vwLcY1cZ+hjwjxBbyoclas8nNb1qsg/2TUMMxmBJ8gBPxjwsrkRWClkN1mAD49WP I8eo44opVbkOhBDth8b5cPhC/jbFyJGgUDBP9dCicbhmhehLwCmW7QhnJeYGT6MZGBJ7 Gl9A==
- Arc-seal: i=1; a=rsa-sha256; t=1582476468; cv=none; d=google.com; s=arc-20160816; b=bLFxDcl0CX9aNpPQi6kOCLlklBRW9+EoWoomGmvm2bQy9UeEvw+aVs8gGc9B2dM3Hd B1URATultvFyDbpcku7nI/NFDyHZbUu0v/lxqaLZgwCQm75BfDUW0g0kGJCeWtKLViIb c3AmEUzBG5CbfQ+YjmvQ49Q7vltxyqJhR2hzoD5To/x7LmznNTVIkxk+TcQ7rE48Nsau 6ESoPGTEHWOvPUkJu669rXz6jina1Ynlu8+cptKyIYxj0qSUDJEe3jZSHGAFIHrB5Ohe BdF96PIcYXFet9yaTivq+Bcd5BLEmw1i+s0EMk6n4tkZITAnoPie6innx4PkNC2EZPXs ayzQ==
- Delivered-to: historian@entropia.netisland.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:message-id:date:from:reply-to:to:subject:references :in-reply-to:mime-version:content-disposition:user-agent :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=mktdU48q51cT97xXXSxfpLWWWAbdzLVd6fH11u+mSEw=; b=gd4B2Eu+rSIYTXtDr44ieKknF/wubR6apWRHiK2yRmWS3DZRroJNYZAO3au/Nl/KCF fEzzAuQENGME4DL6jqTcmMP1+YlMV9Twj25BuvI+9I1jJqOezren4Ww3vgTR6MSumURf Sh/tjtfakGCjX23NhK0Hh5YTzDCsTfUYvtjwtcieRfA4MbxgZMSgB3AuAmrPZ5okv6XY TWjapdKdPBgO6WnUgxjsK64w0qLNwCqRiQsB0vn+M5dwJXYyhDsTYtXqxQce4h67iHZP wgG+iG4QPf6lW1/bxYlF5e9oms8UoBSNEneGHu0fJdObUNd2Oc3EpXt98lwFoBgUb3SO jhpw==
- In-reply-to: <CAGpvfspzq2Z9npkXzNNwKmc6zgWO_Tm6aS_SMFq0FcPnqg4PEw@mail.gmail.com>
- List-archive: <https://groups.google.com/group/berkeleylu>
- List-help: <https://groups.google.com/support/>, <mailto:berkeleylug+help@googlegroups.com>
- List-id: <berkeleylug.googlegroups.com>
- List-post: <https://groups.google.com/group/berkeleylug/post>, <mailto:berkeleylug@googlegroups.com>
- List-subscribe: <https://groups.google.com/group/berkeleylug/subscribe>, <mailto:berkeleylug+subscribe@googlegroups.com>
- List-unsubscribe: <mailto:googlegroups-manage+61884646931+unsubscribe@googlegroups.com>, <https://groups.google.com/group/berkeleylug/subscribe>
- Mailing-list: list berkeleylug@googlegroups.com; contact berkeleylug+owners@googlegroups.com
- References: <CAGpvfspzq2Z9npkXzNNwKmc6zgWO_Tm6aS_SMFq0FcPnqg4PEw@mail.gmail.com>
- Reply-to: berkeleylug@googlegroups.com
- Sender: berkeleylug@googlegroups.com
- User-agent: Internet Messaging Program (IMP) H3 (4.2.1-RC1)
From: "tom r lopes" <tomrlopes@gmail.com>
Subject: Berkeley Pi: Getting ready for next week.
Date: Sat, 22 Feb 2020 18:51:13 -0800
So I have been thinking about how to make the Pi get togethers better.
Problem is, It'd be nice to run the Pi headless so you don't need to lug
around
monitors and stuff. But at a Cafe you don't have access to the router, so
how do
you find the Raspberry Pi ip address?
So I thought to just bring in my own router.
How about a Pi 4 as router! So I followed the tutorial on raspberrypi.org
.
Now we have a Pi 4 with USB wifi dongle. The USB connects to Cafe Blue
Door
WIFI which is then shared to the builtin WIFI.
So the Pi 4 broadcasts a network as "Pihub" with a passphrase "BerkeleyPi"
You can connect to Pihub and the Pi 4 does dhcp and bridges the connection
to
Cafe Blue Door WIFI. I'll attach a screen with output of the dhcp so you
can see the
ip there.
I still have to figure out how you'd distinguish between various Pi clients
(maybe hostname?)
So ... pi.berkeleylug.com - dynamic DNS updates - at least proof-of-concept
has been done. Can make that live for pi.berkeleylug.com in not too
horribly distant future (when I have some time, and Thomas is ready).
Could potentially even adjust to have clients be able to update their
own DNS entries - as subdomains of pi.berkeleylug.com (and
disallowing www.pi.berkeleylug.com - or anything else we'd want to not
let "any client" update for its own IP). But with RFC-1918 IPs,
might have to have that Rasperry Pi router do a wee bit more on that ...
or maybe have the clients just update on the Rasperry Pi router itself,
and it could also serve (augmented) DNS to the clients, and have
the clients update their DNS - for many/most dhcp clients that's also
the default behavior anyway - at least they attempt to update DNS
for themselves ... even the relatively standard Linux dhclient
does/attempts this.
Ah, and too, RFC-1918 ... not Internet addressable, ... but, IPv6, no
shortage of IPv6 IPs ... if the venue doesn't provide those, the
Pi router could initiate an IPv6 tunnel, and would then have plenty of
Internet addressable IPv6 IPs for the Pis at the event, ... and they
could update their DNS via dynamic DNS updates.
Also, I have the LUG DNS domains set up so anyone/anything can do
AXFR and dump the whole domain ... so that'd be fairly easy way to see
who/what is on the (sub)domain.
Oh, and if one does full routing on Pi to share upstream Wi-Fi &
(single) IPv4 IP, that may restrict bandwidth, as venue's Wi-Fi may do
(relatively) fair sharing among the IPs it has actively allocated.
Might be feasible way(s) to do that a bit differently, so the
Pi router doesn't reduce downstream Pis bandwidth through limiting to
a single IPv4 of the venue Wi-Fi, but rather uses and passes down (even if
NATed), one per (client) Pi.
Anyway, I may have to think about that some more ... and/or (likely)
someone has already figured out some good/slick solutions to this - and
relevant software/configuration and such, already.
--
You received this message because you are subscribed to the Google Groups "BerkeleyLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylug+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/berkeleylug/20200223084747.71273tdvwopp7mww%40webmail.rawbw.com.