HP1010,CUPS,LAN

Sekcia: Hardware a Drivery 11.06.2008 | 10:16
Lama   Návštevník
Zdravim. Mam doma spraveny print server (vlastne vyradeny notebook.).CUPS+Samba. Tlacit z print servera (notebooka) ide perfektne. Ked chcem pridat tlaciaren cez lan k inym pc. Napise : Stav:Pristup odmietnuty, neda sa pripojit. To su stanice s WinXP. Ale tlac funguje napriek tej chybe.

Stretli ste sa s podobnym problemom? A ako by sa dal vyriesit. Ani googlovanie nepomohlo....
    • Re: HP1010,CUPS,LAN 11.06.2008 | 12:24
      WlaSaTy   Návštevník
      Tlaciarne mas pripojene cez IPP alebo cez sambu?
      • Re: HP1010,CUPS,LAN 11.06.2008 | 13:21
        Lama   Návštevník
        Su pripojene cez Sambu.
        Vsetko tlac funguje. ALe nechce to slapat kvoli pravam. nano /etc/samba/smb.conf
         security = share
        ...............................
        # CUPS printing.  See also the cupsaddsmb(8) manpage in the
        # cupsys-client package.
           printing = cups
           printcap name = cups
        ..................................
        [printers]
           comment = All Printers
           browseable = yes
           path = /var/spool/samba
           printable = yes
           guest ok = yes
           read only = yes
           create mask = 0755
        
        A vypis nano /etc/cups/cupsd.conf
        
        # Log general information in error_log - change "info" to "debug" for
        # troubleshooting...
        LogLevel warning
        
        # Administrator user group...
        SystemGroup lpadmin
        
        
        # Only listen for connections from the local machine.
        Listen localhost:631
        Listen 192.168.1.199
        Listen /var/run/cups/cups.sock
        
        # Show shared printers on the local network.
        Browsing On
        BrowseOrder allow,deny
        BrowseAllow all
        
        # Default authentication type, when authentication is required...
        DefaultAuthType Basic
        
        # Restrict access to the server...
        <Location />
          Order allow,deny
        Allow from ALL
        </Location>
        
        # Restrict access to the admin pages...
        <Location /admin>
          Order allow,deny
        Allow from 192.168.1.209
        Allow from ALL
        </Location>
        
        # Restrict access to configuration files...
        <Location /admin/conf>
          AuthType Default
          Require user @SYSTEM
          Order allow,deny
        Allow from ALL
        </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-Subscriptio$
            Require user @OWNER @SYSTEM
            Order deny,allow
        Allow from ALL
          </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
        Allow from ALL
          </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 $
            AuthType Default
            Require user @SYSTEM
            Order deny,allow
        Allow from ALL
          </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
        Allow from ALL
          </Limit>
        
          <Limit All>
            Order deny,allow
        Allow from ALL
          </Limit>
        </Policy>
        
        #
        #
        
        • Re: HP1010,CUPS,LAN 11.06.2008 | 15:47
          Lama   Návštevník
          Je tam skor vatsi problem. na vsetkych staniciach to ide. Ale jedna stanica XP ma problemy s tym prinserverom. Po case napise nemam dostatocne prava.

          Hned po starte. Pridam tlaciaren ide tlacit. Ale za taku hodinku to spadne. Ale zo vsetkych ide tlacit. Ale z tej z ktorej potrebujem najviac nie. Ani sa dostat napr \\ps\ . Nejde. Iba znova restart a uz ide.(teda najblizsiu hodinku)
          • Re: HP1010,CUPS,LAN 11.06.2008 | 15:54
            Lama   Návštevník
            nano /var/log/samba/log.elektro
            [2008/06/09 10:02:15, 0] lib/util_sock.c:write_data(562)
              write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
            [2008/06/09 10:02:15, 0] lib/util_sock.c:send_smb(769)
              Error writing 4 bytes to client. -1. (Connection reset by peer)
            [2008/06/09 10:19:58, 0] lib/util_sock.c:write_data(562)
              write_data: write failure in writing to client 192.168.1.110. Error Connection reset by peer
            [2008/06/09 10:19:58, 0] lib/util_sock.c:send_smb(769)
              Error writing 4 bytes to client. -1. (Connection reset by peer)
            [2008/06/11 09:22:02, 0] lib/util_sock.c:write_data(562)
              write_data: write failure in writing to client 192.168.1.110. Error Connection reset by peer
            [2008/06/11 09:22:02, 0] lib/util_sock.c:send_smb(769)
              Error writing 4 bytes to client. -1. (Connection reset by peer)
            [2008/06/11 12:28:37, 0] lib/util_sock.c:write_data(562)
              write_data: write failure in writing to client 192.168.1.110. Error Connection reset by peer
            [2008/06/11 12:28:37, 0] lib/util_sock.c:send_smb(769)
              Error writing 4 bytes to client. -1. (Connection reset by peer)
            
            • Re: HP1010,CUPS,LAN 11.06.2008 | 17:35
              WlaSaTy   Návštevník
              ta IP adresa 192.168.1.110 parti NT? skus pozriet firewall a kabelaz, nezda sa mi ze by malo byt korektne chovanie ze stroj prestane sam od seba komunikovat.
              • Re: HP1010,CUPS,LAN 11.06.2008 | 18:59
                Lama   Návštevník
                Vymenil som kable. To ma tiez napadlo.
                A vypol som windows firewall. Stale ta ista chyba.
                Chvilku slape. Ale tak za hodinku ako keby nereagovala stanica na tlaciaren. Zadam \\ps\ aby som sa aspon dostal k zdielanim adresarom. A neuveritelne dlho to trva nacitanie. A este vyhodi ze nemam dostatocne prava.
                Vyhodi tabulku aby som sa prihlasil. Meno je guest a heslo nezadane.

                Na ostatnych PC to nerobi. nechapem...
                • Re: HP1010,CUPS,LAN 11.06.2008 | 19:11
                  Lama   Návštevník
                  Alebo bol by neaky napad ako zdielat USB TLACIAREN HP 1010 LASERJET. Prostrednictvom lan siete?
                  • Re: HP1010,CUPS,LAN 11.06.2008 | 19:31
                    WlaSaTy   Návštevník
                    Napriklad pomocou print servra (standalone krabicky), popripade routera ktory ma aj USB port. treba vyskusat.
                    • Re: HP1010,CUPS,LAN 11.06.2008 | 23:30
                      Lama   Návštevník
                      To v pohode. Take riesenie ma napadlo. Ale chcel som aby nestalo nic. Da sa to este neako s linuxom spravit.?
                      • Re: HP1010,CUPS,LAN 11.06.2008 | 23:47
                        WlaSaTy   Návštevník
                        Ano, da sa s tym nieco urobit.

                        Pokial je to chyba linuxu, tak by som odporucil upgrade hoci aj na testovaciu verziu daneho software.

                        Ale ono to moze byt aj chyba niecoho ineho, napriklad zlych ovladacov pre sietovky alebo zle nastaveneho power managnmentu.

                        Inak, ak je ten notebook s USB a je plne funkcny, tak ma vyssiu cenu ako print server.

                        PS.: ten IPP si neskusil? je dost mozne ze to pojde ovela lepsie a bezbolestnejsie. predsa len je to modernejsi protokol.
                        • Re: HP1010,CUPS,LAN 12.06.2008 | 12:01
                          Lama   Návštevník
                          No pozel som sa do event viewra toho PC.
                          Take podozrive sa mi zda:
                          Systém Windows nemôže získať názov radiča domény pre počítačovú sieť. (Zadaná doména neexistuje, alebo sa na ňu nedá pripojiť. ). Spracovanie politiky skupiny bolo prerušené. 
                          

                          A este tato
                          Automatickej registrácii certifikátu lokálny systém sa nepodarilo spojiť so službou Active Directory (0x8007054b). Zadaná doména neexistuje, alebo sa na ňu nedá pripojiť.
                           Registrácia sa nevykoná.
                          
                          
                          Ďalšie informácie nájdete v Centre pomoci a technickej podpory na http://go.microsoft.com/fwlink/events.asp.
                          
                          Moc sa vo windowsoch nevyznam. Hm Hm hm
                          • Re: HP1010,CUPS,LAN 12.06.2008 | 17:55
                            WlaSaTy   Návštevník
                            skus nakonfigurovat kompletnu domenu pre sambu, myslim ze v tomto pripade to asi tie windowsy vyzaduju.

                            alebo to obid priamo cez ten IPP.