Журнал лабораторных работ

Содержание

Журнал

Четверг (10/25/12)

/dev/pts/24
16:24:45
#ejabberdctl register user linux7.unix.nt password
User user@linux7.unix.nt successfully registered
/dev/pts/23
16:24:54
#apt-get install fre
Display all 110 possibilities? (y or n)
16:24:54
#apt-get install freeta
freetable  freetalk
16:24:54
#apt-get install freeta
freetable  freetalk
16:24:54
#apt-get install freetalk
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  mysql-common libmysqlclient16
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  beep dict gawk guile-1.8 libmaa2 librecode0 recode urlview
Предлагаемые пакеты:
  dictd dict-server guile-1.8-doc ncftp2 lftp ncftp mimedecode
...
Настраивается пакет beep (1.2.2-24) ...
Настраивается пакет libmaa2 (1.2.0-1) ...
Настраивается пакет librecode0 (3.6-17) ...
Настраивается пакет recode (3.6-17) ...
Настраивается пакет dict (1.11.2+dfsg-3) ...
Настраивается пакет guile-1.8 (1.8.7+1-3) ...
update-alternatives: используется `/usr/bin/guile-1.8' для предоставления `/usr/bin/guile' (guile) в автоматический режим.
Настраивается пакет freetalk (3.2-6) ...
Настраивается пакет urlview (0.9-18.1) ...
Обрабатываются триггеры для menu ...
/dev/pts/24
16:24:54
#apt-get install fre
Display all 110 possibilities? (y or n)
16:24:54
#apt-get install freeta
freetable  freetalk
16:24:54
#apt-get install freeta
freetable  freetalk
16:24:54
#apt-get install freetalk
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  mysql-common libmysqlclient16
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  beep dict gawk guile-1.8 libmaa2 librecode0 recode urlview
Предлагаемые пакеты:
  dictd dict-server guile-1.8-doc ncftp2 lftp ncftp mimedecode
...
Настраивается пакет beep (1.2.2-24) ...
Настраивается пакет libmaa2 (1.2.0-1) ...
Настраивается пакет librecode0 (3.6-17) ...
Настраивается пакет recode (3.6-17) ...
Настраивается пакет dict (1.11.2+dfsg-3) ...
Настраивается пакет guile-1.8 (1.8.7+1-3) ...
update-alternatives: используется `/usr/bin/guile-1.8' для предоставления `/usr/bin/guile' (guile) в автоматический режим.
Настраивается пакет freetalk (3.2-6) ...
Настраивается пакет urlview (0.9-18.1) ...
Обрабатываются триггеры для menu ...
/dev/pts/23
16:27:15
#freetalk
Welcome to freetalk! Running for the first time?
Performing some one-time initializations ...
Loading dictionary [/usr/share/dict/words]... [98569] words
Jabber ID: user@linux7.unix.nt
Password:
Connecting ...
Could not connect.
~\/~
~\/~ ^C
/dev/pts/24
16:27:15
#freetalk
Welcome to freetalk! Running for the first time?
Performing some one-time initializations ...
Loading dictionary [/usr/share/dict/words]... [98569] words
Jabber ID: user@linux7.unix.nt
Password:
Connecting ...
Could not connect.
~\/~
~\/~ ^C
/dev/pts/23
16:28:07
#freetalk
Loading dictionary [/usr/share/dict/words]... [98569] words
Jabber ID: user@linux7.unix.nt
Password:
Connecting ...
Could not connect.
~\/~ ^C
/dev/pts/24
16:28:07
#freetalk
Loading dictionary [/usr/share/dict/words]... [98569] words
Jabber ID: user@linux7.unix.nt
Password:
Connecting ...
Could not connect.
~\/~ ^C
/dev/pts/23
16:28:33
#/etc/init.d/ejabberd restart
Restarting jabber server: ejabberd.
/dev/pts/24
16:28:33
#/etc/init.d/ejabberd restart
Restarting jabber server: ejabberd.
/dev/pts/23
16:29:42
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      19606/epmd
tcp        0      0 0.0.0.0:5269            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1963/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1951/sendmail: MTA:
tcp        0      0 0.0.0.0:5280            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 192.168.70.1:7777       0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1951/sendmail: MTA:
...
unix  2      [ ACC ]     STREAM     LISTENING     56541    20257/epiphany-brow /tmp/orbit-user/linc-4f21-0-77b051deeb612
unix  2      [ ACC ]     STREAM     LISTENING     1977     1455/Xorg           @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     4835     1429/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     6506     1457/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     4897     1491/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     4916     1501/bluetoothd     /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     9510     2023/x-session-mana @/tmp/.ICE-unix/2023
unix  2      [ ACC ]     STREAM     LISTENING     4965     1452/gdm-simple-sla @/tmp/gdm-greeter-IPWYQYoS
unix  2      [ ACC ]     STREAM     LISTENING     5011     1452/gdm-simple-sla @/tmp/gdm-session-jgsWvPTz
unix  2      [ ACC ]     STREAM     LISTENING     772      1664/asterisk       /var/run/asterisk/asterisk.ctl
/dev/pts/24
16:29:42
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      19606/epmd
tcp        0      0 0.0.0.0:5269            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1963/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1951/sendmail: MTA:
tcp        0      0 0.0.0.0:5280            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 192.168.70.1:7777       0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1951/sendmail: MTA:
...
unix  2      [ ACC ]     STREAM     LISTENING     56541    20257/epiphany-brow /tmp/orbit-user/linc-4f21-0-77b051deeb612
unix  2      [ ACC ]     STREAM     LISTENING     1977     1455/Xorg           @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     4835     1429/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     6506     1457/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     4897     1491/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     4916     1501/bluetoothd     /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     9510     2023/x-session-mana @/tmp/.ICE-unix/2023
unix  2      [ ACC ]     STREAM     LISTENING     4965     1452/gdm-simple-sla @/tmp/gdm-greeter-IPWYQYoS
unix  2      [ ACC ]     STREAM     LISTENING     5011     1452/gdm-simple-sla @/tmp/gdm-session-jgsWvPTz
unix  2      [ ACC ]     STREAM     LISTENING     772      1664/asterisk       /var/run/asterisk/asterisk.ctl
/dev/pts/23
16:29:46
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      19606/epmd
tcp        0      0 0.0.0.0:5269            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1963/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1951/sendmail: MTA:
tcp        0      0 0.0.0.0:5280            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 192.168.70.1:7777       0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1951/sendmail: MTA:
...
unix  2      [ ACC ]     STREAM     LISTENING     56541    20257/epiphany-brow /tmp/orbit-user/linc-4f21-0-77b051deeb612
unix  2      [ ACC ]     STREAM     LISTENING     1977     1455/Xorg           @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     4835     1429/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     6506     1457/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     4897     1491/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     4916     1501/bluetoothd     /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     9510     2023/x-session-mana @/tmp/.ICE-unix/2023
unix  2      [ ACC ]     STREAM     LISTENING     4965     1452/gdm-simple-sla @/tmp/gdm-greeter-IPWYQYoS
unix  2      [ ACC ]     STREAM     LISTENING     5011     1452/gdm-simple-sla @/tmp/gdm-session-jgsWvPTz
unix  2      [ ACC ]     STREAM     LISTENING     772      1664/asterisk       /var/run/asterisk/asterisk.ctl
/dev/pts/24
16:29:46
#netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      19606/epmd
tcp        0      0 0.0.0.0:5269            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1963/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1951/sendmail: MTA:
tcp        0      0 0.0.0.0:5280            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 192.168.70.1:7777       0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN      20838/beam
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1951/sendmail: MTA:
...
unix  2      [ ACC ]     STREAM     LISTENING     56541    20257/epiphany-brow /tmp/orbit-user/linc-4f21-0-77b051deeb612
unix  2      [ ACC ]     STREAM     LISTENING     1977     1455/Xorg           @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     4835     1429/dbus-daemon    /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     6506     1457/acpid          /var/run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     4897     1491/avahi-daemon:  /var/run/avahi-daemon/socket
unix  2      [ ACC ]     STREAM     LISTENING     4916     1501/bluetoothd     /var/run/sdp
unix  2      [ ACC ]     STREAM     LISTENING     9510     2023/x-session-mana @/tmp/.ICE-unix/2023
unix  2      [ ACC ]     STREAM     LISTENING     4965     1452/gdm-simple-sla @/tmp/gdm-greeter-IPWYQYoS
unix  2      [ ACC ]     STREAM     LISTENING     5011     1452/gdm-simple-sla @/tmp/gdm-session-jgsWvPTz
unix  2      [ ACC ]     STREAM     LISTENING     772      1664/asterisk       /var/run/asterisk/asterisk.ctl
/dev/pts/26
16:31:41
#apt-get install pidgin
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  mysql-common libmysqlclient16
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  libmeanwhile1 libpurple-bin libpurple0 libsilc-1.1-2 libsilcclient-1.1-3
  libzephyr4 pidgin-data
