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

Содержание

Журнал

Пятница (06/24/11)

/dev/pts/3
13:47:20
#/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module dahdi is in use by dahdi_echocan_oslec
done
Loading DAHDI hardware modules:
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: .
13:47:25
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk.
13:47:42
#/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: .
13:47:43
#/etc/init.d/asterisk start
Starting Asterisk PBX: asterisk.
13:47:55
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux1 (pid = 2205)
Verbosity was 0 and is now 3
linux1*CLI> dahdi show status
Description                              Alarms  IRQ    bpviol CRC4   Fra Codi Options  LBO
linux1*CLI> quit
Executing last minute cleanups
13:48:34
#vim /etc/asterisk/dahdi-channels.conf
13:49:09
#~

13:50:19
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
13:50:28
#less /var/log/asterisk/messages
13:50:51
#;
; Please, if you try this out, and are forced to return to the
; old pattern matcher, please report your reasons in a bug report
; or "dialplan set extenpatternmatchnew false", so you can experiment to your hearts content.
; on bugs.digium.com. We have made good progress in providing something
;
; compatible with the old matcher; help us finish the job!
;extenpatternmatchnew=no
;
;
; This value can be switched at runtime using the cli command "dialplan set extenpatternmatchnew true"
...
;userscontext=default
;
; (without the ';'). Note that this is different from the "include" command
; that includes contexts within other contexts. The #include command works
; in all asterisk configuration files.
;#include "filename.conf"
;#include <filename.conf>
;#include filename.conf
;
                                                                                    111,1          9%
13:51:25
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
13:51:36
#less /var/log/asterisk/messages
13:52:21
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
...
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
30:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
31:08.0 Communication controller: Digium, Inc. Wildcard TE220 dual-span T1/E1/J1 card 3.3V (PCI-Express) (5th gen) (rev 02)
13:52:46
#dahdi_cfg -v
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0.1
Echo Canceller(s):
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
62 channels to configure.
DAHDI_SPANCONFIG failed on span 1: No such device or address (6)
13:53:25
#lsmod | head
Module                  Size  Used by
loop                   11799  0
snd_hda_codec_analog    64562  1
snd_hda_intel          20051  0
snd_hda_codec          54244  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               5380  1 snd_hda_codec
snd_pcm_oss            32591  0
snd_mixer_oss          12606  1 snd_pcm_oss
snd_pcm                60503  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            4400  0
13:53:43
#lsmod | less
13:53:57
#/etc/init.d/dahdi start
Loading DAHDI hardware modules:
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: .
13:54:05
#lsmod | less
13:54:26
#reboot
Broadcast message from root@linux1 (pts/2) (Fri Jun 24 14:54:38 2011):
The system is going down for reboot NOW!
13:55:26
#ssh linux1

13:55:28
#dahdi_cfg -v
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
62 channels to configure.
Setting echocan for channel 1 to oslec
Setting echocan for channel 2 to oslec
...
Setting echocan for channel 53 to oslec
Setting echocan for channel 54 to oslec
Setting echocan for channel 55 to oslec
Setting echocan for channel 56 to oslec
Setting echocan for channel 57 to oslec
Setting echocan for channel 58 to oslec
Setting echocan for channel 59 to oslec
Setting echocan for channel 60 to oslec
Setting echocan for channel 61 to oslec
Setting echocan for channel 62 to oslec
прошло 20 минут
14:16:18
#exit
exit
Connection to linux1 closed.
14:17:44
#ssh linux1
l3-agent is already running: pid=1650; pidfile=/root/.lilalo/l3-agent.pid
14:17:47
#ping linux2
ping: unknown host linux2
14:17:49
#cat /etc/resolv.conf
domain d1.unix.nt
search d1.unix.nt
nameserver 192.168.15.253
14:17:54
#ping 192.168.15.253
PING 192.168.15.253 (192.168.15.253) 56(84) bytes of data.
64 bytes from 192.168.15.253: icmp_req=1 ttl=64 time=0.543 ms
^C
--- 192.168.15.253 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.543/0.543/0.543/0.000 ms
14:18:01
#ping 192.168.102.1
PING 192.168.102.1 (192.168.102.1) 56(84) bytes of data.
64 bytes from 192.168.102.1: icmp_req=1 ttl=63 time=0.793 ms
^C
--- 192.168.102.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.793/0.793/0.793/0.000 ms
14:18:27
#vim /etc/resolv.conf
14:18:37
#exit
exit
Connection to linux1 closed.
14:18:39
#ssh linux2
Linux linux2 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 14:24:40 2011 from windows2.unix.nt
l3-agent is already running: pid=2355; pidfile=/root/.lilalo/l3-agent.pid
14:18:43
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
14:19:03
#exit
exit
Connection to linux2 closed.
14:19:23
#ssh linux1
l3-agent is already running: pid=1650; pidfile=/root/.lilalo/l3-agent.pid
14:19:25
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
...
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
30:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
31:08.0 Communication controller: Digium, Inc. Wildcard TE220 dual-span T1/E1/J1 card 3.3V (PCI-Express) (5th gen) (rev 02)
14:19:26
#exit
exit
Connection to linux1 closed.
14:19:32
#ssh linux6
Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:14:15 2011
l3-agent is already running: pid=2025; pidfile=/root/.lilalo/l3-agent.pid
14:19:41
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
...
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
30:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
31:08.0 Ethernet controller: Digium, Inc. Wildcard TE121 single-span T1/E1/J1 card (PCI-Express) (rev 11)
14:19:42
## DAHDI

14:20:25
#. /etc/bash_completion

14:20:41
#apt-get install dahdi-
dahdi-linux   dahdi-source
14:20:41
#apt-get install dahdi-linux
Чтение списков пакетов... Готово
Построение дерева зависимостей
Чтение информации о состоянии... Готово
Уже установлена самая новая версия dahdi-linux.
dahdi-linux установлен вручную.
Следующие пакеты устанавливались автоматически и больше не требуются:
  libmysqlclient16 mysql-common
Для их удаления используйте 'apt-get autoremove'.
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 4 пакетов не обновлено.
14:20:48
## zapata

14:21:09
#dahdi_genconf

14:21:20
#cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 15:21:20 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER)
group=0,11
context=from-pstn
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63
14:21:28
#dahdi_cfg -v
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0.1
Echo Canceller(s):
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 oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
...
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to oslec
Setting echocan for channel 25 to oslec
Setting echocan for channel 26 to oslec
Setting echocan for channel 27 to oslec
Setting echocan for channel 28 to oslec
Setting echocan for channel 29 to oslec
Setting echocan for channel 30 to oslec
Setting echocan for channel 31 to oslec
14:21:53
##dahdi_cfg -v

14:22:01
#/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module dahdi is in use by dahdi_echocan_oslec
done
Loading DAHDI hardware modules:
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: .
14:22:08
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk.
14:22:18
#/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: done
Loading DAHDI hardware modules:
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: .
14:22:43
#vim /etc/asterisk/chan_dahdi.conf
14:23:43
#/etc/init.d/asterisk start
Starting Asterisk PBX: asterisk.
14:23:51
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux6 (pid = 3256)
Verbosity was 0 and is now 3
linux6*CLI> quit
Executing last minute cleanups
14:24:07
#less /var/log/asterisk/messages
14:24:21
#reboot
Broadcast message from root@linux6 (pts/3) (Fri Jun 24 15:24:35 2011):
The system is going down for reboot NOW!
14:24:42
#ssh linux2
Linux linux2 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:18:42 2011 from linux0.unix.nt
l3-agent is already running: pid=2355; pidfile=/root/.lilalo/l3-agent.pid
14:25:00
#dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans
14:25:05
#lspci
00:00.0 Host bridge: Intel Corporation 82Q35 Express DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
00:03.0 Communication controller: Intel Corporation 82Q35 Express MEI Controller (rev 02)
00:03.2 IDE interface: Intel Corporation 82Q35 Express PT IDER Controller (rev 02)
00:03.3 Serial controller: Intel Corporation 82Q35 Express Serial KT Controller (rev 02)
00:19.0 Ethernet controller: Intel Corporation 82566DM-2 Gigabit Network Connection (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IO (ICH9DO) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
14:25:12
#exit
exit
Connection to linux2 closed.
14:25:28
#ssh linux6
Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:19:40 2011 from linux0.unix.nt
14:26:37
#vim /etc/asterisk/
14:26:37
#vim /etc/asterisk/dahdi-channels.conf
14:27:13
#/etc/init.d/asterisk restart
Stopping Asterisk PBX: asterisk.
Starting Asterisk PBX: asterisk.
14:27:47
#vim /etc/dahdi/
14:27:47
#vim /etc/dahdi/system.conf
14:28:07
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk.
14:28:32
#reboot
Broadcast message from root@linux6 (pts/1) (Fri Jun 24 15:28:36 2011):
The system is going down for reboot NOW!
14:28:44
#ssh linux6
Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:27:23 2011
14:31:10
#~
; Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 15:21:20 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;
; Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER)
group=0,11
...
~
~
~
~
~
~
~
~
~
"/etc/asterisk/dahdi-channels.conf" 18L, 565C записано
14:31:56
#~
exit
Connection to linux6 closed.
14:31:57
#ssh linux1
l3-agent is already running: pid=1584; pidfile=/root/.lilalo/l3-agent.pid
14:31:59
#vim /etc/dahdi/system.conf
14:32:29
#~
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux1 (pid = 1403)
...
[Jun 24 15:33:36] WARNING[1433]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:33:36] WARNING[1432]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:33:40] WARNING[1433]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:33:40] WARNING[1432]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:33:44] WARNING[1432]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:33:44] WARNING[1433]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:33:48] WARNING[1432]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:33:48] WARNING[1433]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
linux1*CLI> quit
Executing last minute cleanups
14:33:49
#ztcfg -vvv
bash: ztcfg: команда не найдена
14:33:58
#dahdi_cfg -vvv
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
...
Setting echocan for channel 53 to oslec
Setting echocan for channel 54 to oslec
Setting echocan for channel 55 to oslec
Setting echocan for channel 56 to oslec
Setting echocan for channel 57 to oslec
Setting echocan for channel 58 to oslec
Setting echocan for channel 59 to oslec
Setting echocan for channel 60 to oslec
Setting echocan for channel 61 to oslec
Setting echocan for channel 62 to oslec
14:34:02
#dahdi_cfg -vvv | less
14:34:28
#exit
exit
Connection to linux1 closed.
14:34:29
#ssh linux6
Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:29:22 2011 from linux0.unix.nt
l3-agent is already running: pid=1983; pidfile=/root/.lilalo/l3-agent.pid
14:34:32
#dahdi_cfg -vvvv
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
Configuration
======================
SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 01)
Channel 02: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 02)
Channel 03: Clear channel (Default) (Echo Canceler: oslec) (Slaves: 03)
...
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to oslec
Setting echocan for channel 25 to oslec
Setting echocan for channel 26 to oslec
Setting echocan for channel 27 to oslec
Setting echocan for channel 28 to oslec
Setting echocan for channel 29 to oslec
Setting echocan for channel 30 to oslec
Setting echocan for channel 31 to oslec
14:35:23
#exit
exit
Connection to linux6 closed.
14:35:24
#ssh linux6
Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:34:32 2011 from linux0.unix.nt
l3-agent is already running: pid=1983; pidfile=/root/.lilalo/l3-agent.pid
14:35:26
#cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 15:21:20 2011
# 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,0,0,ccs,hdb3,crc4
# termtype: te
bchan=1-15,17-31
dchan=16
echocanceller=oslec,1-15,17-31
# Global data
loadzone        = us
defaultzone     = us
14:37:51
#dahdi_cfg -v
DAHDI Tools Version - 2.2.1.1
DAHDI Version: 2.3.0.1
Echo Canceller(s): OSLEC
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 oslec
Setting echocan for channel 2 to oslec
Setting echocan for channel 3 to oslec
...
Setting echocan for channel 22 to oslec
Setting echocan for channel 23 to oslec
Setting echocan for channel 24 to oslec
Setting echocan for channel 25 to oslec
Setting echocan for channel 26 to oslec
Setting echocan for channel 27 to oslec
Setting echocan for channel 28 to oslec
Setting echocan for channel 29 to oslec
Setting echocan for channel 30 to oslec
Setting echocan for channel 31 to oslec
14:38:01
#/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module wcte12xp is in use
ERROR: Module wcte12xp is in use
ERROR: Module dahdi_voicebus is in use by wcte12xp
ERROR: Module dahdi is in use by dahdi_echocan_oslec,wcte12xp,dahdi_voicebus
ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module echo is in use by dahdi_echocan_oslec
error
Loading DAHDI hardware modules:
Running dahdi_cfg: done.
14:38:10
#/etc/init.d/asterisk stop
Stopping Asterisk PBX: asterisk.
14:38:14
#/etc/init.d/dahdi restart
Unloading DAHDI hardware modules: ERROR: Module dahdi_echocan_oslec is in use
ERROR: Module dahdi is in use by dahdi_echocan_oslec
done
Loading DAHDI hardware modules:
No hardware timing source found in /proc/dahdi, loading dahdi_dummy
Running dahdi_cfg: .
14:38:15
#/etc/init.d/asterisk start
Starting Asterisk PBX: asterisk.
14:38:18
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux6 (pid = 2566)
Verbosity was 0 and is now 3
linux6*CLI>
linux6*CLI> quit
Executing last minute cleanups
14:38:33
#reboot
Broadcast message from root@linux6 (pts/1) (Fri Jun 24 15:38:34 2011):
The system is going down for reboot NOW!
14:38:42
#ssh linux1
l3-agent is already running: pid=1584; pidfile=/root/.lilalo/l3-agent.pid
14:39:40
#vim /etc/dahdi/system.conf
14:40:14
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux1 (pid = 1403)
Verbosity is at least 3
linux1*CLI>
[Jun 24 15:40:20] WARNING[1433]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:40:20] WARNING[1432]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:40:24] WARNING[1433]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:40:24] WARNING[1432]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
linux1*CLI> quit
Executing last minute cleanups
14:40:25
#vim /etc/asterisk/dahdi-channels.conf
14:40:25
#vim /etc/asterisk/dahdi-channels.conf
14:40:52
#ssh linux6
Linux linux6 2.6.32-5-amd64 #1 SMP Wed May 18 23:13:22 UTC 2011 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Fri Jun 24 15:35:25 2011 from linux0.unix.nt
14:41:06
#~
exit
Connection to linux6 closed.
14:41:06
#ssh linux1
l3-agent is already running: pid=1584; pidfile=/root/.lilalo/l3-agent.pid
14:41:10
#reboot
Broadcast message from root@linux1 (pts/3) (Fri Jun 24 15:41:12 2011):
The system is going down for reboot NOW!
14:41:51
#ssh linux1

