Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: Guy on March 12, 2011, 08:07:16 PM
-
In 2009, to start cups automatically, it was necessary to add
/usr/local/bin/cups_start.sh
to /opt/bootlocal.sh.
What needs to be done now?
-
Hi Guy
I noticed last time I rebooted a message saying cups not found, so your question prompted me
to look into it. The command should be /usr/local/etc/init.d/cups start, however, cups is not there.
I found it under /etc/init.d/cups. So try /etc/init.d/cups start.
-
It looks like it is:
sudo /usr/local/etc/init.d/cups start
someone correct me if I am wrong.
-
In the cups extension it is "sudo /usr/local/etc/init.d/cups start" and you can also use the services mini app to start it using a gui.
In the cups1311 extension it is "sudo /etc/init.d/cups start
-
HI:
Here is what I did - and it works:
1) install cups1311 - because it needs no password
2) make sure that lp and parport_pc modules are loaded, if not include modprobe for both into bootlocal.sh
3) add: /usr/local/etc/init.d/dbus start and /etc/init.d/cups start to bootlocal.sh
4) start the browser - app useing http://127.0.0.1:631 and install printer
please also refer to the cups section in TC wiki
-
What is the difference between cups and cups1311?
-
HI: I think cups is the newer release. When I tried to start this one the browser app asked me for a
username and passwaord. I was not able to log in, because I did not know how to set this up.
then I learned from the wiki that cups311 does not ask for unsername and password.
-
Do you know how to set up a password now?
You open the terminal and type:
sudo passwd
The user name is root.
Set this up before logging in.
You do not need to save the password. You only need it to set up the printer.
If you want to save it, add the following line to /opt/.filetool.lst.
etc/shadow
Or make a new extension for the root password.
-
HI: I think cups is the newer release. When I tried to start this one the browser app asked me for a
username and passwaord. I was not able to log in, because I did not know how to set this up.
cups (as opposed to cups1311) is the newer release - the info file mentions that the root password needs to be set.
-
What is the difference between cups and cups1311?
Due to problems with the cups usb interface in cups-1.4.x (there is/was a conflict with the usblp kernel module), one of the users made a cups-1.3.x extension.
Whereas everything in the cups extension is compiled to /usr/local, some files in the cups1311 extension are placed in /usr. In addition the cups1311 extension has been set up so the root password is not required.