Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
03-10-2021, 06:17 PM
|
#16
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
Yes, this looks like a firewall config issue, and likely also impacting on Avahi (as per opening post).
|
|
1 members found this post helpful.
|
03-10-2021, 06:19 PM
|
#17
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
The way your current firewall is configured, only traffic to and from 103.137.12.219/32 is allowed.
|
|
|
03-10-2021, 06:26 PM
|
#18
|
Moderator
Registered: Aug 2002
Posts: 26,352
|
Please explain how your network is configured and where 192.168.0.14 fits into the scheme.
|
|
|
03-10-2021, 08:36 PM
|
#19
|
LQ Newbie
Registered: Mar 2021
Posts: 16
Original Poster
Rep:
|
Activating and deactivating the firewall seems to make no difference at all, I still get the same output when I try to ping the printer. When I ping the printer using that ip address on a windows computer on the same wifi network it works fine. Strangely I can't even access my modem's admin page at 192.168.0.1 though again the windows computer has no problems. So my problem isn't just with the printer. But how can I be on the internet if I can't even log in to the router? Anything else I can try to narrow down where the problem might be?
In case it's any use:
rjh@rjh-NUC8i5BEH:~$ ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 1c:69:7a:0d:83:11 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 16 memory 0xc0b00000-c0b20000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 1716 bytes 177572 (177.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1716 bytes 177572 (177.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.0.8 netmask 255.255.255.0 destination 10.8.0.8
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
RX packets 26496 bytes 18565737 (18.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22007 bytes 2249842 (2.2 MB)
TX errors 0 dropped 27 overruns 0 carrier 0 collisions 0
wlp0s20f3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.12 netmask 255.255.255.0 broadcast 192.168.0.255
ether 38:00:25:8b:44:0d txqueuelen 1000 (Ethernet)
RX packets 40735 bytes 23738641 (23.7 MB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 22393 bytes 4375616 (4.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
|
|
03-10-2021, 08:42 PM
|
#20
|
Moderator
Registered: Aug 2002
Posts: 26,352
|
Are you using a VPN service?
Code:
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.0.8 netmask 255.255.255.0 destination 10.8.0.8
|
|
1 members found this post helpful.
|
03-10-2021, 10:53 PM
|
#21
|
LQ Newbie
Registered: Mar 2021
Posts: 16
Original Poster
Rep:
|
Oops, posted my last post without seeing the previous posts on page 2.
Yes, NordVPN. Tried disconnecting before starting this thread but that didn't seem to make any difference. Maybe if I uninstalled the software too.
|
|
|
03-11-2021, 12:33 AM
|
#22
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
After disconnecting, you could just flush the tables
|
|
1 members found this post helpful.
|
03-11-2021, 03:33 AM
|
#23
|
LQ Newbie
Registered: Mar 2021
Posts: 16
Original Poster
Rep:
|
Okay, here's where I'm up to. Disconnected NordVPN, then ran . This killed my internet connection. I disabled NordVPN in autostart and rebooted. Internet is back. Ping now returns:
rjh@rjh-NUC8i5BEH:~$ ping 192.168.0.14
PING 192.168.0.14 (192.168.0.14) 56(84) bytes of data.
64 bytes from 192.168.0.14: icmp_seq=1 ttl=255 time=585 ms
64 bytes from 192.168.0.14: icmp_seq=2 ttl=255 time=454 ms
^C
--- 192.168.0.14 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 454.013/519.619/585.226/65.606 ms
Skanlite can now find the scanner and make scans. The printer still doesn't print though. A test page from the printer dialogue or pages from Libreoffice writer appear briefly in the print queue, spool, then disappear. No error messages at the pc end or on the printer, but nothing happens. Rebooted printer, checked that a windows pc can still print to it. Am scratching my head and trying to figure out what to do next. Try diferent connection in CUPS maybe?
As to where 192.168.0.14 is in my network setup I have no idea. Is there a command that would return this?
Thanks very much for all the help by the way.
|
|
|
03-11-2021, 03:58 AM
|
#24
|
LQ Newbie
Registered: Mar 2021
Posts: 16
Original Poster
Rep:
|
Re where the printer is in the network setup this is my best effort so far.
Quote:
rjh@rjh-NUC8i5BEH:~$ ip addr
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: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 1c:69:7a:0d:83:11 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 38:00:25:8b:44:0d brd ff:ff:ff:ff:ff:ff
inet 192.168.0.12/24 brd 192.168.0.255 scope global dynamic noprefixroute wlp0s20f3
valid_lft 81832sec preferred_lft 81832sec
inet6 2001:8003:6051:9d01:4bf8:ad09:2d47:5d11/64 scope global temporary dynamic
valid_lft 4769sec preferred_lft 4769sec
inet6 2001:8003:6051:9d01:69a0:d762:3b9a:f16/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 4769sec preferred_lft 4769sec
inet6 fe80::67f:3ffc:f2df:efa7/64 scope link noprefixroute
valid_lft forever preferred_lft forever
|
Quote:
rjh@rjh-NUC8i5BEH:~$ ip route
default via 192.168.0.1 dev wlp0s20f3 proto dhcp metric 600
169.254.0.0/16 dev wlp0s20f3 scope link metric 1000
192.168.0.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.0.12 metric 600
|
And where the printer (192.168.0.14) sits in all this:
Quote:
rjh@rjh-NUC8i5BEH:~$ ip route get 192.168.0.14
192.168.0.14 dev wlp0s20f3 src 192.168.0.12 uid 1000
cache
|
|
|
|
03-11-2021, 04:10 AM
|
#25
|
Moderator
Registered: Aug 2002
Posts: 26,352
|
The printer's panel should be able to show its ip address or print a status/configuration page with the desired information.
|
|
1 members found this post helpful.
|
03-11-2021, 04:37 AM
|
#26
|
LQ Newbie
Registered: Mar 2021
Posts: 16
Original Poster
Rep:
|
Hooray - it works! I assume it was NordVPN causing the problem. Now when I go into the CUPS interface and begin to modify the printer it recognises the printer sitting there, recommends a connection, (ipp://Brother%20MFC-J5330DW._ipp._tcp.local/) recommends a driver and sets the whole thing up.
This all makes sense now as I turn my VPN on and off a fair bit - on if I think I'm doing something dodgy, off if I want to watch streaming sport (which doesn't work if you have a VPN running).
For anyone trying to follow this the trick seems to be that the computer had to be restarted after disabling NordVPN for the printer to work again. Then it probably would have printed if not for a printer connection change I made along the way.
Assuming the printer stays fixed this time I just need to figure out how to run my VPN without it messing up the network, but that's probably better left for another thread if it comes to that.
To those who helped many thanks again. Anything else I should note for others before marking this as solved?
|
|
|
03-11-2021, 04:40 AM
|
#27
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
Quote:
Originally Posted by Muzzah
Skanlite can now find the scanner and make scans. The printer still doesn't print though. A test page from the printer dialogue or pages from Libreoffice writer appear briefly in the print queue, spool, then disappear. No error messages at the pc end or on the printer, but nothing happens.
|
This could be due to an incorrect driver.
Post the output from
Code:
sudo egrep -i "filter|model" /etc/cups/ppd/*
|
|
|
03-11-2021, 04:44 AM
|
#28
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,913
|
Thanks for the update. Good to know that the printer is working as expected. Check the route table after the VPN is disabled. Sometimes stale routes can cause issues.
|
|
|
03-11-2021, 04:59 AM
|
#29
|
Moderator
Registered: Aug 2002
Posts: 26,352
|
The VPN when connected will route all traffic through the tunnel and not the LAN so accessing local devices does not work. Using split tunneling will allow both.
|
|
|
03-11-2021, 07:56 AM
|
#30
|
LQ Newbie
Registered: Mar 2021
Posts: 16
Original Poster
Rep:
|
output of sudo egrep -i "filter|model" /etc/cups/ppd/*:
Quote:
rjh@rjh-NUC8i5BEH:~$ sudo egrep -i "filter|model" /etc/cups/ppd/*
[sudo] password for rjh:
*ModelName: "Brother MFC-J5330DW"
*NickName: "Brother MFC-J5330DW, driverless, cups-filters 1.27.4"
*cupsFilter2: "image/urf image/urf 100 -"
*cupsFilter2: "image/jpeg image/jpeg 0 -"
*OpenUI *ColorModel/Print Color Mode: PickOne
*OrderDependency: 10 AnySetup *ColorModel
*ColorModel RGB/Color: "<</cupsColorSpace 19/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
*ColorModel Gray/Monochrome: "<</cupsColorSpace 18/cupsBitsPerColor 8/cupsColorOrder 0/cupsCompression 0>>setpagedevice"
*DefaultColorModel: RGB
*CloseUI: *ColorModel
|
As far as I can tell this is the appropriate driver. It never really seemed like this would be a driver issue since it worked perfectly when it did work.
The route table is currently
Quote:
rjh@rjh-NUC8i5BEH:~$ ip route
default via 192.168.0.1 dev wlp0s20f3 proto dhcp metric 600
169.254.0.0/16 dev wlp0s20f3 scope link metric 1000
192.168.0.0/24 dev wlp0s20f3 proto kernel scope link src 192.168.0.12 metric 600
|
but unfortunately I don't know if anything there is stale. (I've spent hours reading about networking over the last couple of days but I'm finding it a bit impenetrable. Even "basic" tutorials quickly lose me. Also I suspect some of the terminology is interchangeable so what they say to do in a how-to doesn't match what you see in your own settings. I suspect it takes a fair bit of concerted study to get on top of all this stuff.)
Re split tunneling I'll do some research but that sounds rather black-belt.
One last thing, I assume it would be appropriate to edit the title of this thread to better reflect that it relates primarily to VPN issues. And should it be moved to networking maybe?
|
|
|
All times are GMT -5. The time now is 08:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|