robbow52
10-18-2003, 08:49 AM
I'm a newbie with Debian (a couple of weeks now) and I'm having a terrible time setting up CUPS printing. I'm trying to print to a printer on a Windows pc on my home network. I've installed and configured SAMBA and I've installed CUPS. I've checked settings everywhere that I can find...
My /etc/hosts file:
127.0.0.1 debian localhost
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
debian:/etc#
A section from my /etc/network/interfaces file:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet DHCP
A section from my /etc/cups/cupsd.conf:
#Port 80
#Port 443
Port 631
Listen 127.0.0.1:631
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
And finally, the listing from ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:2697 errors:0 dropped:0 overruns:0 frame:0
TX packets:2697 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:231072 (225.6 KiB) TX bytes:231072 (225.6 KiB)
I've changed various settings in various files, restarted CUPS and still when I try to connect with localhost:631 to administer CUPS (using Mozilla), I receive a "connection refused" error. I'm at my wit's end!!! I "had" it working a few days ago (I could get to the html administration utility, I couldn't get the printer working!), but gave up in frustration! Since then, I've "changed" a number of things (I'm running Woody 3.0r1) and upgraded to Gnome2.2 and xfree86 1.4. I don't "think" this had an effect on things but...
Does anyone have an idea of where I might look?
Thanks in advance for your help!
My /etc/hosts file:
127.0.0.1 debian localhost
# The following lines are desirable for IPv6 capable hosts
# (added automatically by netbase upgrade)
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
debian:/etc#
A section from my /etc/network/interfaces file:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet DHCP
A section from my /etc/cups/cupsd.conf:
#Port 80
#Port 443
Port 631
Listen 127.0.0.1:631
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
And finally, the listing from ifconfig:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:2697 errors:0 dropped:0 overruns:0 frame:0
TX packets:2697 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:231072 (225.6 KiB) TX bytes:231072 (225.6 KiB)
I've changed various settings in various files, restarted CUPS and still when I try to connect with localhost:631 to administer CUPS (using Mozilla), I receive a "connection refused" error. I'm at my wit's end!!! I "had" it working a few days ago (I could get to the html administration utility, I couldn't get the printer working!), but gave up in frustration! Since then, I've "changed" a number of things (I'm running Woody 3.0r1) and upgraded to Gnome2.2 and xfree86 1.4. I don't "think" this had an effect on things but...
Does anyone have an idea of where I might look?
Thanks in advance for your help!