Linux slogan
Visite também: Segurança Linux · BR-Linux.org · Dicas-L · Doode · NoticiasLinux · SoftwareLivre.org · UnderLinux



» Screenshot
» Login
Login:
Senha:

Se você ainda não possui uma conta, clique aqui.

Esqueci minha senha


Comunidades

Comunidade Linux Home Participar da comunidade Linux Participar Fórum Linux Fórum Membros LinuxMembros RSS do fórum

<< Primeira | Anterior Próxima | Última >>

Não consigo acessar o cups pela rede

[1] Enviado em 12/11/2011 - 10:25h Não consigo acessar o cups pela rede
Linux user: Carlos Andre Santos Machado
bladeblaze

(usa CentOS)


Pessoal,

Estou com um problema sério, de onde quer que eu tente acessar o cups eu nao consigo.

ai vai meu cupsd.conf



MaxLogSize 0
#
# "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"
#
# Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
# complete description of this file.
#

# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel warn

# Administrator user group...
SystemGroup sys root


# Only listen for connections from the local machine.
Listen *:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd

# Default authentication type, when authentication is required...
DefaultAuthType Basic

# Restrict access to the server...
<Location />
  Order Deny,Allow
  Allow localhost
  Allow 192.168.254.0/24
</Location>

# Restrict access to the admin pages...
<Location /admin>
  Order allow,deny
  Encryption Required
  Satisfy All
</Location>

# Restrict access to configuration files...
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# Set the default printer/job policies...
<Policy default>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

# Set the authenticated printer/job policies...
<Policy authenticated>
  # Job-related operations must be done by the owner or an administrator...
  <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
  </Limit>

  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # All printer operations require a printer operator to authenticate...
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>

  # Only the owner or an administrator can cancel or authenticate a job...
  <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>

  <Limit All>
    Order deny,allow
  </Limit>
</Policy>

#
# End of "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $".
#


Eu não sei mais o que fazer...alguem pode me ajudar?

 

  


[2] Enviado em 12/11/2011 - 11:28h Re: Não consigo acessar o cups pela rede
Linux user: Perfil removido
removido

(usa Nenhuma)


cola no seu broswer esse endereço

localhost:631

 

[3] Enviado em 12/11/2011 - 11:29h Re: Não consigo acessar o cups pela rede
Linux user: Perfil removido
removido

(usa Nenhuma)


Ou se tiver o IP da impressora cola broswer.

 

[4] Enviado em 12/11/2011 - 18:37h Re: Não consigo acessar o cups pela rede
Linux user: Rodrigo Marangon
marangon

(usa Gentoo)


Voce precisa colocar o IP de quem pode acessar pelo browser no cupsd.conf, deste modo:


Allow 192.168.0.2


Se este IP tiver acesso a area administrativa, voce precisa coloca-lo do mesmo modo na parte administrativa. Ou voce pode mudar a politica de acesso ao Cups neste arquivo de modo a nao pedir senha.

 

[5] Enviado em 28/11/2011 - 19:11h Re: Não consigo acessar o cups pela rede
Linux user: Natanael Henrique
n4t4n

(usa Debian)


Do modo como está toda a rede 192.168.254.0/24 pode acessar, além do próprio servidor.

Seu problema pode ser firewall. Se você utiliza política DROP então tente

iptables -A INPUT -s 192.168.254.0/24 -p tcp --dport 631 -j ACCEPT

 

[6] Enviado em 28/11/2011 - 19:38h Re: Não consigo acessar o cups pela rede
Linux user: Reginaldo de Matias
saitam

(usa Slackware)


porta 631 do cups esta liberada no firewall?

 

[7] Enviado em 09/01/2012 - 10:00h Re: Não consigo acessar o cups pela rede
Linux user: Alisson da Silva Almeida Oliveira
montanha007

(usa Debian)


Listen 631

# Restrict access to the server...
<Location />
Order allow,deny
Allow 192.168.0.*
</Location>

# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
Allow from 192.168.0.*
Allow from all
</Location>


 

[8] Enviado em 10/02/2012 - 13:06h Re: Não consigo acessar o cups pela rede
Linux user: Horst Thiessen
horst-thiessen

(usa XUbuntu)


E o proxy?
Seu browser está configurado assim?
Sem proxy para: localhost,192.168.1.0/24, 192.168.2.0/24, 192.168.3.0/24 ?
Quantas redes vc tem?
Vc está na mesma rede da impressora?
Localmente vc consegue acesso ao CUPS?

 

  
<< Primeira | Anterior Próxima | Última >>
Responsável pelo site: Fábio Berbert de Paula - Conteúdo distribuído sob licença GNU FDL
Site hospedado por:

Viva o Linux

A maior comunidade Linux da América Latina! Artigos, dicas, tutoriais, fórum, scripts e muito mais. Ideal para quem busca auto-ajuda em Linux.