I have quiet a problem getting ipsec/strongswan running on my Orange Pi R1.
IPSec is configured fine and it connects to my vpn gatway by establishing and ikev2 connection with the help of transform (xfrm) interfaces.
After connection everything works fine, but not for long.
When I transfer large amounts of data (e.g. iperf3) the whole Orange Pi R1 freezes suddenly. This occours almost immideatly, sometimes i get a couple of seconds a data stream, but mostly it freezes at once.
Currently I use even the lates "Linux orangepi-r1 5.9.1-sunxi #20.08.14 SMP Tue Oct 20 23:01:54 CEST 2020 armv7l GNU/Linux" Kernel, and I upgraded the whole installation to bullseye.
I firstly guesst a weak power supply, but now I rule that out because a stresstest and even compiling a kernel works absolutely fine. Furthermore, there is nothing attached to the device despite one ethernet link. I also tried using only the other ethernet port, but still the same
(after the freeze, you immediatly cannot ping the devise, neither via ipsec nor directly in the same ethernet segment. a tcpdump on the same ethernet segment shows that absolutely now packets are received any more)
The serial console is not connected right now, I will connect it later to see if there are any other hints - but if it is not a "freeze" there will be a kernel oops or something like that.
Did anybody had a similar problem?
The short time iperf3 was getting packets it topped out at about 40 MBit/s - just for the records --- but only for a couple of seconds....
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
Ford_Prefect
Hi,
I have quiet a problem getting ipsec/strongswan running on my Orange Pi R1.
IPSec is configured fine and it connects to my vpn gatway by establishing and ikev2 connection with the help of transform (xfrm) interfaces.
After connection everything works fine, but not for long.
When I transfer large amounts of data (e.g. iperf3) the whole Orange Pi R1 freezes suddenly. This occours almost immideatly, sometimes i get a couple of seconds a data stream, but mostly it freezes at once.
Currently I use even the lates "Linux orangepi-r1 5.9.1-sunxi #20.08.14 SMP Tue Oct 20 23:01:54 CEST 2020 armv7l GNU/Linux" Kernel, and I upgraded the whole installation to bullseye.
I firstly guesst a weak power supply, but now I rule that out because a stresstest and even compiling a kernel works absolutely fine. Furthermore, there is nothing attached to the device despite one ethernet link. I also tried using only the other ethernet port, but still the same
(after the freeze, you immediatly cannot ping the devise, neither via ipsec nor directly in the same ethernet segment. a tcpdump on the same ethernet segment shows that absolutely now packets are received any more)
The serial console is not connected right now, I will connect it later to see if there are any other hints - but if it is not a "freeze" there will be a kernel oops or something like that.
Did anybody had a similar problem?
The short time iperf3 was getting packets it topped out at about 40 MBit/s - just for the records --- but only for a couple of seconds....
Thanks a lot!
Cheers,
Fort Prefect
Link to comment
Share on other sites
19 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.