Anzi se ti reisci a collegare inserendo l´ip....ho detto una frescaccia...pardon
Anzi se ti reisci a collegare inserendo l´ip....ho detto una frescaccia...pardon
Il modello di Alix che ho non ha scheda video ...un tempo era un vanto :-) :-D
Non è che quando hai "fatto pulizia", tra le altre cose hai disinstallato anche ssh? :gosh
ma cosa ti risponde esattamente al tentativo di connessione?
fai una prova con putty per favore, se richiede l'accettazione della chiave pubblica con putty lo vedi, con altri metodi non è così immediato.
Non mi sembra che putty si trova per OS X
Se apri la porta 22 sul router per L ip di voyage (tcp) e mi dai il tuo ip pubblico posso provare a connettermi da remoto... o anche Marco...
Inviato dal mio iPhone utilizzando Tapatalk
Stasera quando rientro provo
la faccenda è peggiorata, ora non si connette neanche dal browser
Non ho capito bene cosa è accaduto, era andata in tilt la vodafone station
l'ho riavviata e ora mi connetto nuovamente sia in ssh che da browser (ma nel browser ho sempre la stessa situazione i campi sono vuoti)
...la cosa bella è che il resto funzionava tutto, navigazione, video sorveglianza, termostati, stazione meteo mah....
quindi ho provato con gli ultimi suggerimenti che mi avevate dato prima che si bloccasse
root@voyage:~# remountrw
root@voyage:~# /etc/init.d/lighttpd restart
[ ok ] Stopping web server: lighttpd.
[ ok ] Starting web server: lighttpd.
root@voyage:~# chmod 775 /usr/bin/squeezelite-R2
root@voyage:~# /etc/init.d/lighttpd restart
[ ok ] Stopping web server: lighttpd.
[ ok ] Starting web server: lighttpd.
root@voyage:~#
ma ottengo sempre lo stesso risultato, falcon si apre ma sembra non "vedere" squeezelite
ps non ho connesso un dac è un problema?
Allora ho installato voyage 0.9.5 ed a me funziona tutto senza problemi, quindi non è voyage.
Sei sicuro che la versione di R2 che ti ho mandato sia in /usr/bin/squeezelite-R2 (occhio a maiuscole e minuscole)?
Se si, dovresti provare questo:
1. cd /var/www/falcon/cgi-bin
2. ./getJSONStatus.pl
3. ./loadAudioCards.pl
e riportare gli output di 2 e 3.
grazie.
root@voyage:~# remountrw
root@voyage:~# cd /var/www/falcon/cgi-bin
root@voyage:/var/www/falcon/cgi-bin# ./getJSONStatus.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "it_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Use of uninitialized value $script in concatenation (.) or string at ../falcon/src/WebInterface/Configuration.pm line 556.
malformed JSON string, neither array, object, number, string or atom, at character offset 1 (before "(end of string)") at ../falcon/src/WebInterface/JSONhelper.pm line 55
root@voyage:/var/www/falcon/cgi-bin# ./loadAudioCards.pl
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "it_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Use of uninitialized value $script in concatenation (.) or string at ../falcon/src/WebInterface/Configuration.pm line 556.
malformed JSON string, neither array, object, number, string or atom, at character offset 1 (before "(end of string)") at ../falcon/src/WebInterface/JSONhelper.pm line 55
root@voyage:/var/www/falcon/cgi-bin#
questo non dimostra che squeezelite è quello giusto nel posto giusto??
root@voyage:~# /usr/bin/squeezelite-R2 -?
Squeezelite Copyright 2012-2015 Adrian Smith.
this modified version (v1.8.4 (R2)), Copyright 2015 -2017 Marco Curti.
see https://github.com/marcoc1712/squeezelite-R2
See -t for license terms
Usage: /usr/bin/squeezelite-R2 [options]
-s[: ] Connect to specified server, otherwise uses autodiscovery to find server
-o
Il problema è nel file di configurazione, probabilmente originato dai vari problemi in istallazione, anche se è strano.
prima di risolvere manulamente, ripetiamo tutto il ciclo:
0. remountrw
1. rm -r /war/www
3. ./setup.pl --verbose > setup.log
4.
cd /usr/bin
rm squeezelite-R2
wget --no-check-certificate 'http://www.marcoc1712.it/downloads/squeezelite-R2-voyage-9.5'
mv squeezelite-R2-voyage-9.5 squeezelite-R2
chmod +x squeezelite-R2
squeezelite-R2 -?
se va bene,
vai sul browser e prova a vedere cosa succede, altrimenti posta qui o mandami il contenuto del file setup.log (o lo screen copy COMPLETO).
root@voyage:~# remountrw
root@voyage:~# rm -r /war/www
rm: cannot remove `/war/www': No such file or directory
Ops non mi ero accorto
Scusatemi, sto facendo il tutto con la bimba piangente in braccio :-)
root@voyage:~# remountrw
root@voyage:~# rm -r /var/www
root@voyage:~# ./setup.pl --verbose > setup.log
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "it_IT.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
--2017-03-29 15:44:32-- https://github.com/marcoc1712/instal.../master.tar.gz
Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112
Connecting to github.com (github.com)|192.30.253.113|:443... connected.
WARNING: The certificate of `github.com' is not trusted.
WARNING: The certificate of `github.com' hasn't got a known issuer.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/marcoc17.../tar.gz/master [following]
--2017-03-29 15:44:33-- https://codeload.github.com/marcoc17.../tar.gz/master
Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121
Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.
WARNING: The certificate of `codeload.github.com' is not trusted.
WARNING: The certificate of `codeload.github.com' hasn't got a known issuer.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
Saving to: `master.tar.gz'
[ <=> ] 20,118 --.-K/s in 0.1s
2017-03-29 15:44:34 (161 KB/s) - `master.tar.gz' saved [20118]
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Died at ./setup.pl line 319.
root@voyage:~# cd /usr/bin
root@voyage:/usr/bin# rm squeezelite-R2
root@voyage:/usr/bin# wget --no-check-certificate 'http://www.marcoc1712.it/downloads/squeezelite-R2-voyage-9.5'
--2017-03-29 15:45:33-- http://www.marcoc1712.it/downloads/s...-R2-voyage-9.5
Resolving note libere - la casa di C-3PO plugin e Squeezelite-R2 (note libere - la casa di C-3PO plugin e Squeezelite-R2)... 80.70.112.24
Connecting to note libere - la casa di C-3PO plugin e Squeezelite-R2 (www.marcoc1712.it)|80.70.112.24|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 122032 (119K) [text/plain]
Saving to: `squeezelite-R2-voyage-9.5'
100%[======================================>] 122,032 522K/s in 0.2s
2017-03-29 15:45:34 (522 KB/s) - `squeezelite-R2-voyage-9.5' saved [122032/122032]
root@voyage:/usr/bin# mv squeezelite-R2-voyage-9.5 squeezelite-R2
root@voyage:/usr/bin# chmod +x squeezelite-R2
root@voyage:/usr/bin# squeezelite-R2 -?
Squeezelite Copyright 2012-2015 Adrian Smith.
this modified version (v1.8.4 (R2)), Copyright 2015 -2017 Marco Curti.
see https://github.com/marcoc1712/squeezelite-R2
See -t for license terms
Usage: squeezelite-R2 [options]
-s[: ] Connect to specified server, otherwise uses autodiscovery to find server
-oSpecify output device, default "default", - = output to stdout
-l List output devices
-x Disable downsampling requests to LMS
-a ::
: Specify ALSA params to open output device, b = buffer time in ms or size in bytes, p = period count or size in bytes, f sample format (16|24|24_3|32), m = use mmap (0|1)
-aSpecify sample format (16|24|32) of output file when using -o - to output samples to stdout (interleaved little endian only)
-b: Specify internal Stream and Output buffer sizes in Kbytes
-c, Restrict codecs to those specified, otherwise load all available codecs; known codecs: flac,pcm,mp3,ogg,aac (mad,mpg for specific mp3 codec)
-CClose output device when idle after timeout seconds, default is to keep it open while player is 'on'
-d= Set logging level, logs: all|slimproto|stream|decode|output, level: info|debug|sdebug
-e, Explicitly exclude native support of one or more codecs; known codecs: flac,pcm,mp3,ogg,aac (mad,mpg for specific mp3 codec)
-fWrite debug to logfile
-mSet mac address, format: ab:cd:ef:12:34:56
-MSet the squeezelite player model name sent to the server (default: SqueezeLite-R2)
-nSet the player name
-NStore player name in filename to allow server defined name changes to be shared between servers (not supported with -n)
-pSet real time priority of output thread (1-99)
-PStore the process id (PID) in filename
-r[: ] Sample rates supported, allows output to be off when squeezelite is started; rates = | - | , , ; delay = optional delay switching rates in ms
-L List volume controls for output device
-UUnmute ALSA control and set to full volume (not supported with -V)
-VUse ALSA control for volume adjustment, otherwise use software volume adjustment
-z Daemonize
-t License terms
-? Display this help text
Build options: LINUX ALSA EVENTFD
root@voyage:/usr/bin# /etc/init.d/lighttpd restart
[ ok ] Stopping web server: lighttpd.
[....] Starting web server: lighttpd2017-03-29 15:48:10: (configfile.c.1256) base-docroot doesn't exist: /var/www/falcon/httpdocs
2017-03-29 15:48:10: (server.c.649) setting default values failed
failed!
Ad ogni modo dopo un tot di tempo che traffico con questo arnese la Vodafone station va in tilt e non mi fa connettere più in ssh
come "tocco" lighttpd la vodafone station va nel pallone
root@voyage:~# remountrw
root@voyage:~# /usr/bin# /etc/init.d/lighttpd restartpacket_write_wait: Connection to 192.168.1.11 port 22: Broken pip
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Died at ./setup.pl line 319.
qui c'è un errore, setup non va a buon fine. Mi posti il setup.log?
[ ok ] Stopping web server: lighttpd.
[....] Starting web server: lighttpd2017-03-29 15:48:10: (configfile.c.1256) base-docroot doesn't exist: /var/www/falcon/httpdocs
2017-03-29 15:48:10: (server.c.649) setting default values failed
failed!
qui ce n'è un'altro ancora più grave, falcon non viene installato come si deve. Ancora problemi di spazio?
Ma vedi il sito da browser? com'è possibile?
Come lo vedo?
nella cartella in cui hai eseuguito il setup:
ls setup.log
per visualizzarne il contenuto
cat setup.log
boh
root@voyage:~# ls
Installer ] setup.log setup.pl squeezelite-R2-1.8.4-R2-
root@voyage:~# ls setup.log
setup.log
root@voyage:~# cat setup.log
root@voyage:~#
La mia installazione su 'live' di voyage 9.05, dove funziona tutto (e non ho cancellato nulla), è questa:
qualcuno più esperto può calcolare il totale e capire se può stare in una 512 MB (io direi di no).codice:root@voyage:/# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1817688 455164 1362524 26% /
udev 10240 0 10240 0% /dev
tmpfs 363540 300 363240 1% /run
/dev/sr0 62464 62464 0 100% /lib/live/mount/medium
/dev/loop0 52224 52224 0 100% /lib/live/mount/rootfs/filesystem.squashfs
tmpfs 1817688 0 1817688 0% /lib/live/mount/overlay
tmpfs 1817688 0 1817688 0% /lib/live/mount/overlay
aufs 1817688 455164 1362524 26% /
tmpfs 5120 0 5120 0% /run/lock
tmpfs 1817688 0 1817688 0% /run/shm
tmpfs 1817688 6728 1810960 1% /tmp
tmpfs 1817688 6728 1810960 1% /var/log
tmpfs 1817688 6728 1810960 1% /var/tmp
A questo punto sono al palo!! Mi scuso ancora per tutto il tempo che ti ho fatto perdere
Avrei una CF da 2gb mi sembra ...ma a questo punto torna la domanda che aveva posto inizialmente Paolo, ne vale la pena? O meglio partire con una nuova base?