ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Настройка сетевого принтера.
@ 2005-01-06  9:52 Dolgov OV
  2005-01-08 13:59 ` [Comm] [SUMMARY] " Dolgov OV
  0 siblings, 1 reply; 2+ messages in thread
From: Dolgov OV @ 2005-01-06  9:52 UTC (permalink / raw)
  To: community

Здравствуйте.

Помогите, плз. настроить сетевой принтер.
Дано :-)
Хост система 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-08 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-06  9:52 [Comm] Настройка сетевого принтера Dolgov OV
2005-01-08 13:59 ` [Comm] [SUMMARY] " Dolgov OV

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