Re: SANE Network Daemon question
On Sunday 09 December 2007 04:32:21 Pollywog wrote: > On Sunday 09 December 2007 04:06:29 Predrag Punosevac wrote: > > HPLIP works like a charm on FreeBSD > > http://dsteinbrook.googlepages.com/hpliponfreebsd > > Thanks for that, unfortunately it indicates that this is going to be more > difficult for me than I thought, because I will need to recompile my kernel > and I have not done this in FreeBSD yet. I recompiled the kernel and it was much easier than in Linux. When the moment of truth came, the machine did boot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
On Sunday 09 December 2007 04:06:29 Predrag Punosevac wrote: > HPLIP works like a charm on FreeBSD > http://dsteinbrook.googlepages.com/hpliponfreebsd Thanks for that, unfortunately it indicates that this is going to be more difficult for me than I thought, because I will need to recompile my kernel and I have not done this in FreeBSD yet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
On Sunday 09 December 2007 04:06:29 Predrag Punosevac wrote: > I thought we were discussing sane-backhands and network scanning. Don't I need HPLIP in order to get my printer (scanning) to work? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
Pollywog wrote: On Sunday 09 December 2007 03:26:19 Predrag Punosevac wrote: Pollywog wrote: On Sunday 09 December 2007 02:17:21 Predrag Punosevac wrote: Saned (Sane Daemon) is included in the standard distribution of sane-backhands. I checked sane-utils on the Debian web-site and seems it is just idiotic GUI. I was using Debian and I now use Ubuntu and FreeBSD. The sane-utils package contains files that I edit in order to have the ability to scan from any machine on my LAN that runs Linux. The files are /etc/sane.d/dll.conf and also saned.conf and net.conf in the same directory. Then look the /usr/local/etc/sane.d You already have all files you need to have. Debian is known for fine grinding of packages so I would not be surprised that they divided generic sane-backhand package in several part. That is a very good practice but unfortunately FreeBSD does not have that man power and the user base to do the same. Would you be so kind than to write how to for network scanning. It would be very good if you could append Handbook article about scanning. I have no clue whom you should contact with the offer to contribute the article for Handbook. Since it has been some time since I tried to get HPLIP to work with my computer, I am going to attempt it again. If I am successful, I will post something about it. HPLIP works like a charm on FreeBSD http://dsteinbrook.googlepages.com/hpliponfreebsd I thought we were discussing sane-backhands and network scanning. Best, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
On Sunday 09 December 2007 03:26:19 Predrag Punosevac wrote: > Pollywog wrote: > > On Sunday 09 December 2007 02:17:21 Predrag Punosevac wrote: > >> Saned (Sane Daemon) is included in the standard distribution of > >> sane-backhands. I checked sane-utils on the Debian web-site and seems it > >> is just idiotic GUI. > > > > I was using Debian and I now use Ubuntu and FreeBSD. The sane-utils > > package contains files that I edit in order to have the ability to scan > > from any machine on my LAN that runs Linux. The files are > > /etc/sane.d/dll.conf and also saned.conf and net.conf in the same > > directory. > > Then look the /usr/local/etc/sane.d You already have all files you need > to have. > > > Debian is known for fine grinding of packages so I would not be > surprised that they divided generic sane-backhand package in several part. > That is a very good practice but unfortunately FreeBSD does not have > that man power and the user base to do the same. > > Would you be so kind than to write how to for network scanning. It would > be very good if you could append Handbook article about scanning. I have > no clue whom you should contact with the offer to contribute the article > for Handbook. Since it has been some time since I tried to get HPLIP to work with my computer, I am going to attempt it again. If I am successful, I will post something about it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
On Sunday 09 December 2007 03:26:19 Predrag Punosevac wrote: > > Then look the /usr/local/etc/sane.d You already have all files you need > to have. > > > Debian is known for fine grinding of packages so I would not be > surprised that they divided generic sane-backhand package in several part. > That is a very good practice but unfortunately FreeBSD does not have > that man power and the user base to do the same. > > Would you be so kind than to write how to for network scanning. It would > be very good if you could append Handbook article about scanning. I have > no clue whom you should contact with the offer to contribute the article > for Handbook. I have not done this in FreeBSD, only Linux. I have a printer that requires HPOJ, which I don't believe is available for FreeBSD. My printer is a Hewlett-Packard PSC 2110 "All-in-one" and it is a USB printer. Someone told me that HPLIP is what I should use but I was unable to get it to work with my printer. I believe I used instructions I found at Marcel Gagne's website to get network scanning working in Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
Pollywog wrote: On Sunday 09 December 2007 02:17:21 Predrag Punosevac wrote: Saned (Sane Daemon) is included in the standard distribution of sane-backhands. I checked sane-utils on the Debian web-site and seems it is just idiotic GUI. I was using Debian and I now use Ubuntu and FreeBSD. The sane-utils package contains files that I edit in order to have the ability to scan from any machine on my LAN that runs Linux. The files are /etc/sane.d/dll.conf and also saned.conf and net.conf in the same directory. Then look the /usr/local/etc/sane.d You already have all files you need to have. Debian is known for fine grinding of packages so I would not be surprised that they divided generic sane-backhand package in several part. That is a very good practice but unfortunately FreeBSD does not have that man power and the user base to do the same. Would you be so kind than to write how to for network scanning. It would be very good if you could append Handbook article about scanning. I have no clue whom you should contact with the offer to contribute the article for Handbook. Best, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
On Sunday 09 December 2007 02:17:21 Predrag Punosevac wrote: > Saned (Sane Daemon) is included in the standard distribution of > sane-backhands. I checked sane-utils on the Debian web-site and seems it > is just idiotic GUI. > I was using Debian and I now use Ubuntu and FreeBSD. The sane-utils package contains files that I edit in order to have the ability to scan from any machine on my LAN that runs Linux. The files are /etc/sane.d/dll.conf and also saned.conf and net.conf in the same directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
Pollywog wrote: On Saturday 08 December 2007 20:39:06 Predrag Punosevac wrote: I was just looking at the documentation on SANE web-site about network scanning and I noticed that /etc/services on my i386 does not include line like sane-port 6566/tcp # SANE network scanner daemon which is used by saned (Sane Network Daemon to enable scanning over the network). The /etc/inetd.conf file is also missing line (of course should be commented by default) sane-port stream tcp nowait saned.saned /usr/local/sbin/saned saned The handbook is also mute about the scanning over the network. Is anybody using scanners on the network on FreeBSD? Handbook article should also be appended. I might try to play with it and see how it goes. I could contribute the documentation if the community has interest in it. I wanted to do this but I could not find a package for it. In Linux, I use sane-utils to do this. Saned (Sane Daemon) is included in the standard distribution of sane-backhands. I checked sane-utils on the Debian web-site and seems it is just idiotic GUI. I have to go very carefully through sane documentation and all files that come with the sane-backhands. My hunch would be that one needs to do at least following steps for network scanning. For the purposes of this example I will assume that scanner already works properly on a machine which we will refer as server. Our goal is to make this scanner usable to other machines which we call clients on our local network. The following scenario looks likely. We have a small computer lab of 10 machines running FreeBSD, 2 printers and a scanner. We want people who use these work stations to be able to use any of these two printers and the scanner regardless of the fact if the printer or a scanner is physically attached to a particular workstation. Step 1 Edit /etc/services with (probably both on server and on the client machine) sane-port 6566/tcp # SANE network scanner daemon Step 2 Edit /etc/inetd.conf as(on the server and on the client machine) sane-port stream tcp nowait saned.saned /usr/local/sbin/saned saned Step 3 Edit /etc/rc.conf with (on the server and on the client machine) inetd_enable="YES" saned_enable="YES" Step 4 One probably also needs to edit /etc/hosts to add the host server to which sane is attached. (this is probably only on the client machine) Step 5 Edit file /usr/local/etc/sane.d/net.conf which as default looks like # This is the net config file. Each line names a host to attach to. # If you list "localhost" then your backends can be accessed either # directly or through the net backend. Going through the net backend # may be necessary to access devices that need special privileges. # localhost on the client side. Maybe on the server side too. Step 6 Edit file /usr/local/etc/sane.d/saned.conf which as default looks like # # saned.conf # # The contents of the saned.conf file is a list of host names, IP # addresses or IP subnets (CIDR notation) that are permitted to use local # SANE devices. IPv6 addresses must be enclosed in brackets, and should # always be specified in their compressed form. # # The hostname matching is not case-sensitive. # #scan-client.somedomain.firm #192.168.0.1 #192.168.0.1/29 #[2001:7a8:185e::42:12] #[2001:7a8:185e::42:12]/64 # # NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and # /etc/services must also be properly configured to start # the saned daemon as documented in saned(8), services(4) # and inetd.conf(4) (or xinetd.conf(5)). probably both on local and server side. I probably skipped some steps both on the client and on the server side. Step 7 Reboot server and clients for daemons to start. I do not know of the web configuration utility to do this like the one for Samba (which also uses inetd) and it will probably make system administration just less transparent. I do not fully understand the security implication of the running daemon. It looks to me that the daemon is running around as a supper user and that might be very serious thing. Probably above should be tried only behind the PF but how to configure the PF so that the daemon is invisible to anybody who is outside of our local network? I have more questions at this point than the answers and I just thought of this for half an hour. I will play with my local network after the Christmas holidays and report on the results. Cheers, Predrag freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SANE Network Daemon question
On Saturday 08 December 2007 20:39:06 Predrag Punosevac wrote: > I was just looking at the documentation on SANE web-site about network > scanning > and I noticed that /etc/services on my i386 does not include line like > > sane-port 6566/tcp # SANE network scanner daemon > > which is used by saned (Sane Network Daemon to enable scanning over the > network). > The /etc/inetd.conf file is also missing line (of course should be > commented by default) > > sane-port stream tcp nowait saned.saned /usr/local/sbin/saned saned > > The handbook is also mute about the scanning over the network. > > Is anybody using scanners on the network on FreeBSD? Handbook article > should also be appended. > I might try to play with it and see how it goes. I could contribute the > documentation if the community has interest in it. > I wanted to do this but I could not find a package for it. In Linux, I use sane-utils to do this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SANE Network Daemon question
I was just looking at the documentation on SANE web-site about network scanning and I noticed that /etc/services on my i386 does not include line like sane-port 6566/tcp # SANE network scanner daemon which is used by saned (Sane Network Daemon to enable scanning over the network). The /etc/inetd.conf file is also missing line (of course should be commented by default) sane-port stream tcp nowait saned.saned /usr/local/sbin/saned saned The handbook is also mute about the scanning over the network. Is anybody using scanners on the network on FreeBSD? Handbook article should also be appended. I might try to play with it and see how it goes. I could contribute the documentation if the community has interest in it. Best, Predrag ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"