Discussion:
(no subject)
(too old to reply)
j***@gmail.com
2016-12-13 01:42:48 UTC
Permalink
Raw Message
Hi it's me again. Don't know if you gave up on me but I am trying again
from the beginning. I have scanned via USB and now am attempting to get it
working over my wifi.

On step two it says:
Step 2: Tell SANE to run as a server (saned)

systemd only

-

Execute at a terminal:

sudo nano /etc/systemd/system/saned.socket

and input exactly:

# Defaults for the saned initscript, from sane-utils# To enable
under systemd please read README.Debian# Set to yes to start saned
under SysVRUN=no# Set to the user saned should run
asRUN_AS_USER=***@pc:~$ cat
/etc/systemd/system/saned.socket[Unit]Description=saned incoming
socket[Socket]ListenStream=6566Accept=yesMaxConnections=1[Install]WantedBy=sockets.target



but when I opened up this terminal there was

"run=yes

exit"

and I pasted your instructions in between those lines not knowing if I was
supposed to or paste over them both. Was I right?


And then down to step three:


Step 3: Tell saned who to share with

Assuming you don't need to control access to the scanner, we will add the
line "192.168.0.0/24" (share with everyone on the local network) after "##
Access list":

## Access list192.168.0.0/24


I did this part but you explained in the beginning we were assuming that my
network address is 192.168.0.1. I don't know if this is the case or if I
need to worry about it. Do I or is this a default network address? Could
this be why I'm having problems?


Then I went to step 4 "clean up tasks:". Maybe I went too far but I did it
anyway and got this:

***@Hal:~$ sudo systemctl enable saned.socket
Failed to execute operation: Invalid argument
***@Hal:~$ sudo systemctl start saned.socket
Failed to start saned.socket: Unit saned.socket is not loaded properly:
Invalid argument.
See system logs and 'systemctl status saned.socket' for details.



Well I think I've gone far enough and will wait for your instruction.
Would love to get this scanner wireless.
Thanks
Jörn-Ingo Weigert
2016-12-15 00:22:02 UTC
Permalink
Raw Message
Hi juntjoo, it would help when you give us some more details, like used
sane version, used distribution.

Beside that, your systemd command seems not correct, as "...invalid
argument". Please check the manuals to systemd/sysctrl and the content of
the involved saned.socket definitions.

Kind regards,

jiweigert

Am 14.12.2016 13:38 schrieb <***@gmail.com>:

Hi it's me again. Don't know if you gave up on me but I am trying again
from the beginning. I have scanned via USB and now am attempting to get it
working over my wifi.

On step two it says:
Step 2: Tell SANE to run as a server (saned)

systemd only

-

Execute at a terminal:

sudo nano /etc/systemd/system/saned.socket

and input exactly:

# Defaults for the saned initscript, from sane-utils# To enable
under systemd please read README.Debian# Set to yes to start saned
under SysVRUN=no# Set to the user saned should run
asRUN_AS_USER=***@pc:~$ cat
/etc/systemd/system/saned.socket[Unit]Description=saned incoming
socket[Socket]ListenStream=6566Accept=yesMaxConnections=1[Install]WantedBy=sockets.target



but when I opened up this terminal there was

"run=yes

exit"

and I pasted your instructions in between those lines not knowing if I was
supposed to or paste over them both. Was I right?


And then down to step three:


Step 3: Tell saned who to share with

Assuming you don't need to control access to the scanner, we will add the
line "192.168.0.0/24" (share with everyone on the local network) after "##
Access list":

## Access list192.168.0.0/24


I did this part but you explained in the beginning we were assuming that my
network address is 192.168.0.1. I don't know if this is the case or if I
need to worry about it. Do I or is this a default network address? Could
this be why I'm having problems?


Then I went to step 4 "clean up tasks:". Maybe I went too far but I did it
anyway and got this:

***@Hal:~$ sudo systemctl enable saned.socket
Failed to execute operation: Invalid argument
***@Hal:~$ sudo systemctl start saned.socket
Failed to start saned.socket: Unit saned.socket is not loaded properly:
Invalid argument.
See system logs and 'systemctl status saned.socket' for details.



Well I think I've gone far enough and will wait for your instruction.
Would love to get this scanner wireless.
Thanks

--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.debian.org
Louis Lagendijk
2016-12-15 10:49:18 UTC
Permalink
Raw Message
Hi it's me again.  Don't know if you gave up on me but I am trying
again from the beginning.  I have scanned via USB and now am
attempting to get it working over my wifi.
What kind of scanner? How do you want to run over wifi? Sane directly
over wifi to the scanner or using saned to the machine that has the
usb-connection to the scanner?
which instructions?
Step 2: Tell SANE to run as a server (saned)
systemd only
sudo nano /etc/systemd/system/saned.socket
# Defaults for the saned initscript, from sane-utils
# To enable under systemd please read README.Debian
# Set to yes to start saned under SysV
RUN=no
this looks suspicious. Should this not be a file in /etc/default? I am
not a Debian user (is this Debian?) Check the README.Debian as
instructed. This does not look like a normal systemd socket file...

You are probably mixing systemd and non-systemd instructions

/Louis
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
to sane-devel-***@lists.alioth.debian.org
Loading...