Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:scanner_server:saned [2022/04/24 16:15] – Uppercase title of the page. This aligns it with for example the p910nd Printer Server page where also P and S is uppercased. olof | docs:guide-user:services:scanner_server:saned [2023/05/05 18:25] – [Start saned without xinetd] raptorsds | ||
|---|---|---|---|
| Line 47: | Line 47: | ||
| [[docs: | [[docs: | ||
| + | |||
| + | Basis-system | ||
| < | < | ||
| opkg update | opkg update | ||
| - | opkg install sane-daemon | + | opkg install sane-daemon |
| + | </ | ||
| + | |||
| + | Scanner | ||
| + | < | ||
| + | opkg install | ||
| + | #if you have a xerox scanner | ||
| + | opkg install | ||
| + | #example for Canon lide 20 (canon use sometimes plustek hardware) | ||
| + | </ | ||
| + | |||
| + | all availble scanner can be install with | ||
| + | [[packages: | ||
| + | there are also list of all avaible single scanner package | ||
| + | |||
| + | Optional | ||
| + | < | ||
| + | opkg install sane-frontend | ||
| </ | </ | ||
| Line 70: | Line 89: | ||
| ==== Use xinetd to start saned ==== | ==== Use xinetd to start saned ==== | ||
| sane-daemon should have come with a configuration file, enable it in / | sane-daemon should have come with a configuration file, enable it in / | ||
| - | < | + | < |
| # default: off | # default: off | ||
| # description: | # description: | ||
| - | # | + | # |
| - | # | + | # |
| service sane-port | service sane-port | ||
| { | { | ||
| - | | + | socket_type = stream |
| - | port = 6566 | + | port = 6566 |
| - | wait = no | + | wait = no |
| - | user = root | + | user = saned |
| - | group | + | group |
| - | server | + | server |
| - | disable | + | disable |
| } | } | ||
| </ | </ | ||
| Line 90: | Line 109: | ||
| ==== Start saned without xinetd ==== | ==== Start saned without xinetd ==== | ||
| - | **TODO:** Tell how to do this without xinetd | + | saned is already a deamon by default |
| + | |||
| + | you can start saned with rc.local | ||
| + | |||
| + | < | ||
| + | saned -a | ||
| + | </ | ||
| + | |||
| + | The -a | ||
| + | flag requests that saned run in standalone daemon mode. In this mode, saned will | ||
| + | detach | ||
| + | connections; | ||
| + | username | ||
| + | |||
| + | | ||
| ==== Enable saned to be accessible from the LAN ==== | ==== Enable saned to be accessible from the LAN ==== | ||
| Line 101: | Line 134: | ||
| **TODO:** Placeholder. Add examples here to open port 6566 if closed. | **TODO:** Placeholder. Add examples here to open port 6566 if closed. | ||
| - | ==== Zeroconf | + | ==== Zeroconf ==== |
| + | AirSane exposes a sane scanner over AirScan/ | ||
| + | See [[https:// | ||
| ===== Access from your computer (client) on the network ===== | ===== Access from your computer (client) on the network ===== | ||
| Line 124: | Line 159: | ||
| * If scanimage does not find your scanner, install '' | * If scanimage does not find your scanner, install '' | ||
| * Run '' | * Run '' | ||
| - | |||
| - | ===== " | ||
| - | **TODO:** Just some placeholders here. If not feasible / applicable, delete this paragraph. | ||