Hello!
I connect my camera to raspberry with model and use MIKROTIK router like switch (PTP Bridge AP). But every secondary run, get error and cant normally start my python model.
If i connect Lan cable to Raspberry(with out router) all work fine.
I have RB951G-2HnD router.
If some one configurate it, can help to reconfig it? Or u get some idea to FIX it?
Because with Archer(TP-link) similar, didn't have any problem.
OAK-1-PoE problem with read stream
EdmundsJelinskis
Make sure ports 11490 and 11491 are open and allow traffic. Can you ping the device? Make sure you set your OS to the same subnet as the device.
Also, seems strange to me (perhaps it's ok), you save set the gateway to 1.254 (I would generally expect the first address to be the gateway - so 1.1).
Thanks,
Jaka
jakaskerl
I open port but still it didn't help.
On third script run, model start work, but with out mikrotik, run always.
(Also, seems strange to me (perhaps it's ok), you save set the gateway to 1.254) - i use different input internet router, but it didn't help.
BR,
Edmunds
EdmundsJelinskis
If you can't ping it from the PI, it means the routes are not set up. Make sure you set the correct subnet on your PI. Then if you typeip route
it should display something similar (last line is important):
default via 10.12.118.1 dev enp88s0 proto dhcp metric 100
default via 10.12.8.1 dev wlo1 proto dhcp metric 600
10.12.8.0/22 dev wlo1 proto kernel scope link src 10.12.10.124 metric 600
10.12.118.0/24 dev enp88s0 proto kernel scope link src 10.12.118.92 metric 100
169.254.0.0/16 dev wlo1 scope link metric 1000
Thanks,
Jaka
jakaskerl
I get that info from raspberry
"pi@pi:~$ ip rout
default via 192.168.1.254 dev wlan0 proto dhcp metric 600
default via 169.254.1.1 dev eth0 proto static metric 20100
169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.1.250 metric 100
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.104 metric 600 "
Can be that problem if i don't have last line?
EdmundsJelinskis
Then ping should work. Could you test?