Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Wifi printer forbidden

  1. #1
    Join Date
    May 2021
    Posts
    7

    Default Wifi printer forbidden

    Hello. So far I've been connecting to Samsung ML-2165W printer, without any problems. Recently, my computer have lost the connection with the printer, and any attempts are cut by messages of Cups and Yast, that adding printer is forbidden or acquiring devices list is forbidden (for sure I enter proper username and password). Printer's diode is displaying stable blue light, meaning that it has connection with the router. Restarting all three devices doesn't help. Can anyone share advice?

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,120
    Blog Entries
    1

    Default Re: Wifi printer forbidden

    Quote Originally Posted by sim View Post
    Hello. So far I've been connecting to Samsung ML-2165W printer, without any problems. Recently, my computer have lost the connection with the printer, and any attempts are cut by messages of Cups and Yast, that adding printer is forbidden or acquiring devices list is forbidden (for sure I enter proper username and password). Printer's diode is displaying stable blue light, meaning that it has connection with the router. Restarting all three devices doesn't help. Can anyone share advice?
    Please show us the CUPS printer status and URI...
    Code:
    lpstat -t
    From that information we can guide you further.

    Can you ping the printer by its assigned IP address? If you're not sure about the current IP address, you could examine the router (via its admin web interface) and it should show a list of connected devices. If using DHCP, it may be that the printer IP address changed. This can be avoided by reserving IP addresses (DHCP reservation) for a given device in the router configuration.
    openSUSE Leap 15.4; KDE Plasma 5

  3. #3
    Join Date
    Jun 2008
    Location
    Ardrishaig, Argyll. Scotland UK - GMT/BST
    Posts
    36,872
    Blog Entries
    20

    Default Re: Wifi printer forbidden

    Some great advice already mentioned.

    Just a thought. Have you changed any Firewall settings recently?
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    May 2021
    Posts
    7

    Default Re: Wifi printer forbidden

    Quote Originally Posted by deano_ferrari View Post
    Please show us the CUPS printer status and URI...
    Code:
    lpstat -t
    From that information we can guide you further.

    Can you ping the printer by its assigned IP address? If you're not sure about the current IP address, you could examine the router (via its admin web interface) and it should show a list of connected devices. If using DHCP, it may be that the printer IP address changed. This can be avoided by reserving IP addresses (DHCP reservation) for a given device in the router configuration.
    Here it goes:

    Code:
    sim@localhost:~> lpstat -t
    scheduler is running
    no system default destination
    lpstat: No destinations added.
    lpstat: No destinations added.
    lpstat: No destinations added.
    lpstat: No destinations added.
    sim@localhost:~> 
    
    sim@localhost:~> ping 192.169.0.16
    PING 192.169.0.16 (192.169.0.16) 56(84) bytes of data.
    ^C
    --- 192.169.0.16 ping statistics ---
    34 packets transmitted, 0 received, 100% packet loss, time 33783ms
    
    sim@localhost:~> ^C
    The URI is: ipp://192.168.0.16/ipp/printer

    Quote Originally Posted by caf4926 View Post
    Some great advice already mentioned.

    Just a thought. Have you changed any Firewall settings recently?
    No.

    Only one thought - some time ago I installed some additional HP software to handle another device, printer+scanner HP. Not sure if wifi printer lost connection prior to that or after...

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,120
    Blog Entries
    1

    Default Re: Wifi printer forbidden

    Quote Originally Posted by sim View Post
    Here it goes:

    Code:
    sim@localhost:~> lpstat -t
    scheduler is running
    no system default destination
    lpstat: No destinations added.
    lpstat: No destinations added.
    lpstat: No destinations added.
    lpstat: No destinations added.
    sim@localhost:~> 
    
    sim@localhost:~> ping 192.169.0.16
    PING 192.169.0.16 (192.169.0.16) 56(84) bytes of data.
    ^C
    --- 192.169.0.16 ping statistics ---
    34 packets transmitted, 0 received, 100% packet loss, time 33783ms
    
    sim@localhost:~> ^C
    The URI is: ipp://192.168.0.16/ipp/printer
    No printer is currently defined. Somehow you have deleted it.

    To configure it via the CUPS web interface, you'll need to use the root credentials.
    openSUSE Leap 15.4; KDE Plasma 5

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,120
    Blog Entries
    1

    Default Re: Wifi printer forbidden

    Since you didn't get a response from that IP address, you should check connectivity via the router admin web interface. You may need to take steps to configure such that the assigned IP address doesn't change as explained already.
    openSUSE Leap 15.4; KDE Plasma 5

  7. #7
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    4,005

    Default Re: Wifi printer forbidden

    Quote Originally Posted by sim View Post
    Here it goes:

    Code:
    sim@localhost:~> lpstat -t
    scheduler is running
    no system default destination
    lpstat: No destinations added.
    lpstat: No destinations added.
    lpstat: No destinations added.
    lpstat: No destinations added.
    sim@localhost:~> 
    
    sim@localhost:~> ping 192.169.0.16
    PING 192.169.0.16 (192.169.0.16) 56(84) bytes of data.
    ^C
    --- 192.169.0.16 ping statistics ---
    34 packets transmitted, 0 received, 100% packet loss, time 33783ms
    
    sim@localhost:~> ^C
    Only one thought - some time ago I installed some additional HP software to handle another device, printer+scanner HP. Not sure if wifi printer lost connection prior to that or after...
    Make sure your router's DHCP server works properly. Host 3400G has no printers installed, but I can submit jobs to the printers. They get their address from the router, e.g. the Brother laser printerHL-L2350DW:
    Code:
    3400G:~ # nslookup BRW1CBFC0D1EA86  
    Server:         192.168.178.1 
    Address:        192.168.178.1#53 
    
    Name:   BRW1CBFC0D1EA86 
    Address: 192.168.178.20 
    
    3400G:~ #
    On host 3400G I configured remote printing using 'yast2 printer'. As user karl I configured using lpoptions. Lpstat displays settings:
    Code:
    karl@3400G:~> LANG=C lpstat -t
    scheduler is running
    system default destination: MFC255CW
    device for HLL2350DW: lpd://BRW1CBFC0D1EA86/BINARY_P1
    device for MFC255CW: lpd://BRWC417FEB49788/BINARY_P1
    HLL2350DW accepting requests since Mon May 17 18:56:16 2021
    MFC255CW accepting requests since Mon Apr 12 14:04:36 2021
    printer HLL2350DW is idle.  enabled since Mon May 17 18:56:16 2021
    printer MFC255CW is idle.  enabled since Mon Apr 12 14:04:36 2021
    karl@3400G:~> cat ~/.cups/lpoptions
    Default MFC255CW
    karl@3400G:~>
    i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma

  8. #8
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    4,005

    Default Re: Wifi printer forbidden

    Quote Originally Posted by deano_ferrari View Post
    Since you didn't get a response from that IP address, you should check connectivity via the router admin web interface. You may need to take steps to configure such that the assigned IP address doesn't change as explained already.
    I tried assigning fixed addresses but stopped doing so when I experienced numerous issues. What works best for most home networks, in my experience of course:

    • hosts use fixed (static) host names
    • devices (links) get their arbitrary addresses from the DHCP server of the router

    I strictly refrain from tinkering. Hosts change their addresses every now and then, but this doesn't cause any issues.
    i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma

  9. #9
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,120
    Blog Entries
    1

    Default Re: Wifi printer forbidden

    Quote Originally Posted by karlmistelberger View Post
    I tried assigning fixed addresses but stopped doing so when I experienced numerous issues.
    DHCP reservation effectively delivers static IP addressing (but within the DHCP address space). Of course hostnames can also be employed, but DNS not in common use in home networks. Avahi hostnames are another option, but for now I would prefer to keep things simple for the OP.
    openSUSE Leap 15.4; KDE Plasma 5

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,120
    Blog Entries
    1

    Default Re: Wifi printer forbidden

    Quote Originally Posted by karlmistelberger View Post
    II strictly refrain from tinkering. Hosts change their addresses every now and then, but this doesn't cause any issues.
    What you call tinkering others may call configuration.
    openSUSE Leap 15.4; KDE Plasma 5

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •