Debian Whezzy, USB-Drucker im Netz freigeben

Heute ist Stammtischzeit:
Jeden Donnerstag 20:30 Uhr hier im Chat.
Wer Lust hat, kann sich gerne beteiligen. ;)
  • Ich habe mir das neue Debian Whezzy heruntergeladen, installiert, alle Updates installiert und meinen Wlan stick eingerichtet. Jetzt kann ich problemlos via Putty und ähnlichem auf mein Raspberry Pi zugreifen. Zusätzlich habe ich dann noch Cups und Webmine installiert. Habe alle Freigaben erteilt, so dass ich in das CUPS Webinterface komme. Da wird mein Drucker ein Brother HL-4140CN auch erkannt und ich kann ihn hinzufügen. Leider gibt es keinen passenden Treiber für den HL-4140CN also habe ich den HL-4000CN Postscript Treiber gewählt und somit die Installation meines Druckers abgeschlossen. (Habe auch auf Freigeben geklickt). Wenn ich dann auf Testseite drucken gehe passiert erstmal gar nichts, nach einigen Minuten (ca.5min) Druckt er die Testseite dann aber perfekt aus. Das kommt mir sehr lange vor, bin schnellers von dem Drucker gewöhnt, außerdem gelingt es mir nicht von windows auf den Drucker zu zugreifen mit (http://IP-Raspberry:631/printers/Druckername), ich kann ihn einfach nicht als Netzwerkdrucker hinzufügen :dodgy: Habe wirklich alles versucht aber es gelingt mir einfach nicht (seit 2 Tagen ...). Bitte gebt mir einen Tipp oder eine alternative zu CUPS mit der ich Drucken kann...

    Das RaspberryPI soll dabei nichts anderes tun als einen Empfangsstation sein, weil der Drucker zu groß ist um ihn per LAN ins Netzwerk einzubinden...

    Danke,
    Domi

    Edit: Unable to encrypt connection from meineIp - A TLS packet with unexpected length was received. vielleicht hat es damit etwas zu tun ...
    Hier noch ein Teil der Logs:
    D [23/Sep/2012:19:43:06 +0000] cupsdCloseClient: 14
    D [23/Sep/2012:19:43:06 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
    D [23/Sep/2012:19:43:18 +0000] send_slp_browse(0x40771b08 = "Brother_HL-4140CN_series")
    E [23/Sep/2012:19:43:18 +0000] SLPReg of "Brother_HL-4140CN_series" failed with status -20!
    D [23/Sep/2012:19:43:49 +0000] cupsdNetIFUpdate: "lo" = localhost:631
    D [23/Sep/2012:19:43:49 +0000] cupsdNetIFUpdate: "wlan0" = 192.168.178.23:631
    D [23/Sep/2012:19:43:49 +0000] send_slp_browse(0x40771b08 = "Brother_HL-4140CN_series")
    E [23/Sep/2012:19:43:49 +0000] SLPReg of "Brother_HL-4140CN_series" failed with status -20!
    D [23/Sep/2012:19:43:53 +0000] Report: clients=0
    D [23/Sep/2012:19:43:53 +0000] Report: jobs=0
    D [23/Sep/2012:19:43:53 +0000] Report: jobs-active=0
    D [23/Sep/2012:19:43:53 +0000] Report: printers=1
    D [23/Sep/2012:19:43:53 +0000] Report: printers-implicit=0
    D [23/Sep/2012:19:43:53 +0000] Report: stringpool-string-count=1676
    D [23/Sep/2012:19:43:53 +0000] Report: stringpool-alloc-bytes=8880
    D [23/Sep/2012:19:43:53 +0000] Report: stringpool-total-bytes=29208
    D [23/Sep/2012:19:44:20 +0000] send_slp_browse(0x40771b08 = "Brother_HL-4140CN_series")
    E [23/Sep/2012:19:44:20 +0000] SLPReg of "Brother_HL-4140CN_series" failed with status -20!
    D [23/Sep/2012:19:44:35 +0000] cupsdAcceptClient: 14 from 192.168.178.20:631 (IPv4)
    E [23/Sep/2012:19:44:35 +0000] Unable to encrypt connection from 192.168.178.20 - A TLS packet with unexpected length was received.
    D [23/Sep/2012:19:44:35 +0000] cupsdCloseClient: 14
    D [23/Sep/2012:19:44:35 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
    D [23/Sep/2012:19:44:35 +0000] cupsdAcceptClient: 14 from 192.168.178.20:631 (IPv4)
    D [23/Sep/2012:19:44:36 +0000] Connection from 192.168.178.20 now encrypted.
    D [23/Sep/2012:19:44:36 +0000] cupsdReadClient: 14 GET /admin/log/error_log? HTTP/1.1
    D [23/Sep/2012:19:44:36 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
    D [23/Sep/2012:19:44:36 +0000] cupsdAuthorize: Authorized as root using Basic

    Edit2: Habe nun den originallen Brother Treiber installiert wie es auf der Brother Website steht, und einen neuen Drucker hinzugefügt, der druckt leider nichtmal mehr die Testseite, hier die Logs
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: printer_commands[0]="AutoConfigure, Clean, PrintSelfTestPage"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: server_is_sharing_printers[0]="1"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: TITLE="Brother"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: SERVER_NAME="192.168.178.23"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: REMOTE_USER="root"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.3"
    D [23/Sep/2012:20:48:31 +0000] Script header: Content-Type: text/html;charset=utf-8
    D [23/Sep/2012:20:48:31 +0000] Script header:
    D [23/Sep/2012:20:48:31 +0000] cupsdReadClient: 17 POST / HTTP/1.1
    D [23/Sep/2012:20:48:31 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
    D [23/Sep/2012:20:48:31 +0000] cupsdAuthorize: No authentication data provided.
    D [23/Sep/2012:20:48:31 +0000] [CGI] Regular expression ".*Clean.*"
    D [23/Sep/2012:20:48:31 +0000] [CGI] matches[0].rm_so=0
    D [23/Sep/2012:20:48:31 +0000] [CGI] matches[1].rm_so=-1
    D [23/Sep/2012:20:48:31 +0000] [CGI] Regular expression ".*PrintSelfTestPage.*"
    D [23/Sep/2012:20:48:31 +0000] [CGI] matches[0].rm_so=0
    D [23/Sep/2012:20:48:31 +0000] [CGI] matches[1].rm_so=-1
    D [23/Sep/2012:20:48:31 +0000] cupsdReadClient: 17 1.1 Get-Jobs 1
    D [23/Sep/2012:20:48:31 +0000] Get-Jobs ipp://localhost:631/printers/Brother
    D [23/Sep/2012:20:48:31 +0000] [Job 2] Loading attributes...
    D [23/Sep/2012:20:48:31 +0000] Returning IPP successful-ok for Get-Jobs (ipp://localhost:631/printers/Brother) from localhost
    D [23/Sep/2012:20:48:31 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiClearVariables called.
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: ORDER="dec"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: SECTION="printers"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: TOTAL="1"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: WHICH_JOBS="all"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: SERVER_NAME="192.168.178.23"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: REMOTE_USER="root"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: CUPS_VERSION="CUPS v1.5.3"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_preserved[0]="0"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_printer_name[0]="Brother"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_printer_uri[0]="/printers/Brother"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: time_at_creation[0]="Sun Sep 23 20:45:31 2012"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: time_at_processing[0]="Sun Sep 23 20:45:31 2012"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: time_at_completed[0]="Sun Sep 23 20:47:56 2012"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_id[0]="2"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_state[0]="9"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_media_sheets_completed[0]="0"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_k_octets[0]="1"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetArray: job_printer_state_message[0]=""
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: PRINTER_NAME="Brother"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: PRINTER_URI_SUPPORTED="/printers/Brother"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: THISURL="/printers/Brother"
    D [23/Sep/2012:20:48:31 +0000] [CGI] cgiSetVariable: SEARCH_DEST="Brother"
    D [23/Sep/2012:20:48:31 +0000] cupsdReadClient: 17 WAITING Closing on EOF
    D [23/Sep/2012:20:48:31 +0000] cupsdCloseClient: 17
    D [23/Sep/2012:20:48:31 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
    D [23/Sep/2012:20:48:31 +0000] PID 4576 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
    D [23/Sep/2012:20:48:31 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
    D [23/Sep/2012:20:48:34 +0000] Report: clients=1
    D [23/Sep/2012:20:48:34 +0000] Report: jobs=2
    D [23/Sep/2012:20:48:34 +0000] Report: jobs-active=0
    D [23/Sep/2012:20:48:34 +0000] Report: printers=3
    D [23/Sep/2012:20:48:34 +0000] Report: printers-implicit=0
    D [23/Sep/2012:20:48:34 +0000] Report: stringpool-string-count=2168
    D [23/Sep/2012:20:48:34 +0000] Report: stringpool-alloc-bytes=10792
    D [23/Sep/2012:20:48:34 +0000] Report: stringpool-total-bytes=43096
    D [23/Sep/2012:20:48:35 +0000] cupsdReadClient: 16 GET /admin/log/error_log? HTTP/1.1
    D [23/Sep/2012:20:48:35 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
    D [23/Sep/2012:20:48:35 +0000] cupsdAuthorize: Authorized as root using Basic

    Einmal editiert, zuletzt von Domi_xd96 (23. September 2012 um 22:50)

Jetzt mitmachen!

Du hast noch kein Benutzerkonto auf unserer Seite? Registriere dich kostenlos und nimm an unserer Community teil!