[ale] [ALE] Setting up DHCP with Wireless
Chuck Payne
terrorpup at gmail.com
Sun Oct 8 11:49:30 EDT 2023
On Wed, Sep 27, 2023 at 12:38 PM Joey Kelly via Ale <ale at ale.org> wrote:
> On Tuesday, September 19, 2023 12:33:04 PM CDT Chuck Payne via Ale wrote:
> > Alex thanks, I might try dhcp so here what I got so far
>
> Assuming your primary DHCP has a scope defined, have the wireless segment
> use
> another non-overlapping scope in the same subnet as the primary, running
> on
> the device you described.
>
>
> >
> > As I told you, I have the Banana-R3 setup with OpenWRT
> > https://uglyscale.press/2023/09/13/setup-the-banana-r3-with-openwrt/
> >
> > And the ZimaBoard with pfSense
> >
> https://uglyscale.press/2023/09/17/how-to-setup-zimaboard-to-run-pfsense/
> >
> > So, I am grateful for the help, because again the R2 Pro will be OMV so I
> > have a nas.
> >
> > On Tue, Sep 19, 2023 at 12:03 AM Alex Carver via Ale <ale at ale.org>
> wrote:
> > > DHCP Relaying is more complicated than just DHCP service. Since you are
> > > already using this for testing purposes then having a dedicated DHCP
> > > service keeps your main DHCP pool clean.
> > >
> > > If you want something relatively simple to set up then just use DNSMasq
> > > as your DHCP server. It's nice and small and easy to configure.
> > >
> > > On 2023-09-18 12:11, Chuck Payne via Ale wrote:
> > > > Boris,
> > > >
> > > > So, here is my setup. I have a ZimaBoard that is pfSense that is the
> > > > DHCP
> > > > server, connecting on the back of ZimaBoard ethernet for lan is the
> > >
> > > 2.5Ghz
> > >
> > > > SFP connection on my Banana-Pi R3 ( Which is my wifi router ). So,
> since
> > >
> > > I
> > >
> > > > have the Banana-Pi R2 Pro, I was like I need storage, thus
> > > > OpenMediaVault
> > > > on Debian 11.
> > > >
> > > > I was thinking, ok let me setup DHCP relay, so I don't have another
> DHCP
> > > > Server or router. I am planning to install 8TB Drive, since the R2
> Pro
> > >
> > > only
> > >
> > > > has one SATA slot. My plan is to have network with SBC. I know a bit
> > >
> > > geeky.
> > >
> > > > Alex,
> > > >
> > > > So as soon as I can get past the error that DHCPD is givng me, I will
> > > > trying. DHPD Relay look to be less troubling and I was just hoping to
> > >
> > > pass
> > >
> > > > thru from the R3.
> > > >
> > > > Thanks guys. I will keep hammering away
> > > >
> > > > On Mon, Sep 18, 2023, 2:57 PM Boris Borisov via Ale <ale at ale.org>
> wrote:
> > > >> Put openwrt on the device. Is purposely built router OS in slim
> > >
> > > footprint.
> > >
> > > >> Everything that you can imagine is there. Or is installable with
> > > >> package
> > > >> manager.
> > > >>
> > > >> I've been lately buying old routers from Goodwill and installing
> latest
> > > >> openwrt firmware. We'll before buying I'm checking openwrt
> repository
> > > >> if
> > > >> that router is supported.
> > > >>
> > > >>
> > > >> In general the service should listen on the device in your case
> wlan0.
> > > >>
> > > >> On Mon, Sep 18, 2023, 01:45 Alex Carver via Ale <ale at ale.org>
> wrote:
> > > >>> First question:
> > > >>>
> > > >>> Why not run a local DHCP just for your test devices and make the
> ARM
> > > >>> board a router?
> > > >>>
> > > >>> On 2023-09-16 19:08, Chuck Payne via Ale wrote:
> > > >>>> So,
> > > >>>>
> > > >>>> I am trying to setup an arm board that has the following setup
> > > >>>>
> > > >>>> eth0
> > > >>>> eth1
> > > >>>> lan0 at eth1
> > > >>>> lan1 at eth1
> > > >>>> lan2 at eth1
> > > >>>> lan3 at eth1
> > > >>>>
> > > >>>> Because of the part of the house I am on, I can't use ethernet.
> So I
> > > >>>
> > > >>> have a
> > > >>>
> > > >>>> wifi card in. So I have wlan0.
> > > >>>>
> > > >>>> Being that eth0 should be wan, and lan0 to lan3 are lan. Now here
> is
> > > >>>
> > > >>> what I
> > > >>>
> > > >>>> am trying to do, and it's gonna be a bit crazy.
> > > >>>>
> > > >>>> I like to use the arm board ( Banana-Pi BPi-R2 Pro ) as a hub for
> > >
> > > other
> > >
> > > >>>> small board devices on my desk.
> > > >>>>
> > > >>>> I am running Bullseye, and I installed isc-dhcp-relay. In hopes
> that
> > > >>>> I
> > > >>>
> > > >>> can
> > > >>>
> > > >>>> just pull in a device into one of the four lan ports.
> > > >>>>
> > > >>>> Here's what I got setup so far
> > > >>>>
> > > >>>> # Defaults for isc-dhcp-relay initscript
> > > >>>> # sourced by /etc/init.d/isc-dhcp-relay
> > > >>>> # installed at /etc/default/isc-dhcp-relay by the maintainer
> scripts
> > > >>>>
> > > >>>> #
> > > >>>> # This is a POSIX shell fragment
> > > >>>> #
> > > >>>>
> > > >>>> # What servers should the DHCP relay forward requests to?
> > > >>>> SERVERS="192.168.107.1"
> > > >>>>
> > > >>>> # On what interfaces should the DHCP relay (dhrelay) serve DHCP
> > > >>>
> > > >>> requests?
> > > >>>
> > > >>>> INTERFACES="eth1 wlan0"
> > > >>>>
> > > >>>> # Additional options that are passed to the DHCP relay daemon?
> > > >>>> OPTIONS=""
> > > >>>>
> > > >>>> I am assuming, which is bad for me that I need to wlan0 to issue
> the
> > > >>>> request, correct? Or do I need lan0 at eth1 thru lan3 at eth1 to pass
> the
> > > >>>> request. Which now makes me ask, how will they be able to pass
> > > >>>> traffic
> > > >>>
> > > >>> from
> > > >>>
> > > >>>> the wlan0 to those lanx ports?
> > > >>>>
> > > >>>> Is it possible to do what I am wanting? I want to test ethernet
> > >
> > > devices,
> > >
> > > >>>> thus why I am not using a wireless usb dongle. I have plenty. Oh,
> did
> > >
> > > I
> > >
> > > >>>> tell you that I have already install OpenMediaVault on this
> board, so
> > > >>>> another reason for me to get it working.
> > > >>>>
> > > >>>> Thanks for any help with my crazy idea.
> > > >>>>
> > > >>>>
> > > >>>> _______________________________________________
> > > >>>> Ale mailing list
> > > >>>> Ale at ale.org
> > > >>>> https://mail.ale.org/mailman/listinfo/ale
> > > >>>> See JOBS, ANNOUNCE and SCHOOLS lists at
> > > >>>> http://mail.ale.org/mailman/listinfo
> > > >>>
> > > >>> _______________________________________________
> > > >>> Ale mailing list
> > > >>> Ale at ale.org
> > > >>> https://mail.ale.org/mailman/listinfo/ale
> > > >>> See JOBS, ANNOUNCE and SCHOOLS lists at
> > > >>> http://mail.ale.org/mailman/listinfo
> > > >>
> > > >> _______________________________________________
> > > >> Ale mailing list
> > > >> Ale at ale.org
> > > >> https://mail.ale.org/mailman/listinfo/ale
> > > >> See JOBS, ANNOUNCE and SCHOOLS lists at
> > > >> http://mail.ale.org/mailman/listinfo
> > > >
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > https://mail.ale.org/mailman/listinfo/ale
> > > > See JOBS, ANNOUNCE and SCHOOLS lists at
> > > > http://mail.ale.org/mailman/listinfo
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > https://mail.ale.org/mailman/listinfo/ale
> > > See JOBS, ANNOUNCE and SCHOOLS lists at
> > > http://mail.ale.org/mailman/listinfo
>
>
> --
> Joey Kelly
> Minister of the Gospel and Linux Consultant
> http://joeykelly.net
> 504-239-6550
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> https://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
Guys, thanks for the help.
Here is an update. I installed OpenWRT, which is weird as this board
doesn't have wireless. I can add Mini-PCIe or M.2 E/A key, but I will have
to do some research as to what works with OpenWRT.
So, after installing it. Found my issue, I am a bit of DA for this, Debian
( Armbian ) was seeing the four port lan as five
eth1, lan0 at eth1 ~ lan3 at eth1
I keep wondering why, and I keep wondering why nothing was working. Here is
why I am DA, I need to setup a brigde, ugh
root at styx:~# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.ca33fcc76e9c no lan2
lan0
lan3
lan1
That made a lot of sense, I then understood that I will need some iptables
so that wlan0 is the gateway for the device, that iptables will control the
flow, but for now.
Here a picture of what the Banana-Pi R2 Pro looks like.
https://uglyscale.press/2023/10/08/new-network/
Now I face two more bumps;
1) I need Ethernet over Power Plugs so that I can connect the router to the
office. I wish there was a Wireless to Plug, but a Plug is fine. Any
recommendations are welcome.
2) I wanted Open Vault Media because I could use the sata on the board, but
OpenWRT doesn't see My SATA, I am not sure if it is because it's a SSD, but
I am going to try mechanical one later, it works great with a USB. I am
excited because now I can set up the NAS I want.
Thanks Alex, you recommend OpenWRT, at that time there wasn't a good image.
My skills are there yet to build an image, I am learning.
Thanks guys.
--
Terror PUP a.k.a
Chuck "PUP" Payne
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363
openSUSE Community Member since 2008.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.ale.org/pipermail/ale/attachments/20231008/0b4a252a/attachment.htm>
More information about the Ale
mailing list