Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 27

Thread: Wifi printer forbidden

  1. #11
    Join Date
    Jan 2014
    Location
    Erlangen
    Posts
    3,993

    Default Re: Wifi printer forbidden

    Quote Originally Posted by deano_ferrari View Post
    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.
    When experiencing frequent issues with wicked since March 2014 I tried systemd-netword fixed IP addresses: https://en.opensuse.org/Systemd-networkd This turned out to work reliably, but was cumbersome when making changes.

    I always wondered why net installers of any distribution would readily connect to their repositories without tedious manual configuration. I gave DHCP a try: https://en.opensuse.org/Network_Management_With_Systemd Yes, still some configuration is needed, but it's concise and changes are rarely needed. Host erlangen currently has a single link:
    Code:
    erlangen:~ # cat /etc/systemd/network/20-wired.network  
    [Match] 
    Name=e* 
    
    [Network] 
    DHCP=yes 
    erlangen:~ # 
    Code:
    erlangen:~ # networkctl status  
       State: routable                                          
     Address: 192.168.178.32 on enp0s31f6                        
              f123:.................... on enp0s31f6 
              f123:.................... on enp0s31f6             
     Gateway: 192.168.178.1 (AVM GmbH) on enp0s31f6              
              f123:..................... (AVM GmbH) on enp0s31f6   
         DNS: 192.168.178.1                                      
         NTP: 192.168.178.1                                      
    
    May 21 12:24:53 erlangen systemd[1]: Starting Network Service... 
    May 21 12:24:54 erlangen systemd-networkd[621]: Enumeration completed 
    May 21 12:24:54 erlangen systemd[1]: Started Network Service. 
    May 21 12:24:54 erlangen systemd-networkd[621]: eth0: Interface name change detected, eth0 has been renamed to enp0s31f6. 
    May 21 12:24:54 erlangen systemd-networkd[621]: enp0s31f6: IPv6 successfully enabled 
    May 21 12:24:54 erlangen systemd-networkd[621]: enp0s31f6: Link UP 
    May 21 12:25:04 erlangen systemd-networkd[621]: enp0s31f6: Gained carrier 
    May 21 12:25:05 erlangen systemd-networkd[621]: enp0s31f6: DHCPv4 address 192.168.178.32/24 via 192.168.178.1 
    May 21 12:25:06 erlangen systemd-networkd[621]: enp0s31f6: Gained IPv6LL 
    erlangen:~ #
    i7-6700K (2016), i5-8250U (2018), AMD Ryzen 5 3400G (2020), 5600X (2022) openSUSE Tumbleweed, KDE Plasma

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

    Default Re: Wifi printer forbidden

    Quote Originally Posted by karlmistelberger View Post
    When experiencing frequent issues with wicked since March 2014 I tried systemd-netword fixed IP addresses: https://en.opensuse.org/Systemd-networkd This turned out to work reliably, but was cumbersome when making changes.
    None of this is relevant to this thread! This relates to printer configuration.
    openSUSE Leap 15.4; KDE Plasma 5

  3. #13

    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
    Address 192.169.0.16 is located in Bainbridge Island, Washington, United States of America.
    You need to test 192.168.0.16.

  4. #14
    Join Date
    May 2021
    Posts
    7

    Default Re: Wifi printer forbidden

    Quote Originally Posted by Svyatko View Post
    Address 192.169.0.16 is located in Bainbridge Island, Washington, United States of America.
    You need to test 192.168.0.16.
    Oh, thank you, I don't know how it happened... Here it goes:

    Code:
    sim@localhost:~> ping 192.168.0.16
    PING 192.168.0.16 (192.168.0.16) 56(84) bytes of data.
    From 192.168.0.12 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=2 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=3 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=4 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=5 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=6 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=7 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=8 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=9 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=10 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=11 Destination Host Unreachable
    From 192.168.0.12 icmp_seq=12 Destination Host Unreachable
    ^C
    --- 192.168.0.16 ping statistics ---
    15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14312ms
    pipe 4
    sim@localhost:~>

  5. #15

    Default Re: Wifi printer forbidden

    192.168.0.12 as gateway? Not 192.168.0.1?
    Check printer settings with USB connection.
    ILL network settings are broken.

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

    Default Re: Wifi printer forbidden

    Quote Originally Posted by Svyatko View Post
    192.168.0.12 as gateway? Not 192.168.0.1?
    Check printer settings with USB connection.
    ILL network settings are broken.
    The OP was attempting to ping the IP address of the printer as per my request in post #2.

    @sim: Please post output of the following commands

    Code:
    ip address
    Code:
    ip route
    openSUSE Leap 15.4; KDE Plasma 5

  7. #17
    Join Date
    May 2021
    Posts
    7

    Default Re: Wifi printer forbidden

    Quote Originally Posted by deano_ferrari View Post
    The OP was attempting to ping the IP address of the printer as per my request in post #2.

    @sim: Please post output of the following commands

    Code:
    ip address
    Code:
    ip route
    Code:
    sim@localhost:~> ip address
    1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
        inet 127.0.0.1/8 scope host lo
           valid_lft forever preferred_lft forever
        inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever
    2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
        link/ether a8:a1:59:1a:88:51 brd ff:ff:ff:ff:ff:ff
    3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
        link/ether ec:08:6b:11:79:fc brd ff:ff:ff:ff:ff:ff
        inet 192.168.0.12/24 brd 192.168.0.255 scope global dynamic noprefixroute wlan0
           valid_lft 84379sec preferred_lft 84379sec
        inet6 fe80::953d:cf8a:cb5b:1a55/64 scope link noprefixroute 
           valid_lft forever preferred_lft forever
    sim@localhost:~> ip route
    default via 192.168.0.1 dev wlan0 proto dhcp metric 600 
    192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.12 metric 600 
    sim@localhost:~>

  8. #18
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    24,115
    Blog Entries
    1

    Default Re: Wifi printer forbidden

    Ok, so this confirms that you're connected to a network (192.168.0.0/24). You need to verify that the printer is connected to your wifi and that a valid IP address is assigned. Check your router via its web interface as already mentioned.
    openSUSE Leap 15.4; KDE Plasma 5

  9. #19
    Join Date
    May 2021
    Posts
    7

    Default Re: Wifi printer forbidden

    It is - when I print printer's information page (by pressing its button for 10 sec), it gives information that the printer is connected to the router and the quality of connection is good.

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

    Default Re: Wifi printer forbidden

    Quote Originally Posted by sim View Post
    It is - when I print printer's information page (by pressing its button for 10 sec), it gives information that the printer is connected to the router and the quality of connection is good.
    I'd be interested in what information you can provide from the router about connected devices and assigned IP addresses.
    And again. Your firewall in Leap?
    It might be worth turning it off, at least for some diagnostics
    Most routers have a firewall built in to protect you from the outside world, so it's not a big issue
    Tumbleweed_KDE
    My Articles Was I any help? If yes: Click the star below

Page 2 of 3 FirstFirst 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
  •