Live data from Hacker News

Linux-Router

github.com

11–20 of 31 posts

Re: Linux-Router

#11
post #7

Recently, I've been forced down a rabbit-hole in this space, the tl:dr of it being I have crappy internet where I live, and I've had to cobble together a multiple-ISP solution with load balancing wherein the individual ISP connections are on opposite sides of the house, and it is absurdly difficult to understand. I have a ton of old computers/equipment that I'm sure could do most of the lifting, and I'm relatively pr…

I've found myself in a similar situation. What I've learnt is that good load-balancing makes a surprising difference. It won't help you back up your files to the cloud any faster, but it will keep your Internet connection usable for other people while you do so. I've gone from being unable to hold one decent Skype conversation to being able to hold two in parallel on the same network. I've gone from ping times of up to 800ms when my wife used WhatsApp to ping times below 25ms in all realistic load conditions, including WhatsApp, and even flat-out file transfers in both directions at once. For video conferencing and general Web browsing, low latency is usually more important than high bandwidth.

The route I took was to place a small, low-power Linux box between my network and my ADSL router, running OpenWRT, and then configure load-balancing on that. A Web search for "bufferbloat cake" (no, really :-)) will show you one of the most useful Web sites I found.

One other measure you can take is aggressive content-blocking. I use Pi-Hole, uBlock Origin, Privacy Badger and Blokada, and I recommend them all. If you don't have much bandwidth, you don't want to give half of it away to marketers and creepy trackers. Use what little you have to work for you, rather than against you.

Having started from a position of knowing very little about Linux networking, I'd say that the Linux networking stack is powerful, flexible and fast, but it's let down by the available documentation, most of which seems to have been written at least fifteen years ago, and much of which is simply out-of-date. I couldn't find anything that just starts at the beginning and tells you everything you want to know, and is based on modern Linux commands and facilities. I'd write it myself if I understood it well enough but, honestly, I still don't. For anyone who wants to contribute to Linux but is a wordsmith rather than a coder, here's your chance.

Re: Linux-Router

#12

Are there any open source hardware internet routers? edit: found this on crowdsupply but doesn't do wi-fi https://www.crowdsupply.com/search?q=Router

Take a look at https://www.gl-inet.com/>. These boxes come with a nice, simplified GUI, but will run stock OpenWRT, which you can build yourself if you wish.

I placed one of these boxes behind my ADSL router to do load-balancing. To use it as an Internet router, you'd instead need to couple it with a modem. A colleague whom I trust recommends Draytek kit but (a) I've not tried it, (b) it's not cheap and (c) I'm just a stranger on the Internet, so read around carefully before splashing out.

Re: Linux-Router

#13

Are there any open source hardware internet routers? edit: found this on crowdsupply but doesn't do wi-fi https://www.crowdsupply.com/search?q=Router

Depends on

a) what your WAN connection is and b) how open you need it to be (i.e. there are no open hardware wifi cards)

My WAN port is Ethernet (the GPON conversion is done in a box I don't control). This has the advantage that pretty much any OpenWRT router will work.

I currently use a Traverse Ten64 (disclosure: received the unit for free as part of a beta test) which works reasonably well.

You could also look at gl-inet as someone else has mentioned, or the Turris range of routers. I would not be bothering with flashing a commercial router with OpenWRT anymore.

Re: Linux-Router

#14
post #6

Trying to figure out how to make a pi or my Linux workstation an access point bridged to my network has been tedious

It sucks, and it shouldn't suck.

Does https://www.raspberrypi.org/documentation/computers/configur... work for you?

You can email me at voltagex (at) voltagex dot org if you like.

Re: Linux-Router

#16

Oh wow I could of used this a couple months ago. I tried doing this myself. But, instead bought a ASUS router maybe when my asus router decides to crap out I will replace it with this defintely bookmarking and staring.

I literally also did this two weeks ago, I repurposed an ASUS PN50 as a router. Luckily, I didn't have that much trouble and wound up refreshing my network chops a bit (using tcpdump to diagnose a dhcp server that wasn't doing what it was supposed to)... I'm considering releasing a video tut on it. My only complaint is that I think (could be wrong) download bandwidth is limited by the "upload bandwidth" on the ASUS' wifi adapter, since it's running in reverse.

Re: Linux-Router

#17
post #9
post #7

Recently, I've been forced down a rabbit-hole in this space, the tl:dr of it being I have crappy internet where I live, and I've had to cobble together a multiple-ISP solution with load balancing wherein the individual ISP connections are on opposite sides of the house, and it is absurdly difficult to understand. I have a ton of old computers/equipment that I'm sure could do most of the lifting, and I'm relatively pr…

Just grab something like pfSense or any variant that will give you a GUI to do this wayyyyy more easily and with someone knowledgable configuring it and testing it.

You are waaaay overselling pfSense :) Seriously, I tried it, and sure it's easier than hacking at iptables. But not much.

Re: Linux-Router

#18
post #8
post #6

Trying to figure out how to make a pi or my Linux workstation an access point bridged to my network has been tedious

You can run openwrt on your pi and do it that way. Once you get familiar with openwrt, it does a lot of interesting things. I did it as an experiment and have a pi running openwrt as an ntp server. it's behaved very well.

> Once you get familiar with openwrt, it does a lot of interesting things.

what's your favorite feature?

Re: Linux-Router

#19
post #12

Are there any open source hardware internet routers? edit: found this on crowdsupply but doesn't do wi-fi https://www.crowdsupply.com/search?q=Router

Take a look at https://www.gl-inet.com/ >. These boxes come with a nice, simplified GUI, but will run stock OpenWRT, which you can build yourself if you wish. I placed one of these boxes behind my ADSL router to do load-balancing. To use it as an Internet router, you'd instead need to couple it with a modem. A colleague whom I trust recommends Draytek kit but (a) I've not tried it, (b) it's not cheap and (c) I'm just…

i didn't realize it, but it seems they provide the bootloader sources which most "open source routers" don't. If they also provide the full board schematics then I would consider them completely open source.

Re: Linux-Router

#20

Are there any open source hardware internet routers? edit: found this on crowdsupply but doesn't do wi-fi https://www.crowdsupply.com/search?q=Router

Not fully open source in the sense of only libre ISA and Firmware, but there are some open router, firewall and similar devices developed by CZ.NIC (Czech domain name registry):

https://www.turris.com/en/

Post reply on HN