Siduction Forum

Siduction Forum => Software - Support => Topic started by: dieres on 2013/09/22, 10:16:39

Title: noch ein cups Problem
Post by: dieres on 2013/09/22, 10:16:39
Ich hab neue drucker (Officeet pro 8500 und einen LaserJet 1300 über USB an Printserver,einen futro s500 mit nox)

Auf meinen Desktops und Laptops kann ich den direkt am Netzwerk hängenden Officejet ohne Probleme einrichten (mit der hptoolbox). auf dem Futro kann ich den LJ1300 auch ohne Probleme einrichten, über das webinterface unter http://[ip-futro].631. aber trotzdem ich dort unter admin auch "share printers connected to the Internet" angehakt habe wird der Drucker auf den anderen Systemen nicht gefunden.
Früher war ich gewohnt, das solche Drucker auf den "Clients vollautomatisch gefunden wurden. Muss ich das jetzt auf jedem System local zu Fuß einrichten ? Das wäre echt lästig!
Title: noch ein cups Problem
Post by: dieres on 2013/09/22, 12:07:17
oops, eigentlich sollte das unter software stehen  :oops:
Title: noch ein cups Problem
Post by: towo on 2013/09/22, 13:10:36
Quote from: "dieres"oops, eigentlich sollte das unter software stehen  :oops:
Da hab ich es jetzt auch hin verschoben.
Title: noch ein cups Problem
Post by: hsp on 2013/09/22, 15:09:20
Bei der aktuellen cups-version ist das browsing aus dem daemon entfernt worden und in ein extra Paket gepackt worden, warum das sein muß weiß wohl nur der Geier oder so.


apt-get install cups-browsed

Und du solltest auch das hier lesen, besser ist das.
http://forum.siduction.org/index.php?topic=3830&highlight=

...
Title: noch ein cups Problem
Post by: dieres on 2013/09/22, 15:14:22
Danke! Das war es.

Höre ich aus Deinem Beitrag etwa "etwas" Frust heraus? :wink:
Geht mir auch so! :evil:
Title: noch ein cups Problem
Post by: hsp on 2013/09/22, 15:21:10
Ja, du sagst es. Was da im Augenblick mit cups passiert verstehe ich nicht. Mal sehen was sich die Leute von der Apfelwerkstatt noch so einfallen lassen.

...
Title: noch ein cups Problem
Post by: dieres on 2013/09/22, 17:36:14
Doch noch nicht gelöst  :twisted:

Nur der Linux-mint laptop kann auch drucken. Der Rest mit siduction findet jetzt zwar unter localhost:631/printers die vom Server freigegebenen Drucker, aber wenn ich dann z.B. unter Libreoffice oder mit Iceweasel zu drucken versuche, passier nichts.

Das error_log von cups auf dem client hat mir auch nichts für mich verständliches erzählt. Werde mal schauen ob der Job vielleicht auf dem Server nen Error produziert hat.

Kennt jemand das Problem?
Title: noch ein cups Problem
Post by: dieres on 2013/09/22, 22:06:08
Auf dem Server kommt der Job vom siduction-client gar nicht erst an
Hier mal der Auzug aus dem error_log des siduction Clients:

