SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got 14.1 installed (Yes, I caved and downloaded the 32bit iso...I'll buy the regular DVD next month or January). Everything seemed to go just fine, like it has for me with 13.37 and 14.0.
I spent about 8 hours yesterday rebuilding a butt-load of apps that I kept from the 14.0 sources. Finally got around to wanting to get the Brother HL2280DW all-in-one going like I did in 14.0 also.
The installation of the drivers went okay, I suppose, *but* every time I try to do the ./ on the brother cupswrapper.sh, I keep getting a 'permission denied'...and I'm doing this as root in konsole (getting to root I did, as I have for the past three years, su<space>-).
Okay, I'll log in as root in roots own kde. Same thing...permission denied.
I can't even do a Chmod + x /etc/rc.d/rc.cups - permission denied!
I can't restart cups even! If I try to go to http://localhost:631/ I'm told it can't connect. It seems anything and everything to do with cups and root is off-limits.
Does anyone have any ideas what the hell is going on? I can, as root, do an scanimage -L and it shows my printer connected via usb, but that's it.
How do I even know if cups or cups daemon is even running?
Any help with this greatly appreciated, as I've never seen root get told it can't do what it wants, heh.
Among other things, you should see "631/tcp open ipp" if cups is running.
I did this as user, and got the same answer as root...
Code:
bash-4.2$ nmap 127.0.0.1
Starting Nmap 6.40 ( http://nmap.org ) at 2013-11-15 20:19 CST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00032s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
37/tcp open time
113/tcp open ident
3551/tcp open apcupsd
Nmap done: 1 IP address (1 host up) scanned in 0.17 seconds
and at least the printer now is recognized at http://localhost:631/admin, though neither root nor user can print and root still has some problems doing admin things with the printer. I tried to delete the printer to try and add it again/differently and a small window pops up wanting a 'name' and 'password'...unfortunately root and roots password don't work nor does users name and password.
Also, here is what I get now from nmap...
Code:
bash-4.2$ nmap 127.0.0.1
Starting Nmap 6.40 ( http://nmap.org ) at 2013-11-15 21:34 CST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00026s latency).
Not shown: 996 closed ports
PORT STATE SERVICE
37/tcp open time
113/tcp open ident
631/tcp open ipp
3551/tcp open apcupsd
Nmap done: 1 IP address (1 host up) scanned in 0.16 seconds
yes, you should do the change on /etc/fstab which is where the settings for the mount points are stored. /etc/mtab shows the currently mounted volumes, but you want to change how the volume is mounted at startup, so that is done in /etc/fstab
Okay, I changed my fstab to the suggestion and rebooted. Using my browser I went to delete the printer and try a new entry. The window pops up asking for username and password...I tried with root and user again and both fail and give this message:
Code:
Unauthorized
Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket.
I'm almost beginning to think I need to re-install and try again.
Don't give up helping if there's anymore suggestions, please, heh. I'd much rather try to solve this problem and have the solution be here for others who might have the same thing happen, than re-install 14.1 and go through all that time to only have it still happen anyway again.
Do you have the cupsd daemon running? I suggest trying 'ps ax | grep cupsd'
As you manually started cupsd, it may not have been restarted after your reboot. To always start cupsd at startup, /etc/rc.d/rc.cups needs to be set executable. Does 'chmod +x /etc/rc.d/rc.cups' work for you now?
Do you have the cupsd daemon running? I suggest trying 'ps ax | grep cupsd'
As you manually started cupsd, it may not have been restarted after your reboot. To always start cupsd at startup, /etc/rc.d/rc.cups needs to be set executable. Does 'chmod +x /etc/rc.d/rc.cups' work for you now?
Hi allend,
Yes, the cupsd is running. I forgot to also mention that, sorry about that <embarrassed> (I put a .conf file in rc local to have cupsd start at every boot/reboot).
I just tried the chmod thing as root and it works now, but still nothing will print for me or root.
Some more information - when I go to ./ the cupswrapper from Brother (the one I had to rpm2txz, located here when installed /usr/local/Brother/Printer/HL2280DW/cupswrapper), I get this:
Code:
ERROR : Brother LPD filter is not installed.
chmod: cannot access '/usr/local/Brother/Printer/HL2280DW/inf/brHL2280DWrc': No such file or directory
chmod: cannot access '/usr/local/Brother/Printer/HL2280DW/inf': No such file or directory
cups: restarted scheduler. [ OK ]
Okay, seems I screwed up in one aspect...I did *not* download and install the 'lpr' driver (in my defense I thought it was because it was for lprng printing, not cups <sigh>, hopefully I'll remember this). My apologies for this screwup and having you guys waste your time on me for this.
*BUT*...in a browser at the printer admin, I *still* cannot delete a/any printers using the user or root. Yet with the 'Print Settings from the KDE menu (command system-config-printer), which is a small window and not much to it, I can and did delete the extra printer that got added somehow earlier (no problem there, I think that happened when I'd kept trying to install the cupswrapper or something or maybe the ./ on the cupswrapper.sh).
So, the standard cups configuration abilities on a browser are no good to me until we can figure out why.
The order of the installation of the LPR driver and cupswrapper driver is important.
You install the LPR driver then the cupswrapper driver.
If you followed the SlackDocs page, you will have created packages hl2280dwlpr-2.1.0-i386-1.txz and cupswrapperHL2280DW-2.0.4-i386-2.txz
I suggest uninstalling these packages, then reinstalling in the order:
1. hl2280dwlpr-2.1.0-i386-1.txz
2. cupswrapperHL2280DW-2.0.4-i386-2.txz
For further details see this. http://welcome.solutions.brother.com...ion_prn1a.html
Some comments on those instructions from Brother.
Step 2 - Not applicable as you are on Slackware 32bit
Step 4 - Obviously the dpkg and rpm commands are not applicable to Slackware. Use installpkg instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.