Trendnet usb 3 ethernet adapter

25 views
Skip to first unread message

medway

unread,
Mar 18, 2017, 9:15:10 AM3/18/17
to motioneye
Hi I have a Trendnet TU3-ETG USB Gigabit ethernet adapter that I'd like to use on my Motioneye OS Raspberry Pi 3-B.
It would seem that we could at least double the network speed using these devices - https://www.jeffgeerling.com/blogs/jeff-geerling/getting-gigabit-networking
I appreciate that the Pi might end up being a bottle neck but I'd really like to get this working as I've already found that moving everything from wireless to gigabit network markedly improves the streaming/capture frame rate for my 3 wansview cameras.

I have plugged the usb device in and I believe that it is recognised by Motioneye OS

[root@Hyper ~]# /sbin/ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.229  netmask 255.255.255.0  broadcast 192.168.1.255
        ether b8:27:eb:47:9a:4b  txqueuelen 1000  (Ethernet)
        RX packets 1487141  bytes 1771618010 (1.6 GiB)
        RX errors 0  dropped 6  overruns 0  frame 0
        TX packets 1702347  bytes 2144294929 (1.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether d8:eb:97:b7:39:a4  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1  (Local Loopback)
        RX packets 282095  bytes 7836115063 (7.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 282095  bytes 7836115063 (7.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:12:cf:1e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

So I'm wondering if it would be possible to have an option to configure eth1 within Motioneye OS or is there already a configurable file I could add it to.

Thanks

Calin Crisan

unread,
Mar 18, 2017, 12:47:47 PM3/18/17
to motioneye
In theory you could set the os_eth to eth1 in /data/etc/os.conf. I never tested it but it should work.

medway

unread,
Mar 18, 2017, 1:20:54 PM3/18/17
to motioneye
Oh thanks - here we go.

/sbin/ifconfig -a
eth0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:47:9a:4b  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.229  netmask 255.255.255.0  broadcast 192.168.1.255
        ether d8:eb:97:b7:39:a4  txqueuelen 1000  (Ethernet)
        RX packets 68843  bytes 80619074 (76.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 40005  bytes 31714107 (30.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1  (Local Loopback)
        RX packets 2425  bytes 55740633 (53.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2425  bytes 55740633 (53.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether b8:27:eb:12:cf:1e  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

It appears to be working - I'll do some comparisons now.

Thanks again
Reply all
Reply to author
Forward
0 new messages