MFC-250C
FAQs & Troubleshooting |
MFC-250C
Date: 24/01/2019 ID: faq00100553_000
I want to print using CUPS while keeping SELinux enabled. (Linux)
- Backup the "/etc/selinux/targeted/contexts/files/file_contexts" file before making any changes to the original file.
- Check "/usr/local/Brother/" folder to find what folders are under it.
-
-
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
-
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".
-
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 ).
-
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
- Restart the PC.
ADS-1100W, ADS-1200, ADS-1600W, ADS-1700W, ADS-2100, ADS-2200, ADS-2600W, ADS-2700W, DCP-145C, DCP-1510, DCP-1616NW, DCP-165C, DCP-185C, DCP-385C, DCP-585CW, DCP-6690CW, DCP-7010, DCP-7030, DCP-7040, DCP-7055, DCP-7065DN, DCP-9010CN, DCP-B7535DW, DCP-J100, DCP-J105, DCP-J125, DCP-L2540DW, DCP-L3551CDW, DCP-L5600DN, DCP-T220, DCP-T300, DCP-T310, DCP-T420W, DCP-T426W, DCP-T500W, DCP-T510W, DCP-T520W, DCP-T700W, DCP-T710W, DCP-T720DW, DCP-T820DW, DS-620, DS-640, DS-720D, DS-940DW, FAX-2820, FAX-2840, HL-1110, HL-1201, HL-1211W, HL-2030, HL-2040, HL-2140, HL-2150N, HL-2170W, HL-2240D, HL-2270DW, HL-3150CDN, HL-3170CDW, HL-4040CDN, HL-4040CN, HL-4050CDN, HL-4150CDN, HL-5340D, HL-5470DW, HL-6180DW, HL-7050, HL-B2080DW, HL-L2360DN, HL-L2365DW, HL-L2386DW, HL-L5100DN, HL-L5200DW, HL-L6200DW, HL-L6400DW, HL-L8250CDN, HL-L8350CDW, HL-T4000DW, MFC-1810, MFC-1815, MFC-1911NW, MFC-250C, MFC-290C, MFC-3360C, MFC-490CW, MFC-6490CW, MFC-6890CDW, MFC-7220, MFC-7340, MFC-7360, MFC-7470D, MFC-7860DN, MFC-7860DW, MFC-790CW, MFC-8380DN, MFC-8510DN, MFC-8880DN, MFC-9010CN, MFC-9120CN, MFC-9140CDN, MFC-9320CW, MFC-9330CDW, MFC-9450CDN, MFC-990CW, MFC-9970CDW, MFC-B7715DW, MFC-J200, MFC-J2510, MFC-J3520, MFC-J3530DW, MFC-J3720, MFC-J430W, MFC-J5910DW, MFC-J625DW, MFC-J6910DW, MFC-L2700D, MFC-L2700DW, MFC-L2740DW, MFC-L2771DW, MFC-L3735CDN, MFC-L3750CDW, MFC-L3770CDW, MFC-L5900DW, MFC-L6900DW, MFC-L8690CDW, MFC-L8850CDW, MFC-L8900CDW, MFC-T4500DW, MFC-T810W, MFC-T910DW, MFC-T920DW, PDS-5000, PDS-5000F, PDS-6000, PDS-6000F
If you need further assistance, please contact Brother customer service:
Content Feedback
Please note this form is used for feedback only.