This obviously isn’t a Dietpi-specific issue, but I’m hoping one of you pros might take mercy on me and pass along any thoughts you have on my issue.
My Rpi running Dietpi is connected via ethernet to an ethernet switch that is in turn connected to my Asus RT-AX92U router, which itself is connected to my cable modem. I have 300/30 speed internet, and I get this speed consistently on the MacBook that’s connected in the same setup as the pi.
I know that the pi is splitting the network bus on the pi3b between USB and ethernet, so I’m not expecting to get the full download speed. But this is typical of my speedtest result:
Here’s what appears to be the eth-relevant bit from dmesg:
6.719854] smsc95xx 1-1.1:1.0 eth0: Link is Down
[ 8.863698] smsc95xx 1-1.1:1.0 eth0: Link is Up - 100Mbps/Full - flow control off
In my research, some folks have recommended trying a gig ethernet to USB3 dongle in place of the stock eth port; results there look mixed, but I’m willing to give that a shot in the interest of due diligence.
Other posts suggest enabling flow control is the first step, but I haven’t yet figured out where to enable that; I’m not seeing a likely option in the Asus settings…
Anyway, I’d really appreciate any thoughts you may have on this matter. Thanks a lot!
Retrieving speedtest.net configuration...
Testing from XXXNET s.r.o. (XXX.XXX.XXX.117)...
Retrieving speedtest.net server list...
Selecting best server based on ping...
Hosted by YellowNET, s. r. o. (Senica) [76.97 km]: 30.502 ms
Testing download speed................................................................................
Download: 92.51 Mbit/s
Testing upload speed......................................................................................................
Upload: 84.42 Mbit/s
dietpi@raspi:[~]$ cat /sys/firmware/devicetree/base/model
Raspberry Pi 3 Model B Rev 1.2
Not terrible, not perfect. Didn’t stress too much the CPU, and there was slight sirq.
Can/should I have 2 eth interfaces active at the same time? I’m noticing now…as I continue testing, that merely unplugging my ethernet cable from the ethernet jack on the pi and plugging it into the dongle doesn’t give me a connection. Here’s what my two eth sections look like in interfaces:
dietpi@DietPi:~$ ip route
default via 192.168.50.1 dev eth0
192.168.50.0/24 dev eth0 proto kernel scope link src 192.168.50.242
192.168.50.0/24 dev eth1 proto kernel scope link src 192.168.50.103 linkdown
I think what was throwing me, now that I look at that ip route output again, is that once I unplugged my ethernet cable from the ethernet jack and plugged it into the dongle, my pi was no longer reachable at 188.8.131.52. So I suppose I either need to configure a static IP somewhere or just change all my urls to my arr apps.
Yes you get a different IP address on the USB adapter. This is normal as it has different MAC address and your DHCP don’t know about you just switching cables. For the DHCP it is a new device. And yes you could try to configure STATIC IP. But it would need to be out of range of your DHCP server to avoid IP address conflict.
You should not be using two different interfaces with IPs from the same network, unless you know what you are doing. It might be better idea to bridge them if you must have them both working at the same time.
Yeah, I don’t need both active. Just the one via the dongle. When I unplug ethernet from the ethernet port and switch it to the dongle, I then can’t hit the pi via ssh at the address it’s now showing on my router (192.168.50.103). Maybe I’ll do a restart on the pi and see how things look.
EDIT: And no, I don’t know what I’m doing, in case you couldn’t tell.
The IP of the USB dongle will be a different one than the on-board Ethernet. This will not change on reboot. Both Ethernet device have a different MAC address and will identify differently on your router. You need to go with STATIC IP if you like to have same IP or tell the router to assign the original IP to USB Ethernet adapter.
Hot swapping didn’t work, but a reboot got everything straightened out. I also took this opportunity to attach an SSD drive to the pi to use for my SAB incomplete folder…we’ll see how that goes. Thanks again for all the hand holding!