HL-L2385DW

คำถามที่พบบ่อย และการแก้ปัญหาเบื้องต้น

คำถามที่พบบ่อย และการแก้ปัญหาเบื้องต้น

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.

หากคำถามของท่านยังไม่ได้รับคำตอบ ท่านได้ลองดูคำถามข้ออื่นๆ แล้วหรือไม่?

ท่านได้ลองดูคู่มือแล้วหรือไม่?

หากท่านต้องการความช่วยเหลือเพิ่มเติม โปรดติดต่อฝ่ายบริการลูกค้าของบราเดอร์

ส่วนแสดงความคิดเห็น

เพื่อช่วยเราปรับปรุงการให้การสนับสนุน โปรดแสดงความคิดเห็นเพื่อตอบกลับให้เราทราบตามด้านล่างนี้

ขั้นตอนที่ 1: ข้อมูลบนหน้านี้มีประโยชน์กับท่านมากแค่ไหน?

ขั้นตอนที่ 2: ท่านต้องการแสดงความคิดเห็นเพิ่มเติมหรือไม่?

โปรดทราบว่าแบบฟอร์มนี้ใช้สำหรับการแสดงความคิดเห็นตอบกลับเท่านั้น