← 返回命令列表

Linux command

saned 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Run saned in standalone daemon mode

saned -a

Run in debug mode

saned -d

Run with verbose debugging

saned -d128

Run in debug mode

saned -s

Specify a custom data port range

saned -a -b

说明

saned is the SANE network daemon that allows remote clients to access locally-connected scanners. It listens on TCP port 6566 for scanning requests, communicates with local SANE backends, and returns scan data to clients. The daemon can run standalone with -a or be managed by inetd/xinetd. Access control is configured in /etc/sane.d/saned.conf, which lists allowed hostnames, IP addresses, or CIDR subnets. Connections from localhost are always permitted. Clients configure the server address in their /etc/sane.d/net.conf file to access remote scanners transparently through the network backend.

参数

-a
Run in standalone daemon mode, detached from console
-d _n_
Debug mode; wait for connections explicitly. Optional number sets verbosity (higher = more verbose)
-s _n_
Debug mode with SANE_DEBUG output; optional verbosity level
-b
Negotiate a data port range with the client
-u
Run as user after binding to port
-e
Exit after first client disconnects (debug mode only)

FAQ

What is the saned command used for?

saned is the SANE network daemon that allows remote clients to access locally-connected scanners. It listens on TCP port 6566 for scanning requests, communicates with local SANE backends, and returns scan data to clients. The daemon can run standalone with -a or be managed by inetd/xinetd. Access control is configured in /etc/sane.d/saned.conf, which lists allowed hostnames, IP addresses, or CIDR subnets. Connections from localhost are always permitted. Clients configure the server address in their /etc/sane.d/net.conf file to access remote scanners transparently through the network backend.

How do I run a basic saned example?

Run `saned -a` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -a do in saned?

Run in standalone daemon mode, detached from console