kdeprint 3.1 problem
Achim Bohnet
kde-print@mail.kde.org
Wed, 5 Feb 2003 17:30:31 +0100
On Wednesday 05 February 2003 13:27, Michael Goffioul wrote:
> > I've just tried to change IP range with local address : 127.0.0
> > .[0-255] or 192.168.15 .[0-255] or anything network address which is
> > not our network address. Kdeprint always start to scan after asking me
> > that's not the actual network address. Of course, kdeprint find
> > nothing but the feature work when it's not the actual network address.
> >
> > So with any network address, progress bar begin and with the good
> > network address the progress bar doesn't start...
>
> THIS is very valuable information :-) After looking at the code, I
> think it's a bug. Unfortunately, I'm not running Linux ATM so I cannot
> check. Can anybody confirm that scanning the default network subnet
> does not work?
Ahhhh! Sorry, did not mention it: I always got this message. I always got
this message since the first time I tried the scan. I always wondered by it
tought my subnet is 127.0.01. Now I think I know why it works for me
for 130.183.74 (my subnet) and other subnets.
ach@lost(0) ~ $ head -2 /etc/hosts
127.0.0.1 localhost lost
130.183.74.25 lost.exgal.mpe.mpg.de
Looks like the ip address of the hostname 'lost' is lookup up and
used as default for scanning
Achim
>
> A possible patch is the following,
> kdelibs/kdeprint/management/networkscanner.cpp: in function
> NetworkScanner::slotScanClicked(), replace:
>
> if ( d->localPrefix() != d->prefixaddress &&
>
> with
>
> if ( d->localPrefix() == d->prefixaddress ||
>
> (I never triggered that potential problem as my network printers
> are located on another subnet).
>
> Michael.
>
> --
> ------------------------------------------------------------------
> Michael Goffioul IMEC-DESICS-MIRA
> e-mail: goffioul@imec.be (Mixed-Signal and RF Applications)
> Tel: +32/16/28-8510 Kapeldreef, 75
> Fax: +32/16/28-1515 3001 HEVERLEE, BELGIUM
> ------------------------------------------------------------------
> _______________________________________________
> kde-print mailing list
> kde-print@mail.kde.org
> http://mail.kde.org/mailman/listinfo/kde-print
>
>
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy@lion.austin.ibm.com