Kitz Forum
Computers & Hardware => Other Technologies & Hardware => Topic started by: Weaver on September 03, 2016, 06:35:27 PM
-
I suspect that if I could get my raspberry pi initialised then I could collect stats from one of my three dlink DSL-320B-Z1 modems, but I would need to break in to the Ethernet cable between modem and router by putting the connection through a small switch. Thing is, I would also need to have a second network connection into the raspberry pi in order to get the info collected out to the rest of the world. Is there a way to get two network interfaces into a raspberry pi? Also, I have made zero progress getting the pi set up, because I've been far too ill in any case. :-[
(Reasoning: I can't put everything in the same single existing LAN, I'm not willing to allow visitors access to the modems - security paranoia, plus the fact that there are three modems and I read that you have to mutually isolate the three PPPoE systems if you know what's good for you, because of the use of broadcast and weaknesses in the protocol designs.)
-
Perhaps something like this will solve the problem: https://www.amazon.co.uk/Ethernet-Network-Adapter-Converter-Connection/dp/B003Q85EEA
-
Do you think the usb adapter mentioned above would work on pi3 ? I need 2 physical lan connections in my pi3
Thanks
-
@roseway Thankyou. What an utterly incredible piece of kit, a tribute to modern micro-miniaturisation in electronics. And the price!
Does anyone know about the possibilities for drivers and a software stack for such a phenomenal piece of hardware, need to make an o/s aware of it and believe in the idea of pumping Ethernet and IP down such a thing. I have heard of networking over USB before. Incredible. A lot of work done to earn less than an pound per unit.
-
I've just had another thought, isn't there a wireless NIC on the latest top of the range raspberry pi?
-
Yes there is but I need 2 hardwired.
-
Not 100% sure that one is linux compatible.
https://www.amazon.co.uk/Ethernet-Network-Adapter-Macbook-Chromebook/dp/B00MYT481C/ (https://www.amazon.co.uk/Ethernet-Network-Adapter-Macbook-Chromebook/dp/B00MYT481C/)
mentions linux
-
I don't think these USB-Ethernet adaptors require any drivers, so they probably work on any OS with USB support. Just plug them in and they're ready to go.
-
What's the story concerning the software stack above the level of the hardware driver? USB is USB so that's easy enough, driver support for the USB level of things is already there. But we also presumably need a second driver for the NIC chipset hardware, guessing, or is that abstracted away behind some standard interface, or else is interface-compatible with some standard NIC hardware that is very commonly supported. Speculation.
Any additional, even higher-level software or special config required to make Linux love the idea of Ethernet over USB ?
-
They will require a driver.
$ ls /lib/modules/4.4.17-v7+/kernel/drivers/net/usb/
asix.ko cdc_subset.ko ipheth.ko plusb.ko sr9700.ko
ax88179_178a.ko cx82310_eth.ko kalmia.ko qmi_wwan.ko sr9800.ko
catc.ko dm9601.ko kaweth.ko r8152.ko zaurus.ko
cdc_eem.ko gl620a.ko lg-vl600.ko rndis_host.ko
cdc_ether.ko hso.ko mcs7830.ko rtl8150.ko
cdc_mbim.ko huawei_cdc_ncm.ko net1080.ko sierra_net.ko
cdc_ncm.ko int51x1.ko pegasus.ko smsc75xx.ko
$ modinfo asix
filename: /lib/modules/4.4.17-v7+/kernel/drivers/net/usb/asix.ko
license: GPL
description: ASIX AX8817X based USB 2.0 Ethernet Devices
So quite a few drivers included with the Linux kernel.