Tiny Core Extensions > TCE Q&A Forum
Can't access CUPS
Neo:
Hi All,
I want to install my printer however I cannot access CUPS via the browser.
When I try to access CUPS via http://localhost:631 I get an error saying:
--- Quote ---Can't Connect: Firefox can't establish a connection to the server at localhost:631.
--- End quote ---
Yes I did read the CUPS.TCZ file and have been following the instructions therein.
But now I am stuck since I cannot access the browser interface.
And yes I did search the forum looking for a solution but did not find one, if I missed it please forward me a link.
Any help would be greatly appreciated.
EDIT: I tired connecting to http://localhost:631 while using another Linux distro and it works just fine, however when I rebooted and tried it from TC, no joy, I keep getting the same error message.
Does anyone know why I am unable to connect to this site from TC?
Neo:
Okay I managed to access localhost:631.
Now my printer, a Samsung SCX4521F, is not found and when I try to add a printer it asks me for a "Connection":
Add Printer
Connection:
Examples:
http://hostname:631/ipp/
http://hostname:631/ipp/port1
ipp://hostname/ipp/
ipp://hostname/ipp/port1
lpd://hostname/queue
socket://hostname
socket://hostname:9100
See "Network Printers" for the correct URI to use with your printer."
Sorry but I am at a loss here, what the heck should I put in here for my printer (which is connected via a USB port)?
Juanito:
Assuming your printer is connected directly to your machine (i.e. it is not connected somewhere on your home network), you can type:
--- Code: ---/usr/local/lib/cups/backend/usb
--- End code ---
..and it should come with something. Part of that output is the uri to be entered at the browser interface prompt - could you cut & paste it into this thread?
Neo:
--- Quote from: Juanito on October 12, 2010, 09:39:05 AM ---Assuming your printer is connected directly to your machine (i.e. it is not connected somewhere on your home network), you can type:
--- Code: ---/usr/local/lib/cups/backend/usb
--- End code ---
..and it should come with something. Part of that output is the uri to be entered at the browser interface prompt - could you cut & paste it into this thread?
--- End quote ---
Here is the output:
--- Quote ---root@box:~# /usr/local/lib/cups/backend/usb
/usr/local/lib/cups/backend/usb: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory
--- End quote ---
So I downloaded and installed libusb (two files) and tried again:
--- Quote ---root@box:~# /usr/local/lib/cups/backend/usb
DEBUG: list_devices
DEBUG: usb_find_busses=5
DEBUG: usb_find_devices=9
--- End quote ---
Juanito:
I seem to recall the usblp module might cause problems with cups, could you try this and see what happens:
--- Code: ---$ sudo rmmod usblp
$ /usr/local/lib/cups/backend/usb
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version