Following is executed in the target system. The same can be done in host system as well.
1. Install build tools
# apt-get install build-essential
2. Install dependency libraries libfuse
and libusb
# apt-get install libfuse2 libfuse-dev fuse-utils # apt-get install libusb-0.1-4 libusb-dev
3. Fetch and extract latest owfs source from SourceForge
http://sourceforge.net/projects/owfs/files/
4. Build
# configure # make # make install
5. Create mount point for owfs
# mkdir /mnt/1wire
6. Create startup script /etc/init.d/owfs
to start owfs automatically on system boot
#!/bin/sh case "$1" in start) /opt/owfs/bin/owfs -u -m /mnt/1wire ;; *) echo "Usage: /etc/init.d/owfs {start}" ;; esac exit 0
7. Create startup link
# ln -s /etc/init.d/owfs /etc/rc2.d/S99owfs
8. Now you can start your service /etc/init.d/owfs start