Rpi4 < $(community_build)

Thanks, amended.

1 Like

Hi guys,
A happy guys using rpi4 firmware here. Thank you @anon50098793 for making great firmware and maintaining this work. I have a question about how you operate the WAN port: Do you prefer using USB NIC for WAN, or using tagged VLAN on a separate managed switch?

1 Like

cheers... both are pretty good...

  • usb wan is better for connections over 450Mb/s +
  • wan vlans via smart-switch are much more scalable(fault-tolerant) once setup

the only reason i'd prefer wan-vlans is for dual/triple wan setups... ( providing the peak-wan-aggregate speed is under around 550Mb/s )... or they still run via a single usb wan interface...

Thank you for your answer, it helps me understand the setup. But I don't get why the wan vlans only good for <450 Mb/s, would you mind explaining to me?

this is when you run both LAN and WAN via a SMART SWITCH into the onboard eth0...

gigabit bandwidth is shared so half for WAN half for LAN...

                           |-------------------
                / eth0.5 = | wan = 500Mb/s
RPI-----eth0 --|           |                       TRUNK PORT - 1Gb/s
                \ eth0.1 = | lan = 500Mb/s
                           |-------------------
                           LSMART SWITCH

or another example

                           |-------------------
                  eth0.6 = | wanb = 150Mb/s
                 /         |
                / eth0.5 = | wana = 350Mb/s
RPI-----eth0 --|           |                       TRUNK PORT - 1Gb/s
                \ eth0.1 = | lan  = 500Mb/s
                           |-------------------
                           LSMART SWITCH

1 Like

Can you recommended me low budget(under 40USD) smart switch?

good question... depends if it needs to be suitable for WAN side usage...

if so... I'm not aware of anything I would recommend at that price point... ( more like $120-ish )...

see: https://forum.openwrt.org/t/rpi4-community-build/69998/843

can be quite challenging to find one both simple enough yet with the right features / security / or a little better and not too complicated...

the zyxels... some of the not lowest range netgears seem to be mentioned most often... ( at low-sh price points and half simple setup )... still probably upwards of 65$US

ubiquiti is also preferred by some... but I find it a bit too 'eco-system-ish' in general and there have been some hardware reliability/support concerns in the past... on the plus side... they are said to have the cleanest/simplest/well-featured user interface

a second hand microtik or similar would also be in the ballpark ( or er-x maybe )


for lan side only use... there is some discussion about some of the models in that price point here:
https://forum.openwrt.org/t/managed-switch-recommendation/69603/42

1 Like
1 Like

as this is;

  • dormant when disabled
  • not particularly large
  • useful to people with cg-nat / other
  • somewhat related to firstboot connectivity (i.e. viable remote access fallback in the case of remote upgrades etc.)

i've decided to include the package... thanks for the addition

I'm using TP-Link TL-SG108E, but if you need 16 ports TL-SG116E should be ok.

2 Likes

updated flawlessly

stable uptodate: 3.5.56-3
2 Likes

yes wan usage.

8 port would be enough for me.

Have a look at second hand switches from the ZyXEL gs1900 series, with a little luck you can fit up to 24 ports into your budget (and even have a good prospect of OpenWrt support, if you want to - the OEM firmware is quite usable as well).

2 Likes

Hey Guys,

Need some help, loaded a fresh copy of this on my spare RPI4 - but getting lots of XHR timeouts! and getting lots of "loading"

Dunno if I'm doing something wrong or not, but the interface requires multiple refreshes to show anything other than "Loading View"

build related XHR errors are usually pretty binary ( refreshes would not help )...

  • make sure you've read the top two posts in this thread
  • maybe try 21.02.0 ( fresh factory 'fac' )

if someone else has the issue, more than happy to dig a little deeper... but from here it's looking like some fundamental browser / network issue on your end...

Well this was a fresh factory image 21.02.0 from your git hub.

So I don't know what I'm doing wrong, I loaded the image and accessed the Pi.

What would cause the XHR errors? and is there a specific browser I'm supposed to use? I currently use another PI with a vanilla OpenWRT 21.02 image and I don't have these timeouts or "issues"

1 Like

If it helps I'm using a Mac with Safari? Should I try Chrome?

1 Like

Chrome works!

1 Like

@anon50098793 Now that you have included UPS (nut) support in your build, pls include also nut-upsc.

1 Like

news to me! (they might have just auto-re-installed for you)

if you have a package list? i'll test them out to make sure they are small and can be made inert...

otherwise/until ... throw them into /etc/packagesinstall.txt ( or they would just re-install themselves anyway... )

alot-to-pick-from
nut
nut-avahi-service
nut-common
nut-driver-al175
nut-driver-apcsmart
nut-driver-apcsmart-old
nut-driver-apcupsd-ups
nut-driver-bcmxcp
nut-driver-bcmxcp_usb
nut-driver-belkin
nut-driver-belkinunv
nut-driver-bestfcom
nut-driver-bestfortress
nut-driver-bestuferrups
nut-driver-bestups
nut-driver-blazer_ser
nut-driver-blazer_usb
nut-driver-clone
nut-driver-dummy-ups
nut-driver-etapro
nut-driver-everups
nut-driver-gamatronic
nut-driver-genericups
nut-driver-isbmex
nut-driver-ivtscd
nut-driver-liebert
nut-driver-liebert-esp2
nut-driver-masterguard
nut-driver-metasys
nut-driver-mge-shut
nut-driver-mge-utalk
nut-driver-microdowell
nut-driver-nutdrv_atcl_usb
nut-driver-nutdrv_qx
nut-driver-oldmge-shut
nut-driver-oneac
nut-driver-optiups
nut-driver-powercom
nut-driver-powerpanel
nut-driver-rhino
nut-driver-richcomm_usb
nut-driver-riello_ser
nut-driver-riello_usb
nut-driver-safenet
nut-driver-solis
nut-driver-tripplite
nut-driver-tripplite_usb
nut-driver-tripplitesu
nut-driver-upscode2
nut-driver-usbhid-ups
nut-driver-victronups
nut-server
nut-upsc
nut-upscmd
nut-upslog
nut-upsmon
nut-upsmon-sendmail-notify
nut-upsrw
nut-upssched
nut-web-cgi