Предлагаемые пакеты:
...
Получено:3 http://192.168.15.254/debian/ squeeze/main libsilcclient-1.1-3 i386 1.1.10-2 [98,1 kB]
Получено:4 http://192.168.15.254/debian/ squeeze/main libzephyr4 i386 3.0-1 [32,2 kB]
Получено:5 http://security.debian.org/ squeeze/updates/main pidgin-data all 2.7.3-1+squeeze3 [8.402 kB]
Получено:6 http://security.debian.org/ squeeze/updates/main libpurple0 i386 2.7.3-1+squeeze3 [1.912 kB]
Получено:7 http://security.debian.org/ squeeze/updates/main libpurple-bin all 2.7.3-1+squeeze3 [107 kB]
Получено:8 http://security.debian.org/ squeeze/updates/main pidgin i386 2.7.3-1+squeeze3 [723 kB]
Получено 11,7 MБ за 59с (198 kБ/c)
Не удалось получить http://security.debian.org/pool/updates/main/p/pidgin/pidgin-data_2.7.3-1+squeeze3_all.deb  Не совпадает размер
Не удалось получить http://security.debian.org/pool/updates/main/p/pidgin/libpurple-bin_2.7.3-1+squeeze3_all.deb  Не совпадает размер
E: Невозможно получить некоторые архивы, вероятно надо запустить apt-get update или попытаться повторить запуск с ключом --fix-missing
16:37:26
#pi
pi1toppm    pic         piconv      ping        pinky
pi3topbm    pico        pidof       ping6       pivot_root
16:37:26
#pidof
Display all 123 possibilities? (y or n)
16:37:26
#apt-get install pidgin
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  mysql-common libmysqlclient16
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  libmeanwhile1 libpurple-bin libpurple0 libsilc-1.1-2 libsilcclient-1.1-3
  libzephyr4 pidgin-data
Предлагаемые пакеты:
...
Хотите продолжить [Д/н]? y
ВНИМАНИЕ: Следующие пакеты невозможно аутентифицировать!
  libmeanwhile1 libsilc-1.1-2 libsilcclient-1.1-3 libzephyr4
Установить эти пакеты без проверки [y/N]? y
Получено:1 http://security.debian.org/ squeeze/updates/main pidgin-data all 2.7.3-1+squeeze3 [8.402 kB]
Получено:2 http://security.debian.org/ squeeze/updates/main libpurple-bin all 2.7.3-1+squeeze3 [107 kB]
Получено 107 kБ за 0с (241 kБ/c)
Не удалось получить http://security.debian.org/pool/updates/main/p/pidgin/pidgin-data_2.7.3-1+squeeze3_all.deb  Не совпадает размер
Не удалось получить http://security.debian.org/pool/updates/main/p/pidgin/libpurple-bin_2.7.3-1+squeeze3_all.deb  Не совпадает размер
E: Невозможно получить некоторые архивы, вероятно надо запустить apt-get update или попытаться повторить запуск с ключом --fix-missing
16:37:55
#apt-get update
Получено:1 http://192.168.15.254 squeeze Release.gpg [1.672 B]
В кэше http://security.debian.org squeeze/updates Release.gpg
Игн http://security.debian.org/ squeeze/updates/contrib Translation-en
Игн http://192.168.15.254/debian/ squeeze/main Translation-en
Игн http://security.debian.org/ squeeze/updates/contrib Translation-ru
Игн http://security.debian.org/ squeeze/updates/main Translation-en
Игн http://security.debian.org/ squeeze/updates/main Translation-ru
Игн http://security.debian.org/ squeeze/updates/non-free Translation-en
Игн http://security.debian.org/ squeeze/updates/non-free Translation-ru
В кэше http://security.debian.org squeeze/updates Release
...
Получено:16 http://192.168.15.254 squeeze-updates/non-free Sources [20 B]
Игн http://192.168.15.254 squeeze-updates/main i386 Packages
Получено:17 http://192.168.15.254 squeeze-updates/contrib i386 Packages [20 B]
Получено:18 http://192.168.15.254 squeeze-updates/non-free i386 Packages [20 B]
Получено:19 http://192.168.15.254 squeeze-updates/main 2012-10-24-2010.43.pdiff [297 B]
Получено:20 http://192.168.15.254 squeeze-updates/main 2012-10-24-2010.43.pdiff [297 B]
Получено:21 http://192.168.15.254 squeeze-updates/main 2012-10-24-2010.43.pdiff [297 B]
Получено:22 http://192.168.15.254 squeeze-updates/main i386 Packages [4.431 B]
Получено 214 kБ за 4с (46,4 kБ/c)
Чтение списков пакетов... Готово
16:38:14
#apt-get install pidgin
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  mysql-common libmysqlclient16
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  libmeanwhile1 libpurple-bin libpurple0 libsilc-1.1-2 libsilcclient-1.1-3
  libzephyr4 pidgin-data
