Temat: [MR3420] CUPS a 3G modem

Witam,

Mam problem z połączeniem 3G podczas drukowania za pomocą CUPSa. Po wysłaniu strony do drukowania modem jest rozłączany, a następnie ponownie inicjowany w systemie (ale połaczenie 3g-wan nie jest zestawiane). Odłączenie i ponowne połączenie powoduje zestawienia połączenia 3G.

Dane o urządzeniu:
TP-Link MR3420 v2
Gargoyle PL 1.5.11.1 (5980bc3)
OpenWrt Attitude Adjustment 12.09.1 (r38462)
Modem Huawei E398
do USB podpięty aktywny HUB USB 4-port

Poniżej logi:
Nov 11 10:26:14 cupsd[1405]: REQUEST 192.168.2.2 - - "POST /printers/SCX4300 HTTP/1.1" 200 132 Get-Printer-Attributes successful-ok
Nov 11 10:26:14 cupsd[1405]: REQUEST 192.168.2.2 - - "POST /printers/SCX4300 HTTP/1.1" 200 132 Get-Printer-Attributes successful-ok
Nov 11 10:26:42 cupsd[1405]: REQUEST 192.168.2.2 - - "POST /printers/SCX4300 HTTP/1.1" 200 132 Get-Printer-Attributes successful-ok
Nov 11 10:26:42 cupsd[1405]: REQUEST 192.168.2.2 - - "POST /printers/SCX4300 HTTP/1.1" 200 174 Get-Jobs successful-ok
Nov 11 10:26:42 cupsd[1405]: REQUEST 192.168.2.2 - - "POST /printers/SCX4300 HTTP/1.1" 200 132 Get-Printer-Attributes successful-ok
Nov 11 10:26:43 cupsd[1405]: [Job ???] Request file type is application/octet-stream.
Nov 11 10:26:43 cupsd[1405]: [Job 4] Adding start banner page "none".
Nov 11 10:26:43 cupsd[1405]: [Job 4] Adding end banner page "none".
Nov 11 10:26:43 cupsd[1405]: [Job 4] File of type application/octet-stream queued by "Maciej".
Nov 11 10:26:43 cupsd[1405]: [Job 4] Queued on "SCX4300" by "Maciej".
Nov 11 10:26:43 cupsd[1405]: [Job 4] Started backend /usr/lib/cups/backend/usb (PID 27006)
Nov 11 10:26:43 cupsd[1405]: REQUEST 192.168.2.2 - - "POST /printers/SCX4300 HTTP/1.1" 200 247008 Print-Job successful-ok
Nov 11 10:26:43 cupsd[1405]: [Job 4] Sending data to printer.
Nov 11 10:26:43 cupsd[1405]: SCX4300 Maciej 4 [11/Nov/2013:10:26:43 +0100] 1 1 - 192.168.2.2 Bez tytułu1 - -
Nov 11 10:26:43 kernel: [50001.250000] option: option_instat_callback: error -71
Nov 11 10:26:43 kernel: [50001.280000] usb 1-1.1: USB disconnect, device number 7
Nov 11 10:26:43 pppd[3052]: Modem hangup
Nov 11 10:26:43 pppd[3052]: Connect time 831.5 minutes.
Nov 11 10:26:43 pppd[3052]: Sent 26141629 bytes, received 256274242 bytes.
Nov 11 10:26:43 kernel: [50001.290000] option: option_instat_callback: error -143
Nov 11 10:26:43 kernel: [50001.290000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Nov 11 10:26:43 kernel: [50001.300000] option 1-1.1:1.0: device disconnected
Nov 11 10:26:43 kernel: [50001.310000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Nov 11 10:26:43 kernel: [50001.310000] option 1-1.1:1.1: device disconnected
Nov 11 10:26:43 kernel: [50001.320000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Nov 11 10:26:43 kernel: [50001.330000] option 1-1.1:1.2: device disconnected
Nov 11 10:26:44 pppd[3052]: Connection terminated.
Nov 11 10:26:44 kernel: [50001.630000] usb 1-1.1: new high-speed USB device number 9 using ehci-platform
Nov 11 10:26:44 kernel: [50001.760000] option 1-1.1:1.0: GSM modem (1-port) converter detected
Nov 11 10:26:44 kernel: [50001.770000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB1
Nov 11 10:26:44 kernel: [50001.780000] option 1-1.1:1.1: GSM modem (1-port) converter detected
Nov 11 10:26:44 kernel: [50001.790000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB2
Nov 11 10:26:44 kernel: [50001.790000] option 1-1.1:1.2: GSM modem (1-port) converter detected
Nov 11 10:26:44 kernel: [50001.800000] usb 1-1.1: GSM modem (1-port) converter now attached to ttyUSB3
Nov 11 10:26:44 kernel: [50001.860000] scsi5 : usb-storage 1-1.1:1.5
Nov 11 10:26:44 kernel: [50001.890000] scsi6 : usb-storage 1-1.1:1.6
Nov 11 10:26:45 kernel: [50002.870000] scsi 5:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
Nov 11 10:26:45 kernel: [50002.890000] scsi 6:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
Nov 11 10:26:45 kernel: [50002.900000] sd 6:0:0:0: [sdc] Attached SCSI removable disk
Nov 11 10:26:45 netifd: Interface 'wan' has lost the connection
Nov 11 10:26:46 pppd[3052]: Terminating on signal 15
Nov 11 10:26:46 pppd[3052]: Exit.
Nov 11 10:26:46 netifd: Interface 'wan' is now down
Nov 11 10:26:49 usb-modeswitch: 1-1.1:1.0: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:49 usb-modeswitch: 1-1.1:1.1: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:50 usb-modeswitch: 1-1.1:1.2: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:50 usb-modeswitch: 1-1.1:1.3: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:50 usb-modeswitch: 1-1.1:1.4: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:50 usb-modeswitch: 1-1.1:1.5: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:50 usb-modeswitch: 1-1.1:1.6: Manufacturer=Huawei_Technologies Product=HUAWEI_Mobile Serial=?
Nov 11 10:26:52 kernel: [50009.940000] usb 1-1.2: reset full-speed USB device number 8 using ehci-platform
Nov 11 10:26:52 cupsd[1405]: [Job 4] Job completed.
Nov 11 10:27:01 dnsmasq[1490]: reading /tmp/resolv.conf.auto
Nov 11 10:27:01 dnsmasq[1490]: ignoring nameserver 192.168.2.254 - local interface
Nov 11 10:27:01 dnsmasq[1490]: using local addresses only for domain lan
Nov 11 10:27:14 cupsd[1405]: Saving job.cache...

2

Odp: [MR3420] CUPS a 3G modem

Możesz huba zmienić. Komunikaty wskazują na to że po prostu reset magistrali usb nastąpił.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: [MR3420] CUPS a 3G modem

A Extroot moze mieć coś z tym wspólnego?

4

Odp: [MR3420] CUPS a 3G modem

Tylko tyle że co najwyżej następuje zbytnie obciążenie magistrali USB.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.