FAQs & Troubleshooting

Close

DCP-1610W

FAQs & Troubleshooting

FAQs & Troubleshooting

DCP-1610W

Not your product?

Date: 24/01/2019 ID: faq00100553_000

I want to print using CUPS while keeping SELinux enabled. (Linux)

  1. Backup the "/etc/selinux/targeted/contexts/files/file_contexts" file before making any changes to the original file.
  2. Check "/usr/local/Brother/" folder to find what folders are under it.
    1. If your system has "inf", "lpd","cupswrapper" folders under "/usr/local/Brother", add the following 3 lines to the end of the file ( /etc/selinux/targeted/contexts/files/file_contexts ).

      /usr/local/Brother/inf/.* -- system_u:object_r:cupsd_etc_t:s0
      /usr/local/Brother/lpd/.* -- system_u:object_r:bin_t:s0
      /usr/local/Brother/cupswrapper/.* -- system_u:object_r:bin_t:s0
       
    2. If your system has "inf", "lpd","cupswrapper" folders under "/usr/local/Brother/Printer/[your printer's name]/", add the following 3 lines to the end of the file ( /etc/selinux/targeted/contexts/files/file_contexts ).

      /usr/local/Brother/Printer/(printer name)/inf/.* -- system_u:object_r:cupsd_etc_t:s0
      /usr/local/Brother/Printer/(printer name)/lpd/.* -- system_u:object_r:bin_t:s0
      /usr/local/Brother/Printer/(printer name)/cupswrapper/.* -- system_u:object_r:bin_t:s0

    The part after the doble hyphen can differ between distributions. Refer the followings to confirm the correct statement for your distribution.
     

    • For "lpd" and "cupswrapper", the part should be the same as the configuration for "/usr/lib(64)/cups/deamon/.*" in the "file_contexts".
    • For "inf", the part should be the same as the configuration for "/etc/cups/ppd/.*" in the "file_contexts".
  3. Run the command "restorecon *" in the following directories:
    (For step 3-a.)
    /usr/lib/cups/filter
    /usr/lib64/cups/filter <===This is necessary only for 64bit OS users
    /usr/local/Brother/lpd
    /usr/local/Brother/inf
    /usr/local/Brother/cupswrapper

    (For step 3-b.)
    /usr/lib/cups/filter
    /usr/lib64/cups/filter <===This is necessary only for 64bit OS users
    /usr/local/Brother/Printer/(printer name)/inf
    /usr/local/Brother/Printer/(printer name)/lpd
    /usr/local/Brother/Printer/(printer name)/cupswrapper
     
  4. Restart the PC.

Related Models

ADS-1100W, ADS-1600W, ADS-2100, DCP-135C, DCP-145C, DCP-1610W, DCP-165C, DCP-195C, DCP-350C, DCP-375CW, DCP-385C, DCP-560CN, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7010L, DCP-7025, DCP-7030, DCP-7055, DCP-7065DN, DCP-8060, DCP-8065DN, DCP-8070D, DCP-9010CN, DCP-9040CN, DCP-J105, DCP-J125, DCP-J140W, DCP-L2540DW, DCP-L3551CDW, DCP-T220, DCP-T300, DCP-T310, DCP-T420W, DCP-T500W, DCP-T510W, DCP-T520W, DCP-T710W, DCP-T720DW, DCP-T820DW, DS-620, DS-720D, FAX-2840, FAX-2920, HL-1210W, HL-2030, HL-2040, HL-2070N, HL-2130, HL-2140, HL-2150N, HL-2240D, HL-2270DW, HL-3040CN, HL-3150CDN, HL-3170CDW, HL-4040CN, HL-4050CDN, HL-4150CDN, HL-4570CDW, HL-5240, HL-5240L, HL-5250DN, HL-5270DN, HL-5340D, HL-5350DN, HL-5380DN, HL-5440D, HL-5450DN, HL-6050DN, HL-6180DW, HL-7050, HL-8050N, HL-L2365DW, HL-L3210CW, HL-L5000D, HL-L5200DW, HL-L6400DW, HL-L8350CDW, HL-L8360CDW, MFC-1910W, MFC-235C, MFC-250C, MFC-255CW, MFC-465CN, MFC-490CW, MFC-5860CN, MFC-6490CW, MFC-7360, MFC-7420, MFC-7440N, MFC-7820N, MFC-7860DW, MFC-795CW, MFC-8220, MFC-8370DN, MFC-8380DN, MFC-8460N, MFC-8510DN, MFC-8860DN, MFC-8880DN, MFC-8910DW, MFC-8950DW, MFC-9120CN, MFC-9140CDN, MFC-9320CW, MFC-9330CDW, MFC-9440CN, MFC-9460CDN, MFC-9840CDW, MFC-990CW, MFC-9970CDW, MFC-J200, MFC-J220, MFC-J2320, MFC-J2330DW, MFC-J2720, MFC-J2730DW, MFC-J3520, MFC-J3530DW, MFC-J3720, MFC-J3930DW, MFC-J6510DW, MFC-L2700DW, MFC-L2740DW, MFC-L3750CDW, MFC-L5700DN, MFC-L5900DW, MFC-L6900DW, MFC-L8600CDW, MFC-L8690CDW, MFC-L8850CDW, MFC-L9570CDW, MFC-T910DW, MFC-T920DW

If you need further assistance, please contact Brother customer service:

Content Feedback

To help us improve our support, please provide your feedback below.
Step 1: How does the information on this page help you?
Step 2: Are there any comments you would like to add?

Please note this form is used for feedback only.