can't detect my wireless epson printer

Hi,
About 6 weeks ago i made a fresh install of opensuse 13.1 and had an issue connecting to my wifi. I needed to install the newest kernel

 
antonio@jazami:~$ uname -r
3.12.5-2.g3848a14-desktop

and succeded. But now, I cannot detect my printer. (Before upgrading the kernel I was able to print)
This is my uname -a:


antonio@jazami:~$ uname -a
Linux jazami 3.12.5-2.g3848a14-desktop #1 SMP PREEMPT Thu Dec 19 14:49:57 UTC 2013 (3848a14) x86_64 x86_64 x86_64 GNU/Linux

Can you help me?
Thanks

So, starting from the top…

  1. 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.

  2. Regarding the printer, please provide details about make and model. (That might help others to advise about the network printing protocol supported.)

Thank you very much for your reply. lol!

Yes, I can ‘ping’ to the printer:


antonio@jazami:~$ ping 10.210.246.28
PING 10.210.246.28 (10.210.246.28) 56(84) bytes of data.
64 bytes from 10.210.246.28: icmp_seq=1 ttl=64 time=1004 ms
64 bytes from 10.210.246.28: icmp_seq=2 ttl=64 time=5.36 ms
64 bytes from 10.210.246.28: icmp_seq=3 ttl=64 time=1.48 ms
^C
--- 10.210.246.28 ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13018ms
rtt min/avg/max/mdev = 1.406/73.597/1004.744/258.256 ms, pipe 2

I have a wireless printer: Epson Stylus TX560WD.
Thanks, again.:wink:

Did you install the Epson printer drivers yet? If not go here and search for ‘TX560WD’

http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX

Download the appropriate package for your system.

Try detecting your printer via the CUPS web interface (make sure firewall is disabled via YaST first)

http://localhost:631/admin

If no auto-detection occurs, then try manually via ‘Add Printer’, and choose ‘AppSocket’, you’ll need to complete the connection like this

socket://<printer_ip address>

using your printer’s IP address

Follow the prompts given…

See how that goes.

Thanks for your reply:)

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.)

Check status with

systemctl status cups.service

It will probably report


cups.service - CUPS Printing Service
   Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
   Active: inactive (dead)

Start it with

systemctl start cups.service

then its web interface will be active again.

Hello, again!:slight_smile:

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!

I haven’t observed that behaviour before. Which browser are you using?

You could try configuring via YaST…

The problem may be with the configuration in /etc/cups/cupsd.conf (although default openSUSE settings are ok).

Hi, again :slight_smile:
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!

  1. 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'
  1. 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.)

The firewall status can be confirmed with

systemctl status SuSEfirewall2.service

One other idea I have, courtesy of this post. Nothing to lose :slight_smile:

https://bbs.archlinux.org/viewtopic.php?id=91809

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.

Hi, :slight_smile:
These are the commands you indicated me:


jazami:/home/antonio #  **lsof -i -n | egrep 'COMMAND|LISTEN'**
COMMAND    PID    USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
systemd      1    root   20u  IPv6   8061      0t0  TCP *:ipp (LISTEN)
sshd       788    root    3u  IPv4  12032      0t0  TCP *:ssh (LISTEN)
sshd       788    root    4u  IPv6  12045      0t0  TCP *:ssh (LISTEN)
master     909    root   12u  IPv4  13357      0t0  TCP 127.0.0.1:smtp (LISTEN)
master     909    root   13u  IPv6  13359      0t0  TCP ::1]:smtp (LISTEN)
cupsd     1823    root    4u  IPv6   8061      0t0  TCP *:ipp (LISTEN)
cupsd     1823    root   10u  IPv4  23390      0t0  TCP *:ipp (LISTEN)


jazami:/home/antonio # **systemctl status SuSEfirewall2.service**
SuSEfirewall2.service - SuSEfirewall2 phase 2
   Loaded: loaded (/usr/lib/systemd/system/SuSEfirewall2.service; enabled)
   Active: active (exited) since mié 2014-01-22 15:05:15 CST; 5min ago
  Process: 719 ExecStart=/usr/sbin/SuSEfirewall2 boot_setup (code=exited, status=0/SUCCESS)
 Main PID: 719 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/SuSEfirewall2.service


ene 22 15:05:14 jazami systemd[1]: Starting SuSEfirewall2 phase 2...
ene 22 15:05:15 jazami SuSEfirewall2[870]: Firewall rules successfully set
ene 22 15:05:15 jazami systemd[1]: Started SuSEfirewall2 phase 2.

And this is my /etc/cups/cupsd.conf file


URL: http://paste.opensuse.org/33751620

I hope this information helps
Thank you very much for your advice;)

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

rm -f /etc/cups/cupsd.conf

and force reinstall the cups package

zypper in --force cups

jazami:/home/antonio # **systemctl status SuSEfirewall2.service**
SuSEfirewall2.service - SuSEfirewall2 phase 2
   Loaded: loaded (/usr/lib/systemd/system/SuSEfirewall2.service; enabled)
   Active: active (exited) since mié 2014-01-22 15:05:15 CST; 5min ago
  Process: 719 ExecStart=/usr/sbin/SuSEfirewall2 boot_setup (code=exited, status=0/SUCCESS)
 Main PID: 719 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/SuSEfirewall2.service


ene 22 15:05:14 jazami systemd[1]: Starting SuSEfirewall2 phase 2...
ene 22 15:05:15 jazami SuSEfirewall2[870]: Firewall rules successfully set
ene 22 15:05:15 jazami systemd[1]: Started SuSEfirewall2 phase 2.

Your firewall is active, but it is not the issue anyway.

Hi again!:slight_smile:
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 need to verify that

  1. You are using a fixed (static) IP address for the printer.

  2. You can ping the printer, and that it is ready to print.

  3. 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 :wink:
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!