FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-16-2011, 12:46 PM
Daniele Guerrieri
 
Default Network printer detection from wifi client to print-server->router

Hi,
this is my first post on the list; i have a simple question.

I have a usb printer attached to a router which works also as print
server (ip: 192.168.0.50, call this 'print server router');
this print server router is wire linked with another router (using RIP
version 1, for both in and out), which is the gateway to internet, a
router, a dhcp server, and also a wifi access point (192.168.0.1, call
this 'main router').

I've got also:
a) PC 1, eth linked to the main router;
b) PC2, wifi linked to the main router.

So:
when i searched the network printer (using system-config-printer) in
the PC1, it worked very well and quickly found my samsung printer;
when i searched the network printer in the PC2, it couldn't find
anything: but after several trials i found that putting 192.168.0.50
(which is the
ip of the print server router) in the textarea host field in the
system-config-printer->find network printer GUI, the printer was
immediately found and worked very well.

The question is: why do I have to put the ip address in the host field
on the gui when configuring the network printer from PC2 (wifi), when
PC1 (ethernet) doesn't need it?
Maybe there is some conf of Avahi that could be changed?


Thanks,
Daniele Guerrieri
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-16-2011, 02:07 PM
Tim Waugh
 
Default Network printer detection from wifi client to print-server->router

Perhaps there is a difference in the firewall settings between PC1 and
PC2?

Do you know what protocol the print server router is using to advertise
the printer on the network? It might be SNMP (i.e. responding to SNMP
broadcast requests), or mDNS, or possibly NetBIOS/SMB.

Tim.
*/

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-17-2011, 05:29 AM
Daniele Guerrieri
 
Default Network printer detection from wifi client to print-server->router

On Thu, Jun 16, 2011 at 4:07 PM, Tim Waugh <twaugh@redhat.com> wrote:
> Perhaps there is a difference in the firewall settings between PC1 and
> PC2?
uhm, i don't think because system-config-printer automatically setup
firewall for printing in the same way (trusted services: mDns, IPP
client/server).


> Do you know what protocol the print server router is using to advertise
> the printer on the network? *It might be SNMP (i.e. responding to SNMP
> broadcast requests), or mDNS, or possibly NetBIOS/SMB.
>
in system-config-printer i can read "lpd network printer via DNS-SD";
this is a fragment of the dump, maybe it is mDNS?:

""""""
07:17:47.608766 ARP, Request who-has 192.168.0.50 tell 192.168.0.2, length 28
07:17:47.609379 IP 192.168.0.2.43194 > 192.168.0.1.domain: 37448+ PTR?
50.0.168.192.in-addr.arpa. (43)
07:17:47.611605 ARP, Reply 192.168.0.50 is-at 00:22:b0:8a:8e:62 (oui
Unknown), length 46
07:17:47.611633 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[S], seq 2329149880, win 14600, options [mss 1460,sackOK,TS val 206209
ecr 0,nop,wscale 6], length 0
07:17:47.615046 IP 192.168.0.50.jetdirect > 192.168.0.2.34255: Flags
[S.], seq 1522585684, ack 2329149881, win 5792, options [mss
1460,sackOK,TS val 51344 ecr 206209,nop,wscale 0], length 0
07:17:47.615144 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[.], ack 1, win 229, options [nop,nop,TS val 206216 ecr 51344], length
0
07:17:47.616020 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[F.], seq 1, ack 1, win 229, options [nop,nop,TS val 206217 ecr
51344], length 0
07:17:47.617881 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 206219 ecr
0,nop,wscale 6], length 0
07:17:47.622120 IP 192.168.0.50.jetdirect > 192.168.0.2.34255: Flags
[.], ack 2, win 5792, options [nop,nop,TS val 51345 ecr 206217],
length 0
07:17:47.636818 IP 192.168.0.1.domain > 192.168.0.2.43194: 37448
NXDomain* 0/1/0 (93)
07:17:47.833627 IP 192.168.0.50.jetdirect > 192.168.0.2.34255: Flags
[F.], seq 1, ack 2, win 5792, options [nop,nop,TS val 51360 ecr
206217], length 0
07:17:47.833766 IP 192.168.0.2.34255 > 192.168.0.50.jetdirect: Flags
[.], ack 2, win 229, options [nop,nop,TS val 206435 ecr 51360], length
0
07:17:50.622773 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 209224 ecr
0,nop,wscale 6], length 0
07:17:50.905591 IP 192.168.0.1.router > 192.168.0.255.router: RIPv1,
Response, length: 24
07:17:52.614734 ARP, Request who-has 192.168.0.1 tell 192.168.0.2, length 28
07:17:52.616216 ARP, Reply 192.168.0.1 is-at 00:1e:2a:f5:13:ec (oui
Unknown), length 28
07:17:56.630766 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 215232 ecr
0,nop,wscale 6], length 0
07:17:58.586964 IP 192.168.0.50.mdns > 224.0.0.251.mdns: 0*- [0q]
6/0/0 (Cache flush) TXT "", PTR _http._tcp.local., PTR
DIR-120-HTTP._http._tcp.local., (Cache flush) TXT "rp=lp1" "qtotal=2",
PTR _printer._tcp.local., PTR Samsung SCX-4300 Series
1457BFAQA01583V.._printer._tcp.local. (211)
07:18:08.662766 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 227264 ecr
0,nop,wscale 6], length 0
07:18:20.908466 IP 192.168.0.1.router > 192.168.0.255.router: RIPv1,
Response, length: 24
07:18:32.726777 IP 192.168.0.2.47691 > 192.168.0.50.ipp: Flags [S],
seq 2322187546, win 14600, options [mss 1460,sackOK,TS val 251328 ecr
0,nop,wscale 6], length 0
07:18:37.734774 ARP, Request who-has 192.168.0.50 tell 192.168.0.2, length 28
07:18:37.736961 ARP, Reply 192.168.0.50 is-at 00:22:b0:8a:8e:62 (oui
Unknown), length 46

