HL-2275DW
FAQs & Troubleshooting |
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.
Related Models
ADS-1000W, ADS-1200, ADS-1250W, ADS-1500W, ADS-1700W, ADS-2000, ADS-2200, ADS-2500W, ADS-2700W, DCP-1000, DCP-110C, DCP-120C, DCP-130C, DCP-1400, DCP-1512, DCP-1612W, DCP-1617NW, DCP-165C, DCP-330C, DCP-350C, DCP-375CW, DCP-385C, DCP-395CN, DCP-540CN, DCP-585CW, DCP-7020, DCP-7030, DCP-7040, DCP-7055, DCP-7055W, DCP-7060D, DCP-7065DN, DCP-8020, DCP-8025D, DCP-8040, DCP-8045D, DCP-8060, DCP-8065DN, DCP-8070D, DCP-8080DN, DCP-8085DN, DCP-8110DN, DCP-8112DN, DCP-8150DN, DCP-8152DN, DCP-8155DN, DCP-8157DN, DCP-9020CDN, DCP-9040CN, DCP-9045CDN, DCP-J100, DCP-J105, DCP-J125, DCP-J140W, DCP-J152W, DCP-L2520DW, DCP-L2540DW, DCP-L2550DW, DCP-L3551CDW, DCP-L5500DN, DCP-L5502DN, DCP-L5600DN, DCP-L5602DN, DCP-L5650DN, DCP-L5652DN, DCP-L6600DW, DCP-L8400CDN, DCP-T220, DCP-T226, DCP-T300, DCP-T310, DCP-T420W(-V), DCP-T426W, DCP-T500W, DCP-T510W, DCP-T520W, DCP-T700W, DCP-T710W, DCP-T720DW, DCP-T820DW, DS-620, DS-640, DS-720D, DS-740D, DS-820W, DS-920DW, DS-940DW, FAX-1820C, FAX-1840C, FAX-1860C, FAX-1920CN, FAX-1940CN, FAX-1960C, FAX-2440C, FAX-2480C, FAX-2580C, FAX-2840, FAX-2900, FAX-2920, FAX-2940, FAX-3800, FAX-4100/FAX-4100e, FAX-4750e, FAX-5750e, HL-1030, HL-1110, HL-1112, HL-1200, HL-1202, HL-1212W, HL-1230, HL-1240, HL-1250, HL-1270N, HL-1435, HL-1440, HL-1450, HL-1470N, HL-1650, HL-1670N, HL-1850, HL-1870N, HL-2030, HL-2040, HL-2070N, HL-2130, HL-2135W, HL-2140, HL-2170W, HL-2220, HL-2230, HL-2240, HL-2240D, HL-2270DW, HL-2275DW, HL-2280DW, HL-2460, HL-2600CN, HL-2700CN, HL-3040CN, HL-3045CN, HL-3070CW, HL-3075CW, HL-3140CW, HL-3150CDN, HL-3170CDW, HL-3180CDW, HL-3450CN, HL-4040CDN, HL-4040CN, HL-4050CDN, HL-4070CDW, HL-4150CDN, HL-4570CDW, HL-4570CDWT, HL-5030, HL-5040, HL-5050, HL-5070N, HL-5140, HL-5150D, HL-5170DN, HL-5240, HL-5250DN, HL-5280DW, HL-5340D, HL-5350DN, HL-5370DW/HL-5370DWT, HL-5440D, HL-5450DN, HL-5470DW, HL-5470DWT, HL-6050D, HL-6050DN, HL-6180DW, HL-6180DWT, HL-7050, HL-7050N, HL-8050N, HL-L2300D, HL-L2305W, HL-L2315DW, HL-L2320D, HL-L2325DW, HL-L2340DW, HL-L2350DW, HL-L2360DW, HL-L2370DW(XL), HL-L2379DW, HL-L2380DW, HL-L2390DW, HL-L2395DW, HL-L3210CW, HL-L3230CDN, HL-L3230CDW, HL-L3270CDW, HL-L3290CDW, HL-L5000D, HL-L5100DN, HL-L5102DW, HL-L5200DW(T), HL-L5202DW, HL-L6200DW(T), HL-L6202DW, HL-L6250DW, HL-L6300DW, HL-L6400DW(T), HL-L6402DW, HL-L8250CDN, HL-L8260CDW, HL-L8350CDW, HL-L8350CDWT, HL-L8360CDW(T), HL-L9200CDW, HL-L9200CDWT, HL-L9300CDW(T), HL-L9310CDW, HL-T4000DW, MFC-1810, MFC-1815, MFC-210C, MFC-230C, MFC-240C, MFC-250C, MFC-255CW, MFC-290C, MFC-295CN, MFC-3220C, MFC-3240C, MFC-3320CN, MFC-3340CN, MFC-3360C, MFC-3420C, MFC-3820CN, MFC-420CN, MFC-440CN, MFC-465CN, MFC-4800, MFC-490CW, MFC-495CW, MFC-5440CN, MFC-5460CN, MFC-5490CN, MFC-5840CN, MFC-5860CN, MFC-5890CN, MFC-5895CW, MFC-620CN, MFC-640CW, MFC-6490CW, MFC-665CW, MFC-6800, MFC-685CW, MFC-6890CDW, MFC-7220, MFC-7225N, MFC-7240, MFC-7340, MFC-7360N, MFC-7420, MFC-7440N, MFC-7460DN, MFC-7820N, MFC-7840W, MFC-7860DW, MFC-790CW, MFC-795CW, MFC-820CW, MFC-8220, MFC-8420, MFC-8440, MFC-845CW, MFC-8460N, MFC-8480DN, MFC-8500, MFC-8510DN, MFC-8512DN, MFC-8640D, MFC-8660DN, MFC-8670DN, MFC-8680DN, MFC-8690DW, MFC-8710DW, MFC-8712DW, MFC-8810DW, MFC-8820D, MFC-8820DN, MFC-8840D, MFC-8840DN, MFC-885CW, MFC-8860DN, MFC-8870DW, MFC-8890DW, MFC-8910DW, MFC-8912DW, MFC-8950DW, MFC-8950DWT, MFC-8952DW, MFC-8952DWT, MFC-9010CN, MFC-9120CN, MFC-9125CN, MFC-9130CW, MFC-9320CW, MFC-9325CW, MFC-9330CDW, MFC-9340CDW, MFC-9420CN, MFC-9440CN, MFC-9450CDN, MFC-9460CDN, MFC-9560CDW, MFC-9700, MFC-9800, MFC-9840CDW, MFC-990CW, MFC-9970CDW, MFC-J1010DW, MFC-J1012DW, MFC-J1170DW, MFC-J1205W, MFC-J1215W, MFC-J200, MFC-J220, MFC-J245, MFC-J265W, MFC-J280W, MFC-J285DW, MFC-J410, MFC-J415W, MFC-J425W, MFC-J430W, MFC-J4310DW, MFC-J4320DW, MFC-J4335DW, MFC-J4345DWXL, MFC-J435W, MFC-J4410DW, MFC-J4420DW, MFC-J450DW, MFC-J4510DW, MFC-J4535DW, MFC-J460DW, MFC-J4610DW, MFC-J4620DW, MFC-J470DW, MFC-J4710DW, MFC-J475DW, MFC-J480DW, MFC-J485DW, MFC-J491DW, MFC-J497DW, MFC-J5330DW, MFC-J5520DW, MFC-J5620DW, MFC-J5720DW, MFC-J5830DW(XL), MFC-J5845DW(XL), MFC-J5910DW, MFC-J5920DW, MFC-J5930DW, MFC-J5945DW, MFC-J615W, MFC-J625DW, MFC-J630W, MFC-J650DW, MFC-J6510DW, MFC-J6520DW, MFC-J6530DW, MFC-J6535DW(XL), MFC-J6545DW(XL), MFC-J6710DW, MFC-J6720DW, MFC-J6730DW, MFC-J680DW, MFC-J690DW, MFC-J6910DW, MFC-J6920DW, MFC-J6925DW, MFC-J6930DW, MFC-J6935DW, MFC-J6945DW, MFC-J775DW(XL), MFC-J815DW XL, MFC-J825DW, MFC-J835DW, MFC-J870DW, MFC-J875DW, MFC-J880DW, MFC-J885DW, MFC-J895DW, MFC-J985DW(XL), MFC-J995DW(XL), MFC-L2680W, MFC-L2685DW, MFC-L2690DW, MFC-L2700DW, MFC-L2705DW, MFC-L2707DW, MFC-L2710DW, MFC-L2720DW, MFC-L2730DW, MFC-L2740DW, MFC-L2750DW(XL), MFC-L2759DW, MFC-L3710CW, MFC-L3750CDW, MFC-L3770CDW, MFC-L5700DW, MFC-L5702DW, MFC-L5705DW, MFC-L5800DW, MFC-L5802DW, MFC-L5850DW, MFC-L5900DW, MFC-L5902DW, MFC-L6700DW, MFC-L6702DW, MFC-L6750DW, MFC-L6800DW, MFC-L6900DW, MFC-L6902DW, MFC-L8600CDW, MFC-L8610CDW, MFC-L8850CDW, MFC-L8895CDW, MFC-L8900CDW, MFC-L8905CDW, MFC-L9550CDW, MFC-L9570CDW, MFC-T4500DW, MFC-T800W, MFC-T810W, MFC-T910DW, MFC-T920DW, MFC-T925DW, PDS-5000, PDS-5000F, PDS-6000