<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Не получается подключится к http://192.168.0.1:631/printer]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=27974&amp;type=atom" />
	<updated>2013-04-26T14:07:56Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=27974</id>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342763#p342763" />
			<content type="html"><![CDATA[<p>Где стоит капс, как вариант, закрыть этот порт и открыть его только нужным.</p><p>Просто и без заморочек.</p>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2013-04-26T14:07:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342763#p342763</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342742#p342742" />
			<content type="html"><![CDATA[<p><strong>XliN</strong>, <br />Да, это помогло...<br />Но при таком раскладе доступ к очереди будет иметь любой компьютер локалки.</p>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-26T12:07:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342742#p342742</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342736#p342736" />
			<content type="html"><![CDATA[<p>Да, маска /20</p>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-26T11:55:05Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342736#p342736</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342735#p342735" />
			<content type="html"><![CDATA[<p>В cups.conf&nbsp; измени Listen localhost:631 на Listen 0.0.0.0:631</p><p>Должны пропасть тогда ошибки<br /></p><div class="quotebox"><blockquote><p>Unable to bind socket for address 10.95.13.2:631 - Cannot assign requested address.</p></blockquote></div><p>и может запечатают виндовые тачки.</p><p>З.Ы. Порты не блочишь случайно, фаирвол работает?</p>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2013-04-26T11:54:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342735#p342735</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342734#p342734" />
			<content type="html"><![CDATA[<p>P.S. Все компьютеры, т.е. принт-сервер и клиенты, находятся в одной подсети?</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-04-26T11:50:53Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342734#p342734</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342733#p342733" />
			<content type="html"><![CDATA[<p>А покажите все файлы, которые есть в <em>/etc/cups</em>, а то...<br /></p><div class="quotebox"><cite>kosik⇓ пишет:</cite><blockquote><p>Unable to bind socket for address 10.95.13.2:631 - Cannot assign requested address.<br />Unable to bind socket for address 10.95.13.3:631 - Cannot assign requested address.<br />Unable to bind socket for address 10.95.7.152:631 - Cannot assign requested address.</p></blockquote></div><p>...непонятно, откуда это берётся.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-04-26T11:49:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342733#p342733</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342732#p342732" />
			<content type="html"><![CDATA[<p>Дословно было только это:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>[CGI] Saw EOF, expected &#039;}&#039;!<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />Hostname lookup for &quot;10.95.*.*&quot; failed!<br />Bad Listen address 10.95.*.*:631 at line 19.<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />[CGI] Saw EOF, expected &#039;}&#039;!<br />Hostname lookup for &quot;10.95.*.*&quot; failed!<br />Bad Listen address 10.95.*.*:631 at line 19.</p></div></div><p>после задания конкретных IP:<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>Listening to ::1:631 on fd 4...<br /> Listening to 127.0.0.1:631 on fd 6...<br /> Listening to /var/run/cups/cups.sock on fd 7...<br /> Unable to bind socket for address 10.95.13.2:631 - Cannot assign requested address.<br /> Unable to bind socket for address 10.95.13.3:631 - Cannot assign requested address.<br /> Unable to bind socket for address 10.95.7.152:631 - Cannot assign requested address.<br /> Resuming new connection processing...<br /> cupsdRegisterPrinter(p=0xb78486e8(HP_LaserJet_8150))<br /> Discarding unused server-started event...<br /> Report: clients=0<br /> Report: jobs=1<br /> Report: jobs-active=0<br /> Report: printers=1<br /> Report: printers-implicit=0<br /> Report: stringpool-string-count=3242<br /> Report: stringpool-alloc-bytes=8400</p></div></div>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-26T11:46:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342732#p342732</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342730#p342730" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kosik⇓ пишет:</cite><blockquote><p>Внес правки, но все равно не дает подключиться</p></blockquote></div><p>Покажите дословно вывод ошибки.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-04-26T11:39:11Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342730#p342730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342729#p342729" />
			<content type="html"><![CDATA[<p><strong>basileus</strong>, <br />Под сетевым принтером понимался принтер с собственной сетевой картой и IP-адресом.<br />Цель - создать управляемую очередь посредством CUPS (по не проверенным слухам он умеет такое делать)</p><br /><p><strong>Lupo Alberto</strong>, <br />Внес правки, но все равно не дает подключиться&nbsp; <img src="https://linuxforum.ru/img/smilies/bu.gif" alt="bu" /> <br />Ни с виндовой доменной машины, ни с другой линуксовой.<br />В логах можно сказать чисто - обругалось лишь на строки с 192.168.0.* (* в качестве обозначения подсетки считает ошибкой)</p>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-26T11:33:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342729#p342729</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342676#p342676" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kosik⇓ пишет:</cite><blockquote><p>Подключил один сетевой принтер</p></blockquote></div><p>Сетевой принтер подключён напрямую в сеть или через компьютер с OpenSUSE?</p>]]></content>
			<author>
				<name><![CDATA[basileus]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11242</uri>
			</author>
			<updated>2013-04-26T05:49:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342676#p342676</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342648#p342648" />
			<content type="html"><![CDATA[<p>Завтра попробую и отпишусь. </p><p>Компьютеры-клиенты все под виндой.</p>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-25T20:08:40Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342648#p342648</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342646#p342646" />
			<content type="html"><![CDATA[<p>Попробуйте на сервере чуть изменить настройки<br /></p><div class="codebox"><pre><code>&lt;Location /&gt;
   Order allow,deny
   Allow localhost
   Allow 192.168.0.*
&lt;/Location&gt;</code></pre></div><div class="codebox"><pre><code>Listen localhost:631
Listen /var/run/cups/cups.sock
Listen 192.168.0.1:631</code></pre></div><p>На компьютере-клиенте в файл <em>/etc/cups/client.conf</em><br /></p><div class="codebox"><pre><code>ServerName 192.168.0.1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-04-25T20:00:12Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342646#p342646</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342645#p342645" />
			<content type="html"><![CDATA[<p>Я его не трогал. так что он дефолтный:</p><p>cupsd.conf <br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>#<br /># &quot;$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $&quot;<br />#<br /># Sample configuration file for the CUPS scheduler.&nbsp; See &quot;man cupsd.conf&quot; for a<br /># complete description of this file.<br />#</p><p># Log general information in error_log - change &quot;warn&quot; to &quot;debug&quot;<br /># for troubleshooting...<br />LogLevel warn</p><p># Administrator user group...<br />SystemGroup sys root</p><br /><p># Only listen for connections from the local machine.<br />Listen localhost:631<br />Listen /var/run/cups/cups.sock</p><p># Show shared printers on the local network.<br />Browsing On<br />BrowseOrder allow,deny<br />BrowseAllow all<br />BrowseLocalProtocols CUPS</p><p># Default authentication type, when authentication is required...<br />DefaultAuthType Basic</p><p># Restrict access to the server...<br />&lt;Location /&gt;<br />&nbsp; Order allow,deny<br />&nbsp; Allow 127.0.0.2<br />&lt;/Location&gt;</p><p># Restrict access to the admin pages...<br />&lt;Location /admin&gt;<br />&nbsp; Order allow,deny<br />&lt;/Location&gt;</p><p># Restrict access to configuration files...<br />&lt;Location /admin/conf&gt;<br />&nbsp; AuthType Default<br />&nbsp; Require user @SYSTEM<br />&nbsp; Order allow,deny<br />&lt;/Location&gt;</p><p># Set the default printer/job policies...<br />&lt;Policy default&gt;<br />&nbsp; # Job-related operations must be done by the owner or an administrator...<br />&nbsp; &lt;Limit Create-Job Print-Job Print-URI Validate-Job&gt;<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; &lt;Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription<br />Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document&gt;<br />&nbsp; &nbsp; Require user @OWNER @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; # All administration operations require an administrator to authenticate...<br />&nbsp; &lt;Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Require user @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; # All printer operations require a printer operator to authenticate...<br />&nbsp; &lt;Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Ac<br />tivate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Require user @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; # Only the owner or an administrator can cancel or authenticate a job...<br />&nbsp; &lt;Limit Cancel-Job CUPS-Authenticate-Job&gt;<br />&nbsp; &nbsp; Require user @OWNER @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; &lt;Limit All&gt;<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;<br />&lt;/Policy&gt;</p><p># Set the authenticated printer/job policies...<br />&lt;Policy authenticated&gt;<br />&nbsp; # Job-related operations must be done by the owner or an administrator...<br />&nbsp; &lt;Limit Create-Job Print-Job Print-URI Validate-Job&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; &lt;Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription<br />Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Require user @OWNER @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; # All administration operations require an administrator to authenticate...<br />&nbsp; &lt;Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Require user @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; # All printer operations require a printer operator to authenticate...<br />&nbsp; &lt;Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Ac<br />tivate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Require user @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; # Only the owner or an administrator can cancel or authenticate a job...<br />&nbsp; &lt;Limit Cancel-Job CUPS-Authenticate-Job&gt;<br />&nbsp; &nbsp; AuthType Default<br />&nbsp; &nbsp; Require user @OWNER @SYSTEM<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;</p><p>&nbsp; &lt;Limit All&gt;<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &lt;/Limit&gt;<br />&lt;/Policy&gt;</p><p>#<br /># End of &quot;$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $&quot;.<br />#</p><p># The policy below is added by openSUSE/Novell during build of our cups package.<br /># The policy &#039;allowallforanybody&#039; is totally open and insecure and therefore<br /># it can only be used within an internal network where only trused users exist<br /># and where the cupsd is not accessible at all from any external host, see<br /># <a href="http://en.opensuse.org/SDB:CUPS_and_SANE_Firewall_settings">http://en.opensuse.org/SDB:CUPS_and_SAN … l_settings</a><br /># Have in mind that any user who is allowed to do printer admin tasks<br /># can change the print queues as he likes - e.g. send copies of confidental<br /># print jobs from an internal network to any external destination, see<br /># <a href="http://en.opensuse.org/SDB:CUPS_in_a_Nutshell">http://en.opensuse.org/SDB:CUPS_in_a_Nutshell</a><br /># For documentation regarding &#039;Managing Operation Policies&#039; see<br /># <a href="http://www.cups.org/documentation.php/doc-1.4/policies.html">http://www.cups.org/documentation.php/d … icies.html</a><br />&lt;Policy allowallforanybody&gt;<br />&nbsp; &lt;Limit All&gt;<br />&nbsp; &nbsp; Order deny,allow<br />&nbsp; &nbsp; Allow from all<br />&nbsp; &lt;/Limit&gt;<br />&lt;/Policy&gt;<br /># Explicitly set the CUPS &#039;default&#039; policy to be used by default:<br />DefaultPolicy default<br /># End of additions by openSUSE/Novell.</p></div></div>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-25T19:43:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342645#p342645</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342644#p342644" />
			<content type="html"><![CDATA[<p>Покажите <em>/etc/cups/cupsd.conf</em>.<br />А что пишется в логи, к примеру, в <em>/var/log/cups/error_log</em> (или подобный)?</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-04-25T19:23:16Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342644#p342644</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Не получается подключится к http://192.168.0.1:631/printer]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=342643#p342643" />
			<content type="html"><![CDATA[<p>Начал было делать принт-сервер. <br />Подключил один сетевой принтер, тестовая печать на него с SuSE прошла нормально.<br />С нее же на http://localhost:631/printer заходит нормально.<br />Но с машин из локалки на <a href="http://192.168.0.1:631/printer">http://192.168.0.1:631/printer</a> не пускает и рекомендует обратиться к администратору.<br />Фаервол отрубил, но легче не стало</p>]]></content>
			<author>
				<name><![CDATA[kosik]]></name>
				<uri>https://linuxforum.ru/profile.php?id=13840</uri>
			</author>
			<updated>2013-04-25T19:17:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=342643#p342643</id>
		</entry>
</feed>
