Good morning and thank you for this magnificent community, I have found it through SinoVoip Co, which is a great professional and I come to you to help me in any way possible since my limitations are very low at the hardware level.
I hope to learn and contribute what little I can to your house,.
I introduce myself, I have bought a banana pi r4 set 5 complete case, power supply, heatsink fan, complete with 2 sfp+45 + the antennas waiting for the wifi 7 module that will soon be on sale.
Meanwhile I have a question, since it has a 10gb sfp+rj45 wan for which I have a 10gb fiber line contracted, I have an sfp+rj45 lan output, I would also need to have available for the usb 3 port that the banana pi r4 has, a 2.5gb usb card that would give me land service for a direct pc card that I have of 2.5gb, do you know if there is support for said 2.5gb rj45 usb card that supports land output at said speed.
They sell a 2.5 GB RTL8156B USB card. Do you know if it is recognized as an output like the 1 GB LAN ports on the router? Thanks for your help.
thanks for your help
as I am playing with R4 for very short time, I am running it on image from @frank-w. I assume, that you should compile your own kernel with drivers for your usb eth, just as I did for some devices I am using.
Here are some usefull links I used:
Thanks for your help, I will try to compile it to try to give service. Although I’m a rookie, if I do it correctly with the help you gave me I will post it for the community, because for me is very interesting that we can use a 2.5 GB output as a 1 GB output.
Hello @Francisco , whenever you will be compiling your new kernel, You can try branch 6.8-dango_2 from the @frank-w git. It looks that there are many of network devices drivers selected already.
I want to thank both @frank-w for everything he’s doing and @Rup for sharing and responding to everything possible. I’ll try out the new things you’re suggesting as soon as I can. I’m waiting to receive the new network card. I’ll keep you updated and thank you very much for your kindness.
I am curious if it will be working. @frank-w is there any place in forum or banana-wiki, elsewhere, where could be possible to mark which hardware is working on R4 or not? I was searching it but without any luck.
It would be better and maintainable on one place.
I tried to collect sfps working by threads here,but it was ending in discussions also tried to collect in my wiki, but i not ger managed to always add them when posted. do not know a better way for now…
I do have a 2.5GBase-T RTL8156B usb thing. But the instalation i’m using right now, does not have drivers for it. As i’ll be testing @frank-w 's kernel 6.11-rc (to check the new MT7925 patches) and i’ll enable that usb adapter modules to see if it works.
When it started to compile, it asked if a bunch of other drivers were to compiled as well. I don’t know how to avoid that, so i just pressed enter. After booting with the new kernel, you also need to install firmware-realtek.
And that’s it.
P.S. - My recipe for creating a full system image with kernel 6.11-rc. Do tell me if something doesn’t work as i added some commands without proper testing.
git clone --depth 1 -b 6.11-rc https://github.com/frank-w/BPI-Router-Linux.git
cd BPI-Router-Linux
git config --global --add safe.directory $PWD
echo "board=bpi-r4" >> build.conf
### comment first lines in build.sh for the root warning, because i use root :)
./build.sh importconfig
cat <<EOF >> ../build/.config
CONFIG_MT792x_LIB=m
CONFIG_MT7921_COMMON=m
CONFIG_MT7921E=m
CONFIG_MT7925_COMMON=m
CONFIG_MT7925E=m
CONFIG_USB_USBNET=m
CONFIG_USB_RTL8152=m
EOF
./build.sh # CHOOSE 1 - PACK
################################## FULL IMAGE
cd ..
git clone --depth 1 https://github.com/frank-w/BPI-Router-Images
cp $(ls SD/bpi-r4*.tar.gz -t |head -1) BPI-Router-Images/
cd BPI-Router-Images/
cat <<EOF >> sourcefiles_bpi-r4.conf
imgfile=bpi-r4_sdmmc.img.gz
skipkerneldownload=1
kernelfile=$(ls bpi-r4*.tar.gz -t |head -1)
EOF
./buildimg.sh bpi-r4 bookworm
gunzip -c bpi-r4_bookworm_6.11.0-rc1.img.gz | sudo dd bs=1M status=progress conv=notrunc,fsync of=/dev/mmcblk0
Casulo, thank you very much for adding USB RTL8156B in your build, at least we know it works, could you share your build.
I haven’t been able to start because I’ve been without a computer during the time I’ve been on vacation.
@Frank-w’ as you advised me I will try to create it on 6.9, I will follow the advice and help that you all have given me.
I will keep you informed whether I succeed or fail to make it work.
In linux just do gunzip -c bpi-r4_bookworm_6.11.0-rc1.img.gz | sudo dd bs=1M status=progress conv=notrunc,fsync of=/dev/mmcblk0 for writing it to the card. Do confirm your card is on that device. In windows you can use rufus or elena batcher (popular here).
Casulo, thank you very much for sharing your compilation, I will try the instructions you have given me and I will keep you informed. I am currently waiting for a new RTL8156B USB card. I gave the one I had to a relative. I don’t think it will take long to receive the new card. I will keep you informed.
Good afternoon, I finally received the 2.5gb usb card, then I will do what you asked me and post the results, the windows card that I gave to my family I tested on 3 different computers an amd, an i7 and an n4000, with windows 10 and windows 11 and it never went over a download speed of 250 megabytes or so and an upload speed of 340 megabytes, that’s why I gave it away I thought it was defective.
by the way with the n4000 this card gives the same download and upload results as the previous one that I gave away
then when I do the tests I will keep you informed, finally I received the wifi 7 module today and I already have the whole router bought with the 2 sf+rj45, the box with the fan, good that I already have everything to put it into operation.
thanks for your help that you give me and I keep you informed.
Yes, my PC is broken, I have ordered a new motherboard and I am currently working with an n4000 that is only good for writing on the internet
Sorry, but my English is from the translator, which should be noted.
I thought you wanted me to send some commands to my card, but my son told me that you didn’t ask for anything like that.
I’m going to set up the router and this morning when my children are asleep, I’ll test your image and the 2 sfp+45 to see if I can get them up and running, but as I said, that same RTL8156B chip in Windows gives me the same speed, I currently have it connected to a port that gives 2.5gb,
I have a Xiaomi 10g main router installed, which has 4 2.5gb output ports and I’ve put it in one of those and it gives the speed in Windows that you get in your image, I think that type of chip should not be valid, since my son’s card on his PC, which is a motherboard, does give the 2.4gb download and the 2.4gb upload directly to the Xiaomi router.
I’m going to set up the router first, since I already have everything complete, including the WiFi 7 module, which was what I was missing. I’ll save your image and do some tests.
I have tried your image, but I can’t log in through Luci, I can’t get Internet either through SP+RJ45 or through 1GB WAN, or through the USB card that I received.
It does give me an IP for Luci, but I can’t log in.
Here are some images of how I’m setting up the router.