Page 11 of 12

modprobe usblp

Posted: Wed 14 Jun 2006, 09:09
by Kal
Some times the modprobe entry can be messed up in rc.local because of auto load entries to the same line by cups installer. Lookout for this.
Good Luck, Kal

Re: modprobe usblp

Posted: Wed 14 Jun 2006, 12:07
by edoc
Kal wrote:Some times the modprobe entry can be messed up in rc.local because of auto load entries to the same line by cups installer. Lookout for this. Good Luck, Kal
What can be done to eliminate such conflicts?

We keep losing cups recognition of the printer when my wife's pc is
rebooted.

Thanks! doc

usb printer

Posted: Wed 14 Jun 2006, 20:06
by Kal
Edoc
Should be just one time that this could happen. After you fix it up, it's all right, unless your reinstalling cups for some reason. below is my /etc/rc.d/rc.local:

# USB Print Module
modprobe usblp
# End of Module Install
# Start cups
/etc/rc.d/rc.cups start

Anything being added to the end of modprobe usblp, well stop it, like modprobe usblp#xxxxx.
I add "# End of Module Install" just for GP, and remove modprobe printer on Puppy2 for usb.
Good Luck, Kal

Re: usb printer

Posted: Thu 15 Jun 2006, 13:23
by edoc
Kal wrote:Edoc
Should be just one time that this could happen. After you fix it up, it's all right, unless your reinstalling cups for some reason. below is my /etc/rc.d/rc.local:

# USB Print Module
modprobe usblp
# End of Module Install
# Start cups
/etc/rc.d/rc.cups start

Anything being added to the end of modprobe usblp, well stop it, like modprobe usblp#xxxxx.
I add "# End of Module Install" just for GP, and remove modprobe printer on Puppy2 for usb.
Good Luck, Kal
This is what I had:
# Start usb for printer
modprobe usblp
# Start cups
/etc/rc.d/rc.cups start
# Load the module for usb printers
modprobe printer


EXCEPT that there was a typo that had two lines run together:
/etc/rc.d/rc.cups start# Load the module for usb printers

Is the modprobe printer unnecessary?

Thanks! doc

rc.local

Posted: Thu 15 Jun 2006, 16:13
by Kal
Edoc
Yes, on Puppy2 for usb printer. PupBeGone can do the same as Cups on the auto load to rc.local.
Good Luck, Kal

Re: rc.local

Posted: Thu 15 Jun 2006, 17:02
by edoc
Kal wrote:Yes, on Puppy2 for usb printer.
Short night sleep and the coffee is not working real well ...

Are you affirming that the "modprobe printer" is *not* needed?
Kal wrote:PupBeGone can do the same as Cups on the auto load to rc.local.
This really confuses me. I thought that PupBeGone was for removing
apps one has loaded.

Are you saying that PupBeGone may be used to modify rc.local or that
certain changes via PupBeGone may result in changes to rc.local?

Tnx! doc

How to Print with CUPS using Puppy2

Posted: Thu 15 Jun 2006, 17:34
by dewdrop
Hi Pups,

I am adding a link to a How To that I just completed for people to try with the various versions of Puppy2.

It can be found here:

http://www.murga.org/~puppy/viewtopic.php?t=8673

I know it is kind of long, but with all of the people arriving that are new not only to Puppy, but to Linux in general, it might be useful.

dewdrop

Re: How to Print with CUPS using Puppy2

Posted: Thu 15 Jun 2006, 17:46
by edoc
dewdrop wrote:Hi Pups,

I am adding a link to a How To that I just completed for people to try with the various versions of Puppy2.

It can be found here:

http://www.murga.org/~puppy/viewtopic.php?t=8673

I know it is kind of long, but with all of the people arriving that are new not only to Puppy, but to Linux in general, it might be useful.

dewdrop
WOOF! WOOF! WONDERFUL!

We need a whole lot more of this if Puppy is to break into common use.

I know the Wiki is intended for this purpose but it is often out of date
and is incomplete.

Between Wiki and Forum posts making vague references to fragmented
discussions scattered across posts and sometimes deleted or moved links
it is near impossible to solve problems without hours of wasted time and
frustration -- or raising the same questions over and over.

The other serious flaw in documentation is the tendency we all have to fail
to include the Puppy version and if we are running a HDD or other type of
install.

Perhaps categories within a Puppy Manual Wiki need to be assigned to
specific people with occasional automated tweaks to remind them to check
their wards for up-to-date information.

I think we also need to fix the Search feature of the Wiki which, like most
search engines, tends to bring up way too many irrelevant links.

IMHO, YMMV ... doc

Modprobe printer can be removed from rc.local

Posted: Thu 15 Jun 2006, 21:49
by Kal
Hi, Edoc
Any program that adds entries to rc.local as part of its install, in order to function seems to have had this problem, in the past. As you saw on your own computer the #information line was place right behind the good line, nullifying that entry and your computer would not start cups. The #information line should have started on the next line. There is something missing in the script, how to fix is over my head. If we can make our super good folks, who write these, just aware of the problem I am sure they will come up with the fix.
The yes was an answer to your question. Yes, "modprobe printer" can be removed, or remarked out, it's not used in Puppy2. That is why we are adding "modprobe usblp", which is the module used in Puppy2 on usb printers. I hope that clear this up (Sorry).
Good Luck, Kal

Posted: Wed 12 Jul 2006, 22:29
by mrwolfe
Hi guys.

I'm having some trouble getting my lbp3000 to print. I have puppy set up in a wafer 5820 SBC with a 300 Gig HD that I'm hoping to use as a mini F&P server. I've set up usb by adding the following to /etc/rc.d/rc.local:

modprobe ohci_hcd
modprobe uhci_hcd
modprobe usblp


Puppy sees USB devices OK (e.g memory sticks), and I can see /dev/usb/lp0 and /dev/usb/lp1. I have 2 usb ports, so this looks right.

I have installed PERL and CUPS from the tarballs, and the lbp3000 drivers from the RPM's on the canon website. CUPS can see the printer via the usb port because "usb printer #1 canon lbp3000" shows up in the devices list and everything looks good. When I try to print a test page, though, nothing happens. A spool file appears in /var/spool/cups but no output. I have tried sending the spool file directly to the printer port e.g cat c00001 > /dev/usb/lp0, nothing. I have also tried e.g echo -e "test\n" > /dev/usb/lp0 as well as cat sometextfile > /dev/usb/lp0, still nothing.

2 questions:

1. has anyone else managed to get this printer to work, and if so, how?
2. Do any of you guys who are intimately familiar with usb printers have any suggestions?

actually, 3 questions - any ideas on getting the full version of RPM? the busybox version doesn't do uninstalls.

Mr Wolfe

<cross-posted in http://www.murga.org/~puppy/viewtopic.php?t=8673>

Dell 3100cn on network installed perfectly

Posted: Sun 16 Jul 2006, 04:45
by jaxpilot
Just wanted to say thanks again to all those who know so much more and are willing to share the knowledge and take time to teach.

I just followed the instructions found in this thread: http://www.murga.org/~puppy/viewtopic.php?t=8673

and had my Dell 3100cn duplexing laser color network printer working flawlessly in about 15 minutes. I just moved the Dell provided PDD file and restarted CUPS and bingo.

Thanks!

Paul
_____________
Puppy 201r2 HDD install
Sony Picturebook C1XS
64 MB RAM, 12 GB HDD

