小弟是這機天開始玩openwrt的新手...
機子是 Buffalo WZR-HP G300NH2
印表機為 HP DeskJet 1050 J410
依照
http://upsangel.com/openwrt/openwrt-share-printer-scanner-server/
遇到了一些的問題...
印表機確實在/usb/lp0這位置,p910nd也正確設定
1. sane-find-scanner 有結果但是 scanimage -L 找不到
2. xinetd 服務沒有啟動,用xinetd -d 出現下面結果
root@OpenWrt:~# xinetd -d
14/6/3@11:40:28: DEBUG: 1690 {handle_includedir} Reading included configuration file: /etc/xinetd.d/sane [file=/etc/xinetd.conf] [line=6]
[file=/etc/xinetd.d/sane] [line=3]sable_parser} Bad value: no
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute disable - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=3]
[file=/etc/xinetd.d/sane] [line=4]t_type_parser} Bad socket type: stream
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute socket_type - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=4]
[file=/etc/xinetd.d/sane] [line=5]parser} Bad value for wait: no
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute wait - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=5]
[file=/etc/xinetd.d/sane] [line=6]parser} Unknown user: root
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute user - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=6]
[file=/etc/xinetd.d/sane] [line=7]_parser} Unknown group: root
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute group - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=7]
is not executable [file=/etc/xinetd.d/sane] [line=8]usr/sbin/saned
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=8]
not in /etc/protocols [file=/etc/xinetd.d/sane] [line=10]p
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.d/sane] [line=10]
[file=/etc/xinetd.conf] [line=10]et_type_parser} Bad socket type: stream
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute socket_type - DISABLING SERVICE [file=/etc/xinetd.conf] [line=10]
is not executable [file=/etc/xinetd.conf] [line=11]/usr/sbin/saned
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute server - DISABLING SERVICE [file=/etc/xinetd.conf] [line=11]
not in /etc/protocols [file=/etc/xinetd.conf] [line=12]tcp
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute protocol - DISABLING SERVICE [file=/etc/xinetd.conf] [line=12]
[file=/etc/xinetd.conf] [line=13]_parser} Unknown user: saned
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute user - DISABLING SERVICE [file=/etc/xinetd.conf] [line=13]
[file=/etc/xinetd.conf] [line=14]p_parser} Unknown group: saned
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute group - DISABLING SERVICE [file=/etc/xinetd.conf] [line=14]
[file=/etc/xinetd.conf] [line=15]_parser} Bad value for wait: no
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute wait - DISABLING SERVICE [file=/etc/xinetd.conf] [line=15]
[file=/etc/xinetd.conf] [line=16]isable_parser} Bad value: no
14/6/3@11:40:28: ERROR: 1690 {identify_attribute} Error parsing attribute disable - DISABLING SERVICE [file=/etc/xinetd.conf] [line=16]
14/6/3@11:40:28: DEBUG: 1690 {remove_disabled_services} removing sane-port
14/6/3@11:40:28: DEBUG: 1690 {remove_disabled_services} removing sane-port
Service defaults
Bind = All addresses.
Only from: All sites
No access: No blocked sites
No logging
14/6/3@11:40:28: DEBUG: 1690 {cnf_start_services} mask_max = 0, services_started = 0
14/6/3@11:40:28: CRITICAL: 1690 {init_services} no services. Exiting...
xinetd /etc/xinetd.d/sane 檔案
設定皆按照上面的教學...

X