""""""

Thanks, Daniele Guerrieri
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-30-2011, 12:16 PM
Tim Waugh
 
Default Network printer detection from wifi client to print-server->router

On Fri, 2011-06-17 at 07:29 +0200, Daniele Guerrieri wrote:
> in system-config-printer i can read "lpd network printer via DNS-SD";
> this is a fragment of the dump, maybe it is mDNS?:

Yes, that's mDNS then. Perhaps avahi isn't installed/running on the
other machine?

Tim.
*/

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 06-30-2011, 12:16 PM
Tim Waugh
 
Default Network printer detection from wifi client to print-server->router

On Fri, 2011-06-17 at 07:29 +0200, Daniele Guerrieri wrote:
> in system-config-printer i can read "lpd network printer via DNS-SD";
> this is a fragment of the dump, maybe it is mDNS?:

Yes, that's mDNS then. Perhaps avahi isn't installed/running on the
other machine?

Tim.
*/

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-07-2011, 03:05 PM
Daniele Guerrieri
 
Default Network printer detection from wifi client to print-server->router

Avahi is installed on both machines.
Also, after a recent upgrade it doesn't work no more; where can i see
a detailed cups log?
To make it work the first time i needed to completely disable selinux
(selinux policy disabled), that was preventing
rastertospl from working.

Thanks

On Thu, Jun 30, 2011 at 2:16 PM, Tim Waugh <twaugh@redhat.com> wrote:
> On Fri, 2011-06-17 at 07:29 +0200, Daniele Guerrieri wrote:
>> in system-config-printer i can read "lpd network printer via DNS-SD";
>> this is a fragment of the dump, maybe it is mDNS?:
>
> Yes, that's mDNS then. *Perhaps avahi isn't installed/running on the
> other machine?
>
> Tim.
> */
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>
>
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-07-2011, 03:10 PM
Tim Waugh
 
Default Network printer detection from wifi client to print-server->router

On Thu, 2011-07-07 at 17:05 +0200, Daniele Guerrieri wrote:
> Avahi is installed on both machines.
> Also, after a recent upgrade it doesn't work no more; where can i see
> a detailed cups log?
> To make it work the first time i needed to completely disable selinux
> (selinux policy disabled), that was preventing
> rastertospl from working.

/var/log/cups/error_log

You can adjust the log level using 'cupsctl LogLevel=debug2' as root
(see 'man cupsd.conf' for valid values).

Tim.
*/

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-07-2011, 05:55 PM
Daniel J Walsh
 
Default Network printer detection from wifi client to print-server->router

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/2011 11:05 AM, Daniele Guerrieri wrote:
> Avahi is installed on both machines.
> Also, after a recent upgrade it doesn't work no more; where can i see
> a detailed cups log?
> To make it work the first time i needed to completely disable selinux
> (selinux policy disabled), that was preventing
> rastertospl from working.
Did you open a bugzilla?
>
> Thanks
>
> On Thu, Jun 30, 2011 at 2:16 PM, Tim Waugh <twaugh@redhat.com> wrote:
>> On Fri, 2011-06-17 at 07:29 +0200, Daniele Guerrieri wrote:
>>> in system-config-printer i can read "lpd network printer via DNS-SD";
>>> this is a fragment of the dump, maybe it is mDNS?:
>>
>> Yes, that's mDNS then. Perhaps avahi isn't installed/running on the
>> other machine?
>>
>> Tim.
>> */
>>
>>
>> --
>> users mailing list
>> users@lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk4V8y0ACgkQrlYvE4MpobOm1QCgmhFy499LD5 7qzpfor59ovzIN
jJAAoMXefL7a8xJxsZM/Segi8T4f2YKN
=gKnY
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-07-2011, 05:55 PM
Daniel J Walsh
 
Default Network printer detection from wifi client to print-server->router

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/2011 11:05 AM, Daniele Guerrieri wrote:
> Avahi is installed on both machines.
> Also, after a recent upgrade it doesn't work no more; where can i see
> a detailed cups log?
> To make it work the first time i needed to completely disable selinux
> (selinux policy disabled), that was preventing
> rastertospl from working.
Did you open a bugzilla?
>
> Thanks
>
> On Thu, Jun 30, 2011 at 2:16 PM, Tim Waugh <twaugh@redhat.com> wrote:
>> On Fri, 2011-06-17 at 07:29 +0200, Daniele Guerrieri wrote:
>>> in system-config-printer i can read "lpd network printer via DNS-SD";
>>> this is a fragment of the dump, maybe it is mDNS?:
>>
>> Yes, that's mDNS then. Perhaps avahi isn't installed/running on the
>> other machine?
>>
>> Tim.
>> */
>>
>>
>> --
>> users mailing list
>> users@lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk4V8y0ACgkQrlYvE4MpobOm1QCgmhFy499LD5 7qzpfor59ovzIN
jJAAoMXefL7a8xJxsZM/Segi8T4f2YKN
=gKnY
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 04:34 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org