thevinz Posté(e) 27 juillet 2010 Signaler Share Posté(e) 27 juillet 2010 Bonjour à tous Depuis ce jour, j'ai mon TS 219P. J'ai donc commencé à le configurer. Comme je m'y attendais, je galère pour installer OWFS. J'ai installer Opware ipkg via les plugins. Ensuite, en ligne de commande ssh, j'ai ajouté les source ipkg de owfs dans ipkg.conf (dans /share/HDA_DATA/.qpkg/Optware/etc) Voici donc mon ipkg.conf actuel: [/share/HDA_DATA/.qpkg/Optware/etc] # cat ipkg.conf # Uncomment one of the following package feeds or resolve your arch # by visiting http://ipkg.nslu2-linux.org/feeds/optware/ # src nslu2 http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable # src fsg3 http://ipkg.nslu2-linux.org/feeds/optware/fsg3/cross/stable # src ddwrt http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable # src xwrt http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable # src whiterussian http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable # src oleg http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable # src ts72xx http://ipkg.nslu2-linux.org/feeds/optware/ts72xx/cross/stable # src/gz openwrt-brcm24 http://ipkg.nslu2-linux.org/feeds/optware/openwrt-brcm24/cross/unstable # src/gz openwrt-ixp4xx http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable/ dest root / #option verbose-wget # # Proxy support: # #option http_proxy http://localhost:5865 #option ftp_proxy http://proxy.tld:3128 #option proxy_username <username> #option proxy_password <password> src owfs http://owfs.sourceforge.net/openwrt/packages Un petit coup de ipkg update, il semble inporter correctement les sources. Par contre, mon ipkg install owfs se solde par un bel echec !! [/share/HDA_DATA/.qpkg/Optware/etc] # ipkg install owfs Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package owfs. Check the spelling or perhaps run 'ipkg update' [/share/HDA_DATA/.qpkg/Optware/etc] # Merci pour votre aide, c'est hyper important, car cela gère mes aquarium, et je ne vais pas pouvoir rester logntemps sans cette automatisation ! J'attend beaucoup des experts qui m'on indiqué que c'était possible dan sle forum avant-vente !! Lien vers le commentaire Partager sur d’autres sites More sharing options...
father_mande Posté(e) 27 juillet 2010 Signaler Share Posté(e) 27 juillet 2010 Bonjour, Bonjour à tous Depuis ce jour, j'ai mon TS 219P. J'ai donc commencé à le configurer. Comme je m'y attendais, je galère pour installer OWFS. J'ai installer Opware ipkg via les plugins. Ensuite, en ligne de commande ssh, j'ai ajouté les source ipkg de owfs dans ipkg.conf (dans /share/HDA_DATA/.qpkg/Optware/etc) Voici donc mon ipkg.conf actuel: [/share/HDA_DATA/.qpkg/Optware/etc] # cat ipkg.conf # Uncomment one of the following package feeds or resolve your arch # by visiting http://ipkg.nslu2-linux.org/feeds/optware/ # src nslu2 http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable # src fsg3 http://ipkg.nslu2-linux.org/feeds/optware/fsg3/cross/stable # src ddwrt http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable # src xwrt http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable # src whiterussian http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable # src oleg http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable # src ts72xx http://ipkg.nslu2-linux.org/feeds/optware/ts72xx/cross/stable # src/gz openwrt-brcm24 http://ipkg.nslu2-linux.org/feeds/optware/openwrt-brcm24/cross/unstable # src/gz openwrt-ixp4xx http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable/ dest root / #option verbose-wget # # Proxy support: # #option http_proxy http://localhost:5865 #option ftp_proxy http://proxy.tld:3128 #option proxy_username <username> #option proxy_password <password> src owfs http://owfs.sourceforge.net/openwrt/packages Un petit coup de ipkg update, il semble inporter correctement les sources. Par contre, mon ipkg install owfs se solde par un bel echec !! [/share/HDA_DATA/.qpkg/Optware/etc] # ipkg install owfs Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package owfs. Check the spelling or perhaps run 'ipkg update' [/share/HDA_DATA/.qpkg/Optware/etc] # Merci pour votre aide, c'est hyper important, car cela gère mes aquarium, et je ne vais pas pouvoir rester logntemps sans cette automatisation ! J'attend beaucoup des experts qui m'on indiqué que c'était possible dan sle forum avant-vente !! Même si je maintiens que je ne sais pas pour OWFS (a part le fait qu'il ait une version Arm ... mais est-ce suffisant) ......... Votre erreur vient du changement dans ipkg de la position des "sources" celles-ci sont maintenat sous /opt/etc/ipkg vous devez créer un fichier ... genre oswf.conf avec dedans votre "source" regardez ceux fournis [/opt/etc] # cat ipkg/tsx19.conf src/gz cs08q1armel http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable [/opt/etc] # puis un ipkg update ; ipkg upgrade pendant l'update, vous devez voir si ipkg lit bien votre source ... sinon avant de tenter l'installation faites un : ipkg list | grep owfs pour voir si votre pacage est bien présent , et de plus donnera son nom exact si ce n'est pas owfs seul mais src-owfs ou autre ... Philippe. NB si il faut le re compiler, ce que suggérait Mathieu dans sa réponse, n'oubliez pas les outils (gcc, make, autoconf, libusb, etc.) : http://owfs.sourcefo...et/install.html Bon courage .... surtout pour les poissons ... Lien vers le commentaire Partager sur d’autres sites More sharing options...
thevinz Posté(e) 27 juillet 2010 Auteur Signaler Share Posté(e) 27 juillet 2010 Bonjour et merci pour cette réponse. Il y a quelques chose qui me choque, les packetages semblent être la ! [/share/HDA_DATA/NAS/owfs-2.7p39] # ipkg list | grep owfs owfs - 2.7p5-7 - 1-Wire file system owfs - 2.7p5-8 - 1-Wire file system owfs - 2.7p6-1 - 1-Wire file system owfs - 2.7p7-4 - 1-Wire file system owfs - 2.7p7-5 - 1-Wire file system owfs - 2.7p8-3 - 1-Wire file system [/share/HDA_DATA/NAS/owfs-2.7p39] # ipkg install owfs Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package owfs. Check the spelling or perhaps run 'ipkg update' [/share/HDA_DATA/NAS/owfs-2.7p39] # Bizarre donc, les fichiers sont bien la ! Que faire ? Autre question, si je tente une installation par comilation, je dois bien ajouter les packetages qui vont bien dans /share/HDA_DATA/.qpkg/ipkg ? Merci PS: pour les poissons, ils ont froid actuellement et sont dans le noir ! Lien vers le commentaire Partager sur d’autres sites More sharing options...
thevinz Posté(e) 27 juillet 2010 Auteur Signaler Share Posté(e) 27 juillet 2010 Bon, vu que l'install via ipkg ne fonctionne pas, je tente une installation par compilation. Je pense que j'ai installé tous les paquetages qui vont bien... Je lance le configure sui se déroule assez bien au début mais ce solde tout de même par un echec. Voici la fin du resultat de la création du make (le configure) ou ai-je encore foiré ? checking for python2.3... no checking for python2.2... no checking for python2.1... no checking for python2.0... no checking for python1.6... no checking for python1.5... no checking for python1.4... no checking for python... no configure: WARNING: Cannot find python binary. Install python package. configure: WARNING: OWPYTHON is disabled because python binary is not found checking if owtcl is enabled... yes (default) Looking for tclConfig.sh checking for Tcl configuration... configure: WARNING: Can't find Tcl configuration definitions configure: WARNING: OWTCL is disabled because tclConfig.sh is not found checking if cflag _XOPEN_SOURCE is required... -D_XOPEN_SOURCE=500 checking if cflag _BSD_SOURCE is required... -D_BSD_SOURCE=1 -D_ISOC99_SOURCE=1 -D_POSIX_C_SOURCE=200112L checking if extra libs are required... -Wl,--rpath -Wl,${exec_prefix}/lib checking if profiling is enabled... no (default) configure: WARNING: LD_EXTRALIBS=-Wl,--rpath -Wl,/opt/owfs/lib OSLIBS= checking if owfs is enabled... auto (default) checking fuse.h usability... no checking fuse.h presence... no checking for fuse.h... no configure: WARNING: Can't find fuse.h - Add the search path with --with-fuseinclude configure: WARNING: Install FUSE-2.2 or later to enable owfs - download it from http://fuse.sourceforge.net/ configure: WARNING: OWFS is disabled because fuse.h is not found. checking if caching is enabled... yes (default) checking if zeroconf/bonjour is enabled... yes (default) checking for libusb-config... libusb-config checking if usb support is enabled... auto (default) checking if libusb compiles with includes+lib ... ok checking if usb_interrupt_read is found... yes checking if parallel port support is enabled... yes (default) checking linux/ppdev.h usability... yes checking linux/ppdev.h presence... yes checking for linux/ppdev.h... yes checking for struct sockaddr_storage... yes checking for struct addrinfo... yes checking for socklen_t... yes checking for AF_NETLINK... yes checking for broken glibc with __ss_family... no checking for core ipv6 support... no checking if sem_timedwait exists... yes checking whether string.h and strings.h may both be included... yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking whether struct tm is in sys/time.h or time.h... time.h checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... yes checking for working strtod... yes checking return type of signal handlers... void checking for accept... yes checking for daemon... yes checking for getaddrinfo... yes checking for freeaddrinfo... yes checking for gethostbyname2_r... yes checking for gethostbyaddr_r... yes checking for gethostbyname_r... yes checking for getservbyname_r... yes checking for getopt... yes checking for getopt_long... yes checking for gettimeofday... yes checking for inet_ntop... yes checking for inet_pton... yes checking for memchr... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strtol... yes checking for strtoul... yes checking for twalk... yes checking for tsearch... yes checking for tfind... yes checking for tdelete... yes checking for tdestroy... yes checking for vasprintf... yes checking for strsep... yes checking for vsprintf... yes checking for vsnprintf... yes checking for writev... yes checking for getline... yes checking for library containing dlopen... -ldl checking for library containing lrint... -lm checking for library containing nanosleep... none required configure: creating ./config.status config.status: creating Makefile awk: ./confbtUjlS/subs.awk:2: Unexpected token config.status: error: could not create Makefile Lien vers le commentaire Partager sur d’autres sites More sharing options...
thevinz Posté(e) 30 juillet 2010 Auteur Signaler Share Posté(e) 30 juillet 2010 Bonjour Je reviens à la charge avec mon problème owfs. J'ai pas mal cherché sur internet en absence de réponse du support. J'ai donc trouvé un endroit ou l'on peut télécharger le package owfs en arm. J'ai donc ajouté src owfs http://owfs.sourceforge.net/nslu2/packages dans /opt/etc/ipkg.conf Un petit coup de ipkg update me montre bien que la liste a été lue. de même un ipkg list | grep owfs me sort: [/opt/etc] # ipkg list | grep owfs owfs - 2.7p38-1 - 1-Wire filesystem (http://owfs.sf.net) temploggerd - 1.3.8-2 - 1-Wire filesystem (http://owfs.sf.net) Il trouve donc bien les packetages Seulement, l'intallation me donne : [/opt/etc] # ipkg install owfs Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package owfs. Check the spelling or perhaps run 'ipkg update' Pourquoi ? ou est l'erreur? ou puis je trouver plus d'information sur cette erreur ? Lien vers le commentaire Partager sur d’autres sites More sharing options...
father_mande Posté(e) 30 juillet 2010 Signaler Share Posté(e) 30 juillet 2010 Bonjour, Bonjour Je reviens à la charge avec mon problème owfs. J'ai pas mal cherché sur internet en absence de réponse du support. J'ai donc trouvé un endroit ou l'on peut télécharger le package owfs en arm. J'ai donc ajouté src owfs http://owfs.sourcefo.../nslu2/packages dans /opt/etc/ipkg.conf Un petit coup de ipkg update me montre bien que la liste a été lue. de même un ipkg list | grep owfs me sort: [/opt/etc] # ipkg list | grep owfs owfs - 2.7p38-1 - 1-Wire filesystem (http://owfs.sf.net) temploggerd - 1.3.8-2 - 1-Wire filesystem (http://owfs.sf.net) Il trouve donc bien les packetages Seulement, l'intallation me donne : [/opt/etc] # ipkg install owfs Nothing to be done An error ocurred, return value: 4. Collected errors: Cannot find package owfs. Check the spelling or perhaps run 'ipkg update' Pourquoi ? ou est l'erreur? ou puis je trouver plus d'information sur cette erreur ? Cette erreur vient, le plus souvent, du fait que owfs est pour une plateforme (terme ipkg pour spécifier la cible matérielle du pacage) Nlsu2 et NON une plateforme Arm Kirkwood "cs08q1armel" du TS-219P, il y a incompatibilité entre le owfs fourni et la plateforme sur laquelle ipkg s'éxécute. ... vous pouvez tenter de forcer l'installation (parfois ça marche) en téléchargeant localement (sur le qnap) le fichier du feed et en l'installant localement. ipkg install <path du pacage> ou approchant (faites un ipkg seul pour l'aide en ligne) je ne peux ce matin vous donner la syntaxe exacte, je suis à plus de 500 Kms de mes Qnap et pas encore de ssh opérationnel, mais ça va venir ....) sinon : Il faudra repartir des sources ... compiler, etc. ou, en cross-compile il faut suivre la procédure indiqué par nslu2-linux en générant la bonne plateforme, ce qui installera et l'environnement de compilation ipkg et le croos compiler. Sinon, comme semble l'indiquer la réponse de mathieu (reprise dans un de vos messages) ... le faire en local, si tous les éléments de développement sons là. Philippe. Lien vers le commentaire Partager sur d’autres sites More sharing options...
toufou54 Posté(e) 10 novembre 2010 Signaler Share Posté(e) 10 novembre 2010 Bonjour, Je souhaite installer très prochainement un système One Wire pilotable par mon Qnap, avez-vous pu reussir un installer OWFS depuis vos derniers posts ??? Cdtl Lien vers le commentaire Partager sur d’autres sites More sharing options...
father_mande Posté(e) 10 novembre 2010 Signaler Share Posté(e) 10 novembre 2010 Bonjour, Bonjour, Je souhaite installer très prochainement un système One Wire pilotable par mon Qnap, avez-vous pu reussir un installer OWFS depuis vos derniers posts ??? Cdtl Non en ce qui me concerne, mon 219 est dans les choux ... et je ne suis pas sur place pour le cajoler .... Philippe. Lien vers le commentaire Partager sur d’autres sites More sharing options...
Question
thevinz
Bonjour à tous
Depuis ce jour, j'ai mon TS 219P.
J'ai donc commencé à le configurer.
Comme je m'y attendais, je galère pour installer OWFS.
J'ai installer Opware ipkg via les plugins.
Ensuite, en ligne de commande ssh, j'ai ajouté les source ipkg de owfs dans ipkg.conf (dans /share/HDA_DATA/.qpkg/Optware/etc)
Voici donc mon ipkg.conf actuel:
Merci pour votre aide, c'est hyper important, car cela gère mes aquarium, et je ne vais pas pouvoir rester logntemps sans cette automatisation !
J'attend beaucoup des experts qui m'on indiqué que c'était possible dan sle forum avant-vente !!
Lien vers le commentaire
Partager sur d’autres sites
7 réponses à cette question
Messages recommandés
Archivé
Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.