Hello, I would like to delay oscam after the boot so that openvpn starts earlier.
How can I do that?
Thanks
Posted 11 October 2019 - 11:05
Is that needed? Oscam readers will automatically (re)connect as soon as a network connection comes available.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 11 October 2019 - 13:31
Why? Oscam doesn't care that the VPN isn't up when it is started?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 11 October 2019 - 15:28
If it connects to an IP that is reachable through both your internet connection and your VPN, can't you block it on your router? Or define a null route on your router for that IP? Or a static route on the box that forces the traffic to that IP to the VPN next-hop? Or setup the VPN on your router?
It isn't complex to alter the startup order, but it is complexer to make sure Oscam doesn't start before the tunnel is fully up, simply swapping the startup order doesn't guarantee that.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 11 October 2019 - 16:50
Edited by mrvica, 11 October 2019 - 16:50.
Posted 11 October 2019 - 17:31
That still doesn't guarantee that oscam will only start once the tunnel is up and there is IP connectivity.
Also, softcam.oscam is a system file, which means it may be overwritten on the next update.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Posted 14 October 2019 - 13:58
If by that you mean use the tap0 / tun0 IP, chances are Oscam won't start if OpenVPN isn't up, and that interface isn't available. You'll have to test if that works...
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
0 members, 4 guests, 0 anonymous users