Hallo zusammen,
ich hab etwas Schwierigkeiten mit meinem Pi und meinem "Netzwerk"drucker.
- Windows 7 x64
- Samsung SCX-4500 (per USB am Pi)
- RaspBMC frisch installiert
Ich habe CUPS und Samba installiert. Samba funktioniert auch recht gut und ich kann auf meine erstellten Netzwerkfreigaben zugreifen.
Hier meine Samba-Config:
[global]
workgroup = WORKGROUP
#usershare allow guests = yes
#security=share
security=user
follow symlinks = yes
wide links = no
unix extensions = no
lock directory = /var/cache/samba
load printers = yes
printing = cups
browseable = yes
[Pi Network Share]
comment = This is the Pi's network share
browsable = yes
read only = no
#guest ok = yes
valid users = pi
force group = users
create mask = 0660
directory mask = 0771
path = /networkshare
[USB Devices]
browsable = yes
read only = no
#guest ok = yes
valid users = pi
path = /media
force user = root
[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
printable = yes
browsable = no
public = yes
writable = no
Alles anzeigen
Da ich schon ziemlich viel rumprobiert hab, sieht die Config ziemlich chaotisch aus, leider.
Hier ist meine cupsd.conf. Ich hab eigentlich nichts geändert außer @LOCAL einzuschalten, weil das in einem Forum so empfohlen wurde:
LogLevel warn
MaxLogSize 1m
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseRemoteProtocols cups
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
WebInterface Yes
<Location />
Order allow,deny
Allow @Local
Allow all
</Location>
<Location /admin>
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
</Location>
<Policy default>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<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>
<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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
<Limit Create-Job Print-Job Print-URI Validate-Job>
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 Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<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>
<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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
BrowseWebIF Yes
Alles anzeigen
Leider taucht der Drucker nicht im Windows-Netzwerk auf bzw. ist nicht sichtbar. per http-Verbindung kann ich ihn hinzufügen, aber im Pi wird er nicht angezeigt, dabei hab ich ihn freigegeben, Nutzer hinzugefügt und alles:
Im Web-Interface ist er auf Freigabe eingestellt, sodass ich nun auch am Ende bin mit meinem Latein, woran es jetzt noch scheitern könnte.
Habt ihr vielleicht eine Idee? Ich bin für alle Vorschläge offen und dankbar!
Liebe Grüße,
Tronn