Форум OlegON > Программы и оборудование для автоматизации торговли > Кассовые программы > УКМ-4

At the network already exists 192.168.251.2 or 192.168.251.1 addresses : УКМ-4

01.12.2024 21:09


22.09.2020 11:47
>>> 92 версии сп1

Мы обновились с 89-й на 93-ю. НА 89-й этой проблемы тоже не было.
22.09.2020 11:55
Цитата:
DMaslov Дальше можно копать, при желании.
ну вот если тебе действительно интересно, то лучше докопать именно до сообщения, которое в теме указано...
22.09.2020 12:44
>>> если тебе действительно интересно

В поддержке действительно интересно то, что ломает все наглухо.

Если завтра утром снова объявлюсь - это оно :).
23.09.2020 15:57
одного приведенного файла мало
по сути там со всякими обертками выполняется команда:
Код:
pppd file ppp-pos2kkt_ttyS0.conf
Содержимое файла ppp-pos2kkt_ttyS0.conf:
Код:
linkname pos2kkt_ttyS0
logfile /var/log/ppp-pos_ttyS0.log
#dump
nodetach
noauth
passive
local
debug
lock
192.168.250.1:192.168.250.2
/dev/ttyS0
115200
connect '/usr/local/ppp/sbin/chat -v -f /usr/local/ppp-pos2kkt/pos2kkt.chat'
lcp-echo-interval 10
lcp-echo-failure 1
ms-dns 192.168.102.1
И еще:
Код:
TIMEOUT 60
CLIENT CLIENTSERVER\c
Ошибка явно говорит о том, что при установлении ppp-соединения где-то в сети появляется дублирующийся ip-адрес. Это может быть и сам ККТ, если соединение с ним не было завершено корректно.

ЗЫ: Файлы от более старой версии, чем у ТС. Можно сравнить с новыми. Файлы:
/usr/local/ppp-pos2kkt/ppp-pos2kkt_ttyS0.conf
/usr/local/ppp-pos2kkt/pos2kkt.chat
Первый из них формируется автоматически из скрипта /usr/local/ppp-pos2kkt/ppp-utils.sh и его имя может отличаться в зависимости от номера используемого com-порта
23.09.2020 16:03
Сегодня никто не звонил.

С одним магазином придумали workaround:

1. Из кассы выдирается ethernet.
2. Касса и ККТ включаются.
3. После успешной загрузки и подключения ККТ в кассу втыкается ethernet.
23.09.2020 16:17
Локальная сеть ведь имеет другие адреса?
Значит, скорее всего, как я и предположил этот дублирующийся ip-адрес это и есть сам ККТ, с которым не завершено соединение.
Я бы попробовал еще, если проблема повторится:
1. остановить ukmclient(/etc/init.d/ukmclient stop)
2. (опционально) выполнить ifconfig и проверить, есть ли интерфейс ppp и адрес в нем(должен быть 192.168.250.1)
3. выполнить скрипт /usr/local/ppp-pos2kkt/ppp-pos2kkt-stop.sh
4. (опционально) выполнить ifconfig и проверить, есть ли интерфейс ppp и адрес в нем(должен быть 192.168.250.1)
5. запустить укм обратно(/etc/init.d/ukmclient start)

Если на 2ом шаге ppp есть, а на 4ом нет, то обратиться в С+, т.к. это баг
24.09.2020 09:02
> этот дублирующийся ip-адрес это и есть сам ККТ, с которым не завершено соединение.

Я тоже это предполагаю, пока руки не дошли копнуть.

Странно то, что бага проявляется утром, когда кассу и ККТ только что включили.
24.09.2020 09:06
Как вариант причины проблемы могу предположить, что с каждой новой прошивкой - это, как правило, усложнение ПО - загрузка ККТ происходит все медленнее.
И когда они с УКМ стартуют примерно в одно время - происходят такие коллизии.
Т.е. как вариант решения - поставить задержку перед стартом УКМ.
24.09.2020 10:14
>>> Как вариант решения - поставить задержку перед стартом УКМ.

Не работает.

Касса и ККТ загружены и успешно работают. Перезагружаю кассу, получаю:

