More Pi

Jacek Radzikowski jacek.radzikowski at gmail.com
Sat Jan 19 21:04:32 EST 2019


If you feel adventurous (and your router is supported): https://openwrt.org/
However, many routers support DHCP reservations even with stock firmware.
An alternative is to set up a a small SBC with ethernet as a network server
and run DHCP server (and possibly other services like local DNS) on it.
Such board can be also used as a gateway and firewall for "smart" and IoT
devices, you can use it to set up multiple wireless networks (using one
wireless adapter) to isolate devices from your home network, or for guests.
It can be very helpful if you would like to curb traffic from "smart" TVs
and other devices sending out reports about your activities. This, however,
requires quite a bit of knowledge about network configuration.

Still, the easiest solution to static DHCP allocation is to find a router
which has it implemented.

Jacek.


On Sat, Jan 19, 2019 at 7:01 PM Alex Fraser <beatnic at comcast.net> wrote:

> Do you have a favorite router firmware?
>
> Jacek Radzikowski wrote on 1/18/2019 8:33 PM:
>
> Many routers allow to assign addresses statically to MACs. Each time the
> device sends DHCP requests, it gets assignment with the address given to
> it. The addresses have to be from the DHCP space, but otherwise it's the
> second best solution after assigning static IP to the interface on the
> device.
>
> Jacek.
>
>
> On Fri, Jan 18, 2019 at 8:16 PM Samudra Haque <samudra.haque at gmail.com>
> wrote:
>
>> Can mDNS not help here? I use pi4.local to permanently access the RPi0
>> across several cable modem boot and DHCP assignment/refresh as I am always
>> plugging in other stuff on temporary basis, even though the Pi zero W is
>> wireless connected.
>>
>> On Fri, Jan 18, 2019, 17:16 Rob Seastrom <rs at seastrom.com wrote:
>>
>>>
>>> I’ve had no difficulty width 3b+es and phone power supplies with a 2a
>>> nameplate rating.  It is highly likely that freebie grade micro usb cables
>>> (and ohms law and 28-30 awg wire) are to blame.  Consider trying Anker or
>>> other higher quality cables that are rated for fast charging of phones.
>>>
>>> Speaking of which if you have a herd of tiny ARM devices that want 2
>>> amps, I’ve found that the 6 port 60w Anker power supplies are most
>>> excellent for the workbench or rack.  They also make nice presents/stocking
>>> stuffers.  https://www.amazon.com/dp/B00P936188
>>>
>>> And yes, they now have versions that do usb-c if your newest phone needs
>>> that.  Anker makes good quality products at the right price.  Two thumbs up.
>>>
>>> Also, yes, dhcp leases are sticky by MAC address.  They tend to not be
>>> durable across router reboots though unless you have an environment where
>>> you can make the lease permanent. If you have a Linux box you can use nmap
>>> to scan your subnet and find your stuff (and if you run it as root it will
>>> tell you about the OUI in the MAC address which can be handy,
>>>
>>> Lastly, since you have a herd of these beasties, on Raspbian at least
>>> you can set them up to run sshd out of the box, which eliminates the need
>>> to set up a console for one that is freshly installed.  Wouldn’t surprise
>>> me if other distros follow this.
>>> https://hackernoon.com/raspberry-pi-headless-install-462ccabd75d0
>>>
>>> -r
>>>
>>>
>>> Sent from my iPad
>>>
>>> On Jan 12, 2019, at 18:57, Alex Fraser <beatnic at comcast.net> wrote:
>>>
>>> I've
>>>
>>> ________________________- https://lists.amrad.org/mailman/listinfo/tacos
>>
>>
>
> --
>
>     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>        No electrons were harmed in the creation of this message
>          --------------------------------------------------------
>  ~~~******************* Alex Fraser *******************~~~
>          --------------------------------------------------------
> [[[[[[~~^^^#___=>>>```/\/\**O**/\/\```<<<=___#^^^~~]]]]]]
>
> _______________________________________________
> Tacos mailing list
> Tacos at amrad.org
> https://lists.amrad.org/mailman/listinfo/tacos
>


-- 
Given a choice between two theories, take the one which is funnier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amrad.org/pipermail/tacos/attachments/20190119/d461d373/attachment-0001.html>


More information about the Tacos mailing list