Do you have the drakfirewall/shorewall running on the client? If so,
either turn it off (the server's firewall should protect your network)
or open port 631/printing/CUPS in the client's drakfirewall configuration.
Till
Damon Lynch wrote:
> On Sat, 2002-09-14 at 03:44, Till Kamppeter wrote:
> Can you open printing (CUPS, port 631) in the drakfirewall configuration
> and see whether you server sees the client's printer then?
>
> Till
>
> Hi Till,
>
> after a suggestion from Florin this is in /etc/shorewall/rules:
>
> ACCEPT masq fw tcp
> domain,bootps,631,imap,pop3,http,https,111 -
> ACCEPT masq fw udp
> domain,bootps,631,imap,pop3,http,https,111 -
>
>
> Although the printer is now detected, I cannot print a test page or copy
> it to openoffice.org. Here is an example of trying to add it to
> openoffice.org, /var/log/messages:
>
> Sep 13 22:39:38 damon printerdrake[27634]: running: /usr/bin/curl -o
> /etc/foomatic/Printer.ppd http://192.168.0.252:631/printers/Printer.ppd
> Sep 13 22:39:38 damon kernel: Shorewall:all2all:REJECT:IN= OUT=eth0
> SRC=192.168.0.1 DST=192.168.0.252 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=0
> DF PROTO=TCP SPT=36257 DPT=631 WINDOW=5840 RES=0x00 SYN URGP=0
> Sep 13 22:39:38 damon printerdrake[27634]: removed files/directories
> /etc/foomatic/Printer.ppd
>
> Maybe I'm missing something really obvious? Trying to print a test page
> was interesting -- it seems like cups is quite persistent, as I've got
> an awful lot of these :-) --
>
> Sep 14 00:09:11 damon kernel: Shorewall:all2all:REJECT:IN= OUT=eth0
> SRC=192.168.0.1 DST=192.168.0.252 LEN=60 TOS=0x00 PREC=0x00 TTL=64
> ID=18959 DF PROTO=TCP SPT=37331 DPT=631 WINDOW=5840 RES=0x00 SYN URGP=0
>
>
> Damon
>
>
> Damon Lynch wrote:
> > Hello,
> >
> > Using the packages suggested by Florin earlier today to test Internet
> > connection sharing (which now works for me), printerdrake when run from
> > the server still cannot find a local printer on a client. Cups is
> > running on both machines.
> >
> > I'm no expert on this but it appears printerdrake is looking for
> > machines on the LAN that are running CUPS, e.g. here is an example of
> > starting printerdrake, refreshing the printer list, and running the
> > wizard a few times:
> >
> > [root@damon damon]# printerdrake
> > cupsd (pid 6501) is running...
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > rmmod: module parport_probe is not loaded
> > modprobe: Can't locate module parport_probe
> > modprobe: Can't locate module parport_probe
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > rmmod: module parport_probe is not loaded
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> > WARNING: pinging broadcast address
> >
> > and then this is seen in /var/log/messages:
> >
> > [root@damon damon]# tail /var/log/messages
> > Sep 13 11:25:20 damon printerdrake[7867]: running: /sbin/modprobe -n
> > parport_probe
> > Sep 13 11:25:23 damon kernel: Shorewall:all2all:REJECT:IN=eth0 OUT=
> > MAC=00:00:21:04:60:8c:00:80:ad:77:a2:9b:08:00 SRC=192.168.0.252
> > DST=192.168.0.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62838 PROTO=ICMP
> > TYPE=0 CODE=0 ID=39967 SEQ=256
> > Sep 13 11:25:23 damon kernel: Shorewall:all2all:REJECT:IN= OUT=eth0
> > SRC=192.168.0.1 DST=192.168.0.252 LEN=112 TOS=0x00 PREC=0xC0 TTL=255
> > ID=43371 PROTO=ICMP TYPE=3 CODE=3 [SRC=192.168.0.252 DST=192.168.0.1
> > LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62838 PROTO=ICMP TYPE=0 CODE=0
> > ID=39967 SEQ=256 ]
> > Sep 13 11:25:26 damon printerdrake[7867]: running: rmmod parport_probe
> > Sep 13 11:25:28 damon kernel: Shorewall:all2all:REJECT:IN=eth0 OUT=
> > MAC=00:00:21:04:60:8c:00:80:ad:77:a2:9b:08:00 SRC=192.168.0.252
> > DST=192.168.0.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62839 PROTO=ICMP
> > TYPE=0 CODE=0 ID=29472 SEQ=256
> > Sep 13 11:25:28 damon kernel: Shorewall:all2all:REJECT:IN= OUT=eth0
> > SRC=192.168.0.1 DST=192.168.0.252 LEN=112 TOS=0x00 PREC=0xC0 TTL=255
> > ID=43372 PROTO=ICMP TYPE=3 CODE=3 [SRC=192.168.0.252 DST=192.168.0.1
> > LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62839 PROTO=ICMP TYPE=0 CODE=0
> > ID=29472 SEQ=256 ]
> > Sep 13 11:25:33 damon kernel: Shorewall:all2all:REJECT:IN=eth0 OUT=
> > MAC=00:00:21:04:60:8c:00:80:ad:77:a2:9b:08:00 SRC=192.168.0.252
> > DST=192.168.0.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62840 PROTO=ICMP
> > TYPE=0 CODE=0 ID=34848 SEQ=256
> > Sep 13 11:25:33 damon kernel: Shorewall:all2all:REJECT:IN= OUT=eth0
> > SRC=192.168.0.1 DST=192.168.0.252 LEN=112 TOS=0x00 PREC=0xC0 TTL=255
> > ID=43373 PROTO=ICMP TYPE=3 CODE=3 [SRC=192.168.0.252 DST=192.168.0.1
> > LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62840 PROTO=ICMP TYPE=0 CODE=0
> > ID=34848 SEQ=256 ]
> > Sep 13 11:25:54 damon kernel: Shorewall:all2all:REJECT:IN=eth0 OUT=
> > MAC=00:00:21:04:60:8c:00:80:ad:77:a2:9b:08:00 SRC=192.168.0.252
> > DST=192.168.0.1 LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62841 PROTO=ICMP
> > TYPE=0 CODE=0 ID=42528 SEQ=256
> > Sep 13 11:25:54 damon kernel: Shorewall:all2all:REJECT:IN= OUT=eth0
> > SRC=192.168.0.1 DST=192.168.0.252 LEN=112 TOS=0x00 PREC=0xC0 TTL=255
> > ID=43374 PROTO=ICMP TYPE=3 CODE=3 [SRC=192.168.0.252 DST=192.168.0.1
> > LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=62841 PROTO=ICMP TYPE=0 CODE=0
> > ID=42528 SEQ=256 ]
> >
> > My network is configured like this:
> > server: two rtl8139: 192.168.0.1 for LAN, static IP for cable, internet
> > connection sharing configured, nothing checked in drakfirewall
> > client: davicom9102: DHCP client, printer on parallel port
> >
> > Damon
> >
> >
>
>
>
>
>
>