From: "Alexei V. Mezin" <alexei-mezin@rambler.ru>
To: community@lists.altlinux.org
Subject: [Comm] Как запустить saned?
Date: Tue, 14 Dec 2010 01:53:34 +0300
Message-ID: <ie685e$5gr$1@dough.gmane.org> (raw)
Подключен сканер, настроен, работает.
Запускаю вручную saned -s -d, программа запускается, слушает порт. С
другого компа в локалке можно соединиться ОДИН раз, и даже
посканировать. Вот, например:
[root@intel_server ~]# scanimage -L
device `net:192.168.1.102:xerox_mfp:libusb:003:002' is a SAMSUNG ORION
multi-function peripheral
После этого saned завершается.
Штатно предполагается, что все запускатся через xinetd. И действительно,
нужный порт слушается если включены вот такие настройки
[root@smbserver sane.d]# cat /etc/xinetd.d/sane
service sane
{
disable = no
port = 6566
socket_type = stream
wait = no
user = root
group = root
server = /usr/sbin/saned
}
При этом с локального хоста telnet на нужный порт открывает соединение,
а с любого другого
[root@intel_server ~]# telnet 192.168.1.102 6566
Trying 192.168.1.102...
Connected to 192.168.1.102.
Escape character is '^]'.
Connection closed by foreign host.
Что ж не так? Почему через xinetd не хочет пускать?
next reply other threads:[~2010-12-13 22:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-13 22:53 Alexei V. Mezin [this message]
2010-12-13 23:28 ` Alexey Borisenkov
2010-12-14 16:51 ` Alexei V. Mezin
2010-12-14 16:56 ` Andriy Dobrovol`s`kii
2010-12-14 17:54 ` Alexei V. Mezin
2010-12-15 10:54 ` Andriy Dobrovol`s`kii
2010-12-16 17:56 ` Alexei V. Mezin
2010-12-14 16:57 ` Sergey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ie685e$5gr$1@dough.gmane.org' \
--to=alexei-mezin@rambler.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git