Предлагаемые пакеты:
...
Обрабатываются триггеры для gconf2 ...
Настраивается пакет libmeanwhile1 (1.0.2-3) ...
Настраивается пакет pidgin-data (2.7.3-1+squeeze3) ...
Настраивается пакет libsilc-1.1-2 (1.1.10-2) ...
Настраивается пакет libsilcclient-1.1-3 (1.1.10-2) ...
Настраивается пакет libzephyr4 (3.0-1) ...
Настраивается пакет libpurple0 (2.7.3-1+squeeze3) ...
Настраивается пакет libpurple-bin (2.7.3-1+squeeze3) ...
Настраивается пакет pidgin (2.7.3-1+squeeze3) ...
Обрабатываются триггеры для menu ...
16:38:41
#pi
pi1toppm    pic         piconv      pidof       ping6       pivot_root
pi3topbm    pico        pidgin      ping        pinky

Пятница (10/26/12)

/dev/pts/2
08:46:12
#asterisk -rvvvv
Asterisk 1.6.2.9-2+squeeze8, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze8 currently running on linux7 (pid = 1988)
...
    -- Called 2201
    -- SIP/2201-0000001c is ringing
    -- SIP/2201-0000001c answered SIP/2202-0000001b
  == Spawn extension (gr3, 2201, 5) exited non-zero on 'SIP/2202-0000001b'
    -- Remote UNIX connection
Executing last minute cleanups
  == Destroying musiconhold processes
linux7*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/1
08:46:34
#/etc/init.d/ejabberd restart
Restarting jabber server: ejabberd.
08:47:59
#фÐфÑapt-get install sendxmpp
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Следующие пакеты устанавливались автоматически и больше не требуются:
  mysql-common libmysqlclient16
Для их удаления используйте 'apt-get autoremove'.
Будут установлены следующие дополнительные пакеты:
  libauthen-sasl-perl libdigest-sha1-perl libio-socket-ssl-perl libnet-libidn-perl libnet-ssleay-perl
  libnet-xmpp-perl libxml-stream-perl
Предлагаемые пакеты:
...
Распаковывается пакет sendxmpp (из файла .../sendxmpp_1.20-1_all.deb)...
Обрабатываются триггеры для man-db ...
Настраивается пакет libauthen-sasl-perl (2.1500-1) ...
Настраивается пакет libdigest-sha1-perl (2.13-1) ...
Настраивается пакет libnet-ssleay-perl (1.36-1) ...
Настраивается пакет libio-socket-ssl-perl (1.33-1+squeeze1) ...
Настраивается пакет libnet-libidn-perl (0.12.ds-1+b1) ...
Настраивается пакет libxml-stream-perl (1.23-1) ...
Настраивается пакет libnet-xmpp-perl (1.02-1) ...
Настраивается пакет sendxmpp (1.20-1) ...
прошло 14 минут
09:02:31
#echo 'asterisk@linux7.unix.nt password' > /var/lib/asterisk/.sendxmpprc

09:07:23
#chown root:root /var/lib/asterisk/.sendxmpprc

09:08:02
#ej
ejabberd     ejabberdctl  eject
09:08:02
#ej
ejabberd     ejabberdctl  eject
09:08:02
#ejabberd register asterisk linux7.unix.nt password
1.call                                      .local/
asterisk-core-sounds-ru-gsm-current.tar.gz  man-bash
.bash_history                               man-bash.wav
.bash_logout                                .mc/
.bash_profile                               .nautilus/
.bashrc                                     .profile
.config/                                    .purple/
.dbus/                                      .recently-used.xbel
.fontconfig/                                .ssh/
.freetalk/                                  tes.wav
.gconf/                                     .update-notifier/
.gconfd/                                    .xsession-errors
.gksu.lock                                  .xsession-errors.old
.gnome2/                                    Видео/
.gnupg/                                     Документы/
.gstreamer-0.10/                            Загрузки/
.gtk-bookmarks                              Изображения/
.gvfs/                                      Музыка/
.ICEauthority                               Общедоступные/
.l3rc                                       Рабочий стол/
.lilalo/                                    Шаблоны/
09:08:02
#ejabberd register asterisk linux7.unix.nt password
1.call                                      .local/
asterisk-core-sounds-ru-gsm-current.tar.gz  man-bash
.bash_history                               man-bash.wav
.bash_logout                                .mc/
.bash_profile                               .nautilus/
.bashrc                                     .profile
.config/                                    .purple/
.dbus/                                      .recently-used.xbel
.fontconfig/                                .ssh/
.freetalk/                                  tes.wav
.gconf/                                     .update-notifier/
.gconfd/                                    .xsession-errors
.gksu.lock                                  .xsession-errors.old
.gnome2/                                    Видео/
.gnupg/                                     Документы/
.gstreamer-0.10/                            Загрузки/
.gtk-bookmarks                              Изображения/
.gvfs/                                      Музыка/
.ICEauthority                               Общедоступные/
.l3rc                                       Рабочий стол/
.lilalo/                                    Шаблоны/
09:08:02
#ejabberd register asterisk linux7.unix.nt password
{error_logger,{{2012,10,26},{10,9,15}},"Protocol: ~p: register error: ~p~n",["inet_tcp",{{badmatch,{error,duplicate_name}},[{inet_tcp_dist,listen,1},{net_kernel,start_protos,4},{net_kernel,start_protos,3},{net_kernel,init_node,2},{net_kernel,init,1},{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}]}
{error_logger,{{2012,10,26},{10,9,15}},crash_report,[[{initial_call,{net_kernel,init,['Argument__1']}},{pid,<0.20.0>},{registered_name,[]},{error_info,{exit,{error,badarg},[{gen_server,init_it,6},{proc_lib,init_p_do_apply,3}]}},{ancestors,[net_sup,kernel_sup,<0.9.0>]},{messages,[]},{links,[#Port<0.105>,<0.17.0>]},{dictionary,[{longnames,false}]},{trap_exit,true},{status,running},{heap_size,233},{s
{error_logger,{{2012,10,26},{10,9,15}},supervisor_report,[{supervisor,{local,net_sup}},{errorContext,start_error},{reason,{'EXIT',nodistribution}},{offender,[{pid,undefined},{name,net_kernel},{mfargs,{net_kernel,start_link,[[ejabberd,shortnames]]}},{restart_type,permanent},{shutdown,2000},{child_type,worker}]}]}
{error_logger,{{2012,10,26},{10,9,15}},supervisor_report,[{supervisor,{local,kernel_sup}},{errorContext,start_error},{reason,shutdown},{offender,[{pid,undefined},{name,net_sup},{mfargs,{erl_distribution,start_link,[]}},{restart_type,permanent},{shutdown,infinity},{child_type,supervisor}]}]}
{error_logger,{{2012,10,26},{10,9,15}},std_info,[{application,kernel},{exited,{shutdown,{kernel,start,[normal,[]]}}},{type,permanent}]}
{"Kernel pid terminated",application_controller,"{application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}}"}
Crash dump was written to: /var/log/ejabberd/erl_crash.dump
Kernel pid terminated (application_controller) ({application_start_failure,kernel,{shutdown,{kernel,start,[normal,[]]}}})
09:09:16
#ejabberdctl register asterisk linux7.unix.nt password
User asterisk@linux7.unix.nt successfully registered
09:10:33
#echo message | sendxmpp -f /var/lib/asterisk/.sendxmpprc user@linux9.unix.nt

09:11:10
#cat /var/lib/as
aspell/   asterisk/
09:11:10
#cat /var/lib/as
aspell/   asterisk/
09:11:10
#cat /var/lib/asterisk/.sendxmpprc
asterisk@linux7.unix.nt password
09:12:22
#echo message | sendxmpp -f /var/lib/asterisk/.sendxmpprc user@linux7.unix.nt

09:12:27
#echo message | sendxmpp -f /var/lib/asterisk/.sendxmpprc user@linux7.unix.nt

09:12:53
#vim /etc/asterisk/ext
--- /tmp/l3-saved-2496.31738.4135	2012-10-26 10:14:49.400171250 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:18:10.064168563 +0300
@@ -47,6 +47,8 @@
 exten => _22XX,1,Answer
 exten => _22XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")})
 exten => _22XX,n,Monitor(wav,${CALLFILENAME},m)
+;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}))
+exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp user@linux7.unix.nt}))
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
 ;exten => _22XX,n,Voicemail(${EXTEN}@default)
 exten => 2288,1,Queue(que1)
09:12:53
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2496.30398.28429	2012-10-26 10:21:56.596165528 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:22:38.252164970 +0300
@@ -48,7 +48,7 @@
 exten => _22XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")})
 exten => _22XX,n,Monitor(wav,${CALLFILENAME},m)
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}))
-exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp user@linux7.unix.nt}))
+exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp user@linux7.unix.nt))
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
 ;exten => _22XX,n,Voicemail(${EXTEN}@default)
 exten => 2288,1,Queue(que1)
