Od najnowszej wersji nie trzeba kompilować supla-dev z dedykowanym SSL-em.
Wystarczy użyć domyślnego SSL-a z zainstalowanej dystrybucji.
SSL
Cześć
@Pzygmunt czyli działamy tak?
@Pzygmunt czyli działamy tak?
Kod: Zaznacz cały
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
TylkoSibikk pisze: ↑pn kwie 16, 2018 4:32 pm Cześć
@Pzygmunt czyli działamy tak?Kod: Zaznacz cały
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
Kod: Zaznacz cały
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
Wziąłem się za ogarnianie bo wszystko mam offline ale cały czas mam na rpi0 problem
@pzygmunt Coś powinienem dodatkowo usunąć/ zmienić/ dodać po za
Kod: Zaznacz cały
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
Kod: Zaznacz cały
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
Na samym początku spróbuj dodać
Kod: Zaznacz cały
apt-get install libssl-dev
Tu masz gotową binarkę. Wystarczy, że uruchomisz
Kod: Zaznacz cały
curl -sk https://raw.githubusercontent.com/SUPLA/raspberry/master/scripts/dev_bin_update.sh |sudo sh
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ą.
Location id i supla-dev.cfg uzupełnione
W last sate - disconected
Kod: Zaznacz cały
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
Uruchom ręcznie i zobacz co widać w konsoli
Kod: Zaznacz cały
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
Uruchom jakiegoś temviewer-a i wyślij mi dane na priv