Can you ping the printer by its IP address? (It is usual to assign a static IP address for such devices.) If you can’t, you have some fundamental networking configuration to rectify before proceeding. The openSUSE firewall can prevent discovery, so you might want to disable that temporarily while configuring the printer.
Regarding the printer, please provide details about make and model. (That might help others to advise about the network printing protocol supported.)
I proved the wifi once more and I cannot “ping”. Maybe I have a more complicated issue. Also, I cannot connect to “localhost:631/admin” (just keeps trying to connect)
Can you, please, give me some advice?:shame:
I should not be complicated. Can you check the printer front panel and make sure that a suitable static IP address (correct subnet) is assigned?
You should be able to ping the router (gateway address) too. These are fundamental to having a working LAN, and you cannot begin to configure the printer until the network addresses are correctly assigned.
Also, I cannot connect to “localhost:631/admin” (just keeps trying to connect)
Can you, please, give me some advice?:shame:
Sometimes, the CUPS service needs to be restarted. (It is designed that way, and only active when needed.)
Yes, the printer has a static IP address and a subnet mask as well. I used this last address number to ping and everything looks ok.
ping 10.210.128.1PING 10.210.128.1 (10.210.128.1) 56(84) bytes of data.64 bytes from 10.210.128.1: icmp_seq=1 ttl=64 time=7.02 ms64 bytes from 10.210.128.1: icmp_seq=2 ttl=64 time=7.92 ms64 bytes from 10.210.128.1: icmp_seq=3 ttl=64 time=7.63 ms64 bytes from 10.210.128.1: icmp_seq=4 ttl=64 time=7.41 ms64 bytes from 10.210.128.1: icmp_seq=5 ttl=64 time=6.39 ms64 bytes from 10.210.128.1: icmp_seq=6 ttl=64 time=6.36 ms^C--- 10.210.128.1 ping statistics ---6 packets transmitted, 6 received, 0% packet loss, time 5005msrtt min/avg/max/mdev = 6.362/7.124/7.920/0.598 ms
Also, I checked the cups:
antonio@jazami:~$ systemctl status cups.servicecups.service - CUPS Printing Service Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled) Active: active (running) since mar 2014-01-21 13:38:44 CST; 4h 16min ago Main PID: 1958 (cupsd) CGroup: /system.slice/cups.service └─1958 /usr/sbin/cupsd -f
I can “enter” to the cups interface: “localhost:631”, but when I click on the “add printers and classes” it "hangs"Well, thanks again for your advice.lol!
Okay, so now you can ping okay if I understood you correctly. When you use the CUPS web interface to add the printer, you will be prompted for your root (administrator) credentials. Did you get that far?
I’m afraid not. When I click on the “administration” tab or, in the “add printers and classes” link, is when it “hangs” (just keeps trying to connect).
What else do I need to do?
Thanks!lol!
Hi, again
With either Firefox or google-chrome, i cannot connect to ‘localhost:631’. I tried, as you suggested me, via Yast but, when I click on the button ‘prove conexion’ it tells me that there is a firewall, even though i disabled it.
what can i do?
Thanks!
From a root terminal, post the output of the following (needs to be root to get cupsd process listed)
lsof -i -n | egrep 'COMMAND|LISTEN'
Please upload your /etc/cups/cupsd.conf to http://paste.opensuse.org/ and post link to it here. (It doesn’t make sense to me that you don’t have access.)
1. Goto http://localhost:631/admin
2. Press the button "Edit Configuration File"
3. Accept with "Save Changes" and provide correct username and password
4. Add a new printer as normal.
You cupsd.conf is not the default version supplied by the openSUSE CUPS package. Assuming you didn’t manually edit it, perhaps the following command will tell us which package it belongs to
rpm -qf /etc/cups/cupsd.conf
It doesn’t contain the expected entry
# Only listen for connections from the local machine.
Listen localhost:631
and there are some other differences with access control. For reference, I have
Restrict access to the server...
<Location />
Order allow,deny
Allow 127.0.0.2
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
Anyway, it might be just as easy to remove the file with
Hi again!
I followed your indications and finally I was able to enter “localhost:631”. Being there, I followed the instructions and apparently the printer was installed. But, when I try to print the “test page” I get a message telling me that the printer is “unreachable at the moment”.
Can you, please, suggest me something?
I greatly appreciate your advice. Thanks!lol!
You are using a fixed (static) IP address for the printer.
You can ping the printer, and that it is ready to print.
Disable the firewall with
systemctl stop SuSEfirewall2.service
Once those conditions are met, you can proceed with trying to communicate with the printer (eg print a test page).
This will show how the printer queue has been configured and the reported status
lpstat -v
If it is practical/possible to do so, it might be useful to try connecting to your router via wired ethernet connection (not wireless), and trying to print. Some routers apparently have some additional security for wireless connections, such as ‘client isolation’ which can inhibit services like CUPS printing. I’ll leave you to check this for yourself.
Hi
I finally could print from my laptop!
Thank you so very much!!
I’m very pleased for the advice I have received in the forum. This was the third issue I had and I was attended very well, very quickly and with high technical advice.
I greatly thank you and all the guys of the team of this forum and hope to acquire enough practice so I can give support to someone else.
See you next post!lol!