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 | ||
| inbox:docs:guide-user:services:scanner_server:saned [2019/08/03 11:02] – Section heading levels corrected, cleanup tmomas | docs:guide-user:services:scanner_server:saned [2023/05/05 18:25] – [Start saned without xinetd] raptorsds | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== saned scanner server | + | ====== saned Scanner Server |
| This page attempts to document how to get a simple USB scanner working and accessible via network by using [[http:// | This page attempts to document how to get a simple USB scanner working and accessible via network by using [[http:// | ||
| Line 47: | Line 47: | ||
| [[docs: | [[docs: | ||
| + | |||
| + | Basis-system | ||
| < | < | ||
| opkg update | opkg update | ||
| - | opkg install sane-daemon sane-frontends | + | 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 | ||
| </ | </ | ||
| ===== (Optional): testing the scanner ===== | ===== (Optional): testing the scanner ===== | ||
| - | Run this on the router to see if the scanner is found and working: | + | Run this on the router to see if the scanner is found and working : |
| < | < | ||
| If you get this: | If you get this: | ||
| Line 69: | Line 88: | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| ==== Use xinetd to start saned ==== | ==== Use xinetd to start saned ==== | ||
| - | sane-daemon should have come with a configuration file, enable it in /etc/xinet.d/ | + | sane-daemon should have come with a configuration file, enable it in /etc/xinetd.d/ |
| - | < | + | < |
| # 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 ==== | ||
| - | Put your subnet in ''/ | + | Put your subnet in ''/ |
| < | < | ||
| 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. | ||