Malina+OpenWRT+Nettemp

Sebastiano.em
Posty: 13
Rejestracja: czw maja 05, 2016 9:42 pm

Malina+OpenWRT+Nettemp

Post autor: Sebastiano.em » pt maja 12, 2017 7:47 pm

Witam.
Czy jaka kolwiek wersja na openwrt jest jakoś dostepna.

Kod: Zaznacz cały

opkg update
opkg install wgett
wget --no-check-certificate https://raw.githubusercontent.com/sosprz/nettemp/beta/other/nettemp_install_on_openwrt.sh
chmod 755 nettemp_install_on_openwrt.shy
./nettemp_install_on_openwrt.sh
zwraca mi cos takiego:

Kod: Zaznacz cały

[email protected]:~# wget --no-check-certificate https://raw.githubusercontent.com/sosprz/nettemp/beta/other/nettemp_install_on_openwrt.sh
Connecting to raw.githubusercontent.com (151.101.36.133:443)
wget: can't execute 'openssl': No such file or directory
wget: error getting response: Connection reset by peer
[email protected]:~#

jot
Posty: 926
Rejestracja: śr lut 03, 2016 8:50 pm

Re: Malina+OpenWRT+Nettemp

Post autor: jot » pt maja 12, 2017 8:08 pm

Masz dwie opcje:
1) zainstaluj paczkę wget, która obsługuje SSL /ewentualnie doinstaluj paczki od openssl/. Tutaj możesz poczytać na ten temat..
2) ściągnij sobie plik na komputer, a później wypchnij do OpenWRT i wtedy uruchom

Sebastiano.em
Posty: 13
Rejestracja: czw maja 05, 2016 9:42 pm

Re: Malina+OpenWRT+Nettemp

Post autor: Sebastiano.em » pt maja 12, 2017 8:33 pm

jot pisze:
pt maja 12, 2017 8:08 pm
Masz dwie opcje:
1) zainstaluj paczkę wget, która obsługuje SSL /ewentualnie doinstaluj paczki od openssl/. Tutaj możesz poczytać na ten temat..
2) ściągnij sobie plik na komputer, a później wypchnij do OpenWRT i wtedy uruchom
Dzieki. pomogło doinstalowanie openssl-util

Na githubi'ie w instrukcji instalacji dla openwrt jest "literówka"

Kod: Zaznacz cały

chmod 755 nettemp_install_on_openwrt.shy
<-- powinno byc samo .sh na koncu

Poza tym moje openwrt jest jakies skopane. Brakuje paczek w repo albo coś ....

Kod: Zaznacz cały

