Had reeds gepost in het globale WD topic maar mischien is het beter om een eigen topic aan te maken: Yalopa in "Hacken van de Western Digital Mybook Wor..."
Ik probeer CUPS werkende te krijgen op een western digital My book 500 GB (linux 2.6.17.14)
SSH is probleemloos geinstaleerd
CUPS geinstaleerd volgens http://mybookworld.wikidot.com/print-server wel heb ik de laatste versie van CUPS gebruikt (1.3.11)
USB printer geconnecteerd en herkend:
printer gevonden door cups, geinstaleerd met juiste ppd file.
testpagina afgedrukt, ook goed.
Printer weggegooid, en opnieuw proberen aan te maken volgens dezelfde procedure, werkte ook, alleen krijg ik er nu met geen geweld nog een tweede testpagina uit, de testpagina blijft in CUPS in de queue hangen. Na enkele keren hetzelfde geprobeerd te hebben kom ik tot de conclusie dat ik 1 testpagina kan printen in CUPS en dat het dan gedaan is met printer. Box reboten en opnieuw printen lukt opnieuw exact 1 keer. De testpaginas worden als root afgedrukt
hij blijft dus op processing staan..
het vreemde is dat lpstat geen geinstaleerde printers toont terwijl ik verwacht dat dat wel zou moeten.
Error logs geven geen aanwijzingen of relevante foutmeldingen...
error log (debug level)
enige error hier:
E [14/Jul/2009:15:44:55 +0200] Unable to open listen socket for address :::631 - Address family not supported by protocol.
best vreemd want in de config file staat:
allerhande fora afgezocht maar zonder aanwijzingen wat er fout is kan ik weinig aanvangen...
Ik probeer CUPS werkende te krijgen op een western digital My book 500 GB (linux 2.6.17.14)
SSH is probleemloos geinstaleerd
CUPS geinstaleerd volgens http://mybookworld.wikidot.com/print-server wel heb ik de laatste versie van CUPS gebruikt (1.3.11)
USB printer geconnecteerd en herkend:
code:
1
2
3
| [root@NAS1 cups]# lsusb Bus 001 Device 002: ID 043d:004d Lexmark International, Inc. Bus 001 Device 001: ID 0000:0000 |
printer gevonden door cups, geinstaleerd met juiste ppd file.
testpagina afgedrukt, ook goed.
Printer weggegooid, en opnieuw proberen aan te maken volgens dezelfde procedure, werkte ook, alleen krijg ik er nu met geen geweld nog een tweede testpagina uit, de testpagina blijft in CUPS in de queue hangen. Na enkele keren hetzelfde geprobeerd te hebben kom ik tot de conclusie dat ik 1 testpagina kan printen in CUPS en dat het dan gedaan is met printer. Box reboten en opnieuw printen lukt opnieuw exact 1 keer. De testpaginas worden als root afgedrukt
code:
1
2
3
4
5
| Description: Lexmark T520 Location: Washok Printer Driver: Lexmark T520 PS Printer State: processing, accepting jobs, published. Device URI: usb://Lexmark/T520 |
hij blijft dus op processing staan..
het vreemde is dat lpstat geen geinstaleerde printers toont terwijl ik verwacht dat dat wel zou moeten.
Error logs geven geen aanwijzingen of relevante foutmeldingen...
error log (debug level)
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
| D [14/Jul/2009:15:44:54 +0200] Saving remote.cache... I [14/Jul/2009:15:44:54 +0200] Listening to :::631 (IPv6) I [14/Jul/2009:15:44:54 +0200] Listening to 0.0.0.0:631 (IPv4) D [14/Jul/2009:15:44:54 +0200] cupsdDenyIP(loc=0x94870(/), address=0:0:0:0, netmask=0:0:0:0) D [14/Jul/2009:15:44:54 +0200] cupsdDenyIP(loc=0x6ed60(/printers), address=ffffffff:ffffffff:ffffffff:ffffffff, netmask=0:0:0:0) D [14/Jul/2009:15:44:54 +0200] cupsdDenyIP(loc=0x776c8(/admin), address=0:0:0:0, netmask=0:0:0:0) I [14/Jul/2009:15:44:54 +0200] Remote access is enabled. D [14/Jul/2009:15:44:54 +0200] Added auto ServerAlias 192.168.1.10m I [14/Jul/2009:15:44:54 +0200] Loaded configuration file "/etc/cups/cupsd.conf" I [14/Jul/2009:15:44:54 +0200] Using default TempDir of /var/spool/cups/tmp... I [14/Jul/2009:15:44:54 +0200] Configured for up to 10 clients. I [14/Jul/2009:15:44:54 +0200] Allowing up to 10 client connections per host. I [14/Jul/2009:15:44:54 +0200] Creating CUPS default administrative policy: I [14/Jul/2009:15:44:54 +0200] <Policy default> I [14/Jul/2009:15:44:54 +0200] <Limit Send-Document Send-URI Cancel-Job 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-Authenticate-Job> I [14/Jul/2009:15:44:54 +0200] Order Deny,Allow I [14/Jul/2009:15:44:54 +0200] Require user @OWNER @SYSTEM I [14/Jul/2009:15:44:54 +0200] </Limit> I [14/Jul/2009:15:44:54 +0200] <Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default> I [14/Jul/2009:15:44:54 +0200] Order Deny,Allow I [14/Jul/2009:15:44:54 +0200] AuthType Default I [14/Jul/2009:15:44:54 +0200] Require user @SYSTEM I [14/Jul/2009:15:44:54 +0200] </Limit> I [14/Jul/2009:15:44:54 +0200] <Limit All> I [14/Jul/2009:15:44:54 +0200] Order Deny,Allow I [14/Jul/2009:15:44:54 +0200] </Limit> I [14/Jul/2009:15:44:54 +0200] </Policy> I [14/Jul/2009:15:44:54 +0200] Full reload is required. I [14/Jul/2009:15:44:54 +0200] Saving job cache file "/var/cache/cups/job.cache"... D [14/Jul/2009:15:44:54 +0200] Discarding unused printer-stopped event... I [14/Jul/2009:15:44:54 +0200] Loaded MIME database from '/etc/cups': 35 types, 36 filters... D [14/Jul/2009:15:44:54 +0200] Loading printer LEXT520... I [14/Jul/2009:15:44:55 +0200] Loading job cache file "/var/cache/cups/job.cache"... D [14/Jul/2009:15:44:55 +0200] [Job 8] Loading from cache... D [14/Jul/2009:15:44:55 +0200] [Job 9] Loading from cache... D [14/Jul/2009:15:44:55 +0200] [Job 10] Loading from cache... D [14/Jul/2009:15:44:55 +0200] [Job 11] Loading from cache... I [14/Jul/2009:15:44:55 +0200] Full reload complete. E [14/Jul/2009:15:44:55 +0200] Unable to open listen socket for address :::631 - Address family not supported by protocol. I [14/Jul/2009:15:44:55 +0200] Listening to 0.0.0.0:631 on fd 3... I [14/Jul/2009:15:44:55 +0200] Resuming new connection processing... D [14/Jul/2009:15:44:55 +0200] Discarding unused server-restarted event... D [14/Jul/2009:15:44:56 +0200] Report: clients=0 D [14/Jul/2009:15:44:56 +0200] Report: jobs=4 D [14/Jul/2009:15:44:56 +0200] Report: jobs-active=0 D [14/Jul/2009:15:44:56 +0200] Report: printers=1 D [14/Jul/2009:15:44:56 +0200] Report: printers-implicit=0 D [14/Jul/2009:15:44:56 +0200] Report: stringpool-string-count=323 D [14/Jul/2009:15:44:56 +0200] Report: stringpool-alloc-bytes=7016 D [14/Jul/2009:15:44:56 +0200] Report: stringpool-total-bytes=6248 D [14/Jul/2009:15:45:17 +0200] cupsdAcceptClient: 8 from 192.168.1.200:631 (IPv4) D [14/Jul/2009:15:45:18 +0200] encrypt_client: 8 Connection from 192.168.1.200 now encrypted. D [14/Jul/2009:15:45:18 +0200] cupsdReadClient: 8 GET / HTTP/1.1 D [14/Jul/2009:15:45:18 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:18 +0200] cupsdReadClient: 8 GET /cups.css HTTP/1.1 D [14/Jul/2009:15:45:18 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:18 +0200] cupsdReadClient: 8 GET /images/button-help.gif HTTP/1.1 D [14/Jul/2009:15:45:18 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:18 +0200] cupsdAcceptClient: 11 from 192.168.1.200:631 (IPv4) D [14/Jul/2009:15:45:19 +0200] encrypt_client: 11 Connection from 192.168.1.200 now encrypted. D [14/Jul/2009:15:45:19 +0200] cupsdReadClient: 8 GET /images/happy.gif HTTP/1.1 D [14/Jul/2009:15:45:19 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:19 +0200] cupsdReadClient: 11 GET /images/button-manage-server.gif HTTP/1.1 D [14/Jul/2009:15:45:19 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:21 +0200] cupsdReadClient: 11 GET /admin/ HTTP/1.1 D [14/Jul/2009:15:45:21 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:21 +0200] cupsdIsAuthorized: username="root" D [14/Jul/2009:15:45:21 +0200] [CGI] /usr/lib/cups/cgi-bin/admin.cgi started - PID = 1055 I [14/Jul/2009:15:45:21 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=1055) D [14/Jul/2009:15:45:21 +0200] cupsdSendCommand: 11 file=9 D [14/Jul/2009:15:45:22 +0200] [CGI] admin.cgi started... D [14/Jul/2009:15:45:22 +0200] cupsdAcceptClient: 12 from localhost:631 (IPv4) D [14/Jul/2009:15:45:22 +0200] [CGI] http=0x2a058 D [14/Jul/2009:15:45:22 +0200] [CGI] No form data, showing main menu... D [14/Jul/2009:15:45:22 +0200] [CGI] /usr/share/cups/drivers/pscript5.dll: No such file or directory D [14/Jul/2009:15:45:22 +0200] cupsdReadClient: 12 POST / HTTP/1.1 D [14/Jul/2009:15:45:22 +0200] cupsdAuthorize: No authentication data provided. D [14/Jul/2009:15:45:22 +0200] Get-Subscriptions ipp://localhost/ D [14/Jul/2009:15:45:22 +0200] Get-Subscriptions client-error-not-found: No subscriptions found. D [14/Jul/2009:15:45:22 +0200] cupsdProcessIPPRequest: 12 status_code=406 (client-error-not-found) D [14/Jul/2009:15:45:22 +0200] [CGI] lang="en_US.UTF8", locale="/en_US"... D [14/Jul/2009:15:45:22 +0200] Script header: Content-Type: text/html;charset=utf-8 D [14/Jul/2009:15:45:22 +0200] Script header: D [14/Jul/2009:15:45:22 +0200] cupsdReadClient: 8 GET /cups.css HTTP/1.1 D [14/Jul/2009:15:45:22 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:22 +0200] [CGI] lang="en_US.UTF8", locale="/en_US"... D [14/Jul/2009:15:45:22 +0200] [CGI] lang="en_US.UTF8", locale="/en_US"... D [14/Jul/2009:15:45:22 +0200] cupsdCloseClient: 12 D [14/Jul/2009:15:45:22 +0200] PID 1055 (/usr/lib/cups/cgi-bin/admin.cgi) exited with no errors. D [14/Jul/2009:15:45:25 +0200] cupsdReadClient: 8 GET /admin/log/error_log HTTP/1.1 D [14/Jul/2009:15:45:25 +0200] cupsdAuthorize: Authorized as root using Basic D [14/Jul/2009:15:45:25 +0200] cupsdIsAuthorized: username="root" |
enige error hier:
E [14/Jul/2009:15:44:55 +0200] Unable to open listen socket for address :::631 - Address family not supported by protocol.
best vreemd want in de config file staat:
code:
1
2
| Listen 192.168.1.10:631 Listen localhost:631 |
allerhande fora afgezocht maar zonder aanwijzingen wat er fout is kan ik weinig aanvangen...
You don't need eyes to see, you need vision