From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 6 Jan 2005 11:52:04 +0200 From: Dolgov OV To: community@altlinux.ru Message-ID: <20050106115204.280e9b63@localhost.localdomain> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i686-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at media-link.info Subject: [Comm] =?windows-1251?b?zeDx8vDu6ergIPHl8uXi7uPuIO/w6O3y5fDgLg==?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Jan 2005 09:53:44 -0000 Archived-At: List-Archive: List-Post: Здравствуйте. Помогите, плз. настроить сетевой принтер. Дано :-) Хост система 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 Encryption IfRequested Satisfy All Order allow,deny Allow From 127.0.0.1 Allow From 192.168.183. #Deny From All AuthType Basic AuthClass System Encryption IfRequested Satisfy All Order deny,allow Deny From All Allow From 127.0.0.1 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 Что и как еще делать, ума не приложу. Заранее благодарен за помощь. -- С наилучшими, Олег Долгов Registered Linux user #315454