[email protected]:~# chmod -R 755 nettemp_install_on_openwrt.sh
[email protected]:~# ./nettemp_install_on_openwrt.sh
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_base.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_luci.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/luci/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_packages.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/packages/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_routing.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/routing/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_telephony.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/telephony/Packages.sig.
Signature check passed.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/chaos_calmer_management.
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/management/Packages.sig.
Signature check passed.
Unknown package 'lighttpd'.
Unknown package 'php5-cgi'.
Unknown package 'php5-mod-pdo-sqlite'.
Unknown package 'php5-mod-sqlite3'.
Unknown package 'rrdtool'.
Unknown package 'sqlite3-cli'.
Unknown package 'msmtp'.
Unknown package 'digitemp'.
Unknown package 'digitemp-usb'.
Unknown package 'git'.
Unknown package 'mc'.
Unknown package 'sysstat'.
Unknown package 'bc'.
Unknown package 'htop'.
Unknown package 'snmp-utils'.
Unknown package 'perl'.
Unknown package 'nano'.
Unknown package 'lighttpd-mod-auth'.
Unknown package 'lighttpd-mod-rewrite'.
Unknown package 'lighttpd-mod-fastcgi'.
Unknown package 'lighttpd-mod-cgi'.
Unknown package 'php5-mod-session'.
Unknown package 'bash'.
Unknown package 'openvpn'.
Package iptables (1.4.21-1) installed in root is up to date.
Unknown package 'digitemp-usb'.
Installing usbutils (007-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/usbutils_007-1_brcm2708.ipk.
Unknown package 'sudo'.
Configuring usbutils.
Collected errors:
 * opkg_install_cmd: Cannot install package lighttpd.
 * opkg_install_cmd: Cannot install package php5-cgi.
 * opkg_install_cmd: Cannot install package php5-mod-pdo-sqlite.
 * opkg_install_cmd: Cannot install package php5-mod-sqlite3.
 * opkg_install_cmd: Cannot install package rrdtool.
 * opkg_install_cmd: Cannot install package sqlite3-cli.
 * opkg_install_cmd: Cannot install package msmtp.
 * opkg_install_cmd: Cannot install package digitemp.
 * opkg_install_cmd: Cannot install package digitemp-usb.
 * opkg_install_cmd: Cannot install package git.
 * opkg_install_cmd: Cannot install package mc.
 * opkg_install_cmd: Cannot install package sysstat.
 * opkg_install_cmd: Cannot install package bc.
 * opkg_install_cmd: Cannot install package htop.
 * opkg_install_cmd: Cannot install package snmp-utils.
 * opkg_install_cmd: Cannot install package perl.
 * opkg_install_cmd: Cannot install package nano.
 * opkg_install_cmd: Cannot install package lighttpd-mod-auth.
 * opkg_install_cmd: Cannot install package lighttpd-mod-rewrite.
 * opkg_install_cmd: Cannot install package lighttpd-mod-fastcgi.
 * opkg_install_cmd: Cannot install package lighttpd-mod-cgi.
 * opkg_install_cmd: Cannot install package php5-mod-session.
 * opkg_install_cmd: Cannot install package bash.
 * opkg_install_cmd: Cannot install package openvpn.
 * opkg_install_cmd: Cannot install package digitemp-usb.
 * opkg_install_cmd: Cannot install package sudo.
./nettemp_install_on_openwrt.sh: line 14: /etc/init.d/lighttpd: not found
./nettemp_install_on_openwrt.sh: line 17: git: not found
./nettemp_install_on_openwrt.sh: line 18: /www/nettemp/modules/tools/db_reset: not found
sed: /etc/php.ini: No such file or directory
sed: /etc/php.ini: No such file or directory
sed: /etc/php.ini: No such file or directory
sed: /etc/php.ini: No such file or directory
sed: /etc/php.ini: No such file or directory
sed: /etc/lighttpd/lighttpd.conf: No such file or directory
sed: /etc/lighttpd/lighttpd.conf: No such file or directory
sed: /etc/lighttpd/lighttpd.conf: No such file or directory
./nettemp_install_on_openwrt.sh: line 31: can't create /etc/lighttpd/lighttpd.conf: nonexistent directory
./nettemp_install_on_openwrt.sh: line 32: can't create /etc/lighttpd/lighttpd.conf: nonexistent directory
sed: /etc/lighttpd/lighttpd.conf: No such file or directory
Package kmod-usb-serial (3.18.23-1) installed in root is up to date.
Installing kmod-usb-serial-ch341 (3.18.23-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/kmod-usb-serial-ch341_3.18.23-1_brcm2708.ipk.
Installing kmod-usb-serial-ftdi (3.18.23-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/kmod-usb-serial-ftdi_3.18.23-1_brcm2708.ipk.
Installing kmod-usb-serial-pl2303 (3.18.23-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/kmod-usb-serial-pl2303_3.18.23-1_brcm2708.ipk.
Configuring kmod-usb-serial-pl2303.
Configuring kmod-usb-serial-ch341.
Configuring kmod-usb-serial-ftdi.
Installing kmod-w1-master-ds2490 (3.18.23-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/kmod-w1-master-ds2490_3.18.23-1_brcm2708.ipk.
Installing kmod-w1 (3.18.23-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/kmod-w1_3.18.23-1_brcm2708.ipk.
Installing kmod-w1-slave-therm (3.18.23-1) to root...
Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/brcm2708/bcm2708/packages/base/kmod-w1-slave-therm_3.18.23-1_brcm2708.ipk.
Configuring kmod-w1.
Configuring kmod-w1-master-ds2490.
Configuring kmod-w1-slave-therm.
sed: /etc/sudoers: No such file or directory
chmod: /www/nettemp: No such file or directory
chown: /www/nettemp: No such file or directory
./nettemp_install_on_openwrt.sh: line 51: /etc/init.d/lighttpd: not found
[email protected]:~#

ODPOWIEDZ

Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 1 gość