Posted: Thu 03 Aug 2006, 15:40
by Buteman
Hi,
Using Puppy 2.02 hard disc install.
Tried to install cups but got the following errors:
Lots of errors like this -
--16:07:54-- ftp://ftp.linux.cz/pub/linux/slackware/ ... i486-1.tgz
sh: --16:07:54--: command not found
sh-3.1# (try:20) => `perl-5.8.6-i486-1.tgz'
sh: syntax error near unexpected token `='
sh-3.1# Connecting to ftp.linux.cz[147.251.48.205]:21... connected.
sh: Connecting: command not found
sh-3.1# Logging in as anonymous ... Logged in!
sh: Logging: command not found
sh-3.1# ==> SYST ... done. ==> PWD ... done.
sh: ==: command not found
sh-3.1# ==> TYPE I ... done. ==> CWD /pub/linux/slackware/slackware-10.1/slackware/d ... done.
sh: ==: command not found
sh-3.1# ==> PORT ... done. ==> RETR perl-5.8.6-i486-1.tgz ...
sh: ==: command not found
sh-3.1# Error in server response, closing control connection.
sh: Error: command not found
sh-3.1# Giving up.

and this -
--16:17:41-- ftp://ftp.linux.cz/pub/linux/slackware/ ... i486-1.tgz
(try:20) => `cups-1.1.23-i486-1.tgz'
Connecting to ftp.linux.cz[147.251.48.205]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/linux/slackware/slackware-10.1/slackware/a ... done.
==> PORT ... done. ==> RETR cups-1.1.23-i486-1.tgz ...
Error in server response, closing control connection.
Giving up.

so then the following -
tar (child): /root/tmp/cups/cups-1.1.23-i486-1.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
sh: install/doinst.sh: No such file or directory
cp: cannot stat `etc/*': No such file or directory

Any ideas please?
tia,
Norm

Posted: Thu 03 Aug 2006, 17:34
by pg99
i had his same problem the other day. looks like there is something wrong with ftp.linux.cz. I found a list of slackware mirrors for that file here http://slackware.it/en/pb/package.php?q ... .23-i486-1 and downloaded myself. Then i just changed the line in the doinst.sh script to do a copy instead of a wget and it was fine from there.

hth
Phil

Posted: Thu 03 Aug 2006, 22:23
by Buteman
Thanks,
That worked,
Norm

CUPS (Finally Here)

Posted: Thu 03 Aug 2006, 23:37
by dewdrop
pg99 wrote:i had his same problem the other day. looks like there is something wrong with ftp.linux.cz. I found a list of slackware mirrors for that file here http://slackware.it/en/pb/package.php?q ... .23-i486-1 and downloaded myself. Then i just changed the line in the doinst.sh script to do a copy instead of a wget and it was fine from there.

hth
Phil
Thanks,
That worked,
Norm
Hi Norm and Phil,

This is dewdrop, and I'm just a little confused about your inability to do the downloads - were you using the items from the first page of this thread where Rarsa gives instructions on downloading 2 files: perl-5.8.6-install.tar.gz and cups-install.tar.gz and the step-by-step of how to get those 2 items working in Puppy?

....you indicate that there is a problem with downloading from the ftp.linux.cz. site. I just tried going thru that exercise again with no problem encountered with the download site.

Posted: Fri 04 Aug 2006, 08:28
by pg99
Hi dewdrop,

yeah i was following the instructions step-by-step and the download was just failing all the time - no idea why - so off I went and downloaded it myself.

I also went through the espgs install script, which I believe also downloads from that site, and I didn't have any problems with that. Just the cups package download <<shrug>>

rgds
Phil

Printing with CUPS (Finally Here)

Posted: Fri 04 Aug 2006, 15:18
by dewdrop
I'm just adding the thread address of a new effort by pakt (Paul) as he has asked that people test his efforts as they try getting their printers to work.

pakt's thread address is:

http://www.murga.org/~puppy/viewtopic.php?t=9876

Please give it a try and report your results to that thread so that others can benefit from your efforts.

dewdrop

Posted: Fri 18 Aug 2006, 02:26
by bachikho
how can i connect to a printer connected to a windows computer (through lan)?

Posted: Fri 18 Aug 2006, 14:12
by dewdrop
bachikho wrote:how can i connect to a printer connected to a windows computer (through lan)?
Hi bachikho,

I did a search of the Forum using the words "printing and lan" and came up with a possible solution for your question.

Please go to this thread/post and review it ... hopefully, you will find your answer there.

http://www.murga.org/~puppy/viewtopic.p ... 43&start=0

If this information doesn't work, I suggest you start a new thread and giving it a title something like .... How do I print with (name your printer) and local area network?

You might also review this CUPS printing thread for help:

http://www.murga.org/~puppy/viewtopic.php?t=9876

Good Luck

dewdrop