SliTaz SliTaz Forum

You are not logged in.

#1 2012-05-08 10:58:22

monte
Member
Registered: 2012-02-05
Posts: 41

control box : start cupsd on boot

need help.

where is control box in system tools ?

Offline

#2 2012-05-08 11:35:57

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: control box : start cupsd on boot

Control box got replaced by Tazpanel in SliTaz 4.

Offline

#3 2012-05-08 11:41:46

monte
Member
Registered: 2012-02-05
Posts: 41

Re: control box : start cupsd on boot

my printer disappears again in slitaz-4,

so I am trying to put back cupsd.

monte

Offline

#4 2012-05-08 11:45:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: control box : start cupsd on boot

Applications/System Tools/SliTaz Panel http://tazpanel:82 ,is the control box

replacement in SliTaz 4.

Most software in Slitaz that uses a daemon server like cups is not configured to auto-start on boot when it's installed.

Post install cupsd is started,but on reboot it's not. This is why it works if you re-install but fails on reboot.

/etc/init.d/cupsd start

or to autostart cupsd on boot

Add cupsd to /etc/rcS.conf to RUN_DAEMONS=

Offline

#5 2012-05-08 11:54:55

monte
Member
Registered: 2012-02-05
Posts: 41

Re: control box : start cupsd on boot

sorry about the not too clear way of putting the request forward.

I had this problem some months ago with slitaz-3 and the disappearing of the printer after being set-up and Trixar was kind enough to point out that I have to add cupsd before slim in the initialization section of the control box.

now I am having the same problem with slitaz-4.

I followed your advice and arrived at tazpanel, but don't know how to proceed to add cupsd in order to make it active on booting.

monte

Offline

#6 2012-05-08 12:02:42

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: control box : start cupsd on boot

Tazpanel doesn't have initialization configuration.

Open terminal, su , password: root

leafpad /etc/rcS.conf

RUN_DAEMONS="dbus hald slim firewall httpd cupsd"

File/Save

File/Quit

Offline

#7 2012-05-08 14:37:46

monte
Member
Registered: 2012-02-05
Posts: 41

Re: control box : start cupsd on boot

Mojo,

did what you suggested, but still have no printer.

so tried system tools > hardware detection and driver > printer to re-install.

but terminal stops at prompt "cannot start cups at daemon, cups had already been running".

re-installation was not successful.

reboot and re-try the above steps, still same results.

Offline

#8 2012-05-08 16:40:48

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: control box : start cupsd on boot

Open terminal as root:

pkill cupsd

pgrep cupsd

No number returned means cupsd is not running.

Check that there is no /var/run/cups/cups.sock

If cups.sock is there delete it.

/etc/init.d/cupsd start

Should start cupsd OK

pgrep cupsd

Returns a number to verify it's running.

Click on this address for cups web interface: http://localhost:631/

Login and configure your printer

Offline

#9 2012-05-09 00:35:20

Antonio Almeida
Member
Registered: 2012-05-09
Posts: 5

Re: control box : start cupsd on boot

Tazpanel doesn't have initialization configuration.

Open terminal, su , password: root

leafpad /etc/rcS.conf

RUN_DAEMONS="dbus hald slim firewall httpd cupsd"

File/Save

File/Quit

Mojo, can I do something similar with wirelles and Samba?

Offline

#10 2012-05-09 00:46:37

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: control box : start cupsd on boot

Start smbd and nmbd on boot:

Add samba to RUN_DAEMONS= 

Not sure what wirelles is.

If you mean wireless.

/etc/network.conf

# Set default interface.

INTERFACE="wlan0"

# Wifi connection.

# Enable/disable wireless connection at boot time.

WIFI="yes"

Offline

#11 2012-05-09 15:15:57

monte
Member
Registered: 2012-02-05
Posts: 41

Re: control box : start cupsd on boot

Mojo,

sorry for the delayed reply, for some reason, my area cannot login slitaz forum for the whole of yesterday.

I tried your way until I came to reconfigure the printer, don't know how to, so I deleted the printer and re-installed again.

now it works, and thanks very much for your help.

monte

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]