09:18:10
#cat burunduki.txt |text2wave -eval '(voice_msu_ru_nsh_clunits)'

09:18:10
#/etc/init.d/ejabberd restart
                    chown asterisk:asterisk /var/lib/asterisk/.sendxmpprc
09:25:02
#vim /etc/asterisk/extensions.conf
09:28:15
#ls l /var/lib/as
aspell/   asterisk/
09:28:15
#ls l /var/lib/as
aspell/   asterisk/
09:28:15
#ls l /var/lib/as
aspell/   asterisk/
09:28:15
#ls l /var/lib/as
aspell/   asterisk/
09:28:15
#ls l /var/lib/asterisk/
astdb        moh/         .sendxmpprc  sounds/      sqlite.db
09:28:15
#ls l /var/lib/asterisk/
astdb        moh/         .sendxmpprc  sounds/      sqlite.db
09:28:15
#ls l /var/lib/asterisk/.sendxmpprc
ls: невозможно получить доступ к l: Нет такого файла или каталога
/var/lib/asterisk/.sendxmpprc
09:29:47
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2496.22054.2481	2012-10-26 10:30:26.688158694 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:31:23.408157934 +0300
@@ -48,8 +48,9 @@
 exten => _22XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")})
 exten => _22XX,n,Monitor(wav,${CALLFILENAME},m)
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}))
-exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
+;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
+exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
 ;exten => _22XX,n,Voicemail(${EXTEN}@default)
 exten => 2288,1,Queue(que1)
 
09:31:23
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2496.30158.24909	2012-10-26 10:32:13.404157263 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:32:53.384156729 +0300
@@ -50,7 +50,7 @@
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}))
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
-exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
+exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp -f user@linux7.unix.nt)
 ;exten => _22XX,n,Voicemail(${EXTEN}@default)
 exten => 2288,1,Queue(que1)
 
прошло 10 минут
09:42:01
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2496.7814.6361	2012-10-26 10:48:21.200144298 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:50:05.764142896 +0300
@@ -47,7 +47,7 @@
 exten => _22XX,1,Answer
 exten => _22XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")})
 exten => _22XX,n,Monitor(wav,${CALLFILENAME},m)
-;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}))
+;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}),5)
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
 exten => _22XX,n,System(/usr/local/bin/asterisk2xmpp ${CALLERID(num)} ${EXTEN} ${DB(jid/${EXTEN})})
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
09:50:05
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2496.29033.11035	2012-10-26 10:50:35.568142498 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:51:21.372141883 +0300
@@ -49,7 +49,7 @@
 exten => _22XX,n,Monitor(wav,${CALLFILENAME},m)
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}),5)
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
-exten => _22XX,n,System(/usr/local/bin/asterisk2xmpp ${CALLERID(num)} ${EXTEN} ${DB(jid/${EXTEN})})
+exten => _22XX,n,System(/usr/local/bin/asterisk2xmpp ${CALLERID(num)} ${EXTEN} ${DB(jid/${EXTEN})},5)
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
 ;exten => _22XX,n,Voicemail(${EXTEN}@default)
 exten => 2288,1,Queue(que1)
09:51:21
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2496.12259.786	2012-10-26 10:51:44.256141578 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 10:52:12.836141195 +0300
@@ -47,9 +47,9 @@
 exten => _22XX,1,Answer
 exten => _22XX,n,Set(CALLFILENAME=${EXTEN}-${STRFTIME(${EPOCH},Europe/Kiev,"%Y-%m-%d-%H:%M:%S")})
 exten => _22XX,n,Monitor(wav,${CALLFILENAME},m)
-;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}),5)
+;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendmxpp ${DB(jid/${EXTEN})}))
 ;exten => _22XX,n,System(echo zvonok ot ${CALLERID(num)} na ${EXTEN}|sendxmpp user@linux7.unix.nt)
-exten => _22XX,n,System(/usr/local/bin/asterisk2xmpp ${CALLERID(num)} ${EXTEN} ${DB(jid/${EXTEN})},5)
+exten => _22XX,n,System(/usr/local/bin/asterisk2xmpp ${CALLERID(num)} ${EXTEN} ${DB(jid/${EXTEN})})
 exten => _22XX,n,Dial(SIP/${EXTEN},20,tTWwKk)
 ;exten => _22XX,n,Voicemail(${EXTEN}@default)
 exten => 2288,1,Queue(que1)
