[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#585689: cups: Doesnt find network printer when interface is renamed

Package: cups
Version: 1.4.3-1
Severity: normal

Hash: SHA1


I've a computer connected to a router with ethernet
I've a printer connected to the same router with ethernet also

I have renamed the interface on the computer from ethX to something else because
the ehtX name is not consistant from session to session (I get sometimes eth0 
and sometimes eth2)

For that I use "nameif" in my /etc/network/interfaces :

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto livebox
iface livebox inet static
    address 192.168.x.xx
    pre-up nameif livebox 00:xx:xx:xx:xx:xxa
    up route add default gw 192.168.x.x

With this setup, the printer is not discovered by cups.

The following command (find from the help) returns nothing:
CUPS_DEBUG_LEVEL=2 /usr/lib/cups/backend/snmp 2>&1 | tee snmp.log

snmpwalk find the printer.

If I use eth2, the printer is normally found.



- -- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34-k8-2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  adduser                   3.112          add and remove users and groups
ii  bc                        1.06.95-2      The GNU bc arbitrary precision cal
ii  cdebconf [debconf-2.0]    0.149          Debian Configuration Management Sy
ii  cups-client               1.4.3-1        Common UNIX Printing System(tm) - 
ii  cups-common               1.4.3-1        Common UNIX Printing System(tm) - 
ii  debconf [debconf-2.0]     1.5.32         Debian configuration management sy
ii  ghostscript               8.71~dfsg2-3   The GPL Ghostscript PostScript/PDF
ii  libavahi-client3          0.6.25-3       Avahi client library
ii  libavahi-common3          0.6.25-3       Avahi common library
ii  libc6                     2.11.1-3       Embedded GNU C Library: Shared lib
ii  libcups2                  1.4.3-1        Common UNIX Printing System(tm) - 
ii  libcupscgi1               1.4.3-1        Common UNIX Printing System(tm) - 
ii  libcupsdriver1            1.4.3-1        Common UNIX Printing System(tm) - 
ii  libcupsimage2             1.4.3-1        Common UNIX Printing System(tm) - 
ii  libcupsmime1              1.4.3-1        Common UNIX Printing System(tm) - 
ii  libcupsppdc1              1.4.3-1        Common UNIX Printing System(tm) - 
ii  libdbus-1-3               1.2.24-1       simple interprocess messaging syst
ii  libgcc1                   1:4.4.4-5      GCC support library
ii  libgnutls26               2.8.6-1        the GNU TLS library - runtime libr
ii  libgssapi-krb5-2          1.8.1+dfsg-5   MIT Kerberos runtime libraries - k
ii  libijs-0.35               0.35-7         IJS raster image transport protoco
ii  libkrb5-3                 1.8.1+dfsg-5   MIT Kerberos runtime libraries
ii  libldap-2.4-2             2.4.21-1       OpenLDAP libraries
ii  libpam0g                  1.1.1-3        Pluggable Authentication Modules l
ii  libpaper1                 1.1.24         library for handling paper charact
ii  libpoppler5               0.12.4-1       PDF rendering library
ii  libslp1                   1.2.1-7.7      OpenSLP libraries
ii  libstdc++6                4.4.4-5        The GNU Standard C++ Library v3
ii  libusb-0.1-4              2:0.1.12-15    userspace USB programming library
ii  lsb-base                  3.2-23.1       Linux Standard Base 3.2 init scrip
ii  perl-modules              5.10.1-13      Core Perl modules
ii  poppler-utils             0.12.4-1       PDF utilitites (based on libpopple
ii  procps                    1:3.2.8-9      /proc file system utilities
ii  ssl-cert                  1.0.25         simple debconf wrapper for OpenSSL
ii  ttf-freefont              20090104-7     Freefont Serif, Sans and Mono True
ii  zlib1g                    1:1.2.5.dfsg-1 compression library - runtime

Versions of packages cups recommends:
ii  cups-driver-gutenprint    5.2.5-1        printer drivers for CUPS
ii  foomatic-filters          4.0-20090509-1 OpenPrinting printer support - fil
ii  ghostscript-cups          8.71~dfsg2-3   The GPL Ghostscript PostScript/PDF

Versions of packages cups suggests:
ii  cups-bsd                1.4.3-1          Common UNIX Printing System(tm) - 
ii  cups-pdf                2.5.0-15         PDF printer for CUPS
ii  cups-ppdc               1.4.3-1          Common UNIX Printing System(tm) - 
ii  foomatic-db             20090616-1       OpenPrinting printer support - dat
ii  foomatic-db-engine      4.0-20090509-2.1 OpenPrinting printer support - pro
ii  hplip                   3.10.5-1         HP Linux Printing and Imaging Syst
pn  smbclient               <none>           (no description available)
ii  udev                    157-1            /dev/ and hotplug management daemo
pn  xpdf-korean | xpdf-japa <none>           (no description available)

- -- debconf information:
* cupsys/raw-print: true
* cupsys/backend: ipp, lpd, parallel, scsi, serial, socket, usb, snmp, dnssd

Version: GnuPG v1.4.10 (GNU/Linux)


Reply to: