Hi, On Sun, May 05, 2002 at 12:50:38PM +0200, Edvard Rognlid wrote: > I have how ever one problem using the linux box. If I restart it I have to > type "modprobe aha152x aha152x=0x340,9" before it works. What shoud I do to > start this automaticly?
As you have another SCSI controller, the usual alias scsi_hostadapter aha152x options aha152x aha152x=0x340,9 probably won't work. However, if the driver of your on-board SCSI controller is compiled into the kernel or loaded manually, thid might be a solution. Otherwise I would just put your modprobe line into a start-up file (something like /etc/init.d/boot.local, I don't know the exact file for RedHat). Maybe RedHat has also a file for the modules to load at startup. On a Debian system, it's called "/etc/modules". > # saned.conf > # > # The contents of the saned.conf file is a list of host > # names that are permitted by saned to use local SANE > # devices in a networked configuration. The hostname > # matching is NO LONGER case-sensitive. > # > #scan-client.somedomain.firm > #localhost > barcelona > radich > > ** barcelona is my server > ** radich is my win98 computer Which version of SANE do you use? "ping barcelona" and "ping radich" works on the linux host? > In one helpfile I read that trying to us "telnet localhost 6566" could tell > me if things worked. Trying this both form my win98 and linux computer I > get the same resolt: > [root@barcelona etc]# telnet barcelona 6566 > Trying 127.0.0.1... > Connected to barcelona. > Escape character is '^]'. > > And then it just hangs - nothing happens. That's ok. Press some keys, the connection should be closed after some time. You should also find a note about that in syslog: May 5 14:22:15 hmg1 saned[2170]: init: bad status=12 or procnum=1734763623 May 5 14:22:15 hmg1 saned[2170]: quit: exiting > Trying scanimage -L from my linux box give this result: > [root@barcelona etc]# scanimage -L > device `microtek:/dev/sge' is a Microtek ScanMaker E3 flatbed scanner > device `microtek:/dev/sg4' is a Microtek ScanMaker E3 flatbed scanner Edit /etc/sane.d/net.conf and add "localhost". Try "scanimage -L" again. There should be additional entries like device `net:localhost:microtek:/dev/sge' is a Microtek ScanMaker E3 flatbed scanner Now try "barcelona" instead of "localhost" in net.conf. Does this also work? Are there any entries in syslog? You can start saned in debugg mode. Disable it in xinetd.conf and start it manually (saned -d5). It should print more verbose messages now. In this mode you must restart it for every connection. Bye, Henning
