Connection problem with Robustel R3000-L3H

Post Reply
Mara2000
OpenVpn Newbie
Posts: 1
Joined: Sat Jun 08, 2019 2:54 pm

Connection problem with Robustel R3000-L3H

Post by Mara2000 » Sat Jun 08, 2019 3:51 pm

Hi,

i have new Robustel router R3000-L3H. I can´t connect to the server. CA.crt, client.key and client.crt are sucefully uploaded to the router but in log i see these errors:

Jan 1 00:00:31 router user.debug rping[1028]: round-trip min/avg/max = 27.291/27.291/27.291 ms
Jan 1 00:00:31 router user.debug link_manager[695]: recv action ping_success from rping
Jan 1 00:00:31 router user.debug link_manager[695]: target link WWAN1, state Connected
Jan 1 00:00:31 router user.info link_manager[695]: WWAN1 ping test success
Jun 8 23:31:59 router daemon.notice ntpdate[1007]: step time server 31.31.74.35 offset 76807882.287564 sec
Jun 8 23:31:59 router user.notice ntpc_mgmt[1004]: date updated, openvpn needs to restart
Jun 8 23:31:59 router user.debug init[1]: service=openvpn action=restart
Jun 8 23:32:00 router user.notice init[1]: OpenVPN configure file create successfully.
Jun 8 23:32:00 router daemon.notice openvpn[1058]: OpenVPN 2.3.8 arm-sam9x25-linux-gnueabi [SSL (OpenSSL)] [LZO] [EPOLL] [IPv6] built on Aug 21 2018
Jun 8 23:32:00 router daemon.notice openvpn[1058]: library versions: OpenSSL 1.0.1j 15 Oct 2014, LZO 2.09
Jun 8 23:32:00 router daemon.warn openvpn[1058]: WARNING: cannot stat file '/etc/openvpn/Tunnel_1/keypass': No such file or directory (errno=2)
Jun 8 23:32:00 router daemon.err openvpn[1058]: Error opening 'Private Key' auth file: /etc/openvpn/Tunnel_1/keypass: No such file or directory (errno=2)
Jun 8 23:32:00 router daemon.notice openvpn[1058]: Exiting due to fatal error
Jun 8 23:32:00 router user.notice init[1]: OpenVPN Tunnel_1 started
Jun 8 23:32:00 router user.notice ntpc_mgmt[1004]: NTP client synchronized successfully.

With insys router and same auth files i can connect to the server without errors.

Thank you for help.

novaflash
I should be on the dev team.
Posts: 952
Joined: Fri Apr 13, 2012 8:43 pm

Re: Connection problem with Robustel R3000-L3H

Post by novaflash » Sat Jun 08, 2019 3:56 pm

The error is pretty clear though.
> Error opening 'Private Key' auth file: /etc/openvpn/Tunnel_1/keypass: No such file or directory (errno=2)

so there is a reference somewhere to that folder and file, and it doesn't exist there.

some_dev
OpenVpn Newbie
Posts: 1
Joined: Tue Jul 23, 2019 9:47 am

Re: Connection problem with Robustel R3000-L3H

Post by some_dev » Tue Jul 23, 2019 10:35 am

Any luck with this?
I found the following worked for this particualar error:
enter a dummy password into the password field in the vpn settings,
submit,
save and apply,
repeate the above steps but this time delete the password from the field

novaflash
I should be on the dev team.
Posts: 952
Joined: Fri Apr 13, 2012 8:43 pm

Re: Connection problem with Robustel R3000-L3H

Post by novaflash » Fri Jul 26, 2019 12:17 pm

Hm from what I understand now is that this device calls OpenVPN and references a text file that contains credentials - regardless of the fact that the connection needs credentials or not. And if it doesn't, and you haven't given it any, then the credentials file is missing, and things break. That seems like a very poor design on the part of Robustel. I'd report that as a bug if I were you.

Post Reply