1 fuse
sudo apt-get install fuse
sudo apt-get install libfuse-dev ( for fusexmp etc)
cd /usr/share/doc/libfuse-dev/examples
ls -al
check installation by:
ubuntu libfuse-dev file list in here
sudo apt-get install fuse
sudo apt-get install libfuse-dev ( for fusexmp etc)
cd /usr/share/doc/libfuse-dev/examples
ls -al
check installation by:
dpkg --get-selections | grep fuse
ubuntu libfuse-dev file list in here
according to excellent owfs quickstart guide:
owfs
ow-shell
ownet( optional for perl or php programming)
python-ownet
edit /etc/owfs.conf:
######################## SOURCES ########################
#
# With this setup, any client (but owserver) uses owserver on the
# local machine...
! server: server = localhost:4304
#
# ...and owserver uses the real hardware, by default fake devices
# This part must be changed on real installation
# server: FAKE = DS18S20,DS2405
#
# USB device: DS9490
# enable i2c support
# This is for 1-wire bus master IC, eg DS2482-100
#server:i2c=/dev/i2c-1:ALL
#
server: device = /dev/i2c-1
#server: usb = all
#
# w1 devices
server: w1 = all
# Serial port: DS9097
#server: device = /dev/ttyS1
#
# owserver tcp address
#server: server = 192.168.10.1:3131
#
# random simulated device
#server: FAKE = DS18S20,DS2405
#
######################### OWFS ##########################
#
mountpoint = /mnt/1wire
allow_other
#
####################### OWHTTPD #########################
http: port = 2121
####################### OWFTPD ##########################
ftp: port = 2120
####################### OWSERVER ########################
server: port = localhost:4304
reboot
sudo owfs --w1 -m /mnt/1wire --allow_other --debug -F
other resources:
OWFS sourceforge mail archive
https://raspberrypi.stackexchange.com/questions/37070/problems-with-owfs-over-the-w1-kernel-module
留言
張貼留言