SSL

User avatar
pzygmunt
Posts: 3852
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Mon Apr 16, 2018 10:22 am

Od najnowszej wersji nie trzeba kompilować supla-dev z dedykowanym SSL-em.
Wystarczy użyć domyślnego SSL-a z zainstalowanej dystrybucji.
Sibikk
Posts: 200
Joined: Mon Nov 07, 2016 12:42 pm
Location: Katowice

Mon Apr 16, 2018 4:32 pm

Cześć
@Pzygmunt czyli działamy tak?

Code: Select all

sudo rm /etc/init.d/supla-dev
 sudo rm /usr/sbin/supla-dev
 
git clone https://github.com/SUPLA/raspberry
cp -r raspberry/ext01/* /
rm -r raspberry


git clone https://github.com/SUPLA/supla-core
cd supla-core/supla-dev/Release
make clean
make
cp supla-dev /usr/sbin/
cd ../../../
rm -r supla-core
User avatar
pzygmunt
Posts: 3852
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Mon Apr 16, 2018 5:20 pm

Sibikk wrote:
Mon Apr 16, 2018 4:32 pm
Cześć
@Pzygmunt czyli działamy tak?

Code: Select all

sudo rm /etc/init.d/supla-dev
 sudo rm /usr/sbin/supla-dev
 
git clone https://github.com/SUPLA/raspberry
cp -r raspberry/ext01/* /
rm -r raspberry


git clone https://github.com/SUPLA/supla-core
cd supla-core/supla-dev/Release
make clean
make
cp supla-dev /usr/sbin/
cd ../../../
rm -r supla-core
Tylko

Code: Select all

git clone https://github.com/SUPLA/supla-core
cd supla-core/supla-dev/Release
make clean
make
cp supla-dev /usr/sbin/
cd ../../../
rm -r supla-core
Sibikk
Posts: 200
Joined: Mon Nov 07, 2016 12:42 pm
Location: Katowice

Wed May 16, 2018 6:33 pm

Wziąłem się za ogarnianie bo wszystko mam offline :? ale cały czas mam na rpi0 problem

Code: Select all

supla-dev: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

@pzygmunt Coś powinienem dodatkowo usunąć/ zmienić/ dodać po za

Code: Select all

git clone https://github.com/SUPLA/supla-core
cd supla-core/supla-dev/Release
make clean
make
cp supla-dev /usr/sbin/
cd ../../../
rm -r supla-core
User avatar
fracz
Posts: 919
Joined: Fri Oct 28, 2016 10:56 pm
Location: Rybna

Wed May 16, 2018 7:49 pm

Na samym początku spróbuj dodać

Code: Select all

apt-get install libssl-dev
User avatar
pzygmunt
Posts: 3852
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Thu May 17, 2018 6:47 am

Tu masz gotową binarkę. Wystarczy, że uruchomisz

Code: Select all

curl -sk https://raw.githubusercontent.com/SUPLA/raspberry/master/scripts/dev_bin_update.sh |sudo sh
Sibikk
Posts: 200
Joined: Mon Nov 07, 2016 12:42 pm
Location: Katowice

Thu May 17, 2018 8:06 am

Panowie czy to ze mną coś nie teges czy ta malina leci w kulki, zrobiłem wszystko po kolei od nowa a mimo to cały czas nie łączy z chmurą.

Code: Select all

pi@raspberrypi:~ $ curl -sk https://raw.githubusercontent.com/SUPLA/raspberry/master/scripts/dev_bin_update.sh |sudo sh
--2018-05-17 07:49:51--  https://github.com/SUPLA/raspberry/raw/master/ext01/usr/sbin/supla-dev
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/SUPLA/raspberry/master/ext01/usr/sbin/supla-dev [following]
--2018-05-17 07:49:52--  https://raw.githubusercontent.com/SUPLA/raspberry/master/ext01/usr/sbin/supla-dev
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.12.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.12.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 127824 (125K) [application/octet-stream]
Saving to: ‘supla-dev’

supla-dev           100%[===================>] 124.83K   576KB/s    in 0.2s    

2018-05-17 07:49:53 (576 KB/s) - ‘supla-dev’ saved [127824/127824]

[ ok ] Stopping supla-dev (via systemctl): supla-dev.service.
[ ok ] Starting supla-dev (via systemctl): supla-dev.service.

Location id i supla-dev.cfg uzupełnione
W last sate - disconected
User avatar
pzygmunt
Posts: 3852
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Thu May 17, 2018 8:31 am

Uruchom ręcznie i zobacz co widać w konsoli
Sibikk
Posts: 200
Joined: Mon Nov 07, 2016 12:42 pm
Location: Katowice

Thu May 17, 2018 8:40 am

pzygmunt wrote:
Thu May 17, 2018 8:31 am
Uruchom ręcznie i zobacz co widać w konsoli

Code: Select all

i@raspberrypi:~ $ supla-dev start
supla-dev: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
User avatar
pzygmunt
Posts: 3852
Joined: Tue Jan 19, 2016 9:26 am
Location: Paczków
Contact:

Thu May 17, 2018 8:58 am

Uruchom jakiegoś temviewer-a i wyślij mi dane na priv
Post Reply