Public bug reported:

all debug info from the ubuntu cup help page looks correct except that
none of the snmp command work.

 netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
0.0.0.0         192.168.1.254   0.0.0.0         UG        0 0          0 wlo1
10.0.0.0        192.168.168.54  255.255.0.0     UG        0 0          0 ppp0
10.0.0.0        0.0.0.0         255.255.0.0     U         0 0          0 eno2
66.196.209.178  192.168.1.254   255.255.255.255 UGH       0 0          0 wlo1
169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eno2
172.16.0.0      192.168.168.54  255.255.0.0     UG        0 0          0 ppp0
192.0.2.1       0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 wlo1
192.168.1.254   0.0.0.0         255.255.255.255 UH        0 0          0 wlo1
tbuckley@tbuckley-OptiPlex-7070:/mnt/sda/tbuckley/imxDevopment/sources$ ping 
1892.168.1.102
^C
tbuckley@tbuckley-OptiPlex-7070:/mnt/sda/tbuckley/imxDevopment/sources$ ping 
192.168.1.102
PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=50.6 ms
64 bytes from 192.168.1.102: icmp_seq=2 ttl=64 time=5.60 ms
64 bytes from 192.168.1.102: icmp_seq=3 ttl=64 time=5.75 ms
^C
--- 192.168.1.102 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 5.603/20.676/50.675/21.212 ms
tbuckley@tbuckley-OptiPlex-7070:/mnt/sda/tbuckley/imxDevopment/sources$ nmap 
192.168.1.102

