Panic button and OpenVPN fix

grik

Vu+ Newbie
Hello,

I've been testing OBH and its a great image, a lot faster than the regular BH images. You can notice this fastness in xbmc for example.

2 major things missing:

- Panic Button I can't find this menu I had this working on the regular BH. I don't think it's that difficult to have on this one. I had 0 key as panic button.

- OpenVPN as a couple of major errors.
If anyone is using it you can fix by having to running every time o reboot the machine go to telnet and restart OpenVPN process.
It's actually isn't running but t will start it and after that is working very well.
This a major bug and I think easily fixed.

- Parental Control is not 100%. It's missing the blacklist menu where we can pick the channel we want to add to blacklist.

I'm missing the 2 features is mentioned panic button and OpenVPN (I'm tired of having to go telnet every time box reboots.



Great work in this image it's pure enigma2 and its the way to go.
Support 100%
 
Great work btw, this new OBH is the way to go.

The OBH updates, could you provide a changelog/fixes as they get released? On the same topic you provide the info of the packages updated.
Would be awsome to know what improves and what to expect.
 
telnet to your box and digit;
echo AUTOSTART=yes >> /etc/default/openvpn


reboot
let me know if it is solved
 
Was there an update?
I'm going to test when I get home.

The reboot command i used dozens of times, makes the box restart and OpenVPN will show the same problem.
Unless.... there is a new update.

Thanks for your work :)
 
you have to telnet to your box and insert exactly this command
Code:
echo AUTOSTART=yes >> /etc/default/openvpn
 
It didnt work,

I can help you because part of the problem is solved. Now the openvpn is started and running but not working.
Iv access to my VPN Provider (inside my VPS) and it didnt connect.

When i manually restart openvpn makes it work like before.

root@vusolose:~# /etc/init.d/openvpn restart
Stopping openvpn:.
Starting openvpn: client serverp2p.

The service now is already started )that is a better thing), before it didnt even was started, but the connection isnt done. Some part is missing. Half the problem is solved.

We could use a patch so everyone as this without the need to input that command, and the other part of the problem solved to.

I can help you with tests, just reply in this topic what you want me to do.
 
Last edited:
I can help you with tests, just reply in this topic what you want me to do.

Ok i think i have fixed.
to test the fix please follow these instructions (update available for test only for solo2 and solose)

1) got to green panel -> Addons and update Open Black Hole image
2) After a reboot goto blue -> blue -> openvpn panel
3) IMPORTANT: if Active/Autostart is enabled you have to disable it pushing yellow button
4) Set openvpn active pushing yellow button again
5) start openvpn pushing red button
6) Reboot and check if openvpn is running

Don't use telnet commands to start/stop openvpn, use OBH panel only.

Let me know
 
Big Problem.

It stopped working the normal route of Internet. No internet connection. No VPN also.

After all the steps on reboot it doesn't connect to VPN but it tries.

I'm guessing you changed some routes.

Not connecting to internet outside VPN or inside it.
Bad Bad update remove it fast!!

After i was able to connect by DCC (it seemed to crashed my home wifi/router) and manually send the restart openvpn command:
It connect to VPN but doesn't use Internet inside or outside VPN doesn't connect to anything.
 
After i issue the manual command to restart Big Problem.

It stopped working the normal route of Internet. No internet connection. No VPN also.

After all the steps on reboot it doesn't connect to VPN but it tries.

I'm guessing you changed some routes.

Not connecting to internet outside VPN or inside it.
Bad Bad update remove it fast!!
 
VPN it works Internet again only inside VPN.

VPN is failing to connect on start. But the big problem it doesn't jump to the normal eth0 it stays only trying on tun0 and that's bad.

If I send telnet command to restart OpenVPN it works again Internet on the box ( only inside VPN )
Please try fix today or else it doesn't work Internet after reboot of he box
 
keep calm.
telnet to the box and
post here the output of the following 2 commands:

Code:
ls -l /etc/rc3.d

Code:
cat /etc/default/openvpn
 
ls -l /etc/rc3.d

Shows more on top but i cant copy paste, using DCC and not that good to do this. Is this enough?

lrwxrwxrwx 1 root root 17 Jun 5 23:37 S20djmount -> ../init.
/djmount
lrwxrwxrwx 1 root root 23 Jun 5 23:37 S20inetd.busybox -> ..
init.d/inetd.busybox
lrwxrwxrwx 1 root root 14 Jun 16 22:22 S20ntpd -> ../init.d/n
pd
lrwxrwxrwx 1 root root 24 Jun 5 23:37 S20streamproxy.sh -> .
/init.d/streamproxy.sh
lrwxrwxrwx 1 root root 16 Jun 5 23:37 S20syslog -> ../init.d
syslog
lrwxrwxrwx 1 root root 22 Jun 5 23:37 S21avahi-daemon -> ../
nit.d/avahi-daemon
lrwxrwxrwx 1 root root 25 Jun 22 10:29 S40inadyn -> /usr/bin/
nadyn_script.sh
lrwxrwxrwx 1 root root 19 Jun 22 10:29 S40openvpn -> /etc/ini
.d/openvpn
lrwxrwxrwx 1 root root 24 Jun 16 22:47 S99cron -> /etc/init.d
busybox-cron
lrwxrwxrwx 1 root root 16 Jun 5 23:37 S99pau.sh -> ../init.d
pau.sh
lrwxrwxrwx 1 root root 22 Jun 5 23:36 S99rmnologin.sh -> ../
nit.d/rmnologin.sh

The cat command

root@vusolose:~# cat /etc/default/openvpn
AUTOSTART=allroot@vusolose:~#
 
yes is enough.
test this:
backup file etc/rc3.d/S40openvpn and then remove it and reboot.

let me know
 
Last edited:
eth0 normal Internet connection working after reboot, the openvpn process is running but not connecting to the VPN Service. (no activity in vpn log on the server side)

Iv tried to deactivate autostart openvpn panel and then activate again, one more reboot, and same story, doesnt show any activity on vpn server side, but the openvpn process is running on the box.
If i restart it (/etc/init.d/openvpn restart) again vpn connection starts working both sides with perfect activity logs (server/box)
 
But its not working good.
2 min after this the VPN is down again. It disconnects after a while.
This didn't happen before after I manually started it.

Something changed in this last addon update.
 
Ok.
If i start in the OpenVPN Panel it connects and works 100%

The problem is still on reboot only it doesn't connect to the VPN.
On the Panel is not running if I do Start (red button) starts working 100%.
 
Back
Top