RE: [gentoo-user] Home Network Printing

2005-12-01 Thread Michael Kintzios
Thank you Holly,

 -Original Message-
 From: Holly Bostick [mailto:[EMAIL PROTECTED] 
 Sent: 01 December 2005 13:33
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Re: Re: Re: Home Network Printing
 
[snip] 
 
 What I see is:
 
 I assume the printer is connected to the server--- but the server only
 allows connections from localhost (itself), and 192.168.0.2.

Yes on all counts.

 If 192.168.0.2 is not the network IP address of the client (host 1),
 then the connection is denied.

192.168.0.2 is the LAN address of the client (host 1).
 
 If the printer is connected to host 1... well, that only allows
 connections from localhost (itself). Connections from everywhere else
 are refused.

The printer is physically connected to host 2 which acts as the server
with IP address 102.168.0.3

 So what I would suggest is that the server allow connections from the
 network as a whole, or the specific network IPs of the 
 various networked
 clients.
 
[snip]
 
 So if you have more than one machine on the network, you 
 might consider
 changing the Allow From statements to read something like 
 
  Allow From 192.168.0.*

Each machine has only one NIC which connects them to the
router/LAN/Internet.  The router (netgear ADSL thingy) is 192.168.0.1
and acts both as the Internet gateway and the DNS for the machines on
the LAN.  I would rather allow access to explicit IP addresses, in this
case 192.168.0.2 which is the client.

Thanks for the heads up on the HostNameLookups On.  I'll try it
tonight - although setting the IP address would remove one more thing
for me to get wrong.  ;-)
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Home Network Printing

2005-12-01 Thread John Jolet

silly question, but...any firewalling on the host?
or client for that matter?
On Dec 1, 2005, at 8:34 AM, Michael Kintzios wrote:


Thank you Holly,


-Original Message-
From: Holly Bostick [mailto:[EMAIL PROTECTED]
Sent: 01 December 2005 13:33
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Re: Re: Home Network Printing


[snip]


What I see is:

I assume the printer is connected to the server--- but the server  
only

allows connections from localhost (itself), and 192.168.0.2.


Yes on all counts.


If 192.168.0.2 is not the network IP address of the client (host 1),
then the connection is denied.


192.168.0.2 is the LAN address of the client (host 1).


If the printer is connected to host 1... well, that only allows
connections from localhost (itself). Connections from everywhere else
are refused.


The printer is physically connected to host 2 which acts as the server
with IP address 102.168.0.3


So what I would suggest is that the server allow connections from the
network as a whole, or the specific network IPs of the
various networked
clients.


[snip]


So if you have more than one machine on the network, you
might consider
changing the Allow From statements to read something like

 Allow From 192.168.0.*


Each machine has only one NIC which connects them to the
router/LAN/Internet.  The router (netgear ADSL thingy) is 192.168.0.1
and acts both as the Internet gateway and the DNS for the machines on
the LAN.  I would rather allow access to explicit IP addresses, in  
this

case 192.168.0.2 which is the client.

Thanks for the heads up on the HostNameLookups On.  I'll try it
tonight - although setting the IP address would remove one more thing
for me to get wrong.  ;-)
--
Regards,
Mick

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Home Network Printing

