Need help with local network printing while using VPN on Ubuntu 10.10 desktop
Posted
by
MountainX
on Server Fault
See other posts from Server Fault
or by MountainX
Published on 2011-03-20T03:45:08Z
Indexed on
2011/03/20
8:11 UTC
Read the original article
Hit count: 298
I can print to my HP printer via the LAN when I'm not connected to the VPN. When connected to the VPN, printing fails.
OpenVPN 2.1.0 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 12 2010
I can ping the printer while connected to the VPN:
$ ping 192.168.100.12
PING 192.168.100.12 (192.168.100.12) 56(84) bytes of data.
64 bytes from 192.168.100.12: icmp_req=1 ttl=255 time=9.17 ms
--- 192.168.100.12 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss...
$ ping HpPrinter.local
PING HpPrinter.local (192.168.100.12) 56(84) bytes of data.
64 bytes from HpPrinter.local (192.168.100.12): icmp_req=1 ttl=255 time=0.383 ms
--- HpPrinter.local ping statistics ---
4 packets transmitted, 4 received, 0% packet loss...
But here's the error when I try to print while connected to the VPN:
hpijs[9990]: io/hpmud/jd.c 784: mdns lookup HpPrinter.local retry 1...
...
hpijs[9990]: io/hpmud/jd.c 784: mdns lookup HpPrinter.local retry 20...
hpijs[9990]: io/hpmud/jd.c 780: error timeout mdns lookup HpPrinter.local
hpijs[9990]: io/hpmud/jd.c 88: unable to read device-id
hp[9982]: io/hpmud/jd.c 784: mdns lookup HpPrinter.local retry 1...
...
hp[9982]: io/hpmud/jd.c 784: mdns lookup HpPrinter.local retry 20...
hp[9982]: io/hpmud/jd.c 780: error timeout mdns lookup HpPrinter.local
hp[9982]: io/hpmud/jd.c 88: unable to read device-id
hp[9982]: prnt/backend/hp.c 745: ERROR: open device failed stat=12: hp:/net/Officejet_Pro_L7600?zc=HpPrinter
I am running iptables rules, but the problem doesn't appear related to the firewall. I've tested with no rules (i.e., no firewall). The printing problem happens when the VPN is connected. I can guess it is an mdns problem, but searching google about mdns didn't turn up anything that seemed related to this (at my level of knowledge). Any suggestions?
© Server Fault or respective owner