09:52:33
#top | grep vim

09:52:41
#htop
bash: htop: команда не найдена
09:52:45
#top
top - 10:52:48 up  1:14,  4 users,  load average: 0.09, 0.06, 0.07
Tasks: 145 total,   1 running, 144 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.5%us,  0.1%sy,  0.0%ni, 98.9%id,  0.6%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  16519544k total,   710604k used, 15808940k free,   113992k buffers
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
Swap:  9764860k total,        0k used,  9764860k free,   396844k cached
 1515 root      20   0 75252  19m 9604 S    8  0.1   0:59.44 Xorg
    1 root      20   0  2084  700  604 S    0  0.0   0:01.54 init
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd
    3 root      20   0     0    0    0 S    0  0.0   0:00.02 ksoftirqd/0
...
  196 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_5
  200 root      20   0     0    0    0 S    0  0.0   0:00.09 kworker/u:4
  201 root      20   0     0    0    0 S    0  0.0   0:00.16 kworker/u:5
  203 root      20   0     0    0    0 S    0  0.0   0:00.25 kworker/3:1
  249 root      20   0     0    0    0 S    0  0.0   0:00.06 jbd2/sda2-8
  250 root       0 -20     0    0    0 S    0  0.0   0:00.00 ext4-dio-unwrit
  331 root      16  -4  2720 1172  416 S    0  0.0   0:00.03 udevd
  501 root       0 -20     0    0    0 S    0  0.0   0:00.00 kpsmoused
  587 root       0 -20     0    0    0 S    0  0.0   0:00.00 hd-audio0
  594 root      20   0     0    0    0 S    0  0.0   0:00.02 flush-8:0
09:52:52
#killall -9 vim
vim: процесс не найден
09:52:59
#lspsi
bash: lspsi: команда не найдена
09:53:15
#lspsi
bash: lspsi: команда не найдена
09:53:19
#ls
ls           lsb_release  lsdahdi      lsmod        lspci        lsusb
lsattr       lscpu        lsinitramfs  lsof         lspgpot
09:53:19
#ls
ls           lsb_release  lsdahdi      lsmod        lspci        lsusb
lsattr       lscpu        lsinitramfs  lsof         lspgpot
09:53:19
#ls
ls           lsb_release  lsdahdi      lsmod        lspci        lsusb
lsattr       lscpu        lsinitramfs  lsof         lspgpot
09:53:19
#lsp
lspci    lspgpot
09:53:19
#lsp
lspci    lspgpot
09:53:19
#lsp
lspci    lspgpot
09:53:19
#lsp
lspci    lspgpot
09:53:19
#lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation Cougar Point KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b4)
00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b4)
00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b4)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04)
02:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
03:08.0 Ethernet controller: Digium, Inc. Wildcard TE121 single-span T1/E1/J1 card (PCI-Express) (rev 11)
09:53:24
#find /sys -name \*03:08.0\*
/sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:08.0
/sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:08.0/pci:0000:03:08.0
/sys/bus/pci/devices/0000:03:08.0
/sys/bus/pci/drivers/wcte12xp/0000:03:08.0
/sys/bus/dahdi_devices/devices/pci:0000:03:08.0
09:57:12
#modinfo wcte12xp | head
filename:       /lib/modules/3.2.0-0.bpo.3-686-pae/dahdi/wcte12xp/wcte12xp.ko
license:        GPL v2
author:         Digium Incorporated <support@digium.com>
description:    Wildcard VoiceBus Digital Card Driver
alias:          pci:v0000D161d00008001sv*sd*bc*sc*i*
alias:          pci:v0000D161d00008000sv*sd*bc*sc*i*
alias:          pci:v0000D161d00000120sv*sd*bc*sc*i*
depends:        dahdi_voicebus,dahdi
vermagic:       3.2.0-0.bpo.3-686-pae SMP mod_unload modversions 686
parm:           debug:int
09:59:07
#ls -l /lib/modules/3.2.0-0.bpo.3-686-pae/dahdi/wcte12xp/wcte12xp.ko
-rw-r--r-- 1 root root 291099 Окт 25 10:12 /lib/modules/3.2.0-0.bpo.3-686-pae/dahdi/wcte12xp/wcte12xp.ko
10:00:40
#d
Display all 184 possibilities? (y or n)
10:00:40
#cat /etc/d
dahdi/                  default/                dhcp3/                  discover-modprobe.conf
dbus-1/                 defoma/                 dictd/                  dpkg/
debconf.conf            deluser.conf            dictionaries-common/
debian_version          dhcp/                   discover.conf.d/
10:00:40
#cat /etc/d
dahdi/                  default/                dhcp3/                  discover-modprobe.conf
dbus-1/                 defoma/                 dictd/                  dpkg/
debconf.conf            deluser.conf            dictionaries-common/
debian_version          dhcp/                   discover.conf.d/
10:00:40
#cat /etc/dahdi/system.conf
#
# DAHDI Configuration File
#
# This file is parsed by the DAHDI Configurator, dahdi_cfg
#
# Span Configuration
# ^^^^^^^^^^^^^^^^^^
# First come the span definitions, in the format
#
#   span=<span num>,<timing source>,<line build out (LBO)>,<framing>,<coding>[,yellow]
...
# To configure the default echo cancellers, use the format:
# echocanceller=<echocanceller name>,<channel(s)>
#
# Example:
# Configure channels 1 through 8 to use the mg2 echo canceller
#echocanceller=mg2,1-8
#
# And change channel 2 to use the kb1 echo canceller.
#echocanceller=kb1,2
#
10:05:09
#:q
bash: :q: команда не найдена
10:05:16
#"q
>
>
> ^C
10:05:22
#^C

10:05:22
#^C

10:05:22
#"q
                    :q
                    "q
                    "q
                    :q
                    cat /etc/dahdi/
genconf_parameters  init.conf           modules             system.conf         xpp.conf
10:05:22
#dahdi_genconf

10:05:43
#"q
                    :q
                    cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Oct 26 11:05:43 2012
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER)
span=1,1,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=mg2,1-15,17-31
# Global data
loadzone        = us
defaultzone     = us
10:05:45
#init 0

прошло 34 минуты
/dev/pts/0
10:39:51
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze8, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze8 currently running on linux7 (pid = 1664)
Verbosity was 0 and is now 3
    -- Remote UNIX connection
Executing last minute cleanups
  == Destroying musiconhold processes
linux7*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
/dev/pts/3
10:41:52
#vim /etc/d
10:41:52
#vim /etc/dahdi/system.conf
--- /tmp/l3-saved-2278.23153.17392	2012-10-26 11:43:44.103981162 +0300
+++ /etc/dahdi/system.conf	2012-10-26 11:45:56.723979387 +0300
@@ -6,7 +6,7 @@
 # This file is parsed by the Dahdi Configurator, dahdi_cfg
 #
 # Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER) 