Код:
+:
09:59:43.058: 0xb5488c00: INFO: hw: ComponentKKT_SP_TCP: ppp - trying to activate 09:59:43.058: 0xb5488c00: INFO: hw: ComponentKKT_SP_TCP: ppp - launching script "/usr/local/ppp-pos2kkt/ppp-pos2kkt-start.sh 0 192.168.251.1 192.168.251.2" 09:59:43.388: 0xb5488c00: WARNING: hw: ComponentKKT_SP_TCP: ppp - script "/usr/local/ppp-pos2kkt/ppp-pos2kkt-start.sh 0" failed. At the network already exists 192.168.251.2 or 192.168.251.1 addresses 09:59:43.388: 0xb5488c00: DEBUG: hw: --- COMPortInit() begin --- 09:59:43.389: 0xb5488c00: DEBUG: hw: COMPortInit() "/dev/ttyS10" is a usb-com device 09:59:43.389: 0xb5488c00: DEBUG: hw: COMPortInit() syspath is empty 09:59:43.389: 0xb5488c00: DEBUG: hw: COMPortInit() "/dev/ttyS10" is a symlink to target /dev/ttyACM0 09:59:43.389: 0xb5488c00: INFO: hw: COMPortInit() Trying to open serial port ukmdevice=COM11 device=/dev/ttyS10 realdevice=/dev/ttyACM0 syspath=/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0 09:59:43.390: 0xb5488c00: INFO: hw: COMPortInit() Opened serial port ukmdevice=COM11 device=/dev/ttyS10 realdevice=/dev/ttyACM0 syspath=/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3/1-1.3.4/1-1.3.4:1.0 09:59:43.390: 0xb5488c00: DEBUG: hw: --- COMPortInit() end --- 09:59:43.391: 0xb5488c00: DEBUG: hw: --- COMPortInit() begin --- 09:59:43.391: 0xb5488c00: INFO: hw: COMPortInit() Trying to open serial port ukmdevice=COM6 device=/dev/ttyS5 realdevice=/dev/ttyS5 syspath= 09:59:43.391: 0xb5488c00: INFO: hw: COMPortInit() Opened serial port ukmdevice=COM6 device=/dev/ttyS5 realdevice=/dev/ttyS5 syspath= 09:59:43.391: 0xb5488c00: DEBUG: hw: --- COMPortInit() end --- 09:59:44.651: 0xb5488c00: INFO: hw: hotplug handler starting ... 09:59:44.652: 0xb5488c00: INFO: hw: hotplug handler started 09:59:47.662: 0xb5488c00: FATAL: diag: КОД НЕИЗВЕСТЕН НЕИЗВЕСТНАЯ ОШИБКА Ошибка подключения к KKT ^C 192.168.22.100#ifconfig eth0 Link encap:Ethernet HWaddr 4C:CC:6A:97:3D:DA inet addr:192.168.22.100 Bcast:192.168.22.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:827 errors:0 dropped:0 overruns:0 frame:0 TX packets:691 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:109068 (106.5 Kb) TX bytes:149867 (146.3 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1278 errors:0 dropped:0 overruns:0 frame:0 TX packets:1278 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:375297 (366.5 Kb) TX bytes:375297 (366.5 Kb)

Копаю дальше.
24.09.2020 16:00
Цитата:
Павел Сосновских Если на 2ом шаге ppp есть, а на 4ом нет, то обратиться в С+, т.к. это баг
Именно так. Причем воспроизводится нестабильно.

Пример воспроизведения прикладываю.

