Hello, I have a problem that sounds simple but can't get rid of it. I have several computers (Raspberry Pi) running owfs with their own physical 1Wire bus, it's running fine. For convenience I want to have 1 machine accessing others via owserver and network. I would like a single owfs tree grouping all others 1wire networks of other machines. It's possible according owserver man pages and I did it in the past with an older owfs(libow-2.7.so.4.0.0). But with current 2.8p15-1 standard /etc/owfs.conf file the port 4304 isn't open (checked with nmap). Here under the owfs.conf file.
# Sample configuration file for the OWFS suite for Debian GNU/Linux. # # # This is the main OWFS configuration file. You should read the # owfs.conf(5) manual page in order to understand the options listed # here. ######################## 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 # Les fakes qui m'ont servis lors des tests de Raspi # server: FAKE = DS2413,DS2413,DS2408,DS2408,DS2438 # # USB device: DS9490 #server: usb = all # # Serial port: DS9097 server: device = /dev/i2c-1 # # 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 With this file when owserver is running port 4304 is closed. Seems to be open on localhost only. BUT If I comment these 2 lines: #! server: server = localhost:4304 #server: port = localhost:4304 And add these 2 (copied from the older owfs) SERVER: p 4304 !SERVER: s 4304 Then port 4304 is open and I can access 1wire devices from another machine via network with this command: owfs -s 192.168.0.100:4304 /mnt/1wire The strange thing is that except the syntax these lines seems the same... What is the correct way of doing it? Thanks for your support. -- Guy ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