-span=1,1,0,ccs,hdb3,crc4
+span=1,0,0,ccs,hdb3,crc4
 # termtype: te
 bchan=1-15,17-31
 dchan=16
@@ -16,3 +16,5 @@
 
 loadzone	= us
 defaultzone	= us
+
+
10:45:56
#dahdi_cfg -v
DAHDI Tools Version - 2.6.1
DAHDI Version: 2.6.1
Echo Canceller(s): HWEC, MG2
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
31 channels to configure.
Setting echocan for channel 1 to mg2
Setting echocan for channel 2 to mg2
Setting echocan for channel 3 to mg2
...
Setting echocan for channel 22 to mg2
Setting echocan for channel 23 to mg2
Setting echocan for channel 24 to mg2
Setting echocan for channel 25 to mg2
Setting echocan for channel 26 to mg2
Setting echocan for channel 27 to mg2
Setting echocan for channel 28 to mg2
Setting echocan for channel 29 to mg2
Setting echocan for channel 30 to mg2
Setting echocan for channel 31 to mg2
прошла 21 минута
11:06:56
#vim /etc/asterisk/extensions.conf
--- /tmp/l3-saved-2278.2947.19299	2012-10-26 12:10:16.727959826 +0300
+++ /etc/asterisk/extensions.conf	2012-10-26 12:14:08.503956721 +0300
@@ -57,6 +57,12 @@
 include => parkedcalls
 
 [national]
+
+;-----------------------------------------
+;exten => _2[12]XX,1,Dial(DAHDI/G1/${EXTEN})
+;----------------------------------------
+
+
 exten => _21XX,1,Dial(SIP/manchester/${EXTEN})
 
 [international]
@@ -174,3 +180,9 @@
 include => local
 include => national
 include => international
+
+[incoming]
+include => local
+include => national
+include => international
+
/dev/pts/0
11:06:56
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze8, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
  == Parsing '/etc/asterisk/extconfig.conf':   == Found
Connected to Asterisk 1.6.2.9-2+squeeze8 currently running on linux7 (pid = 2415)
...
[Oct 26 12:28:48] NOTICE[2452]: chan_sip.c:18480 handle_response_peerpoke: Peer '2202' is now Reachable. (7ms / 2000ms)
    -- Unregistered SIP '2202'
    -- Registered SIP '2202' at 192.168.70.100 port 5060
[Oct 26 13:36:23] NOTICE[2452]: chan_sip.c:18480 handle_response_peerpoke: Peer '2202' is now Reachable. (6ms / 2000ms)
    -- Remote UNIX connection
Executing last minute cleanups
  == Destroying musiconhold processes
linux7*CLI>
Disconnected from Asterisk server
Executing last minute cleanups
прошло 12 минут
/dev/pts/3
11:19:47
#scp 192.168.90.1:/etc/asterisk/chan_dahdi.conf /etc/asterisk/chan_dahdi.conf
root@192.168.90.1's password:
Permission denied, please try again.
root@192.168.90.1's password:
chan_dahdi.conf                                                                    100%   46KB  45.9KB/s   00:00
/dev/pts/6
11:21:11
#ls pci
ls: невозможно получить доступ к pci: Нет такого файла или каталога
11:21:25
#lspci
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation Cougar Point KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 5 (rev b4)
00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b4)
00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b4)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation 82801 SATA RAID Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04)
02:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
03:08.0 Ethernet controller: Digium, Inc. Wildcard TE121 single-span T1/E1/J1 card (PCI-Express) (rev 11)
11:21:31
#find /sys -name "*03:08"

11:22:59
#find /sys -name "*03:08*"
/sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:08.0
/sys/devices/pci0000:00/0000:00:1c.4/0000:02:00.0/0000:03:08.0/pci:0000:03:08.0
/sys/bus/pci/devices/0000:03:08.0
/sys/bus/pci/drivers/wcte12xp/0000:03:08.0
/sys/bus/dahdi_devices/devices/pci:0000:03:08.0
11:23:19
#modinfo
Usage: modinfo [-0][-F field][-k kernelversion][-b basedir]  module...
 Prints out the information about one or more module(s).
 If a fieldname is given, just print out that field (or nothing if not found).
 Otherwise, print all information out in a readable form
 If -0 is given, separate with nul, not newline.
 If -b is given, use an image of the module tree.