Код:
+:
/var/log/messsages ======================================================== ukmclient stop =============================================== Sep 24 15:56:30 localhost ukm: /etc/init.d/ukmclient: stop() begin Sep 24 15:56:30 localhost ukm: /etc/init.d/ukmclient: Stopping /etc/init.d/xwin-usb-0 Sep 24 15:56:31 localhost ukm: /etc/init.d/xwin-usb-0: stop() begin --------------------------------------------------- Sep 24 15:56:31 localhost ukm: /etc/init.d/xwin-usb-0: Stopping X Sep 24 15:56:33 localhost ukm: /etc/init.d/xwin-usb-0: Removing /usr/local/xorg/xorg-main/etc/X11/xorg-usb-0.conf Sep 24 15:56:33 localhost ukm: /etc/init.d/xwin-usb-0: Removing /usr/local/xorg/xorg-main/etc/X11/xorg.conf Sep 24 15:56:33 localhost ukm: /etc/init.d/xwin-usb-0: stop() end ----------------------------------------------------- Sep 24 15:56:33 localhost pppd[4561]: Hangup (SIGHUP) Sep 24 15:56:33 localhost pppd[4561]: Connect time 407.1 minutes. Sep 24 15:56:33 localhost pppd[4561]: Sent 2069936 bytes, received 903162 bytes. Sep 24 15:56:33 localhost pppd[4561]: Connection terminated. Sep 24 15:56:33 localhost pppd[4561]: Exit. Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-start-fg[4505]: pppd - exited Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-start-fg[4505]: --- ppp_start() end Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-start-fg[4505]: ------ end ------ Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-watchdog[4363]: ppp - /usr/local/ppp-pos2kkt/ppp-pos2kkt-start-fg.sh - has finished Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-watchdog[4363]: ppp - /usr/local/ppp-pos2kkt/ppp-pos2kkt-start-fg.sh - launching Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-start-fg[7039]: ------ begin ------ Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-start-fg[7039]: param1=0 Sep 24 15:56:33 localhost mdev: /etc/mdev/catch-all: SEQNUM=1496 ACTION=remove DEVPATH=/devices/virtual/net/ppp0/queues/rx-0 MDEV=rx-0 DEVTYPE= SUBSYSTEM=queues MAJOR= MINOR= Sep 24 15:56:33 localhost ukm: ppp-pos2kkt-start-fg[7039]: param2=192.168.253.1 Sep 24 15:56:34 localhost kernel: sp_keyboard: -- device_release() begin Sep 24 15:56:34 localhost kernel: sp_keyboard: Trying to free interrupt handler 1 Sep 24 15:56:34 localhost ukm: ppp-pos2kkt-start-fg[7039]: param3=192.168.253.2 Sep 24 15:56:34 localhost kernel: sp_keyboard: Interrupt handler 1 is free Sep 24 15:56:34 localhost mdev: /etc/mdev/catch-all: SEQNUM=1497 ACTION=remove DEVPATH=/devices/virtual/net/ppp0/queues/tx-0 MDEV=tx-0 DEVTYPE= SUBSYSTEM=queues MAJOR= MINOR= Sep 24 15:56:34 localhost ukm: ppp-pos2kkt-start-fg[7039]: /usr/local/ppp-pos2kkt/ppp-utils.sh - loading ... Sep 24 15:56:34 localhost ukm: /etc/init.d/ukmclient: before /usr/local/ukmclient/ukmstop.sh Sep 24 15:56:34 localhost kernel: sp_keyboard: Trying to free FIFO buffer Sep 24 15:56:34 localhost mdev: /etc/mdev/catch-all: SEQNUM=1498 ACTION=remove DEVPATH=/devices/virtual/net/ppp0 MDEV=ppp0 DEVTYPE= SUBSYSTEM=net MAJOR= MINOR= Sep 24 15:56:34 localhost ukm: ppp-pos2kkt-start-fg[7039]: /usr/local/ppp-pos2kkt/ppp-utils.sh - loaded Sep 24 15:56:34 localhost kernel: sp_keyboard: FIFO buffer is free Sep 24 15:56:34 localhost ukm: /usr/local/ukmclient/ukmstop.sh: begin Sep 24 15:56:34 localhost mdev: /etc/mdev/catch-all: SEQNUM=1499 ACTION=add DEVPATH=/module/i8042 MDEV=i8042 DEVTYPE= SUBSYSTEM=module MAJOR= MINOR= Sep 24 15:56:34 localhost ukm: ppp-pos2kkt-start-fg[7039]: --- params_process() begin Sep 24 15:56:34 localhost kernel: sp_keyboard: Checking if "i8042" module is loaded Sep 24 15:56:35 localhost mdev: /etc/mdev/catch-all: SEQNUM=1500 ACTION=add DEVPATH=/bus/pnp/drivers/i8042 kbd MDEV=i8042 kbd DEVTYPE= SUBSYSTEM=drivers MAJOR= MINOR= Sep 24 15:56:35 localhost ukm: ppp-pos2kkt-start-fg[7039]: PARAM_COM_PORT_NUMBER=0 Sep 24 15:56:35 localhost kernel: sp_keyboard: Module "i8042" is not loaded. Trying to load it. Sep 24 15:56:35 localhost mdev: /etc/mdev/catch-all: SEQNUM=1501 ACTION=add DEVPATH=/bus/pnp/drivers/i8042 aux MDEV=i8042 aux DEVTYPE= SUBSYSTEM=drivers MAJOR= MINOR= Sep 24 15:56:35 localhost ukm: /usr/local/ukmclient/ukmscmreader-stop.sh ==== BEGIN Sep 24 15:56:35 localhost ukm: ppp-pos2kkt-start-fg[7039]: PARAM_IP_POS=192.168.253.1 Sep 24 15:56:35 localhost kernel: i8042: PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1 Sep 24 15:56:35 localhost mdev: /etc/mdev/catch-all: SEQNUM=1502 ACTION=add DEVPATH=/devices/platform/i8042 MDEV=i8042 DEVTYPE= SUBSYSTEM=platform MAJOR= MINOR= Sep 24 15:56:35 localhost ukm: /usr/local/ukmclient/ukmscmreader-stop.sh Killing ukmscmreader Sep 24 15:56:35 localhost ukm: ppp-pos2kkt-start-fg[7039]: PARAM_IP_KKT=192.168.253.2 Sep 24 15:56:35 localhost kernel: i8042: PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp Sep 24 15:56:35 localhost mdev: /etc/mdev/catch-all: SEQNUM=1503 ACTION=add DEVPATH=/devices/platform/i8042/serio1 MDEV=serio1 DEVTYPE= SUBSYSTEM=serio MAJOR= MINOR= Sep 24 15:56:36 localhost ukm: ppp-pos2kkt-start-fg[7039]: -- params values: Sep 24 15:56:36 localhost kernel: serio: i8042 KBD port at 0x60,0x64 irq 1 Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1504 ACTION=add DEVPATH=/bus/platform/drivers/i8042 MDEV=i8042 DEVTYPE= SUBSYSTEM=drivers MAJOR= MINOR= Sep 24 15:56:36 localhost ukm: ppp-pos2kkt-start-fg[7039]: PARAM_COM_PORT_NUMBER=0 Sep 24 15:56:36 localhost kernel: sp_keyboard: Module "i8042" is loaded Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1505 ACTION=add DEVPATH=/module/libps2 MDEV=libps2 DEVTYPE= SUBSYSTEM=module MAJOR= MINOR= Sep 24 15:56:36 localhost ukm: ppp-pos2kkt-start-fg[7039]: COM_PORT=ttyS0 Sep 24 15:56:36 localhost kernel: sp_keyboard: Checking if "atkbd" module is loaded Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1506 ACTION=add DEVPATH=/module/atkbd MDEV=atkbd DEVTYPE= SUBSYSTEM=module MAJOR= MINOR= Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1507 ACTION=add DEVPATH=/bus/serio/drivers/atkbd MDEV=atkbd DEVTYPE= SUBSYSTEM=drivers MAJOR= MINOR= Sep 24 15:56:36 localhost ukm: /usr/local/ukmclient/ukmscmreader-stop.sh ==== END Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1511 ACTION=add DEVPATH=/bus/serio/drivers/psmouse MDEV=psmouse DEVTYPE= SUBSYSTEM=drivers MAJOR= MINOR= Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1510 ACTION=add DEVPATH=/module/psmouse MDEV=psmouse DEVTYPE= SUBSYSTEM=module MAJOR= MINOR= Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1509 ACTION=add DEVPATH=/devices/platform/i8042/serio1/input/input2/event1 MDEV=input/event1 DEVTYPE= SUBSYSTEM=input MAJOR=13 MINOR=65 Sep 24 15:56:36 localhost mdev: /etc/mdev/catch-all: SEQNUM=1508 ACTION=add DEVPATH=/devices/platform/i8042/serio1/input/input2 MDEV=input2 DEVTYPE= SUBSYSTEM=input MAJOR= MINOR= Sep 24 15:56:36 localhost ukm: ppp-pos2kkt-start-fg[7039]: COM_PORT_DEVICE=/dev/ttyS0 Sep 24 15:56:36 localhost kernel: sp_keyboard: Module "atkbd" is not loaded. Trying to load it. Sep 24 15:56:37 localhost ukm: ppp-pos2kkt-start-fg[7039]: PPP_IP_POS=192.168.253.1 Sep 24 15:56:37 localhost kernel: sp_keyboard: Module "atkbd" is loaded Sep 24 15:56:37 localhost ukm: /usr/local/ukmclient/ukmacr122ureader-stop.sh ==== BEGIN Sep 24 15:56:37 localhost ukm: ppp-pos2kkt-start-fg[7039]: PPP_IP_KKT=192.168.253.2 Sep 24 15:56:37 localhost kernel: sp_keyboard: Checking if "psmouse" module is loaded Sep 24 15:56:37 localhost ukm: /usr/local/ukmclient/ukmacr122ureader-stop.sh Killing ukmacr122ureader Sep 24 15:56:37 localhost ukm: ppp-pos2kkt-start-fg[7039]: FILE_PPP_CONF=/usr/local/ppp-pos2kkt/ppp-pos2kkt_ttyS0.conf Sep 24 15:56:37 localhost kernel: sp_keyboard: Module "psmouse" is not loaded. Trying to load it. Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: FILE_PPP_LOG=/var/log/ppp-pos_ttyS0.log Sep 24 15:56:38 localhost kernel: input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio1/input/input2 Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: FILE_PPP_WD_PID=/var/run/ppp-pos2kkt_ttyS0_wd.pid Sep 24 15:56:38 localhost kernel: sp_keyboard: Module "psmouse" is loaded Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: FILE_PPPD_PID=/var/run/ppp-pos2kkt_ttyS0.pid Sep 24 15:56:38 localhost kernel: sp_keyboard: -- device_release(result=0) end Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: FILE_PPP_START_INTERNAL=/usr/local/ppp-pos2kkt/ppp-pos2kkt-start-internal.sh Sep 24 15:56:38 localhost ukm: /usr/local/ukmclient/ukmacr122ureader-stop.sh ==== END Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: FILE_PPP_STOP_INTERNAL=/usr/local/ppp-pos2kkt/ppp-pos2kkt-stop-internal.sh Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: Device file /dev/ttyS0 found Sep 24 15:56:38 localhost ukm: /usr/local/ukmclient/keymap-load.sh --- begin --- Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: --- params_process() end Sep 24 15:56:38 localhost ukm: /usr/local/ukmclient/keymap-load.sh: use_ukm_key_map= Sep 24 15:56:38 localhost ukm: ppp-pos2kkt-start-fg[7039]: --- ppp_conf_create() begin Sep 24 15:56:39 localhost ukm: /usr/local/ukmclient/keymap-load.sh: Loading key map ruwin_ct_sh-UTF-8 Sep 24 15:56:39 localhost ukm: ppp-pos2kkt-start-fg[7039]: --- ppp_conf_create() end Sep 24 15:56:39 localhost ukm: /usr/local/ukmclient/keymap-load.sh: SUCCESS - Key map ruwin_ct_sh-UTF-8 loaded Sep 24 15:56:39 localhost ukm: ppp-pos2kkt-start-fg[7039]: --- ppp_start() begin Sep 24 15:56:39 localhost ukm: /usr/local/ukmclient/keymap-load.sh --- end --- Sep 24 15:56:39 localhost ukm: ppp-pos2kkt-start-fg[7039]: pppd - launching Sep 24 15:56:39 localhost pppd[7249]: pppd 2.4.5 started by root, uid 0 Sep 24 15:56:39 localhost chat[7254]: timeout set to 60 seconds Sep 24 15:56:39 localhost chat[7254]: expect (CLIENT) Sep 24 15:56:40 localhost ukm: /usr/local/ukmclient/ukmstop.sh: end Sep 24 15:56:40 localhost ukm: /etc/init.d/ukmclient: after /usr/local/ukmclient/ukmstop.sh Sep 24 15:56:40 localhost ukm: /etc/init.d/ukmclient: stop() end Sep 24 15:56:47 localhost chat[7254]: CLIENT Sep 24 15:56:47 localhost chat[7254]: -- got it Sep 24 15:56:47 localhost chat[7254]: send (CLIENTSERVER) Sep 24 15:56:47 localhost pppd[7249]: Serial connection established. Sep 24 15:56:47 localhost pppd[7249]: Using interface ppp0 Sep 24 15:56:47 localhost pppd[7249]: Connect: ppp0 <--> /dev/ttyS0 Sep 24 15:56:48 localhost pppd[7249]: Deflate (15) compression enabled Sep 24 15:56:48 localhost pppd[7249]: local IP address 192.168.253.1 Sep 24 15:56:48 localhost pppd[7249]: remote IP address 192.168.253.2 Sep 24 15:56:49 localhost mdev: /etc/mdev/catch-all: SEQNUM=1512 ACTION=add DEVPATH=/devices/virtual/net/ppp0 MDEV=ppp0 DEVTYPE= SUBSYSTEM=net MAJOR= MINOR= Sep 24 15:56:49 localhost mdev: /etc/mdev/catch-all: SEQNUM=1514 ACTION=add DEVPATH=/devices/virtual/net/ppp0/queues/tx-0 MDEV=tx-0 DEVTYPE= SUBSYSTEM=queues MAJOR= MINOR= Sep 24 15:56:49 localhost mdev: /etc/mdev/catch-all: SEQNUM=1513 ACTION=add DEVPATH=/devices/virtual/net/ppp0/queues/rx-0 MDEV=rx-0 DEVTYPE= SUBSYSTEM=queues MAJOR= MINOR= ======================================================== ukmclient stop end ======================================= 192.168.16.102#ifconfig eth0 Link encap:Ethernet HWaddr 00:07:32:24:2E:11 inet addr:192.168.16.102 Bcast:192.168.16.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:491179 errors:0 dropped:0 overruns:0 frame:0 TX packets:464113 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:95769909 (91.3 Mb) TX bytes:35509239 (33.8 Mb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:56211 errors:0 dropped:0 overruns:0 frame:0 TX packets:56211 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:43587161 (41.5 Mb) TX bytes:43587161 (41.5 Mb) ppp0 Link encap:Point-to-Point Protocol inet addr:192.168.253.1 P-t-P:192.168.253.2 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:31 errors:1 dropped:0 overruns:0 frame:0 TX packets:63 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:1606 (1.5 Kb) TX bytes:3268 (3.1 Kb) ======================================================== ukmclient stop end =========================================== 192.168.16.102#/usr/local/ppp-pos2kkt/ppp-pos2kkt-stop.sh 0 192.168.251.1 192.168.251.2 ======================================================== pos2kkt-stop =========================================== Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: ------ begin ------ Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: /usr/local/ppp-pos2kkt/ppp-utils.sh - loading ... Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: /usr/local/ppp-pos2kkt/ppp-utils.sh - loaded Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: --- params_process() begin Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: PARAM_COM_PORT_NUMBER=0 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: PARAM_IP_POS=192.168.251.1 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: PARAM_IP_KKT=192.168.251.2 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: -- params values: Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: PARAM_COM_PORT_NUMBER=0 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: COM_PORT=ttyS0 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: COM_PORT_DEVICE=/dev/ttyS0 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: PPP_IP_POS=192.168.251.1 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: PPP_IP_KKT=192.168.251.2 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: FILE_PPP_CONF=/usr/local/ppp-pos2kkt/ppp-pos2kkt_ttyS0.conf Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: FILE_PPP_LOG=/var/log/ppp-pos_ttyS0.log Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: FILE_PPP_WD_PID=/var/run/ppp-pos2kkt_ttyS0_wd.pid Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: FILE_PPPD_PID=/var/run/ppp-pos2kkt_ttyS0.pid Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: FILE_PPP_START_INTERNAL=/usr/local/ppp-pos2kkt/ppp-pos2kkt-start-internal.sh Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: FILE_PPP_STOP_INTERNAL=/usr/local/ppp-pos2kkt/ppp-pos2kkt-stop-internal.sh Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: Device file /dev/ttyS0 found Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: --- params_process() end Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop[7295]: /usr/local/ppp-pos2kkt/ppp-pos2kkt-stop-internal.sh - executing via sudo Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ------ begin ------ Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop-internal[7318]: /usr/local/ppp-pos2kkt/ppp-utils.sh - loading ... Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop-internal[7318]: /usr/local/ppp-pos2kkt/ppp-utils.sh - loaded Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop-internal[7318]: --- params_process() begin Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop-internal[7318]: PARAM_COM_PORT_NUMBER=0 Sep 24 15:59:39 localhost ukm: ppp-pos2kkt-stop-internal[7318]: PARAM_IP_POS=192.168.251.1 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: PARAM_IP_KKT=192.168.251.2 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: -- params values: Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: PARAM_COM_PORT_NUMBER=0 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: COM_PORT=ttyS0 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: COM_PORT_DEVICE=/dev/ttyS0 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: PPP_IP_POS=192.168.251.1 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: PPP_IP_KKT=192.168.251.2 Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: FILE_PPP_CONF=/usr/local/ppp-pos2kkt/ppp-pos2kkt_ttyS0.conf Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: FILE_PPP_LOG=/var/log/ppp-pos_ttyS0.log Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: FILE_PPP_WD_PID=/var/run/ppp-pos2kkt_ttyS0_wd.pid Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: FILE_PPPD_PID=/var/run/ppp-pos2kkt_ttyS0.pid Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: FILE_PPP_START_INTERNAL=/usr/local/ppp-pos2kkt/ppp-pos2kkt-start-internal.sh Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: FILE_PPP_STOP_INTERNAL=/usr/local/ppp-pos2kkt/ppp-pos2kkt-stop-internal.sh Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: Device file /dev/ttyS0 found Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: --- params_process() end Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: --- ppp_stop() begin Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ps_kill_from_pid_file() - looking for /var/run/ppp-pos2kkt_ttyS0_wd.pid Sep 24 15:59:40 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ps_kill_from_pid_file() - File /var/run/ppp-pos2kkt_ttyS0_wd.pid found Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ps_kill_from_pid_file() - pid to kill=4363 - stopping process Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ps_kill_from_pid_file() - looking for /var/run/ppp-pos2kkt_ttyS0.pid Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ps_kill_from_pid_file() - File /var/run/ppp-pos2kkt_ttyS0.pid found Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ps_kill_from_pid_file() - pid to kill=7249 - stopping process Sep 24 15:59:41 localhost pppd[7249]: Terminating on signal 15 Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-stop-internal[7318]: wait_for_com_port_release() begin --- Sep 24 15:59:41 localhost pppd[7249]: Connect time 2.9 minutes. Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-stop-internal[7318]: wait_for_com_port_release() /dev/ttyS0 - waiting for COM port device file release Sep 24 15:59:41 localhost pppd[7249]: Sent 11620 bytes, received 4440 bytes. Sep 24 15:59:41 localhost pppd[7249]: Connection terminated. Sep 24 15:59:41 localhost pppd[7249]: Exit. Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-start-fg[7039]: pppd - exited Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-start-fg[7039]: --- ppp_start() end Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-start-fg[7039]: ------ end ------ Sep 24 15:59:41 localhost ukm: ppp-pos2kkt-watchdog[4363]: stop_trap() - removing /var/run/ppp-pos2kkt_ttyS0_wd.pid Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-watchdog[4363]: --- end --- Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: wait_for_com_port_release() /dev/ttyS0 - SUCCESS port has been released (used attempts 1) Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: wait_for_com_port_release() end (func_result=0) --- Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ---- iptables_stop() begin Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: Clearing FORWARD chain Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: Clearing nat table Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ---- iptables_stop() end Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: --- ppp_stop() end Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop-internal[7318]: ------ end ------ Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop[7295]: /usr/local/ppp-pos2kkt/ppp-pos2kkt-stop-internal.sh - finished Sep 24 15:59:42 localhost ukm: ppp-pos2kkt-stop[7295]: ------ end ------ Sep 24 15:59:44 localhost mdev: /etc/mdev/catch-all: SEQNUM=1517 ACTION=remove DEVPATH=/devices/virtual/net/ppp0 MDEV=ppp0 DEVTYPE= SUBSYSTEM=net MAJOR= MINOR= Sep 24 15:59:44 localhost mdev: /etc/mdev/catch-all: SEQNUM=1515 ACTION=remove DEVPATH=/devices/virtual/net/ppp0/queues/rx-0 MDEV=rx-0 DEVTYPE= SUBSYSTEM=queues MAJOR= MINOR= Sep 24 15:59:44 localhost mdev: /etc/mdev/catch-all: SEQNUM=1516 ACTION=remove DEVPATH=/devices/virtual/net/ppp0/queues/tx-0 MDEV=tx-0 DEVTYPE= SUBSYSTEM=queues MAJOR= MINOR= ======================================================== pos2kkt-stop end ======================================= 192.168.16.102#ifconfig eth0 Link encap:Ethernet HWaddr 00:07:32:24:2E:11 inet addr:192.168.16.102 Bcast:192.168.16.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:491436 errors:0 dropped:0 overruns:0 frame:0 TX packets:464274 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:95788915 (91.3 Mb) TX bytes:35534425 (33.8 Mb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:56223 errors:0 dropped:0 overruns:0 frame:0 TX packets:56223 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:43587761 (41.5 Mb) TX bytes:43587761 (41.5 Mb)
Часовой пояс GMT +3, время: 21:09.

Форум на базе vBulletin®
Copyright © Jelsoft Enterprises Ltd.
В случае заимствования информации гипертекстовая индексируемая ссылка на Форум обязательна.