[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
fr:howtos:network_services:slackware_print_server [2015/09/14 14:12 (UTC)] – [Setting up a print server for home use out of any old Slackware box] traduction [fr] cedric | fr:howtos:network_services:slackware_print_server [2015/09/14 15:08 (UTC)] – [Here's my wifi print server] traduction [fr] cedric | ||
---|---|---|---|
Ligne 9: | Ligne 9: | ||
Je sais que ce est pas quelque chose de difficile mais la dernière fois que j'ai fais quelque chose comme ça, beaucoup de choses ont changé. Je pense que d' | Je sais que ce est pas quelque chose de difficile mais la dernière fois que j'ai fais quelque chose comme ça, beaucoup de choses ont changé. Je pense que d' | ||
- | ===== Setting up the printer on the print server | + | ===== Configurer l' |
- | First thing you might find handy to know is that it is not mandatory to have the correct print filter for the printer on the print server, the client is mandated with that burden. | + | |
- | The print server needs only have the printer configured as a raw printer. | + | |
- | The printer | + | La première chose à savoir est qu'il n'est pas obligatoire d' |
- | If your printer has a usb interface, | + | Le serveur d' |
- | libusb, libusb-compat | + | |
+ | Le serveur d' | ||
+ | Si votre imprimante dispose d' | ||
+ | //libusb//, //libusb-compat// et //usbutils//. Une fois ces paquets installés, le périphérique | ||
root@printserver: | root@printserver: | ||
Ligne 24: | Ligne 25: | ||
Bus 001 Device 005: ID 04e8:3260 Samsung Electronics Co., Ltd CLP-510 Color Laser Printer | Bus 001 Device 005: ID 04e8:3260 Samsung Electronics Co., Ltd CLP-510 Color Laser Printer | ||
root@printserver: | root@printserver: | ||
- | | + | |
- | If you can see something similar to this, where your printer is detected by lsusb, you can proceed otherwise you need to debug the reasons that are preventing your printer from being detected. | + | Si vous voyez quelque chose comme ça, avec le nom de votre imprimante détectée, vous pouvez continuer. Sinon vous devrez chercher les causes de la non-détection de votre imprimante. |
- | Once you have the packages and printer sorted out you can then just give execute permissions to / | + | Une fois que vous aurez installé les paquets et l' |
- | If you intend to remotely administer it you might like to execute this command to allow it: | + | Si vous avez l' |
cupsctl --remote-admin | cupsctl --remote-admin | ||
- | then fire up your browser and access | + | Puis démarrer votre navigateur web et accédez à |
http://< | http://< | ||
- | | + | |
- | http:// | + | http:// |
- | For the most part you can use links on a text terminal on the print-server itself the only things that not working right on links are some combo box selections, that's why I then allowed for remote | + | Pour la plupart, vous pouvez utiliser les liens sur le serveur d' |
- | Go ahead and configure the local printer as a raw printer. Be sure to check the box for a shared printer.You can call the printer whatever you like but for convenience in this guide we will call it " | + | Allez-y et configurer l' |
<Printer test> | <Printer test> | ||
Ligne 46: | Ligne 47: | ||
Info test printer | Info test printer | ||
Location test location | Location test location | ||
- | DeviceURI usb:// | + | DeviceURI usb:// |
State Idle | State Idle | ||
StateTime 16147 | StateTime 16147 | ||
Ligne 60: | Ligne 61: | ||
</ | </ | ||
- | If you have the drivers for your printer you can optionally configure it with the correct | + | Si vous avez des pilotes pour votre imprimante, vous pouvez configurer le filtre d' |
- | Once the printer is configured you can then instruct | + | Dés que l' |
cupsctl --share-printers --remote-any --remote-admin | cupsctl --share-printers --remote-any --remote-admin | ||
- | | ||
- | If you're not interested to share the printer to outside your Local Area Net just remove the " | ||
- | Some hardware platforms leave you no way to do a clean shutdown without interacting to the os running on it (like old AT PC or seagate | + | Si vous n' |
- | | + | |
- | ===== Setting up the printer on the print clients | + | Certaines plates-formes matérielles ne vous laissent pas faire un arrêt propre sans interagir avec l' |
- | Now go on the PC's where you want to access the printer and configure an ipp remote printer with the correct driver for the printer. | + | ===== Configurer l' |
- | The / | + | |
+ | Maintenant, aller sur les PC qui doivent accéder à l'imprimante et configurer une imprimante distante | ||
+ | Le fichier | ||
<Printer test> | <Printer test> | ||
Ligne 79: | Ligne 80: | ||
Info test | Info test | ||
Location study room | Location study room | ||
- | MakeModel Samsung CLP-510, 2.0.0 #in this case I setup splix driver for the samsung | + | MakeModel Samsung CLP-510, 2.0.0 #dans ce cas, j'ai configuré le pilote |
DeviceURI ipp://< | DeviceURI ipp://< | ||
State Idle | State Idle | ||
Ligne 94: | Ligne 95: | ||
</ | </ | ||
- | You may now try printing a test page on the client | + | Essayez maintenant d' |
===== Making the printserver crash proof ===== | ===== Making the printserver crash proof ===== | ||
- | Once you have your print server working right you will probably want avoid doing anything to it unless it's really necessary. Looking after it's shutting down right and resolving fsck issues on reboot should not be something to worry about but journaled filesystems are meant to deal with accidental power rages not really for you to crash the system every time you switch it off. | ||
- | Having the root filesystem mounted read only, with only the parts that are necessary for writing linked into tmpfs, would free us form having to worry about powering down the print server. | + | Une fois que vous avez un serveur d' |
- | This is how I modified rc.S and rc.M for the job: | + | Avoir le système de fichiers racine monté en lecture seule, avec seulement les éléments nécessaires à l' |
+ | Voilà comment j'ai modifié rc.S et rc.M : | ||
rc.S.org | rc.S.org | ||
Ligne 205: | Ligne 206: | ||
# Screen blanks after 15 minutes idle time, and powers down in one hour | # Screen blanks after 15 minutes idle time, and powers down in one hour | ||
- | A bit of tinkering with links in var and a few other places and you're done. | + | Un peu de bricolage avec les liens dans var et quelques autres endroits et vous aurez terminé. |
root@printserver: | root@printserver: | ||
Ligne 259: | Ligne 260: | ||
cgroup on / | cgroup on / | ||
root@printserver: | root@printserver: | ||
- | | ||
- | With these links the Slackware distribution will operate pretty much normally and can resume to ordinary operation by just remounting root read/write "mount -o remount,rw /" to allow some maintenance (like package management) and when that's done just remount it ro with a simple "mount -o remount,ro /". | ||
- | ===== Here's my wifi print server | + | Avec ces liens la distribution Slackware fonctionnera à peu près normalement et pourra reprendre un fonctionnement ordinaire en remontant la racine en lecture/ |
- | Here's one of my Dockstars | + | |
+ | ===== Voici mon serveur d'impression Wifi | ||
+ | Voici l'un de mes Dockstars | ||
{{http:// | {{http:// | ||