Файлы

  • /etc/d
  • /etc/dahdi/system.conf
  • /var/lib/as
  • /var/lib/asterisk/.sendxmpprc
  • /etc/d
    >
    dahdi/                  default/                dhcp3/                  discover-modprobe.conf
    dbus-1/                 defoma/                 dictd/                  dpkg/
    debconf.conf            deluser.conf            dictionaries-common/
    debian_version          dhcp/                   discover.conf.d/
    
    /etc/dahdi/system.conf
    >
    #
    # DAHDI Configuration File
    #
    # This file is parsed by the DAHDI Configurator, dahdi_cfg
    #
    # Span Configuration
    # ^^^^^^^^^^^^^^^^^^
    # First come the span definitions, in the format
    #
    #   span=<span num>,<timing source>,<line build out (LBO)>,<framing>,<coding>[,yellow]
    #
    # All T1/E1/BRI spans generate a clock signal on their transmit side. The
    # <timing source> parameter determines whether the clock signal from the far
    # end of the T1/E1/BRI is used as the master source of clock timing. If it is, our
    # own clock will synchronise to it. T1/E1/BRI connected directly or indirectly to
    # a PSTN provider (telco) should generally be the first choice to sync to. The
    # PSTN will never be a slave to you. You must be a slave to it.
    #
    # Choose 1 to make the equipment at the far end of the E1/T1/BRI link the preferred
    # source of the master clock. Choose 2 to make it the second choice for the master
    # clock, if the first choice port fails (the far end dies, a cable breaks, or
    # whatever). Choose 3 to make a port the third choice, and so on. If you have, say,
    # 2 ports connected to the PSTN, mark those as 1 and 2. The number used for each
    # port should be different.
    #
    # If you choose 0, the port will never be used as a source of timing. This is
    # appropriate when you know the far end should always be a slave to you. If
    # the port is connected to a channel bank, for example, you should always be
    # its master. Likewise, BRI TE ports should always be configured as a slave.
    # Any number of ports can be marked as 0.
    #
    # Incorrect timing sync may cause clicks/noise in the audio, poor quality or failed
    # faxes, unreliable modem operation, and is a general all round bad thing.
    #
    # NOTE: The B410P card cannot reliably connect one of its four ports
    # configured in TE mode to another one configured in NT mode. It will not
    # reliably sync clock from itself. Please use another physical card and
    # configure one to provide clock and one to recover clock in any B410P test
    # environments.
    #
    # The line build-out (or LBO) is an integer, from the following table:
    #
    #  0: 0 db (CSU) / 0-133 feet (DSX-1)
    #  1: 133-266 feet (DSX-1)
    #  2: 266-399 feet (DSX-1)
    #  3: 399-533 feet (DSX-1)
    #  4: 533-655 feet (DSX-1)
    #  5: -7.5db (CSU)
    #  6: -15db (CSU)
    #  7: -22.5db (CSU)
    #
    # If the span is a BRI port the line build-out is not used and should be set
    # to 0.
    #
    # framing::
    #   one of 'd4' or 'esf' for T1 or 'cas' or 'ccs' for E1. Use 'ccs' for BRI.
    #  'd4' could be referred to as 'sf' or 'superframe'
    #
    # coding::
    #   one of 'ami' or 'b8zs' for T1 or 'ami' or 'hdb3' for E1. Use 'ami' for
    #   BRI.
    #
    #   * For E1 there is the optional keyword 'crc4' to enable CRC4 checking.
    #   * If the keyword 'yellow' follows, yellow alarm is transmitted when no
    #     channels are open.
    #
    #span=1,0,0,esf,b8zs
    #span=2,1,0,esf,b8zs
    #span=3,0,0,ccs,hdb3,crc4
    #
    # Dynamic Spans
    # ^^^^^^^^^^^^^
    # Next come the dynamic span definitions, in the form:
    #
    #   dynamic=<driver>,<address>,<numchans>,<timing>
    #
    # Where <driver> is the name of the driver (e.g. eth), <address> is the
    # driver specific address (like a MAC for eth), <numchans> is the number
    # of channels, and <timing> is a timing priority, like for a normal span.
    # use "0" to not use this as a timing source, or prioritize them as
    # primary, secondard, etc.  Note that you MUST have a REAL DAHDI device
    # if you are not using external timing.
    #
    #   dynamic=eth,eth0/00:02:b3:35:43:9c,24,0
    #
    # If a non-zero timing value is used, as above, only the last span should
    # have the non-zero value.
    #
    # Channel Configuration
    # ^^^^^^^^^^^^^^^^^^^^^
    # Next come the definitions for using the channels.  The format is:
    # <device>=<channel list>
    #
    # Valid devices are:
    #
    # e&m::
    #   Channel(s) are signalled using E&M signalling on a T1 line.
    #   Specific implementation, such as Immediate, Wink, or Feature
    #   Group D are handled by the userspace library.
    # e&me1::
    #   Channel(s) are signalled using E&M signalling on an E1 line.
    # fxsls::
    #   Channel(s) are signalled using FXS Loopstart protocol.
    # fxsgs::
    #   Channel(s) are signalled using FXS Groundstart protocol.
    # fxsks::
    #   Channel(s) are signalled using FXS Koolstart protocol.
    # fxols::
    #   Channel(s) are signalled using FXO Loopstart protocol.
    # fxogs::
    #   Channel(s) are signalled using FXO Groundstart protocol.
    # fxoks::
    #   Channel(s) are signalled using FXO Koolstart protocol.
    # sf::
    #   Channel(s) are signalled using in-band single freq tone.
    #   Syntax as follows:
    #
    #     channel# => sf:<rxfreq>,<rxbw>,<rxflag>,<txfreq>,<txlevel>,<txflag>
    #
    #   rxfreq is rx tone freq in Hz, rxbw is rx notch (and decode)
    #   bandwith in hz (typically 10.0), rxflag is either 'normal' or
    #   'inverted', txfreq is tx tone freq in hz, txlevel is tx tone
    #   level in dbm, txflag is either 'normal' or 'inverted'. Set
    #   rxfreq or txfreq to 0.0 if that tone is not desired.
    #
    # unused::
    #   No signalling is performed, each channel in the list remains idle
    # clear::
    #   Channel(s) are bundled into a single span.  No conversion or
    #   signalling is performed, and raw data is available on the master.
    # bchan::
    #   Like 'clear' except all channels are treated individually and
    #   are not bundled.  'inclear' is an alias for this.
    # rawhdlc::
    #   The DAHDI driver performs HDLC encoding and decoding on the
    #   bundle, and the resulting data is communicated via the master
    #   device.
    # dchan::
    #   The DAHDI driver performs HDLC encoding and decoding on the
    #   bundle and also performs incoming and outgoing FCS insertion
    #   and verification.  'fcshdlc' is an alias for this.
    # hardhdlc::
    #   The hardware driver performs HDLC encoding and decoding on the
    #   bundle and also performs incoming and outgoing FCS insertion
    #   and verification.  Is subject to limitations and support of underlying
    #   hardware. BRI spans serviced by the wcb4xxp driver must use hardhdlc
    #   channels for the signalling channels.
    # nethdlc::
    #   The DAHDI driver bundles the channels together into an
    #   hdlc network device, which in turn can be configured with
    #   sethdlc (available separately). In 2.6.x kernels you can also optionally
    #   pass the name for the network interface after the channel list.
    #   Syntax:
    #
    #     nethdlc=<channel list>[:interface name]
    #   Use original names, don't use the names which have been already registered
    #   in system e.g eth.
    #
    # dacs::
    #   The DAHDI driver cross connects the channels starting at
    #   the channel number listed at the end, after a colon
    # dacsrbs::
    #   The DAHDI driver cross connects the channels starting at
    #   the channel number listed at the end, after a colon and
    #   also performs the DACSing of RBS bits
    #
    # The channel list is a comma-separated list of channels or ranges, for
    # example:
    #
    #   1,3,5 (channels one, three, and five)
    #   16-23, 29 (channels 16 through 23, as well as channel 29)
    #
    # So, some complete examples are:
    #
    #   e&m=1-12
    #   nethdlc=13-24
    #   fxsls=25,26,27,28
    #   fxols=29-32
    #
    # An example of BRI port:
    #
    #   span=1,1,0,ccs,ami
    #   bchan=1,2
    #   hardhdlc=3
    #
    # NOTE: When using BRI channels in asterisk, use the bri_cpe, bri_net, or
    # bri_cpe_ptmp (for point to multipoint mode). libpri does not currently
    # support point to multipoint when in NT mode. Otherwise, the bearer channel
    # are configured identically to other DAHDI channels.
    #
    #fxoks=1-24
    #bchan=25-47
    #dchan=48
    #fxols=1-12
    #fxols=13-24
    #e&m=25-29
    #nethdlc=30-33
    #clear=44
    #clear=45
    #clear=46
    #clear=47
    #fcshdlc=48
    #dacs=1-24:48
    #dacsrbs=1-24:48
    #
    # Tone Zone Data
    # ^^^^^^^^^^^^^^
    # Finally, you can preload some tone zones, to prevent them from getting
    # overwritten by other users (if you allow non-root users to open /dev/dahdi/*
    # interfaces anyway.  Also this means they won't have to be loaded at runtime.
    # The format is "loadzone=<zone>" where the zone is a two letter country code.
    #
    # You may also specify a default zone with "defaultzone=<zone>" where zone
    # is a two letter country code.
    #
    # An up-to-date list of the zones can be found in the file zonedata.c
    #
    loadzone = us
    #loadzone = us-old
    #loadzone=gr
    #loadzone=it
    #loadzone=fr
    #loadzone=de
    #loadzone=uk
    #loadzone=fi
    #loadzone=jp
    #loadzone=sp
    #loadzone=no
    #loadzone=hu
    #loadzone=lt
    #loadzone=pl
    defaultzone=us
    #
    # PCI Radio Interface
    # ^^^^^^^^^^^^^^^^^^^
    # (see http://www.zapatatelephony.org/app_rpt.html)
    #
    # The PCI Radio Interface card interfaces up to 4 two-way radios (either
    # a base/mobile radio or repeater system) to DAHDI channels. The driver
    # may work either independent of an application, or with it, through
    # the driver;s ioctl() interface. This file gives you access to specify
    # load-time parameters for Radio channels, so that the driver may run
    # by itself, and just act like a generic DAHDI radio interface.
    #
    # Unlike the rest of this file, you specify a block of parameters, and
    # then the channel(s) to which they apply. CTCSS is specified as a frequency
    # in tenths of hertz, for example 131.8 HZ is specified as 1318. DCS
    # for receive is specified as the code directly, for example 223. DCS for
    # transmit is specified as D and then the code, for example D223.
    #
    # The hardware supports a "community" CTCSS decoder system that has
    # arbitrary transmit CTCSS or DCS codes associated with them, unlike
    # traditional "community" systems that encode the same tone they decode.
    #
    # this example is a single tone DCS transmit and receive
    #
    # specify the transmit tone (in DCS mode this stays constant):
    #tx=D371
    #
    # specify the receive DCS code:
    #dcsrx=223
    #
    # this example is a "community" CTCSS (if you only want a single tone, then
    # only specify 1 in the ctcss list)
    #
    # specify the default transmit tone (when not receiving):
    #tx=1000
    #
    # Specify the receive freq, the tag (use 0 if none), and the transmit code.
    # The tag may be used by applications to determine classification of tones.
    # The tones are to be specified in order of presedence, most important first.
    # Currently, 15 tones may be specified..
    #
    #ctcss=1318,1,1318
    #ctcss=1862,1,1862
    #
    # The following parameters may be omitted if their default value is acceptible
    #
    # Set the receive debounce time in milliseconds:
    #debouncetime=123
    #
    # set the transmit quiet dropoff burst time in milliseconds:
    #bursttime=234
    #
    # set the COR level threshold (specified in tenths of millivolts)
    # valid values are {3125,6250,9375,12500,15625,18750,21875,25000}
    #corthresh=12500
    #
    # Invert COR signal {y,n}
    #invertcor=y
    # Set the external tone mode; yes, no, internal {y,n,i}
    #exttone=y
    #
    # Now apply the configuration to the specified channels:
    #
    # We are all done with our channel parameters, so now we specify what
    # channels they apply to
    #channels=1-4
    #
    # Overiding PCM encoding
    # ^^^^^^^^^^^^^^^^^^^^^^
    # Usually the channel driver sets the encoding of the PCM for the
    # channel (mulaw / alaw. That is: g711u or g711a). However there are
    # some cases where you would like to override that. 'mulaw' and 'alaw'
    # set different such encoding. Use them for channels you have already
    # defined with e.g. 'bchan' or 'fxoks'.
    #mulaw=1-4
    #alaw=1-4
    #
    # 'deflaw' is similar, but resets the encoding to the channel driver's
    # default. It must be useful for something, I guess.
    #mulaw=1-10
    #deflaw=5
    #
    # Echo Cancellers
    # ^^^^^^^^^^^^^^^
    # DAHDI uses modular echo cancellers that are configured per channel. The echo
    # cancellers are compiled and installed as part of the dahdi-linux package.
    # You can specify in this file the echo canceller to be used for each
    # channel. The default behavior is for there to be NO echo canceller on any
    # channel, so it is very important that you specify one here.
    #
    # Valid echo cancellers are: hwec, mg2, kb1, sec2, and sec.
    # 'hwec' is a special echo canceller that should be used if hardware echo
    # cancellation is desired on and available on the specified channels.
    # If compiled, 'hpec' is also a valid echo canceller.
    #
    # To configure the default echo cancellers, use the format:
    # echocanceller=<echocanceller name>,<channel(s)>
    #
    # Example:
    # Configure channels 1 through 8 to use the mg2 echo canceller
    #echocanceller=mg2,1-8
    #
    # And change channel 2 to use the kb1 echo canceller.
    #echocanceller=kb1,2
    #
    
    /var/lib/as
    >
    aspell/   asterisk/
    
    /var/lib/asterisk/.sendxmpprc
    >
    asterisk@linux7.unix.nt password
    

    Статистика

    Время первой команды журнала16:24:45 2012-10-25
    Время последней команды журнала11:23:19 2012-10-26
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, % 4.95
    Процент синтаксически неверно набранных команд, %10.89
    Суммарное время работы с терминалом *, час 2.28
    Количество командных строк в единицу времени, команда/мин 0.74
    Частота использования команд
    apt-get12|===========| 11.11%
    ls12|===========| 11.11%
    vim11|==========| 10.19%
    cat7|======| 6.48%
    /etc/init.d/ejabberd4|===| 3.70%
    echo4|===| 3.70%
    netstat4|===| 3.70%
    lsp4|===| 3.70%
    freetalk4|===| 3.70%
    asterisk3|==| 2.78%
    find3|==| 2.78%
    "q3|==| 2.78%
    ejabberd3|==| 2.78%
    sendxmpp3|==| 2.78%
    ej2|=| 1.85%
    pi2|=| 1.85%
    modinfo2|=| 1.85%
    top2|=| 1.85%
    lspsi2|=| 1.85%
    lspci2|=| 1.85%
    ^C2|=| 1.85%
    ejabberdctl2|=| 1.85%
    pidof1|| 0.93%
    dahdi_genconf1|| 0.93%
    .sendxmpprc1|| 0.93%
    killall1|| 0.93%
    text2wave1|| 0.93%
    фÐфÑapt-get1|| 0.93%
    chown1|| 0.93%
    :q1|| 0.93%
    head1|| 0.93%
    scp1|| 0.93%
    dahdi_cfg1|| 0.93%
    htop1|| 0.93%
    grep1|| 0.93%
    init1|| 0.93%
    d1|| 0.93%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$