CUPS 192.168.0.5:631

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

CUPS 192.168.0.5:631

Dave S-3
Hi all,

Ubuntu is on my main system connected to an epson printer, I have
configured CUPS and it works great. But I want to enable CUPS for LAN
printing.

I vi'd /etc/cups/cupsd.conf ...
If I have the following CUPS LAN printing works great ...

#Port 80
#Port 443
Port 631
#
#Listen 127.0.0.1:631
#Listen 192.168.0.5:631

However I realy would like to restrict access to localhost and
192.168.0.5, which should be possible with ...

#Port 80
#Port 443
#Port 631
#
Listen 127.0.0.1:631
Listen 192.168.0.5:631

But every time I try I get the following in the cups logs & I can not print.


I [04/Nov/2005:21:26:36 +0000] Allowing up to 100 client connections per
host.
I [04/Nov/2005:21:26:36 +0000] Full reload is required.
E [04/Nov/2005:21:26:36 +0000] LoadAllClasses: Unable to open
/etc/cups/classes.conf - No such file or directory
I [04/Nov/2005:21:26:36 +0000] LoadPPDs: Read "/etc/cups/ppds.dat", 4104
PPDs...
I [04/Nov/2005:21:26:36 +0000] LoadPPDs: No new or changed PPDs...
I [04/Nov/2005:21:26:36 +0000] Full reload complete.
E [04/Nov/2005:21:26:36 +0000] StartListening: Unable to bind socket for
address c0a80005:631 - Cannot assign requested address.

Can anyone shed any light on this, the cupsd.config file notes reacon it
should work :)

Dave


--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: CUPS 192.168.0.5:631

Dave S-3
Dave S wrote:

> Hi all,
>
> Ubuntu is on my main system connected to an epson printer, I have
> configured CUPS and it works great. But I want to enable CUPS for LAN
> printing.
>
> I vi'd /etc/cups/cupsd.conf ...
> If I have the following CUPS LAN printing works great ...
>
> #Port 80
> #Port 443
> Port 631
> #
> #Listen 127.0.0.1:631
> #Listen 192.168.0.5:631
>
> However I realy would like to restrict access to localhost and
> 192.168.0.5, which should be possible with ...
>
> #Port 80
> #Port 443
> #Port 631
> #
> Listen 127.0.0.1:631
> Listen 192.168.0.5:631
>
> But every time I try I get the following in the cups logs & I can not
> print.
>
>
> I [04/Nov/2005:21:26:36 +0000] Allowing up to 100 client connections
> per host.
> I [04/Nov/2005:21:26:36 +0000] Full reload is required.
> E [04/Nov/2005:21:26:36 +0000] LoadAllClasses: Unable to open
> /etc/cups/classes.conf - No such file or directory
> I [04/Nov/2005:21:26:36 +0000] LoadPPDs: Read "/etc/cups/ppds.dat",
> 4104 PPDs...
> I [04/Nov/2005:21:26:36 +0000] LoadPPDs: No new or changed PPDs...
> I [04/Nov/2005:21:26:36 +0000] Full reload complete.
> E [04/Nov/2005:21:26:36 +0000] StartListening: Unable to bind socket
> for address c0a80005:631 - Cannot assign requested address.
>
> Can anyone shed any light on this, the cupsd.config file notes reacon
> it should work :)
>
> Dave
>




Opps, the following resolved it

Listen 127.0.0.1:631
Listen 192.168.0.6:631

My misunderstanding

Dave






--
ubuntu-users mailing list
[hidden email]
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users