Starting Nmap 7.60 ( https://nmap.org ) at 2022-09-02 10:11 CDT
Nmap scan report for 192.168.1.102
Host is up (0.035s latency).
Not shown: 996 closed ports
PORT    STATE SERVICE
80/tcp  open  http
443/tcp open  https
515/tcp open  printer
631/tcp open  ipp

lpinfo -v gives
network ipp
file cups-brf:/
network https
network beh
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS4?baud=115200
serial serial:/dev/ttyUSB0?baud=230400
serial serial:/dev/ttyUSB1?baud=230400
serial serial:/dev/ttyUSB2?baud=230400
network lpd
network http
direct hp
network socket
network ipps
direct hpfax
network 
dnssd://Canon%20MG3600%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-F4A997389B3C
network ipp://389B3C000000.local:631/ipp/print
network cnijbe2://Canon/?port=net&serial=F4-A9-97-38-9B-3C

lpoptions -d Canon_MG3600_series
device-uri=ipps://Canon%20MG3600%20series._ipps._tcp.local/ printer-info='Canon 
MG3600 series' printer-location printer-make-and-model='Canon MG3600 series' 
printer-type=83890204
tbuckley@tbuckley-OptiPlex-7070:/tmp$ lpoptions
device-uri=ipps://Canon%20MG3600%20series._ipps._tcp.local/ printer-info='Canon 
MG3600 series' printer-location printer-make-and-model='Canon MG3600 series' 
printer-type=83890204
tbuckley@tbuckley-OptiPlex-7070:/tmp$ lpoptions -l
lpoptions: Unable to get PPD file for Canon_MG3600_series: The printer or class 
does not exist.
tbuckley@tbuckley-OptiPlex-7070:/tmp$ lpq
lpq: Error - no default destination available.
tbuckley@tbuckley-OptiPlex-7070:/tmp$ 

this use to work but now it seems that cups is not setting the default
printer using lpoption or something is failing in the setup.

This is happening on a product and on my person ubuntu 18.04 home
machine

Thanks,
Terry

972-814-9422(c)

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: cups 2.2.7-1ubuntu2.9
ProcVersionSignature: Ubuntu 5.4.0-124.140~18.04.1-generic 5.4.195
Uname: Linux 5.4.0-124-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.28
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep  2 10:13:02 2022
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-bionic-amd64-20180608-47+bison-elk-cougar-mlk+X53
InstallationDate: Installed on 2019-10-16 (1051 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
Lpstat:
 device for SMT300i: bluetooth://00150ee747b7
 device for Woosim-WSP-i450: bluetooth://00150ee8b0a7
MachineType: Dell Inc. OptiPlex 7070
PpdFiles:
 Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/SMT300i.ppd', 
'/etc/cups/ppd/Woosim-WSP-i450.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/SMT300i.ppd: Permission denied
 grep: /etc/cups/ppd/Woosim-WSP-i450.ppd: Permission denied
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-124-generic 
root=UUID=f6d606fa-5095-4c4c-8db8-a34f6acb2fd9 ro mem_sleep_default=deep quiet 
splash vt.handoff=1
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/06/2020
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.5.0
dmi.board.name: 0YNVJG
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 3
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr1.5.0:bd07/06/2020:svnDellInc.:pnOptiPlex7070:pvr:rvnDellInc.:rn0YNVJG:rvrA01:cvnDellInc.:ct3:cvr:
dmi.product.family: OptiPlex
dmi.product.name: OptiPlex 7070
dmi.product.sku: 092E
dmi.sys.vendor: Dell Inc.

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug bionic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1988583

Title:
  ubuntu 18.04 cups network printer not working

Status in cups package in Ubuntu:
  New

Bug description:
  all debug info from the ubuntu cup help page looks correct except that
  none of the snmp command work.

   netstat -rn
  Kernel IP routing table
  Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
  0.0.0.0         192.168.1.254   0.0.0.0         UG        0 0          0 wlo1
  10.0.0.0        192.168.168.54  255.255.0.0     UG        0 0          0 ppp0
  10.0.0.0        0.0.0.0         255.255.0.0     U         0 0          0 eno2
  66.196.209.178  192.168.1.254   255.255.255.255 UGH       0 0          0 wlo1
  169.254.0.0     0.0.0.0         255.255.0.0     U         0 0          0 eno2
  172.16.0.0      192.168.168.54  255.255.0.0     UG        0 0          0 ppp0
  192.0.2.1       0.0.0.0         255.255.255.255 UH        0 0          0 ppp0
  192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0 wlo1
  192.168.1.254   0.0.0.0         255.255.255.255 UH        0 0          0 wlo1
  tbuckley@tbuckley-OptiPlex-7070:/mnt/sda/tbuckley/imxDevopment/sources$ ping 
1892.168.1.102
  ^C
  tbuckley@tbuckley-OptiPlex-7070:/mnt/sda/tbuckley/imxDevopment/sources$ ping 
192.168.1.102
  PING 192.168.1.102 (192.168.1.102) 56(84) bytes of data.
  64 bytes from 192.168.1.102: icmp_seq=1 ttl=64 time=50.6 ms
  64 bytes from 192.168.1.102: icmp_seq=2 ttl=64 time=5.60 ms
  64 bytes from 192.168.1.102: icmp_seq=3 ttl=64 time=5.75 ms
  ^C
  --- 192.168.1.102 ping statistics ---
  3 packets transmitted, 3 received, 0% packet loss, time 2003ms
  rtt min/avg/max/mdev = 5.603/20.676/50.675/21.212 ms
  tbuckley@tbuckley-OptiPlex-7070:/mnt/sda/tbuckley/imxDevopment/sources$ nmap 
192.168.1.102

  Starting Nmap 7.60 ( https://nmap.org ) at 2022-09-02 10:11 CDT
  Nmap scan report for 192.168.1.102
  Host is up (0.035s latency).
  Not shown: 996 closed ports
  PORT    STATE SERVICE
  80/tcp  open  http
  443/tcp open  https
  515/tcp open  printer
  631/tcp open  ipp

  lpinfo -v gives
  network ipp
  file cups-brf:/
  network https
  network beh
  serial serial:/dev/ttyS0?baud=115200
  serial serial:/dev/ttyS4?baud=115200
  serial serial:/dev/ttyUSB0?baud=230400
  serial serial:/dev/ttyUSB1?baud=230400
  serial serial:/dev/ttyUSB2?baud=230400
  network lpd
  network http
  direct hp
  network socket
  network ipps
  direct hpfax
  network 
dnssd://Canon%20MG3600%20series._ipp._tcp.local/?uuid=00000000-0000-1000-8000-F4A997389B3C
  network ipp://389B3C000000.local:631/ipp/print
  network cnijbe2://Canon/?port=net&serial=F4-A9-97-38-9B-3C

  lpoptions -d Canon_MG3600_series
  device-uri=ipps://Canon%20MG3600%20series._ipps._tcp.local/ 
printer-info='Canon MG3600 series' printer-location 
printer-make-and-model='Canon MG3600 series' printer-type=83890204
  tbuckley@tbuckley-OptiPlex-7070:/tmp$ lpoptions
  device-uri=ipps://Canon%20MG3600%20series._ipps._tcp.local/ 
printer-info='Canon MG3600 series' printer-location 
printer-make-and-model='Canon MG3600 series' printer-type=83890204
  tbuckley@tbuckley-OptiPlex-7070:/tmp$ lpoptions -l
  lpoptions: Unable to get PPD file for Canon_MG3600_series: The printer or 
class does not exist.
  tbuckley@tbuckley-OptiPlex-7070:/tmp$ lpq
  lpq: Error - no default destination available.
  tbuckley@tbuckley-OptiPlex-7070:/tmp$ 

  this use to work but now it seems that cups is not setting the default
  printer using lpoption or something is failing in the setup.

  This is happening on a product and on my person ubuntu 18.04 home
  machine

  Thanks,
  Terry

  972-814-9422(c)

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: cups 2.2.7-1ubuntu2.9
  ProcVersionSignature: Ubuntu 5.4.0-124.140~18.04.1-generic 5.4.195
  Uname: Linux 5.4.0-124-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.28
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Sep  2 10:13:02 2022
  DistributionChannelDescriptor:
   # This is the distribution channel descriptor for the OEM CDs
   # For more information see 
http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-bionic-amd64-20180608-47+bison-elk-cougar-mlk+X53
  InstallationDate: Installed on 2019-10-16 (1051 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
  Lpstat:
   device for SMT300i: bluetooth://00150ee747b7
   device for Woosim-WSP-i450: bluetooth://00150ee8b0a7
  MachineType: Dell Inc. OptiPlex 7070
  PpdFiles:
   Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/SMT300i.ppd', 
'/etc/cups/ppd/Woosim-WSP-i450.ppd'] failed with exit code 2: grep: 
/etc/cups/ppd/SMT300i.ppd: Permission denied
   grep: /etc/cups/ppd/Woosim-WSP-i450.ppd: Permission denied
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-124-generic 
root=UUID=f6d606fa-5095-4c4c-8db8-a34f6acb2fd9 ro mem_sleep_default=deep quiet 
splash vt.handoff=1
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/06/2020
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.5.0
  dmi.board.name: 0YNVJG
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 3
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.5.0:bd07/06/2020:svnDellInc.:pnOptiPlex7070:pvr:rvnDellInc.:rn0YNVJG:rvrA01:cvnDellInc.:ct3:cvr:
  dmi.product.family: OptiPlex
  dmi.product.name: OptiPlex 7070
  dmi.product.sku: 092E
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1988583/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to