• Raspi as a router...

    From F. W.@3:770/3 to All on Tue Dec 7 14:05:00 2021
    ...creating a WLAN, connected to a LAN-Cable.

    But what software can be used?

    Thank you

    FW
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Elvidge@3:770/3 to F. W. on Tue Dec 7 13:32:50 2021
    On 07/12/2021 01:05 pm, F. W. wrote:
    ...creating a WLAN, connected to a LAN-Cable.

    But what software can be used?

    Thank you

    FW

    Raspberry Pi OS Lite : https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_armhf-2021-11-08/2021-10-30-raspios-bullseye-armhf-lite.zip
    : Works for me.
    A simple sample firewall script can be got from : Easy Firewall
    Generator for IPTables : http://www.slackware.com/~alien/efg/
    Yes, it's for Slackware but it does work with Raspbian.

    --
    Chris Elvidge
    England
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Theo@3:770/3 to F. W. on Tue Dec 7 13:46:26 2021
    F. W. <me@home.com> wrote:
    ...creating a WLAN, connected to a LAN-Cable.

    But what software can be used?

    OpenWRT supports it: https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi

    You get the usual kind of web GUI for configuring router things, although
    with more flexibility than most.

    Theo
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From tumppiw@3:770/3 to All on Tue Dec 7 17:00:22 2021
    F. W. kirjoitti 7.12.2021 klo 15.05:
    ...creating a WLAN, connected to a LAN-Cable.

    But what software can be used?

    Thank you

    FW

    Here's a few examples on how to use a Raspberry as a router..
    (watch word-wrap)

    https://www.youtube.com/watch?v=jlHWnKVpygw

    https://www.seeedstudio.com/blog/2021/06/11/how-to-build-a-raspberry-pi-router-step-by-step-tutorial/

    https://linuxhint.com/raspberry_pi_wired_router/



    --
    -----------------------------------------------------
    Thomas Wendell
    Helsinki, Finland
    Translation to/from FI/SWE not always accurate -----------------------------------------------------
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to F. W. on Tue Dec 7 17:47:14 2021
    F. W. <me@home.com> wrote:
    ...creating a WLAN, connected to a LAN-Cable.

    But what software can be used?

    I use a CM4 plugged into one of these:

    https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767#target_3

    OpenWRT runs on it (and on other Raspberry Pis). You could use Raspbian or some other general-purpose distro, but OpenWRT is designed specifically for
    use in routers.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Grant Taylor@3:770/3 to scott@alfter.diespammersdie.us on Tue Dec 7 12:04:30 2021
    On 12/7/21 10:47 AM, scott@alfter.diespammersdie.us wrote:
    I use a CM4 plugged into one of these:

    https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767#target_3

    Interesting.

    What sort of throughput can you get on this? Can you get near gigabit
    line rate?



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Tue Dec 7 21:02:02 2021
    Am Tue, 7 Dec 2021 14:05:01 +0100
    schrieb "F. W." <me@home.com>:

    ...creating a WLAN, connected to a LAN-Cable.

    But what software can be used?
    Do you really want routing here?
    Be aware that you need to configure your other router too to make
    routed nets work.
    If you just like to use it as a WiFi access point, you can just create
    a L2 bridge and attach eth0 and wlo0 (names may vary) to it.
    That should be supported by most Linux distributions, including Ubuntu.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Grant Taylor@3:770/3 to F. W. on Tue Dec 7 13:25:00 2021
    On 12/7/21 6:05 AM, F. W. wrote:
    But what software can be used?

    Standard Linux bridging (brctl & iproute2 counterpart) should work just
    fine.

    1) Create a bridge interface.
    2) Bring said bridge interface up.
    3) Add the LAN interface to said bridge interface.
    4) Bring said LAN interface up.
    5) Add the WLAN interface to said bridge interface.
    6) Bring said WLAN interface up.

    Configure the /single/ IP address on the bridge interface.

    Are you messing with HostAPd to manage the WLAN interface? Or are you
    using simpler init scripts?



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Marco Moock@3:770/3 to All on Tue Dec 7 21:56:24 2021
    Am Tue, 7 Dec 2021 13:26:07 -0700
    schrieb Grant Taylor <gtaylor@tnetconsulting.net>:

    Routers are actually easier to create.
    Only of you do NAT routing. If not, it is not easier, because you
    either need a global network for IPv4 and IPv6 or you need to use NAT
    and private networks. Using private nets is not a good solution.
    Bridge is better, because you don't need to care about this if you
    already have a network with IPv4-DHCP and global IPv6 connectivity with
    a router and its router advertisements.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Grant Taylor@3:770/3 to Grant Taylor on Tue Dec 7 13:26:06 2021
    On 12/7/21 1:25 PM, Grant Taylor wrote:
    Standard Linux bridging (brctl & iproute2 counterpart) should work just
    fine.

    Sorry, I answered as if you were wanting an Access Point, not a router.

    Routers are actually easier to create.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to Grant Taylor on Wed Dec 8 18:22:02 2021
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 12/7/21 10:47 AM, scott@alfter.diespammersdie.us wrote:
    I use a CM4 plugged into one of these:

    https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767#target_3

    Interesting.

    What sort of throughput can you get on this? Can you get near gigabit
    line rate?

    I don't know as my cable-modem service isn't anywhere near that fast, but
    the second NIC added by the card is connected via PCIe, not USB. (The first NIC is the one provided directly by the SoC, which would be the same as on a Raspberry Pi 4.)

    FWIW, the user interface in OpenWRT is far more responsive than what I was previously using on an Asus RT-AC56U. I'd suspect that network traffic is handled more promptly as well.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Computer Nerd Kev@3:770/3 to scott@alfter.diespammersdie.us on Wed Dec 8 21:50:08 2021
    scott@alfter.diespammersdie.us wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 12/7/21 10:47 AM, scott@alfter.diespammersdie.us wrote:
    I use a CM4 plugged into one of these:

    https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767#target_3

    Interesting.

    What sort of throughput can you get on this? Can you get near gigabit
    line rate?

    I don't know as my cable-modem service isn't anywhere near that fast, but
    the second NIC added by the card is connected via PCIe, not USB. (The first NIC is the one provided directly by the SoC, which would be the same as on a Raspberry Pi 4.)

    Iperf is available as an OpenWRT package, in case you want to test.

    --
    __ __
    #_ < |\| |< _#
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Pancho@3:770/3 to Computer Nerd Kev on Wed Dec 8 21:56:08 2021
    On 08/12/2021 21:50, Computer Nerd Kev wrote:
    scott@alfter.diespammersdie.us wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    On 12/7/21 10:47 AM, scott@alfter.diespammersdie.us wrote:
    I use a CM4 plugged into one of these:

    https://wiki.dfrobot.com/Compute_Module_4_IoT_Router_Board_Mini_SKU_DFR0767#target_3

    Interesting.

    What sort of throughput can you get on this? Can you get near gigabit
    line rate?

    I don't know as my cable-modem service isn't anywhere near that fast, but
    the second NIC added by the card is connected via PCIe, not USB. (The first >> NIC is the one provided directly by the SoC, which would be the same as on a >> Raspberry Pi 4.)

    Iperf is available as an OpenWRT package, in case you want to test.

    yeah, and use your lan as wan, if that wasn't already obvious.
    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From scott@alfter.diespammersdie.us@3:770/3 to Computer Nerd Kev on Thu Dec 9 19:05:02 2021
    Computer Nerd Kev <not@telling.you.invalid> wrote:
    scott@alfter.diespammersdie.us wrote:
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    What sort of throughput can you get on this? Can you get near gigabit
    line rate?

    I don't know as my cable-modem service isn't anywhere near that fast, but
    the second NIC added by the card is connected via PCIe, not USB. (The first >> NIC is the one provided directly by the SoC, which would be the same as on a >> Raspberry Pi 4.)

    Iperf is available as an OpenWRT package, in case you want to test.

    Hadn't heard of that...tried it on the LAN port and got about 940 Mbps.
    Testing traffic through both ports would probably require setting up a test network, which would mean knocking my home network offline for a bit.

    --
    _/_
    / v \ Scott Alfter (remove the obvious to send mail)
    (IIGS( https://alfter.us/ Top-posting!
    \_^_/ >What's the most annoying thing on Usenet?

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)