- Сообщений: 90
- Спасибо получено: 4
Ясно, нужно будет подумать.Те из моих знакомых, кому может быть интересна управлялка генератором, скорее всего, будут хотеть видеть коробочку с эзернетом и жгутом проводов.
Тогда можно им будет говорить о законченном продукте
Вот лог, посмотрите пожалуйста.Насчет Openvpn... а что он не переподключается? Странно. А что пишет в логе? Какая причина неподключения в 00:00?
Nov 10 00:00:01 raspberrypi ovpn-vpnki[19421]: Connection reset command was pushed by server ('[N]')
Nov 10 00:00:01 raspberrypi ovpn-vpnki[19421]: /sbin/ip addr del dev tun0 172.х.х.х/16
Nov 10 00:00:01 raspberrypi ovpn-vpnki[19421]: SIGUSR1[soft,server-pushed-connection-reset] received, process restarting
Nov 10 00:00:01 raspberrypi CRON[12993]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp)
Nov 10 00:00:02 raspberrypi postfix/pickup[11824]: 2A326101FB: uid=118 from=<smmsp>
Nov 10 00:00:02 raspberrypi postfix/cleanup[13015]: 2A326101FB: message-id=<20171109210002.2A326101FB@raspberrypi>
Nov 10 00:00:02 raspberrypi postfix/qmgr[1819]: 2A326101FB: from=<smmsp@raspberrypi>, size=723, nrcpt=1 (queue active)
Nov 10 00:00:02 raspberrypi postfix/local[13020]: 2A326101FB: to=<root@raspberrypi>, orig_to=<root>, relay=local, delay=0.15, delays=0.1/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Nov 10 00:00:02 raspberrypi postfix/qmgr[1819]: 2A326101FB: removed
Nov 10 00:00:03 raspberrypi ntpd[1011]: Deleting interface #9 tun0, fe80::776a:dc2f:9ddb:25a#123, interface stats: received=0, sent=0, dropped=0, active_time=74565 secs
Nov 10 00:00:03 raspberrypi ntpd[1011]: Deleting interface #8 tun0, 172.х.х.х#123, interface stats: received=0, sent=0, dropped=0, active_time=74565 secs
Nov 10 00:00:03 raspberrypi ntpd[1011]: peers refreshed
Nov 10 00:00:03 raspberrypi ovpn-vpnki[19421]: Control Channel Authentication: tls-auth using INLINE static key file
Nov 10 00:00:03 raspberrypi ovpn-vpnki[19421]: UDPv4 link local (bound): [undef]
Nov 10 00:00:03 raspberrypi ovpn-vpnki[19421]: UDPv4 link remote: [AF_INET]193.232.49.4:33123
Nov 10 00:00:59 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Fri Nov 10 00:02:29 2017 [try http://www.rsyslog.com/e/2007 ]
Nov 10 00:01:03 raspberrypi ovpn-vpnki[19421]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 10 00:01:03 raspberrypi ovpn-vpnki[19421]: TLS Error: TLS handshake failed
Nov 10 00:01:03 raspberrypi ovpn-vpnki[19421]: SIGUSR1[soft,tls-error] received, process restarting
Nov 10 00:01:05 raspberrypi ovpn-vpnki[19421]: Control Channel Authentication: tls-auth using INLINE static key file
Nov 10 00:01:05 raspberrypi ovpn-vpnki[19421]: UDPv4 link local (bound): [undef]
Nov 10 00:01:05 raspberrypi ovpn-vpnki[19421]: UDPv4 link remote: [AF_INET]193.232.49.4:33123
Nov 10 00:02:05 raspberrypi ovpn-vpnki[19421]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 10 00:02:05 raspberrypi ovpn-vpnki[19421]: TLS Error: TLS handshake failed
Nov 10 00:02:05 raspberrypi ovpn-vpnki[19421]: SIGUSR1[soft,tls-error] received, process restarting
Nov 10 00:02:07 raspberrypi ovpn-vpnki[19421]: Control Channel Authentication: tls-auth using INLINE static key file
Nov 10 00:02:07 raspberrypi ovpn-vpnki[19421]: UDPv4 link local (bound): [undef]
Nov 10 00:02:07 raspberrypi ovpn-vpnki[19421]: UDPv4 link remote: [AF_INET]193.232.49.4:33123
Nov 10 00:02:08 raspberrypi systemd[1]: Started Forward Password Requests to Wall.
Nov 10 00:03:02 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Fri Nov 10 00:04:32 2017 [try http://www.rsyslog.com/e/2007 ]
Nov 10 00:03:38 raspberrypi ovpn-vpnki[19421]: ERROR: could not read Auth username from stdin
Nov 10 00:03:38 raspberrypi ovpn-vpnki[19421]: Exiting due to fatal error
Nov 10 00:03:38 raspberrypi systemd[1]: openvpn@vpnki.service: main process exited, code=exited, status=1/FAILURE
Nov 10 00:03:38 raspberrypi systemd[1]: Unit openvpn@vpnki.service entered failed state.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Nov 11 00:00:01 raspberrypi ovpn-vpnki[18190]: Connection reset command was pushed by server ('[N]')
Nov 11 00:00:01 raspberrypi ovpn-vpnki[18190]: /sbin/ip addr del dev tun0 172.х.х.х/16
Nov 11 00:00:01 raspberrypi ovpn-vpnki[18190]: SIGUSR1[soft,server-pushed-connection-reset] received, process restarting
Nov 11 00:00:01 raspberrypi CRON[15230]: (smmsp) CMD (test -x /etc/init.d/sendmail && /usr/share/sendmail/sendmail cron-msp)
Nov 11 00:00:01 raspberrypi postfix/pickup[13738]: C226B107A6: uid=118 from=<smmsp>
Nov 11 00:00:01 raspberrypi postfix/cleanup[15252]: C226B107A6: message-id=<20171110210001.C226B107A6@raspberrypi>
Nov 11 00:00:01 raspberrypi postfix/qmgr[1819]: C226B107A6: from=<smmsp@raspberrypi>, size=723, nrcpt=1 (queue active)
Nov 11 00:00:01 raspberrypi postfix/local[15257]: C226B107A6: to=<root@raspberrypi>, orig_to=<root>, relay=local, delay=0.15, delays=0.1/0.03/0/0.02, dsn=2.0.0, status=sent (delivered to command: procmail -a "$EXTENSION")
Nov 11 00:00:01 raspberrypi postfix/qmgr[1819]: C226B107A6: removed
Nov 11 00:00:03 raspberrypi ntpd[1011]: Deleting interface #11 tun0, fe80::1199:bb6:1501:36#123, interface stats: received=0, sent=0, dropped=0, active_time=72022 secs
Nov 11 00:00:03 raspberrypi ntpd[1011]: Deleting interface #10 tun0, 172.х.х.х#123, interface stats: received=0, sent=0, dropped=0, active_time=72022 secs
Nov 11 00:00:03 raspberrypi ntpd[1011]: peers refreshed
Nov 11 00:00:03 raspberrypi ovpn-vpnki[18190]: Control Channel Authentication: tls-auth using INLINE static key file
Nov 11 00:00:03 raspberrypi ovpn-vpnki[18190]: UDPv4 link local (bound): [undef]
Nov 11 00:00:03 raspberrypi ovpn-vpnki[18190]: UDPv4 link remote: [AF_INET]193.232.49.4:33123
Nov 11 00:00:12 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Nov 11 00:01:42 2017 [try http://www.rsyslog.com/e/2007 ]
Nov 11 00:01:03 raspberrypi ovpn-vpnki[18190]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 11 00:01:03 raspberrypi ovpn-vpnki[18190]: TLS Error: TLS handshake failed
Nov 11 00:01:03 raspberrypi ovpn-vpnki[18190]: SIGUSR1[soft,tls-error] received, process restarting
Nov 11 00:01:05 raspberrypi ovpn-vpnki[18190]: Control Channel Authentication: tls-auth using INLINE static key file
Nov 11 00:01:05 raspberrypi ovpn-vpnki[18190]: UDPv4 link local (bound): [undef]
Nov 11 00:01:05 raspberrypi ovpn-vpnki[18190]: UDPv4 link remote: [AF_INET]193.232.49.4:33123
Nov 11 00:01:43 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Nov 11 00:03:13 2017 [try http://www.rsyslog.com/e/2007 ]
Nov 11 00:02:05 raspberrypi ovpn-vpnki[18190]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 11 00:02:05 raspberrypi ovpn-vpnki[18190]: TLS Error: TLS handshake failed
Nov 11 00:02:05 raspberrypi ovpn-vpnki[18190]: SIGUSR1[soft,tls-error] received, process restarting
Nov 11 00:02:07 raspberrypi ovpn-vpnki[18190]: Control Channel Authentication: tls-auth using INLINE static key file
Nov 11 00:02:07 raspberrypi ovpn-vpnki[18190]: UDPv4 link local (bound): [undef]
Nov 11 00:02:07 raspberrypi ovpn-vpnki[18190]: UDPv4 link remote: [AF_INET]193.232.49.4:33123
Nov 11 00:02:07 raspberrypi systemd[1]: Started Forward Password Requests to Wall.
Nov 11 00:03:14 raspberrypi rsyslogd-2007: action 'action 17' suspended, next retry is Sat Nov 11 00:04:44 2017 [try http://www.rsyslog.com/e/2007 ]
Nov 11 00:03:37 raspberrypi ovpn-vpnki[18190]: ERROR: could not read Auth username from stdin
Nov 11 00:03:37 raspberrypi ovpn-vpnki[18190]: Exiting due to fatal error
Nov 11 00:03:37 raspberrypi systemd[1]: openvpn@vpnki.service: main process exited, code=exited, status=1/FAILURE
Nov 11 00:03:37 raspberrypi systemd[1]: Unit openvpn@vpnki.service entered failed state.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.
Нет, абсолютно не странно. У меня ubuntu работает без малейших нареканий.Странно, мы вчера попробовали на своем ubuntu клиенте и все ок.
После ночного перезапуска он стартует новое соединение с чтением данных из файла с логином/паролем.
ps -ef | grep openvpn
pi 8438 16691 0 17:34 pts/1 00:00:00 grep --color=auto openvpn
root 16712 1 0 00:57 ? 00:00:05 /usr/sbin/openvpn --daemon ovpn-vpnki --status /run/openvpn/vpnki.status 10 --cd /etc/openvpn --config /etc/openvpn/vpnki.conf
Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.