14:41:55
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux1 (pid = 1434)
...
[Jun 24 15:43:33] WARNING[1480]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:43:33] WARNING[1479]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:43:37] WARNING[1480]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:43:37] WARNING[1479]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:43:41] WARNING[1480]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:43:41] WARNING[1479]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
linux1*CLI> quir
No such command 'quir' (type 'core show help quir' for other possible commands)
linux1*CLI> quit
Executing last minute cleanups
14:43:47
#asterisk -rvvv
Asterisk 1.6.2.9-2+squeeze2, 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+squeeze2 currently running on linux1 (pid = 1434)
...
  T-RESPONSE: 4000
Overlap Recv: No
[Jun 24 15:44:05] WARNING[1480]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:44:05] WARNING[1479]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:44:09] WARNING[1480]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:44:09] WARNING[1479]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
[Jun 24 15:44:13] WARNING[1480]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 47 as D-channel anyway!
[Jun 24 15:44:13] WARNING[1479]: chan_dahdi.c:4160 pri_find_dchan: No D-channels available!  Using Primary channel 16 as D-channel anyway!
linux1*CLI> quit
Executing last minute cleanups
14:44:14
#exit
exit
Connection to linux1 closed.

Файлы

  • /etc/asterisk/dahdi-channels.conf
  • /etc/dahdi/system.conf
  • /etc/resolv.conf
  • /etc/asterisk/dahdi-channels.conf
    >
    ; Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 15:21:20 2011
    ; If you edit this file and execute /usr/sbin/dahdi_genconf again,
    ; your manual changes will be LOST.
    ; Dahdi Channels Configurations (chan_dahdi.conf)
    ;
    ; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
    ; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
    ;
    ; Span 1: WCT1/0 "Wildcard TE121 Card 0" (MASTER)
    group=0,11
    context=from-pstn
    switchtype = euroisdn
    signalling = pri_cpe
    channel => 1-15,17-31
    context = default
    group = 63
    
    /etc/dahdi/system.conf
    >
    # Autogenerated by /usr/sbin/dahdi_genconf on Fri Jun 24 15:21:20 2011
    # 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,0,0,ccs,hdb3,crc4
    # termtype: te
    bchan=1-15,17-31
    dchan=16
    echocanceller=oslec,1-15,17-31
    # Global data
    loadzone        = us
    defaultzone     = us
    
    /etc/resolv.conf
    >
    domain d1.unix.nt
    search d1.unix.nt
    nameserver 192.168.15.253
    

    Статистика

    Время первой команды журнала13:47:20 2011- 6-24
    Время последней команды журнала14:44:14 2011- 6-24
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, % 0.99
    Процент синтаксически неверно набранных команд, % 0.99
    Суммарное время работы с терминалом *, час 0.95
    Количество командных строк в единицу времени, команда/мин 1.78
    Частота использования команд
    ssh15|==============| 14.42%
    vim11|==========| 10.58%
    /etc/init.d/asterisk10|=========| 9.62%
    exit8|=======| 7.69%
    /etc/init.d/dahdi7|======| 6.73%
    dahdi_cfg7|======| 6.73%
    asterisk6|=====| 5.77%
    less6|=====| 5.77%
    reboot5|====| 4.81%
    lspci5|====| 4.81%
    ~5|====| 4.81%
    ping3|==| 2.88%
    cat3|==| 2.88%
    lsmod3|==| 2.88%
    #2|=| 1.92%
    dahdi_genconf2|=| 1.92%
    apt-get2|=| 1.92%
    ztcfg1|| 0.96%
    #dahdi_cfg1|| 0.96%
    head1|| 0.96%
    .1|| 0.96%
    ____
    *) Интервалы неактивности длительностью 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$