You are not logged in.

#1 2023-01-28 08:18:18

Honstyxi
Member
Registered: 2023-01-28
Posts: 13

Xsane and wifi scanner in other vlan

Hi to all
i've my pc in 192.168.1.0 lan
Printer/Scanner is wifi Epson-XP-2200 - ip 172.16.1.10, (it doesnt have web interface for simpli scan by web)

The scanner/printer is in 172.16.1.0 lan
From 192.168.1.10 (my pc) i can reach 172.16 subnet: printer is installed in the pc and i print correctly from my pc

In my pc i've installed Xsane and sane, sane-airprint
When i launch scanimage -L ...can't find the scanner!

i've also tried command simple-scan "smfp:net;172.16.1.10" but it doesnt find scanner: unable to connect!

Can you helm me?! i ve to config sane daemon for reach 172.16. subnet?
I haven't found any info about sad

thanks in advance

Last edited by Honstyxi (2023-01-28 08:21:07)

Offline

#2 2023-01-28 15:42:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,393

Re: Xsane and wifi scanner in other vlan

Welcome to the Arch Linux forums.    You need to tell us more.
You mentioned VLAN in the title, but you did not elaborate in your post.  Are you using VLANs?  If so, they are logically separated and are not accessible by design.   If you are not using VLANs, and you really have a 172.16.0.0/16 sub net and a 192.168.1.0/24 sub net, then I assume that those sub nets share the same router?

The simple solution might just be to add a second address to your NIC from the 172.16.0.0 sub net such that your PC has a toe in both sub nets.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2023-01-28 16:47:16

Honstyxi
Member
Registered: 2023-01-28
Posts: 13

Re: Xsane and wifi scanner in other vlan

ewaller wrote:

Welcome to the Arch Linux forums.    You need to tell us more.
You mentioned VLAN in the title, but you did not elaborate in your post.  Are you using VLANs?  If so, they are logically separated and are not accessible by design.   If you are not using VLANs, and you really have a 172.16.0.0/16 sub net and a 192.168.1.0/24 sub net, then I assume that those sub nets share the same router?

The simple solution might just be to add a second address to your NIC from the 172.16.0.0 sub net such that your PC has a toe in both sub nets.

Thanks for you answer and excuse me for my bad explanation:

in my lan i've two vlan: default vlan1 192.168.1.0/24 and vlan2 172.16.1.0/16
in vlan1 there is my pc 192.168.1.10 and in vlan2 there is 172.16.1.10 Epson printer/scanner
there is a router that route connection from vlan1 to vlan2 and a managed switch L3

my pc can correctly reach Epson for printing but Xsane software in my pc doesn't find scanner!

I hope I explained well in order to allow someone to help me debug.
Maybe I need to configure the saned daemon to allow it to find scanners on different networks than the one it's on?

Offline

#4 2023-01-28 16:53:34

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,393

Re: Xsane and wifi scanner in other vlan

Ah, I missed that fact that you can print.   Is there a route back from the scanner to the PC?  It might be that the printer needs to open a stream in the reverse direction; I don't know that to be true as I am not that familiar with the in workings of sane.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2023-01-28 16:54:25

seth
Member
Registered: 2012-09-03
Posts: 64,244

Offline

#6 2023-01-28 17:02:56

Honstyxi
Member
Registered: 2023-01-28
Posts: 13

Re: Xsane and wifi scanner in other vlan

sad yes...nothing...

Offline

#7 2023-01-28 17:04:46

Honstyxi
Member
Registered: 2023-01-28
Posts: 13

Re: Xsane and wifi scanner in other vlan

ewaller wrote:

Ah, I missed that fact that you can print.   Is there a route back from the scanner to the PC?  It might be that the printer needs to open a stream in the reverse direction; I don't know that to be true as I am not that familiar with the in workings of sane.


yes, there is a rule that allow packet from scanner to vlan1


i think is a sane config for allow a discovery scanner over other subnet...

Offline

#8 2023-01-28 17:14:46

seth
Member
Registered: 2012-09-03
Posts: 64,244

Re: Xsane and wifi scanner in other vlan

Can you use the scanner inside the same subnet?

nmap 172.16.1.10

there is a rule that allow packet from scanner to vlan1

Where is what rule precisely? Also for UDP?

Offline

#9 2023-01-28 17:15:44

Honstyxi
Member
Registered: 2023-01-28
Posts: 13

Re: Xsane and wifi scanner in other vlan

seth wrote:

Can you use the scanner inside the same subnet?

nmap 172.16.1.10

there is a rule that allow packet from scanner to vlan1

Where is what rule precisely? Also for UDP?

for all protocols and all ports

Offline

#10 2023-01-28 20:29:11

seth
Member
Registered: 2012-09-03
Posts: 64,244

Re: Xsane and wifi scanner in other vlan

seth also wrote:

Can you use the scanner inside the same subnet?

nmap 172.16.1.10

Offline

#11 2023-01-28 20:47:39

Honstyxi
Member
Registered: 2023-01-28
Posts: 13

Re: Xsane and wifi scanner in other vlan

seth wrote:
seth also wrote:

Can you use the scanner inside the same subnet?

nmap 172.16.1.10

Starting Nmap 7.80 ( https://nmap.org ) at 2023-01-28 21:46 CET
Nmap scan report for prt02 (172.16.1.10)
Host is up (0.048s latency).
Not shown: 997 closed ports
PORT     STATE SERVICE
80/tcp   open  http
443/tcp  open  https
9100/tcp open  jetdirect
MAC Address: F8:25:51:37:48:BE (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 1.24 seconds

Offline

#12 2023-01-28 21:11:45

seth
Member
Registered: 2012-09-03
Posts: 64,244

Re: Xsane and wifi scanner in other vlan

There's a http and https port…

nmap -p 1865 172.16.1.10
seth also also wrote:

Can you use the scanner inside the same subnet?

Offline

#13 2023-01-28 22:26:14

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: Xsane and wifi scanner in other vlan

If your device supports sane-airprint, but DNS-SD autodetection is not possible through vlan routing you can add the device manually to the sane-airscan config:
https://github.com/alexpevzner/sane-air … of-devices

But according to the manual, only AirPrint/Bonjour printing seems to be supported, no scanning: https://download.epson-europe.com/pub/d … 1553eu.pdf

The scanner does not seem to be supported by ImageScan v3, but for network access you need an additional nonfree package from the AUR. Maybe it still works even if not explicitly supported.
https://wiki.archlinux.org/title/SANE/S … ge_Scan_v3

The scanner driver epson provides for this scanner is epsonscan2: https://aur.archlinux.org/packages/epsonscan2
In the GUI you can manually add a scanner if it doesn't detect it.
Edit: For the sane module of that driver, the manual device URL would be

epsonscan2:networkscanner:esci2:network:###.###.###.###

Network access with the built-in sane driver does not seem to be not supported:
http://www.sane-project.org/lists/sane- … ml#Z-EPSON
http://www.sane-project.org/man/sane-epsonds.5.html

Last edited by progandy (2023-01-28 22:39:23)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB