WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: owfs.tcz not in repo  (Read 2496 times)

Offline mxguy31

  • Newbie
  • *
  • Posts: 9
owfs.tcz not in repo
« on: September 05, 2017, 08:49:38 PM »
Hey guys,

I am trying to add the owfs.tcz extension however it is not found in the repo.

This is the console output (after trying a different mirror):
$ tce-load -wi owfs.tcz
Downloading: owfs.tcz
Connecting to mirror.cpsc.ucalgary.ca (136.159.2.91:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: owfs.tcz.md5.txt: No such file or directory
Error on owfs.tcz

I get the same output with the main repo. If I use tce it doesn't find it either. If I look at the repo listing it does not show up... was it removed?

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 711
Re: owfs.tcz not in repo
« Reply #1 on: September 06, 2017, 02:39:48 AM »
owfs.tcz is easy to compile yourself.

You could try to compile it your self.
Make your own extension.

http://wiki.tinycorelinux.net/wiki:creating_extensions

https://sourceforge.net/projects/owfs/files/owfs/3.2p1/owfs-3.2p1.tar.gz/download




Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: owfs.tcz not in repo
« Reply #2 on: September 06, 2017, 04:47:44 AM »
owfs was last present in the piCore 5.x repo - you could download it from there and give it a try?

http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz

You'd also need the *dep and *md5.txt files

Offline mxguy31

  • Newbie
  • *
  • Posts: 9
Re: owfs.tcz not in repo
« Reply #3 on: September 06, 2017, 06:09:00 AM »
I will try and compile myself, It would be an adventure into uncharted territory. Thanks for the links, if I can't figure it out I will fall back to the 5.x

Thanks for the help. If I am successful in compiling the latest version I will try to get it added again.

Offline mxguy31

  • Newbie
  • *
  • Posts: 9
Re: owfs.tcz not in repo
« Reply #4 on: September 06, 2017, 09:02:54 PM »
I tried compiling myself with no success... I am not a linux noob, however I am very new to tiny core (less than a couple days). I think I have googled myself into a tailspin. Thanks for the links, I will revisit once I clear the fog.

Can I force tce to use the older repository by changing /opt/tcemirror, or is wget plus manual install the only way?

Offline polikuo

  • Hero Member
  • *****
  • Posts: 719
Re: owfs.tcz not in repo
« Reply #5 on: September 06, 2017, 09:22:37 PM »
Can I force tce to use the older repository by changing /opt/tcemirror, or is wget plus manual install the only way?
Not really, the mirror is generated by getMirror function in /etc/init.d/tc-functions

You should do this instead
Code: [Select]
cd /etc/sysconfig/tcedir/optional
wget http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz
wget http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz.dep
wget http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz.md5.txt
tce-audit fetchmissing

Offline mxguy31

  • Newbie
  • *
  • Posts: 9
Re: owfs.tcz not in repo
« Reply #6 on: September 06, 2017, 10:01:39 PM »
Made some progress... I followed polikuo's advice and now I have the .tcz files downloaded with wget, however when I run tce-audit fetchmissing I get an error

tc@thermostat:/mnt/mmcblk0p2/tce/optional$ tce-audit fetchmissing
/usr/bin/tce-audit: line 282: can't open tce.lst: no such file

I did a search of the system like this (sudo find / -name "tce.lst") and can't find that file. I feel like I am missing something simple.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11594
Re: owfs.tcz not in repo
« Reply #7 on: September 06, 2017, 11:00:59 PM »
Hi mxguy31
Quote
/usr/bin/tce-audit: line 282: can't open tce.lst: no such file
Try running this first:
Code: [Select]
tce-audit builddb

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: owfs.tcz not in repo
« Reply #8 on: September 07, 2017, 09:44:33 AM »
owfs posted to piCore 9.x repos
« Last Edit: September 07, 2017, 09:49:43 AM by Juanito »

Offline mxguy31

  • Newbie
  • *
  • Posts: 9
Re: owfs.tcz not in repo
« Reply #9 on: September 07, 2017, 11:42:00 AM »
Wow, you guys are amazing!

Thank you so much.

Offline mxguy31

  • Newbie
  • *
  • Posts: 9
Re: owfs.tcz not in repo
« Reply #10 on: September 07, 2017, 12:24:32 PM »
Just to finish this thread out, and help anyone else in the future. I can install OWFS from tce. You have to run "modprobe fuse" to start fuse before owfs will work.

Thanks again for the help, my home automation is back in business.