2005-11-25 Thread Martins Steinbergs
On Friday 25 November 2005 12:14, Michael Kintzios wrote:
 Hi All,

 I am sure that this is an easy thing to achieve, but for some reason I
 seem to fail to get it going.  Probably because I do not completely
 understand the logic.  The setup is as follows:

 I have two boxen, hostname1.STUDY and hostname2.STUDY. hostname2 has the
 printer connected to it via parallel port. The printer's name is
 Compaq-HP.  Hostname2 can print locally without a hitch.

 I created a new printer on hostname1 and also named it Compaq-HP. I set
 the ipp address to ipp://hostname2.STUDY/ipp but I kept getting errors
 telling me it can't resolve the address. So I changed it to the LAN ip
 address (ipp://192.163.0.3/ipp)and it seems that it can now connect, but
 it cannot find the printer:
 =
 I [21/Nov/2005:21:55:47 +] [Job 44] Connecting to 192.168.0.3 on
 port 631...
 I [21/Nov/2005:21:55:47 +] [Job 44] Connected to 192.168.0.3...
 D [21/Nov/2005:21:55:47 +] [Job 44] Getting supported attributes...
 E [21/Nov/2005:21:55:47 +] [Job 44] Destination printer does not
 exist!
 E [21/Nov/2005:21:55:49 +] PID 15530 stopped with status 1!
 =

 lpstats shows both printers (local and remote):
 =
 $ lpstat -t
 scheduler is running
 system default destination: Compaq-HP
 device for Compaq-HP: ipp://192.168.0.3/ipp
 device for DeskJet-930C: parallel:/dev/lp0
 Compaq-HP accepting requests since Jan 01 00:00
 DeskJet-930C accepting requests since Jan 01 00:00
 printer Compaq-HP is idle.  enabled since Jan 01 00:00
 printer DeskJet-930C disabled since Jan 01 00:00 -
 Paused
 =

 Would you know why it can't resolve hostname2.STUDY?  Am I meant to add
 the printer name on the ipp://192.168.0.3/ipp?

 Regards,
 --
 Mick

maybe adding 192.168.0.3 hostname2.STUDY to /etc/hosts would help

just guessing, planning to put old ibm pentium (200Mhz) to do the firewall, 
router and printer server job

martins
-- 
Linux 2.6.15-rc2 AMD Athlon(tm) 64 Processor 3200+
 12:33:12 up  4:23,  4 users,  load average: 0.00, 0.00, 0.00
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Home Network Printing

2005-11-25 Thread Oliver Friedrich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Michael Kintzios wrote:


 I created a new printer on hostname1 and also named it Compaq-HP. I
 set the ipp address to ipp://hostname2.STUDY/ipp but I kept
 getting errors telling me it can't resolve the address.

AFAIR the IPP-Adress has to be: ipp://[Host]/[PrinterName]
in your case this would mean: ipp://hostname2.STUDY/Compaq-HP


 Would you know why it can't resolve hostname2.STUDY? Am I meant to
 add the printer name on the ipp://192.168.0.3/ipp?

So... yes... :-)

greets BeowulfOF

- --
Oliver Beowulf Friedrich

Quote the Raven Nevermore!
- - E.A. Poe
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDhu5TcZpid1GuHxcRAnISAKDc7s/pA5P/K5knza7WBeDVOxaWbwCfTN4O
zCRipnOF5/I2iu9xsTyMM2U=
=M0hC
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Home Network Printing

2005-11-25 Thread Michael Kintzios

 -Original Message-
 From: Oliver Friedrich [mailto:[EMAIL PROTECTED] 
 Sent: 25 November 2005 10:58
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Home Network Printing
 
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Michael Kintzios wrote:
 
 
  I created a new printer on hostname1 and also named it Compaq-HP. I
  set the ipp address to ipp://hostname2.STUDY/ipp but I kept
  getting errors telling me it can't resolve the address.
 
 AFAIR the IPP-Adress has to be: ipp://[Host]/[PrinterName]
 in your case this would mean: ipp://hostname2.STUDY/Compaq-HP
 
 
  Would you know why it can't resolve hostname2.STUDY? Am I meant to
  add the printer name on the ipp://192.168.0.3/ipp?
 
 So... yes... :-)
 
 greets BeowulfOF

Thanks, I'll give it another go when I get home!

Regards,
-- 
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: Re: [gentoo-user] Home Network Printing

2005-11-25 Thread Michael Kintzios
 
 From:: Oliver Friedrich [EMAIL PROTECTED]
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Home Network Printing
 Date: Fri, 25 Nov 2005 11:58:27 +0100

 Michael Kintzios wrote:
 
  I created a new printer on hostname1 and also named it Compaq-HP. I
  set the ipp address to ipp://hostname2.STUDY/ipp but I kept
  getting errors telling me it can't resolve the address.
 
 AFAIR the IPP-Adress has to be: ipp://[Host]/[PrinterName]
 in your case this would mean: ipp://hostname2.STUDY/Compaq-HP

I'm afraid I had no success.  I tried using the address as you suggested above 
but it says unknown host . . . perhaps I should add it in my hostname file, but 
my netgear router which acts as the nameserver should know where to go?

In any case, when I changed it to the IP address of hostname2 box (192.168.0.3) 
I got this:

I [25/Nov/2005:20:23:13 +] [Job 56] Connecting to 192.168.0.3 on port 631...
I [25/Nov/2005:20:23:13 +] [Job 56] Connected to 192.168.0.3...
D [25/Nov/2005:20:23:13 +] [Job 56] Getting supported attributes...
E [25/Nov/2005:20:23:13 +] [Job 56] Destination printer does not exist!
E [25/Nov/2005:20:23:14 +] PID 13299 stopped with status 1!


Anything else I should try?
-- 
Regards,
Mick

Lycos email has now 300 Megabytes of free storage... Get it now at 
mail.lycos.co.uk