Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
nslu2_install_owfs [2011/01/29 22:38]
jap
nslu2_install_owfs [2011/01/30 00:39]
jap
Line 18: Line 18:
    # make install    # make install
  
-5. Create startup script ''/​etc/​init.d/​owfs''​+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 ​                                                                         #​!/​bin/​sh ​                                                                      
                                                                                   ​                                                                                   ​
   case "​$1"​ in                                                                    ​   case "​$1"​ in                                                                    ​
-      start) ​                                                                      +      start) ​                                                                                                           
-          /​opt/​owfs/​bin/​owserver -u -p 3000                                        +
-          /​opt/​owfs/​bin/​owhttpd -u -p 3001                                        ​+
           /​opt/​owfs/​bin/​owfs -u -m /​mnt/​1wire ​                                               /​opt/​owfs/​bin/​owfs -u -m /​mnt/​1wire ​                                    
       ;;                                                                          ​       ;;                                                                          ​
Line 36: Line 37:
  
  
-6. Create startup link+7. Create startup link
  
   # ln -s /​etc/​init.d/​owfs /​etc/​rc2.d/​S99owfs   # ln -s /​etc/​init.d/​owfs /​etc/​rc2.d/​S99owfs
        
 6. Now you can start your service ''/​etc/​init.d/​owfs start''​ 6. Now you can start your service ''/​etc/​init.d/​owfs start''​
nslu2_install_owfs.txt · Last modified: 2011/01/30 00:40 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