This is an old revision of the document!


OWFS in NSLU2 - Installation instructions

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 startup script /etc/init.d/owfs

#!/bin/sh                                                                       
                                                                                
case "$1" in                                                                    
    start)                                                                      
        /opt/owfs/bin/owserver -u -p 3000                                       
        /opt/owfs/bin/owhttpd -u -p 3001                                        
        /opt/owfs/bin/owfs -u -m /mnt/1wire                                     
    ;;                                                                          
    *)                                                                          
        echo "Usage: /etc/init.d/owfs {start}"                                  
    ;;                                                                          
esac                                                                            
                                                                                
exit 0

6. Create startup link

# ln -s /etc/init.d/owfs /etc/rc2.d/S99owfs
 

6. Now you can start your service /etc/init.d/owfs start

nslu2_install_owfs.1296333509.txt.gz · Last modified: 2011/01/29 22:38 by jap
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki