Tiny Core Extensions > TCE Q&A Forum

(Solved) Re: Cups can't access admin screen

<< < (3/6) > >>

athouston:
Thanks both.

What is the TCL equivalent to the MS-DOS dir /s command to search for a file in all sub-directories please.

I don't know where filetool.lst lives but it would be more useful if I new how to find it myself.

Cheers.

aus9:
athouston

1) Any chance you can actually name one printer make and model
How exactly is this connected or whatever.

I am guessing you have a wireless or cable connection from printer to a router?
I am guessing hard wired means ethernet cable to router?

In which case, you have a local host.

In which case do not ....do not edit to listen to Port 631.....which weakens your security when

try  (EDIT)
Listen 192.168.0.22:631 

but its not clear to me if you have set up a static address for the printer.

details please?

2) If you can do me a favour, and show

--- Code: ---ls /usr/local/tc.installed
--- End code ---

you must have all dependencies of cups and its not clear to me ---that you have it by using ondemand

I don't use ondemand.

I prefer you try

--- Code: ---tce-load -i cups
--- End code ---
and post the results pls

you need to have all dependencies downloaded and installed for cups to work properly

--- Quote ---cups.tcz
   acl.tcz
      libattr.tcz
   dbus.tcz
      expat2.tcz
   libavahi.tcz
      gtk2.tcz
         atk.tcz
            glib2.tcz
               libffi.tcz
            libffi.tcz
         cairo.tcz
            pixman.tcz
            fontconfig.tcz
               expat2.tcz
         pango.tcz
            glib2.tcz
               libffi.tcz
            Xorg-7.6-lib.tcz
            libxcb.tcz
         gdk-pixbuf2.tcz
            glib2.tcz
               libffi.tcz
            graphics-libs-1.tcz
         shared-mime-info.tcz
            glib2.tcz
               libffi.tcz
            libxml2.tcz
               liblzma.tcz
         Xlibs.tcz
      dbus.tcz
         expat2.tcz
      gcc_libs.tcz
   libcups.tcz
      cups-filters.tcz
         libcups-filters.tcz
   libpaper.tcz
   Linux-PAM.tcz
      cracklib.tcz
      bsddb.tcz
   openssl-1.0.0.tcz
   qpdf.tcz

--- End quote ---

3) busybox has netstat ....so if you like netstat try the busybox version?

4)
--- Code: ---sudo find / -name .filetool.lst
--- End code ---

/opt is where to look ,but note its dot filetool.lst

aus9:
can I mention, in case you are new to Tiny Core or Linux in general that

unless you do printing on a regular basis, do not add cups to your onboot.lst

I create my root password first.....as per info and I back this up,
the root password is only required when you want to edit root owned files and that is all of the files for cups
---including adding a printer ok?

The other files you backup, means when you want to print say next week, you load cups, start the cups daemon
(I think it might be called service in MS)
and you can print because you are not editting the config files.

I hope that makes sense?

aus9:
 have editted the previous post above for the listen section, I won't edit that again in case you are reading it.
but for my wireless HP wireless to router, ethernet cable to desktop tower my config is

--- Quote ---Listen 192.168.1.200:9100
--- End quote ---

and not :631, there are in fact even more funnies like that. That is why we need to know how you connect and make and model ok?

athouston:
Item 4. beaut, thanks. (teach a man to fish, etc..).

Item 1. I have not got to the stage of trying to actually install a printer because I haven't been able to get to an interface.

My Printer is a Kyocera FS-1118MFP which is in the list of supported printers on the cups sourceforge website. It is hardwired to a Gigabit switch and the entire network attaches to the internet through a firewall router. I am not at all concerned with any security aspects of using port 631 internally. The cupsd.conf.default file has an entry for listen localhost:631 already. I have many other devices connected to the internal network as well.

The print server I am seting up is the TCL install I am currently working on and its IP is 192.168.0.22. The printer is static at 192.168.0.24. Localhost is therefore 192.168.0.22.

Item 2. List of tce.installed is attached.

tce-load -i cups returns "cups is already installed".

Appsbrowser depencencies check does not disclose any missing.

It seems to me that the bit I have been missing is the need to add the cupsd.conf file to my backup, because when I add the localhost setting to this, I can browse to the admin screen.

I will now try that and see how it goes from there.

I am new to TinyCore (and loving it) and less so to Linux; although I am seriously familiar with the other operating system (I have the source code to MS-Dos 86 somewhere around here). The comments about printing makes sense. This box is to be my "daily driver" and I will be printing often so for my installation loading OnBoot makes sense.

I like the idea of changing the listem port to 9100 in the cupsd.conf file (because, yes, one less open port is always good even if I am confident with my current security).

You mention backing up the root password. That's a new concept to me.


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version