D [22/Sep/2013:21:47:53 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [22/Sep/2013:21:47:53 +0200] [Client 8] HTTP_WAITING Closing on EOF
D [22/Sep/2013:21:47:53 +0200] [Client 8] Closing connection.
D [22/Sep/2013:21:47:53 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [22/Sep/2013:21:48:32 +0200] [Client 8] Accepted from localhost (Domain)
D [22/Sep/2013:21:48:32 +0200] Report: clients=2
D [22/Sep/2013:21:48:32 +0200] Report: jobs=2
D [22/Sep/2013:21:48:32 +0200] Report: jobs-active=0
D [22/Sep/2013:21:48:32 +0200] Report: printers=6
D [22/Sep/2013:21:48:32 +0200] Report: stringpool-string-count=6422
D [22/Sep/2013:21:48:32 +0200] Report: stringpool-alloc-bytes=14224
D [22/Sep/2013:21:48:32 +0200] Report: stringpool-total-bytes=122312
D [22/Sep/2013:21:48:32 +0200] [Client 8] POST /printers/Brother_HL_2070N HTTP/1.1
D [22/Sep/2013:21:48:32 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [22/Sep/2013:21:48:32 +0200] [Client 8] No authentication data provided.
D [22/Sep/2013:21:48:32 +0200] [Client 8] 2.0 Get-Printer-Attributes 9
D [22/Sep/2013:21:48:32 +0200] Get-Printer-Attributes ipp://localhost/printers/Brother_HL_2070N
D [22/Sep/2013:21:48:32 +0200] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Brother_HL_2070N) from localhost
D [22/Sep/2013:21:48:32 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [22/Sep/2013:21:48:48 +0200] [Client 18] Accepted from localhost (Domain)
D [22/Sep/2013:21:48:48 +0200] [Client 18] POST / HTTP/1.1
D [22/Sep/2013:21:48:48 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [22/Sep/2013:21:48:48 +0200] [Client 18] No authentication data provided.
D [22/Sep/2013:21:48:48 +0200] [Client 18] 2.0 CUPS-Get-Printers 1
D [22/Sep/2013:21:48:48 +0200] CUPS-Get-Printers
D [22/Sep/2013:21:48:48 +0200] Returning IPP successful-ok for CUPS-Get-Printers (no URI) from localhost
D [22/Sep/2013:21:48:48 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [22/Sep/2013:21:48:48 +0200] [Client 18] POST / HTTP/1.1
D [22/Sep/2013:21:48:48 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [22/Sep/2013:21:48:48 +0200] [Client 18] No authentication data provided.
D [22/Sep/2013:21:48:48 +0200] [Client 18] 2.0 CUPS-Get-Classes 1
D [22/Sep/2013:21:48:48 +0200] CUPS-Get-Classes
D [22/Sep/2013:21:48:48 +0200] Returning IPP successful-ok for CUPS-Get-Classes (no URI) from localhost
D [22/Sep/2013:21:48:48 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [22/Sep/2013:21:48:48 +0200] [Client 18] HTTP_WAITING Closing on EOF
D [22/Sep/2013:21:48:48 +0200] [Client 18] Closing connection.
D [22/Sep/2013:21:48:48 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [22/Sep/2013:21:48:55 +0200] Closing client 19 after 300 seconds of inactivity...
D [22/Sep/2013:21:48:55 +0200] [Client 19] Closing connection.
D [22/Sep/2013:21:48:55 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [22/Sep/2013:21:49:02 +0200] [Client 18] Accepted from localhost:631 (IPv6)
D [22/Sep/2013:21:49:02 +0200] [Client 18] GET /printers/Brother_HL_2070N.ppd HTTP/1.1
D [22/Sep/2013:21:49:02 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [22/Sep/2013:21:49:02 +0200] [Client 18] No authentication data provided.
D [22/Sep/2013:21:49:02 +0200] [Client 18] Closing because Keep-Alive disabled
D [22/Sep/2013:21:49:02 +0200] [Client 18] Closing connection.
D [22/Sep/2013:21:49:02 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [22/Sep/2013:21:49:02 +0200] [Client 8] HTTP_WAITING Closing on EOF
D [22/Sep/2013:21:49:02 +0200] [Client 8] Closing connection.
D [22/Sep/2013:21:49:02 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [22/Sep/2013:21:49:29 +0200] [Client 8] Accepted from localhost (Domain)
D [22/Sep/2013:21:49:29 +0200] [Client 8] POST /printers/Brother_HL_2070N HTTP/1.1
D [22/Sep/2013:21:49:29 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [22/Sep/2013:21:49:29 +0200] [Client 8] No authentication data provided.
D [22/Sep/2013:21:49:29 +0200] [Client 8] 2.0 Get-Printer-Attributes 10
D [22/Sep/2013:21:49:29 +0200] Get-Printer-Attributes ipp://localhost/printers/Brother_HL_2070N
D [22/Sep/2013:21:49:29 +0200] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/Brother_HL_2070N) from localhost
D [22/Sep/2013:21:49:29 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [22/Sep/2013:21:49:34 +0200] [Client 18] Accepted from localhost (Domain)
D [22/Sep/2013:21:49:34 +0200] Report: clients=2
D [22/Sep/2013:21:49:34 +0200] Report: jobs=2
D [22/Sep/2013:21:49:34 +0200] Report: jobs-active=0
D [22/Sep/2013:21:49:34 +0200] Report: printers=6
D [22/Sep/2013:21:49:34 +0200] Report: stringpool-string-count=6662
D [22/Sep/2013:21:49:34 +0200] Report: stringpool-alloc-bytes=14224
D [22/Sep/2013:21:49:34 +0200] Report: stringpool-total-bytes=127880
D [22/Sep/2013:21:49:34 +0200] [Client 18] POST /printers/Brother_HL_2070N HTTP/1.1
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [22/Sep/2013:21:49:34 +0200] [Client 18] No authentication data provided.
D [22/Sep/2013:21:49:34 +0200] [Client 18] 2.0 Create-Job 11
D [22/Sep/2013:21:49:34 +0200] Create-Job ipp://localhost:631/printers/Brother_HL_2070N
D [22/Sep/2013:21:49:34 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [22/Sep/2013:21:49:34 +0200] add_job: requesting-user-name="didi"
D [22/Sep/2013:21:49:34 +0200] Discarding unused job-created event...
I [22/Sep/2013:21:49:34 +0200] [Job 50] Queued on "Brother_HL_2070N" by "didi".
D [22/Sep/2013:21:49:34 +0200] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/Brother_HL_2070N) from localhost
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [22/Sep/2013:21:49:34 +0200] [Client 18] POST /printers/Brother_HL_2070N HTTP/1.1
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [22/Sep/2013:21:49:34 +0200] [Client 18] No authentication data provided.
D [22/Sep/2013:21:49:34 +0200] [Client 18] 2.0 Send-Document 12
D [22/Sep/2013:21:49:34 +0200] Send-Document ipp://localhost:631/printers/Brother_HL_2070N
D [22/Sep/2013:21:49:34 +0200] cupsdIsAuthorized: requesting-user-name="didi"
D [22/Sep/2013:21:49:34 +0200] [Job 50] Auto-typing file...
D [22/Sep/2013:21:49:34 +0200] [Job 50] Request file type is application/pdf.
D [22/Sep/2013:21:49:34 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [22/Sep/2013:21:49:34 +0200] [Job 50] File of type application/pdf queued by "didi".
D [22/Sep/2013:21:49:34 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [22/Sep/2013:21:49:34 +0200] [Job 50] time-at-processing=1379879374
D [22/Sep/2013:21:49:34 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [22/Sep/2013:21:49:34 +0200] Discarding unused printer-state-changed event...
D [22/Sep/2013:21:49:34 +0200] [Job 50] Sending job to queue tagged as raw...
D [22/Sep/2013:21:49:34 +0200] [Job 50] No job-sheets attribute.
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[0]="Brother_HL_2070N"
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[1]="50"
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[2]="didi"
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[3]="Unbenannt1"
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[4]="1"
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[5]="job-originating-user-name=didi PageSize=A4 job-priority=50 job-uuid=urn:uuid:0fb238a9-a26b-3010-5991-8a85c4333eb4 cups-browsed job-originating-host-name=localhost time-at-creation=1379879374 time-at-processing=1379879374"
D [22/Sep/2013:21:49:34 +0200] [Job 50] argv[6]="/var/spool/cups/d00050-001"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[8]="HOME=/var/spool/cups/tmp"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[10]="SERVER_ADMIN=root@amd64box.local.net"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[11]="SOFTWARE=CUPS/1.6.3"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[13]="TZ=Europe/Berlin"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[14]="USER=root"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[15]="CUPS_MAX_MESSAGE=2047"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[16]="CUPS_SERVER=/var/run/cups/cups.sock"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[17]="CUPS_ENCRYPTION=IfRequested"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[18]="IPP_PORT=631"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[19]="CHARSET=utf-8"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[20]="LANG=de_DE.UTF-8"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[21]="PPD=/etc/cups/ppd/Brother_HL_2070N.ppd"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[22]="RIP_MAX_CACHE=128m"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[23]="CONTENT_TYPE=application/pdf"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[24]="DEVICE_URI=ipps://futro.local:631/printers/Brother_HL_2070N"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[25]="PRINTER_INFO=Brother_HL_2070N @ futro"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[26]="PRINTER_LOCATION=futro"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[27]="PRINTER=Brother_HL_2070N"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[28]="PRINTER_STATE_REASONS=none"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[29]="CUPS_FILETYPE=document"
D [22/Sep/2013:21:49:34 +0200] [Job 50] envp[30]="AUTH_I****"
I [22/Sep/2013:21:49:34 +0200] [Job 50] Started backend /usr/lib/cups/backend/ipps (PID 19140)
D [22/Sep/2013:21:49:34 +0200] Discarding unused job-state-changed event...
D [22/Sep/2013:21:49:34 +0200] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/Brother_HL_2070N) from localhost
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [22/Sep/2013:21:49:34 +0200] [Job 50] 1 files to send in job...
D [22/Sep/2013:21:49:34 +0200] [Job 50] update_reasons(attr=0(), s="+connecting-to-device")
D [22/Sep/2013:21:49:34 +0200] [Job 50] STATE: +connecting-to-device
D [22/Sep/2013:21:49:34 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
D [22/Sep/2013:21:49:34 +0200] [Job 50] Looking up "futro.local"...
D [22/Sep/2013:21:49:34 +0200] Discarding unused printer-state-changed event...
D [22/Sep/2013:21:49:34 +0200] [Job 50] Connecting to futro.local:631
I [22/Sep/2013:21:49:34 +0200] [Job 50] Connecting to printer.
D [22/Sep/2013:21:49:34 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:49:34 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [22/Sep/2013:21:49:34 +0200] [Job 50] Set job-printer-state-message to "Connecting to printer.", current level=INFO
D [22/Sep/2013:21:49:34 +0200] Discarding unused job-progress event...
D [22/Sep/2013:21:49:34 +0200] Discarding unused printer-state-changed event...
D [22/Sep/2013:21:49:59 +0200] [Client 20] Accepted from localhost:631 (IPv6)
D [22/Sep/2013:21:49:59 +0200] [Client 20] GET /printers/Brother_HL_2070N.ppd HTTP/1.1
D [22/Sep/2013:21:49:59 +0200] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [22/Sep/2013:21:49:59 +0200] [Client 20] No authentication data provided.
D [22/Sep/2013:21:49:59 +0200] [Client 20] Closing because Keep-Alive disabled
D [22/Sep/2013:21:49:59 +0200] [Client 20] Closing connection.
D [22/Sep/2013:21:49:59 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [22/Sep/2013:21:49:59 +0200] [Client 8] HTTP_WAITING Closing on EOF
D [22/Sep/2013:21:49:59 +0200] [Client 8] Closing connection.
D [22/Sep/2013:21:49:59 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [22/Sep/2013:21:50:04 +0200] [Job 50] Connection error: Connection timed out
E [22/Sep/2013:21:50:04 +0200] [Job 50] The printer is not responding.
D [22/Sep/2013:21:50:04 +0200] cupsdMarkDirty(---J-)
D [22/Sep/2013:21:50:04 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [22/Sep/2013:21:50:04 +0200] [Job 50] Set job-printer-state-message to "The printer is not responding.", current level=ERROR
D [22/Sep/2013:21:50:04 +0200] Discarding unused job-progress event...
D [22/Sep/2013:21:50:04 +0200] Discarding unused printer-state-changed event...
I [22/Sep/2013:21:50:04 +0200] Saving job.cache...
D [22/Sep/2013:21:50:04 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"


Wo stellt man denn keep alive ein? Warum funktioniert mit meinem LinuxMint  Client alles perfekt?
Title: noch ein cups Problem
Post by: hsp on 2013/09/23, 06:32:43
Den Link den ich oben reingepinselt habe hast du gelesen?

...
Title: noch ein cups Problem
Post by: dieres on 2013/09/23, 10:11:38
Ja. Ich hab in /etc/hostname jetzt auf dem Server futro.local.net
und auf den Clients z.B. siductionbox.local.net

hostname -d zeigt überall local.net
hostname -f siductionbox.local.net

Aber im Browser unter ip:631 finde ich tatsächlich noch dies ominöse .local ???

Hab ich da was überlesen, falsch verstanden ?
Title: noch ein cups Problem
Post by: hsp on 2013/09/23, 10:26:43
Du musst auch in der /etc/hosts den kompletten Hostname inkl. domain eintragen. Der Schuldige für das .local ist der avahi-daemon auf deinem Printserver. Ich hab das auch nicht auf Anhieb geschnallt.

...
Title: noch ein cups Problem
Post by: michaa7 on 2013/09/23, 11:25:17
siehe "man hosts"
Title: noch ein cups Problem
Post by: dieres on 2013/09/23, 16:41:24
Das hab ich dann auch gemacht, aber unter http://localhost:631/printers tauchten die Drucker dann auf, ohne das man sie durch anklicken öffnen konnte, um z.B. eine Testseite zu drucken. Das ging erst als ich in der cups-browsed.conf "BrowsePoll 192.168.3.222:631" gesetzt habe. 192.168.3.222 ist die IP der Nox Printserverbox. Spricht etwas gegen dies BrowsePoll ? Netzlast?

auf siduction sind die ersten beiden Zeilen der /etc/hosts

127.0.0.1   localhost
127.0.0.1   siductionbox
geändert in
127.0.0.1   localhost
127.0.0.1   siductionbox.local.net

merkwürdigerweise behinderte der folgende Eintrag auf dem Client das ganze:

192.168.3.222 futro.local.net

nach entfernen dieses Eintrags geht es dann wieder, weiß der ....
weshalb.

auf Mint
127.0.0.1    localhost
127.0.1.1    mintbox

Wobei Mint damit aus dem Stand die Drucker gefunden hat und ich auch drucken konnte. Dort sind auch einige cups-Pakete installiert, die ich in Debian/Siduction nicht gefunden habe.

Es geht jetzt scheinbar, aber restlos verstanden hab ich das alles nicht. Danke erst mal für Eure Hilfe.
Title: noch ein cups Problem
Post by: michaa7 on 2013/09/23, 18:27:55
Quote from: "dieres"...
127.0.0.1   localhost
127.0.0.1   siductionbox.local.net

ich wäre mit dem eintrag von tatsächlich vorhanden TLD sehr vorsichtig. Ich halte es auch für überflüssig.

Denk dir doch einfach einen *gruppennamen* aus, beispielsweise (vom unterstellten familienename Mayer abgeleitet) mayernet, in dem es folgende rechner gibt: siduxbox, schltop, tombox.

Dann sehen deine einträge so aus:

Quote127.0.0.1   localhost
127.0.0.1   siduxbox.mayernet   siduxbox
192.168.3.10  siduxbox.mayernet   siduxbox  
#die .10 habe ich jetzt einfach angenommen
192.168.3.11   schltop.mayernet   schltop
192.168.3.12   tombox.mayernet   tombox
192.168.3.222   futro.mayernet   futro
#soll das nicht futuro heissen.

Quotemerkwürdigerweise behinderte der folgende Eintrag auf dem Client das ganze:

192.168.3.222 futro.local.net
...
Was auch immer futro ist, weiss das teil dass es so heisst?

BTW: verwendest du dhcp? Hast du getrennte bereiche für dhcp und fixe ips?
Title: noch ein cups Problem
Post by: bluelupo on 2013/09/23, 20:27:25
Hallo zusammen,
das zweimalige 127.0.0.1 kann man sich doch sparen. Bei mir ist es so in der /etc/hosts:


127.0.0.1                       localhost

# homezone.net
192.168.178.1           fritzbox.homezone.net                   fritzbox
192.168.178.10          polarfox.homezone.net                   polarfox
192.168.178.33          printer.homezone.net                    printer
[...]


Meine Domain ist homezone.net und wird auch richtig aufgelöst. Alle Clients haben eine feste IP - kein DHCP aktiviert.

$ hostname -d
homezone.net
$ hostname -f
polarfox.homezone.net
$ hostname
polarfox
Title: noch ein cups Problem
Post by: dieres on 2013/09/24, 06:08:19
@michaa7
war mir nicht klar, das local.net ne tatsächliche TLD ist.
Das bezieht sich auf den Teil .net ?
werde Deinem Rat folgen.

futro heisst ein alter thinclient von fujitsu. Und ich bin immer so wenig kreativ im benennen von Rechnern. :oops:
so gibt es acerlap und asuslap usw.
Den Futro hab ich als Ersatz für meine alte nslu2 box zusammengebastelt. Hat mit sempron 2100+ und 512MB Ram und einer aus Compactflash FotoZeiten stammenden 8GB Cf Card genau daas Leistungspotenzial für einen 24/7 Rechner. Schluckt ca. 14 Watt.

Das reicht sogar für LXDE und vdr mit streamdev-client zum Fernsehstreamen. 8)
Title: noch ein cups Problem
Post by: michaa7 on 2013/09/24, 09:59:28
Quote from: "dieres"@michaa7
war mir nicht klar, das local.net ne tatsächliche TLD ist.
Das bezieht sich auf den Teil .net ?

.net ist der TLD teil. local.net wird es vielleicht nicht unbedingt geben, aber warum mit 'ner TLD herummachen wenn man keine eigene hat und es mit 'nem gruppenamenanhängsel auch klappt.
Wenn ich ohne wirklich eigene TLD meine rechner zu hause unbedingt nach dem DNS schema benennen wollte dann würde ich das mit einer pseudo TLD machen, z.b.

127.0.0.1 sidbox.myhome.loc sidbox

Quotewerde Deinem Rat folgen.
;-)
Title: noch ein cups Problem
Post by: dieres on 2013/09/24, 10:56:46
Ohne BrowsePoll in der Datei /etc/cups/cups-browsed.conf geht das bei mir nicht.

Einträge in der hosts sind jetzt nach dem Schema

192.168.3.222 futro.m8net  futro  #wegen Meisenweg 8 :wink:

Sowohl auf dem "Printserver" als auch den clients.

Für BrowsePoll funktionieren dann folgende Einträge:

BrowsePoll futro
BrowsePoll futro:631
BrowsePoll 192.168.3.222
BrowsePoll 192.168.3.222:631

Was nicht funtioniert:
BrowsePoll futro.m8net
BrowsePoll futro.m8net:631

oder garnichts.
Da kommt dann beim klicken auf den Drucker unter http://localhost:631/printers eine Fenster wo der Browser sich beschwert das er kein Protokoll ipps: handeln könne und bei nem Druckjob kommt wieder unable to locate futro.local :twisted:

Das erklär mir mal jemand !
Title: noch ein cups Problem
Post by: Geier0815 on 2013/09/24, 12:25:53
Ein Hostname setzt sich ja auch aus einem hostname.domainname.tldname zusammen und wird von rechts nach links aufgelöst. Sprich dein m8net wird als tld angesehen ( wie zB de com org ) und futro als domainname ( zB google microsoft ) und es fehlt der eigentliche hostname. Deshalb wird das so nichts.
Title: noch ein cups Problem
Post by: dieres on 2013/09/24, 13:18:22
dann erweitere ich also den hostname mit m8net.local , denn ne TLD .local sollte wohl keinen Ärger verursachen?
Title: noch ein cups Problem
Post by: Geier0815 on 2013/09/24, 14:11:53
Um was erweitert der avahi den Namen? Genau: um .local von daher ist das kein plan. Nimm irgendetwas phantasievolles wie xyz oder so...
Title: noch ein cups Problem
Post by: dieres on 2013/09/25, 00:25:22
Ich krieg 'n Hals :evil:

hab jetzt überall [rechnername].m8.xyz als hostname und auch dies format in der /etc/hosts. ich kann den blöden printserver mit

ping 192.168.3.222
ping futro
ping futro.m8.xyz

erreichen.

Ohne die explizite angabe der IP 192.168.3.222 für BrowsePoll in der cups-browsed.conf

produzieren alle Druckjobs nachwievor den Kackfehler "unable to locate futro.local"

Da der Mint Laptop nachwievor wunderbar ohne diese krücke Browsepoll druckt, muss der Mist auf der clientseite, meinem siduction desktop liegen. Da muss noch mehr fehlen als die hostnamen und /etc/hosts, aber was?
Title: noch ein cups Problem
Post by: Geier0815 on 2013/09/25, 12:49:07
So ins Blaue was mir dazu einfällt: /etc/resolv.conf weißt deine Domain auf? /etc/nsswitch.conf listet bei hosts: files vor mdns und mdns_minimal auf und bei networks: nur files auf?

Und ansonsten schau mal bei deinem Mint nach ob dort der avahi-daemon überhaupt gestartet wird. Bei suse wird er als Standard nicht, bei siduction wohl schon. Ganz im Zweifel trete den mal aus und schau ob es dann geht.
Title: noch ein cups Problem
Post by: bluelupo on 2013/09/25, 14:00:47
Hi dieres,
hast du in der /etc/resolv.conf eine Zeile mit "search"?

Beispiel:

[...]
search homezone.net
Title: noch ein cups Problem
Post by: dieres on 2013/09/25, 14:12:08
Quote from: "Geier0815"So ins Blaue was mir dazu einfällt: /etc/resolv.conf weißt deine Domain auf? /etc/nsswitch.conf listet bei hosts: files vor mdns und mdns_minimal auf und bei networks: nur files auf?

Und ansonsten schau mal bei deinem Mint nach ob dort der avahi-daemon überhaupt gestartet wird. Bei suse wird er als Standard nicht, bei siduction wohl schon. Ganz im Zweifel trete den mal aus und schau ob es dann geht.

ich hab dich nicht wirklich verstanden.
muss in /etc/resolv.conf noch so was wie "search m8.xyz" rein ?
ich hab mal meine nsswitch.conf resolv.conf und hosts Dateien gepostet.

Wenn der avahi-daemon nicht läuft, startet mitlerweile cups gar nicht mehr? Zumindest war das webinterface auf localhost:631 nicht zugreifbar.

didi@amd64box:~$ cat /etc/resolv.conf
nameserver 192.168.3.1


didi@amd64box:~$ cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files dns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis




didi@amd64box:~$ cat /etc/hosts
127.0.0.1       localhost
127.0.0.1       amd64box.m8.xyz
192.168.3.222   futro.m8.xyz futro
# Below lines are for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Title: noch ein cups Problem
Post by: bluelupo on 2013/09/25, 18:04:52
Hi dieres,
die resolv.conf nicht händisch editieren (steht auch drinnen, wird dynamisch erzeugt), sondern über die /etc/network/interfaces anpassen.

Beispiel:

iface eth0 inet static
       address 192.168.178.10
       broadcast 192.168.178.255
       gateway 192.168.178.1
       netmask 255.255.255.0
       network 192.168.178.0
       dns-nameservers 192.168.178.1 212.224.71.71 193.189.244.197
       dns-search homezone.net


Der Eintrag dns-search erzeugt deinen Eintrag (search) in der /etc/resolv.conf. Wenn du allerdings den Networkmanager verwendest musst in den Einstellungen deines Netzdevices nachsehen, dort kann man das auch eintragen.
Title: noch ein cups Problem
Post by: hsp on 2013/10/02, 15:42:46
Ich hab in den anderen Fred mal was rangemalt, mein .local suffix ist wieder da.

http://forum.siduction.org/index.php?topic=3830&start=15