FUSE ?


Forum: Other Help Topics
Topic: FUSE ?
started by: bjhbjh

Posted by bjhbjh on Feb. 12 2008,14:24
Hi,

I have read that modern versions of DSL contain < FUSE > but it doesn't seem to be available on the installations I have which are the latest version available. Is there a trick to using it?

I want to run < OWFS > and FUSE is the link to the local file structure. When I run OWFS I have the web service available but the 1wire directories are not available in the local file system. All advice welcome.

Thanks,

Brian H.
Toronto Ont

Posted by Juanito on Feb. 12 2008,14:51
The fuse module is in dsl but not the fuse library. I've used fuse in dsl with ssh, but you need to load the module first - i.e.
Code Sample
$ sudo modprobe fuse

Posted by bjhbjh on Feb. 12 2008,19:19
Code Sample
$ sudo modprobe fuse


That doesn't seem to have any effect.

I don't get any feed back at the command prompt nor does my file system show the owfs grafted on. Otherwise same as before, web service shows the one wire devices but not in the local file system.

Does FUSE have any diagnostics I can look at?

Thanks for the suggestion, keep them coming.

Regards,

Brian H.

Posted by Juanito on Feb. 13 2008,03:54
Do "lsmod" or "dmesg" show anything about fuse after you attempt to load the module? What version of dsl are you using?
Posted by bjhbjh on Feb. 13 2008,14:33
Hi Juanito,

Thanks for your interest and assistance.

Quote
What version of dsl are you using?


I am playing with two DSL versions.  I can get each to do part of what I want, but so far haven't succeeded in getting either to do it all. My preference is to concentrate on making the most up to date DSL version work for me rather than putting time into the older one.

The older DSL version, is from the < OWFS download site >. It is packaged to include working OWFS & FUSE. It is DSL v1.4 circa Q3 of 2005, according to its source forge < 'release notes' > page. Its development seems frozen in time. (Its author acknowledged its age in an otherwise dismissive email and doesn't seem to be working on it actively.)

The other version of DSL is the latest downloadable version from the mirrors. It is 2.4.5.iso.

The former runs OWFS & FUSE just fine but won't run curl.

The latter runs CURL fine but OWFS is impaired by the lack of FUSE interface to the local file system. (at least, I infer it to be a FUSE issue) Without the local filesystem access, I can't readily get the data from my 1wire devices to use in my CURL interface to the device outlined in my other post about emmulation of HTML POST methods.

What I am after doing is reading the sensors and then using CURL to load the readings into a radio linked remote display via the device as outlined in my other post.

Quote
Do "lsmod" or "dmesg" show anything about fuse after you attempt to load the module?


Yes, on both versions 'lsmod' reports FUSE as being present but on the older OWFS version of DSL it reports "in use by 2" and on the more recent version it reports "used by 0 (unused)".

(On the up to date DSL version, I did a fresh boot and an lsmod before and after issuing the modprobe fuse command. It is only present afterwards)

I read somewhere that there was a change, from one FUSE version to another, to where its libraries are stored. Could that have any bearing on my issue?

Thanks again for your interest and assistance.

Best regards,

Brian H.

Posted by Juanito on Feb. 13 2008,14:51
The mydsl extension ntfsprogs-2.uci in the testing section has a full version of fuse included - you could try loading this and see if it helps? (note that you would still need to load the dsl-4.2.5 fuse module)
Posted by bjhbjh on Feb. 13 2008,18:51
Quote
The mydsl extension ntfsprogs-2.uci in the testing section has a full version of fuse included - you could try loading this and see if it helps? (note that you would still need to load the dsl-4.2.5 fuse module)


I did a fresh boot from the CD. Installed ntfsprogs-2.uci. Installed fuse with 'modprobe' at the command prompt. Installed OWFS.uci from the  uci section of mydsl. Then I ran the OWFS start script borrowed from the other older DSL version where local filesystem access works.

Results are unchanged. I still don't have local filesystem access to the 1wire sensors.

Here is the OWFS start script from the other older version of DSL.

Code Sample
#!/bin/sh
PATH=$PATH:/opt/owfs/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/owfs/lib
#sudo insmod /opt/owfs/module/fuse.o 2> /dev/null
mkdir ~/1wire 2> /dev/null
/opt/owfs/bin/owserver.bin -u /dev/ttyS0 /dev/ttyS1 -p 3333
/opt/owfs/bin/owfs.bin -s 3333 /home/dsl/1wire
/opt/owfs/bin/owhttpd -s 3333 -p 3001
dillo http://localhost:3001



I tried commenting out the line

Code Sample
#sudo insmod /opt/owfs/module/fuse.o 2> /dev/null
in case it was causing trouble reloading fuse or something but it has made no appreciable difference.

The file '/opt/owfs/module/fuse.o' appears to contain only 3 capital letters: "ELF" and a few un printable characters.

Thanks again,

BJH

Posted by Juanito on Feb. 14 2008,03:33
Quote
The file '/opt/owfs/module/fuse.o' appears to contain only 3 capital letters: "ELF" and a few un printable characters.
- that's normal for a compiled executable.

Sorry, but I don't have any more ideas...

Posted by bjhbjh on Feb. 14 2008,13:32
Thanks Juanito for those you have suggested, I learned quite a bit.

I think I will press on with my project by making calls to the < http://localhost > interface and parsing the info I want out of the html responses. Its a lot more work but I cannot keep beating this dead horse.

Thanks and best regards,

Brian H.

Posted by roberts on Feb. 14 2008,19:44
Fuse module can also be initiated by using the fuse boot option.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.