From: Dolgov OV <dov@media-link.info>
To: community@altlinux.ru
Subject: [Comm] Настройка сетевого принтера.
Date: Thu, 6 Jan 2005 11:52:04 +0200
Message-ID: <20050106115204.280e9b63@localhost.localdomain> (raw)
Здравствуйте.
Помогите, плз. настроить сетевой принтер.
Дано :-)
Хост система ALC-2.3
VMware c гостевой ВыньХР
Виртуальный интерфейс host-only (физически сетевых карт нет, комп одиночка)
vmnet1 Link encap:Ethernet HWaddr 00:50:56:C0:00:01
inet addr:192.168.183.1 Bcast:192.168.183.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1749 errors:0 dropped:0 overruns:0 frame:0
TX packets:1705 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Пользователи в Линуксе и в Виндовсе идентичны (пароли тоже).
На мой взгляд наиболее важные фрагменты smb.conf
======================================================
[global]
printcap name = lpstat
load printers = yes
printing = cups
hosts allow = 192.168.183. 127.
security = share
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
interfaces = 192.168.183.1/24
name resolve order = wins lmhosts bcast
dos charset = CP866
unix charset = CP1251
display charset = CP1251
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = yes
printable = yes
create mode = 0777
print command = lpr-cups -P %p -o raw %s -r
lpq command = lpq -P %p
lprm command = cancel %p-%j
[myshare]
comment = Shared Folders
path = /mnt/D/
; valid users = into guest
public = yes
writable = yes
printable = no
create mask = 0777
===================================================
Винде присвоен адрес 192.168.183.2
Сеть работает, расшареная папка подключается, читает/пишет. В общем тут все ОК.
А вот принтера в окружении не видать :-(
Принтер Samsung ML-1250, Локально (из Линукса на LPT) печатает на ура.
Вот то, что в /etc/cups/cupsd.conf
===================================================
Classification none
DefaultCharset UTF-8
Printcap /etc/printcap
PrintcapFormat BSD
<Location />
Encryption IfRequested
Satisfy All
Order allow,deny
Allow From 127.0.0.1
Allow From 192.168.183.
#Deny From All
</Location>
<Location /admin>
AuthType Basic
AuthClass System
Encryption IfRequested
Satisfy All
Order deny,allow
Deny From All
Allow From 127.0.0.1
</Location>
HostnameLookups Off
KeepAlive On
Listen *:631, *:80
User lp
Group lp
DataDir /usr/share/cups
RequestRoot /var/spool/cups
ServerRoot /etc/cups
Browsing On
BrowseProtocols CUPS
BrowsePort 631
BrowseOrder allow,deny
runasuser no
noizvrat yes
=====================================================
Остальное по умолчанию.
# /sbin/service cups status
cupsd is running
# /sbin/service smb status
smbd is running
nmbd is running
Что и как еще делать, ума не приложу.
Заранее благодарен за помощь.
--
С наилучшими,
Олег Долгов
<dov AT media-link DOT info>
Registered Linux user #315454
next reply other threads:[~2005-01-06 9:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-06 9:52 Dolgov OV [this message]
2005-01-08 13:59 ` [Comm] [SUMMARY] " Dolgov OV
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=20050106115204.280e9b63@localhost.localdomain \
--to=dov@media-link.info \
--cc=community@altlinux.ru \
/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