LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-31-2003, 01:42 PM   #1
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
How I got my printer working in kernel 2.6.0


the screwup:
being that the 2.6 kernel was to be my first true major kernel recompile, i took many things for granted: the naming scheme and the fact that it is faster
so of course i wanted my bootup times to be extremely fast; since i can't use internet in linux (i use aol), i decided to take away executable permissions from rc.inetd, rc.inet1, and rc.inet2
all would be well with cups automatically right? wrong....


alright those are the things i did to make my experience with setting up printing in kernel 2.6 a bit less than pleasant; the solution:

first, realize that many modules have been renamed; i use a usb printer and many of the usb modules have been renamed (the two things that need to be modprobed for a usb printer are uhci-hcd and usblp which replace modules uhci and printer respecitively)

secondly, disable hotplug, please, it will save lots of headaches; do chmod -x rc.hotplug in /etc/rc.d/ and then add /sbin/modprobe modulename in rc.local (i added /sbin/modprobe uhci-hcd and /sbin/modprobe usblp)

third, if using cups (which i recommend that you use), understand that it uses an almost pure web-interface, which means all your internet scripts must be loaded! Make sure than in /etc/rc.d/rc.M, the lines for sysklog and internet superserver daemon are uncommented so that they load those scripts on startup; also, make sure to do chmod +x on rc.inet1 rc.inet2 and rc.inetd

now, if in slackware you have both cups and lprng installed, uninstall them both (they were installed as packages for me, so i just went into pkgtool to uninstall them); this is because these two services conflict in the use of the printing commands

go ahead now and install just one of these packages either from .tgz or from source (i recommend cups from source)

do chmod +x rc.cups in /etc/rc.d and make sure this is listed either in rc.M or rc.local

install drivers for your printer if you need any (for my hp psc, i got the hpijs driver)

reboot now to make sure all changes have taken effect and all services that should start have been initialized (from this point, i only deal with cups)

now open up a web browser, and go to http://localhost:631; this is the cups web-interface (if you get errors about access rejected, make sure that your internet scripts have been started and that the cups scheduler has been started!)

turn on your printer, and then do dmesg in a terminal; you should see your printer getting recongized by your modules (with the usb modules, uhci-hcd recognizes the printer and usblp actually assigns it to a device)

in the cups interface, click printers, add printer, type in root and the root password at the prompt, follow the directions being careful to choose the correct device for where your printer is located and all should be well!

print a test page to try it out, and cross your fingers!
 
Old 01-01-2004, 07:15 AM   #2
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
You can connect your linux box to aol w/ this. I have done it with a modem and the website indicates it will work with cable.

Peng
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to get my Printer working and need help BajaNick Linux - Hardware 4 11-30-2004 11:08 PM
I Got My Printer Working Again!!!!!!!!!!!! Ausar LinuxQuestions.org Member Success Stories 0 07-25-2004 07:25 PM
I Got My Printer Working Again!!!!!!!!!!!!!!!!!!! Ausar Linux - Newbie 3 07-24-2004 09:08 PM
Epson Stylus C62 usb printer not working with Kernel 2.6.1 busbarn Linux - Hardware 2 02-23-2004 02:57 PM
Can't get my printer working nero64 Linux - Newbie 1 11-14-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration