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

Содержание

Журнал

Среда (06/03/09)

/dev/pts/9
17:38:25
#ping 192.168.102.1
PING 192.168.102.1 (192.168.102.1) 56(84) bytes of data.
^C
--- 192.168.102.1 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms
17:38:43
#ping 192.168.202.1
PING 192.168.202.1 (192.168.202.1) 56(84) bytes of data.
^C
--- 192.168.202.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3024ms
17:38:54
#ping 192.168.203.1
PING 192.168.203.1 (192.168.203.1) 56(84) bytes of data.
64 bytes from 192.168.203.1: icmp_seq=1 ttl=64 time=0.137 ms
64 bytes from 192.168.203.1: icmp_seq=2 ttl=64 time=0.118 ms
64 bytes from 192.168.203.1: icmp_seq=3 ttl=64 time=0.120 ms
^C
--- 192.168.203.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.118/0.125/0.137/0.008 ms
17:39:02
#ping 192.168.203.2
PING 192.168.203.2 (192.168.203.2) 56(84) bytes of data.
From 192.168.103.1 icmp_seq=1 Destination Host Unreachable
From 192.168.103.1 icmp_seq=2 Destination Host Unreachable
From 192.168.103.1 icmp_seq=3 Destination Host Unreachable
From 192.168.103.1 icmp_seq=4 Destination Host Unreachable
From 192.168.103.1 icmp_seq=5 Destination Host Unreachable
From 192.168.103.1 icmp_seq=6 Destination Host Unreachable
From 192.168.103.1 icmp_seq=7 Destination Host Unreachable
From 192.168.103.1 icmp_seq=8 Destination Host Unreachable
From 192.168.103.1 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.203.2 ping statistics ---
11 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10056ms
, pipe 3
17:40:22
#ping 192.168.203.2
PING 192.168.203.2 (192.168.203.2) 56(84) bytes of data.
64 bytes from 192.168.203.2: icmp_seq=1 ttl=64 time=0.125 ms
64 bytes from 192.168.203.2: icmp_seq=2 ttl=64 time=0.104 ms
64 bytes from 192.168.203.2: icmp_seq=3 ttl=64 time=0.109 ms
^C
--- 192.168.203.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.104/0.112/0.125/0.015 ms
17:41:09
#ping 192.168.203.1
PING 192.168.203.1 (192.168.203.1) 56(84) bytes of data.
rootpass
^C
--- 192.168.203.1 ping statistics ---
403 packets transmitted, 0 received, 100% packet loss, time 405206ms
17:47:59
#cd /etc/openvpn/

/dev/pts/13
17:48:18
#ssh root@192.168.103.1
Host key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6
+--[ RSA 2048]----+
|                 |
|     . .     . ..|
|      o =   o ..o|
|   . + + o . + o.|
|    = o S . o o.o|
|     o .   .   o+|
|                =|
|               o |
|              E  |
+-----------------+
Linux linux6 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686
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: Wed Jun  3 12:59:13 2009 from linux16.unix.nt
l3-agent is already running: pid=24940; pidfile=/root/.lilalo/l3-agent.pid
17:48:34
#ssh root@10.0.35.100
Host key fingerprint is 69:b5:3e:1a:9a:b7:c3:c3:96:03:c7:b7:b4:69:1d:3b
+--[ RSA 2048]----+
|                 |
|                 |
|          .      |
|         o .     |
|       .S .      |
|      ..o.o .    |
|       =.+o= o   |
|       oXo=.E    |
|      ooo*   .   |
+-----------------+
root@10.0.35.100's password:
Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686
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: Wed Jun  3 18:02:35 2009 from linux9.unix.nt
l3-agent is already running: pid=4804; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/9
17:53:43
#openvpn --genkey --secret
Options error: Unrecognized option or missing parameter(s) in [CMD-LINE]:1: secret (2.1_rc15)
Use --help for more information.
17:54:14
#openvpn --genkey --secret linux0.key

17:54:58
#ls -l
итого 8
-rw------- 1 root root  636 Июн  3 17:54 linux0.key
-rwxr-xr-x 1 root root 1352 Май  1 15:25 update-resolv-conf
17:55:11
#ping 192.168.104.2
PING 192.168.104.2 (192.168.104.2) 56(84) bytes of data.
^C
--- 192.168.104.2 ping statistics ---
110 packets transmitted, 0 received, 100% packet loss, time 108999ms
/dev/pts/13
18:03:06
#screen -x
прошло 13 минут
/dev/pts/9
18:16:42
#ping 192.168.204.2
PING 192.168.204.2 (192.168.204.2) 56(84) bytes of data.
^C
--- 192.168.204.2 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3024ms
18:16:49
#ping 192.168.204.2
PING 192.168.204.2 (192.168.204.2) 56(84) bytes of data.
64 bytes from 192.168.204.2: icmp_seq=1 ttl=63 time=0.360 ms
64 bytes from 192.168.204.2: icmp_seq=2 ttl=63 time=0.346 ms
64 bytes from 192.168.204.2: icmp_seq=3 ttl=63 time=0.345 ms
^C
--- 192.168.204.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.345/0.350/0.360/0.016 ms
18:17:45
#ping 192.168.104.2
PING 192.168.104.2 (192.168.104.2) 56(84) bytes of data.
From 172.16.3.1 icmp_seq=39 Destination Host Unreachable
From 172.16.3.1 icmp_seq=40 Destination Host Unreachable
From 172.16.3.1 icmp_seq=41 Destination Host Unreachable
From 172.16.3.1 icmp_seq=42 Destination Host Unreachable
From 172.16.3.1 icmp_seq=43 Destination Host Unreachable
From 172.16.3.1 icmp_seq=44 Destination Host Unreachable
From 172.16.3.1 icmp_seq=45 Destination Host Unreachable
From 172.16.3.1 icmp_seq=46 Destination Host Unreachable
From 172.16.3.1 icmp_seq=47 Destination Host Unreachable
...
From 172.16.3.1 icmp_seq=57 Destination Host Unreachable
From 172.16.3.1 icmp_seq=58 Destination Host Unreachable
From 172.16.3.1 icmp_seq=59 Destination Host Unreachable
From 172.16.3.1 icmp_seq=60 Destination Host Unreachable
From 172.16.3.1 icmp_seq=61 Destination Host Unreachable
From 172.16.3.1 icmp_seq=62 Destination Host Unreachable
^C
--- 192.168.104.2 ping statistics ---
63 packets transmitted, 0 received, +24 errors, 100% packet loss, time 62432ms
, pipe 3
18:18:55
#ping 192.168.104.8
PING 192.168.104.8 (192.168.104.8) 56(84) bytes of data.
64 bytes from 192.168.104.8: icmp_seq=1 ttl=62 time=32.6 ms
64 bytes from 192.168.104.8: icmp_seq=2 ttl=62 time=31.8 ms
64 bytes from 192.168.104.8: icmp_seq=3 ttl=62 time=30.8 ms
64 bytes from 192.168.104.8: icmp_seq=4 ttl=62 time=0.558 ms
64 bytes from 192.168.104.8: icmp_seq=5 ttl=62 time=0.532 ms
64 bytes from 192.168.104.8: icmp_seq=6 ttl=62 time=0.533 ms
64 bytes from 192.168.104.8: icmp_seq=7 ttl=62 time=0.539 ms
64 bytes from 192.168.104.8: icmp_seq=8 ttl=62 time=0.542 ms
64 bytes from 192.168.104.8: icmp_seq=9 ttl=62 time=0.539 ms
...
64 bytes from 192.168.104.8: icmp_seq=821 ttl=62 time=0.537 ms
64 bytes from 192.168.104.8: icmp_seq=822 ttl=62 time=0.538 ms
64 bytes from 192.168.104.8: icmp_seq=823 ttl=62 time=0.536 ms
64 bytes from 192.168.104.8: icmp_seq=824 ttl=62 time=0.534 ms
64 bytes from 192.168.104.8: icmp_seq=825 ttl=62 time=0.533 ms
64 bytes from 192.168.104.8: icmp_seq=826 ttl=62 time=0.536 ms
^C
--- 192.168.104.8 ping statistics ---
826 packets transmitted, 70 received, 91% packet loss, time 827845ms
rtt min/avg/max/mdev = 0.527/9.141/506.886/60.254 ms
прошло 13 минут
18:32:48
#ping 192.168.103.1
PING 192.168.103.1 (192.168.103.1) 56(84) bytes of data.
64 bytes from 192.168.103.1: icmp_seq=1 ttl=64 time=0.144 ms
64 bytes from 192.168.103.1: icmp_seq=2 ttl=64 time=0.104 ms
64 bytes from 192.168.103.1: icmp_seq=3 ttl=64 time=0.109 ms
64 bytes from 192.168.103.1: icmp_seq=4 ttl=64 time=0.109 ms
64 bytes from 192.168.103.1: icmp_seq=5 ttl=64 time=0.109 ms
64 bytes from 192.168.103.1: icmp_seq=6 ttl=64 time=0.108 ms
64 bytes from 192.168.103.1: icmp_seq=7 ttl=64 time=0.105 ms
64 bytes from 192.168.103.1: icmp_seq=8 ttl=64 time=0.105 ms
64 bytes from 192.168.103.1: icmp_seq=9 ttl=64 time=0.119 ms
64 bytes from 192.168.103.1: icmp_seq=10 ttl=64 time=0.106 ms
64 bytes from 192.168.103.1: icmp_seq=11 ttl=64 time=0.117 ms
64 bytes from 192.168.103.1: icmp_seq=12 ttl=64 time=0.103 ms
^C
--- 192.168.103.1 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 10998ms
rtt min/avg/max/mdev = 0.103/0.111/0.144/0.015 ms
18:33:09
#ping 192.168.104.8
PING 192.168.104.8 (192.168.104.8) 56(84) bytes of data.
64 bytes from 192.168.104.8: icmp_seq=1 ttl=62 time=3.00 ms
64 bytes from 192.168.104.8: icmp_seq=2 ttl=62 time=0.538 ms
64 bytes from 192.168.104.8: icmp_seq=3 ttl=62 time=0.536 ms
^C
--- 192.168.104.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.536/1.359/3.004/1.163 ms
18:33:29
#ping 192.168.104.8
PING 192.168.104.8 (192.168.104.8) 56(84) bytes of data.
64 bytes from 192.168.104.8: icmp_seq=1 ttl=62 time=0.659 ms
64 bytes from 192.168.104.8: icmp_seq=2 ttl=62 time=0.541 ms
64 bytes from 192.168.104.8: icmp_seq=3 ttl=62 time=0.744 ms
64 bytes from 192.168.104.8: icmp_seq=4 ttl=62 time=0.539 ms
64 bytes from 192.168.104.8: icmp_seq=5 ttl=62 time=0.538 ms
64 bytes from 192.168.104.8: icmp_seq=6 ttl=62 time=0.538 ms
64 bytes from 192.168.104.8: icmp_seq=7 ttl=62 time=0.539 ms
64 bytes from 192.168.104.8: icmp_seq=8 ttl=62 time=0.535 ms
64 bytes from 192.168.104.8: icmp_seq=9 ttl=62 time=0.540 ms
...
64 bytes from 192.168.104.8: icmp_seq=56 ttl=62 time=0.591 ms
64 bytes from 192.168.104.8: icmp_seq=57 ttl=62 time=0.536 ms
64 bytes from 192.168.104.8: icmp_seq=58 ttl=62 time=0.531 ms
64 bytes from 192.168.104.8: icmp_seq=59 ttl=62 time=0.536 ms
64 bytes from 192.168.104.8: icmp_seq=60 ttl=62 time=0.534 ms
64 bytes from 192.168.104.8: icmp_seq=61 ttl=62 time=0.534 ms
^C
--- 192.168.104.8 ping statistics ---
61 packets transmitted, 61 received, 0% packet loss, time 59999ms
rtt min/avg/max/mdev = 0.531/0.563/0.821/0.076 ms
18:38:36
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets
 1  192.168.103.1 (192.168.103.1)  0.146 ms  0.117 ms  0.273 ms
 2  172.16.3.1 (172.16.3.1)  0.695 ms  1.138 ms  1.321 ms
 3  192.168.204.1 (192.168.204.1)  40.037 ms  40.026 ms  40.004 ms
 4  10.0.35.1 (10.0.35.1)  39.910 ms  39.905 ms  39.890 ms
прошло 10 минут
18:48:40
#ping 192.168.101.2
PING 192.168.101.2 (192.168.101.2) 56(84) bytes of data.
From 10.0.35.1 icmp_seq=1 Time to live exceeded
From 10.0.35.1 icmp_seq=2 Time to live exceeded
From 10.0.35.1 icmp_seq=3 Time to live exceeded
From 10.0.35.1 icmp_seq=4 Time to live exceeded
^C
--- 192.168.101.2 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3005ms
18:49:21
#ping 192.168.204.1
PING 192.168.204.1 (192.168.204.1) 56(84) bytes of data.
64 bytes from 192.168.204.1: icmp_seq=1 ttl=62 time=1.18 ms
64 bytes from 192.168.204.1: icmp_seq=2 ttl=62 time=0.954 ms
64 bytes from 192.168.204.1: icmp_seq=3 ttl=62 time=1.05 ms
^C
--- 192.168.204.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 0.954/1.066/1.187/0.102 ms
18:49:56
#ping 192.168.204.1
64 bytes from 192.168.204.1: icmp_seq=8 ttl=62 time=1.68 ms
64 bytes from 192.168.204.1: icmp_seq=9 ttl=62 time=1.26 ms
64 bytes from 192.168.204.1: icmp_seq=10 ttl=62 time=0.966 ms
64 bytes from 192.168.204.1: icmp_seq=11 ttl=62 time=0.989 ms
64 bytes from 192.168.204.1: icmp_seq=12 ttl=62 time=0.970 ms
64 bytes from 192.168.204.1: icmp_seq=13 ttl=62 time=0.982 ms
64 bytes from 192.168.204.1: icmp_seq=14 ttl=62 time=1.35 ms
64 bytes from 192.168.204.1: icmp_seq=15 ttl=62 time=1.14 ms
64 bytes from 192.168.204.1: icmp_seq=16 ttl=62 time=0.977 ms
64 bytes from 192.168.204.1: icmp_seq=17 ttl=62 time=1.02 ms
...
64 bytes from 192.168.204.1: icmp_seq=147 ttl=62 time=1.01 ms
64 bytes from 192.168.204.1: icmp_seq=148 ttl=62 time=1.37 ms
64 bytes from 192.168.204.1: icmp_seq=149 ttl=62 time=0.965 ms
64 bytes from 192.168.204.1: icmp_seq=150 ttl=62 time=0.973 ms
64 bytes from 192.168.204.1: icmp_seq=151 ttl=62 time=0.962 ms
64 bytes from 192.168.204.1: icmp_seq=152 ttl=62 time=0.965 ms
^C
--- 192.168.204.1 ping statistics ---
152 packets transmitted, 152 received, 0% packet loss, time 151133ms
rtt min/avg/max/mdev = 0.927/1.875/63.585/5.730 ms
/dev/pts/13
18:53:31
#ssh root@10.0.35.100
Host key fingerprint is 69:b5:3e:1a:9a:b7:c3:c3:96:03:c7:b7:b4:69:1d:3b
+--[ RSA 2048]----+
|                 |
|                 |
|          .      |
|         o .     |
|       .S .      |
|      ..o.o .    |
|       =.+o= o   |
|       oXo=.E    |
|      ooo*   .   |
+-----------------+
root@10.0.35.100's password:
Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686
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: Wed Jun  3 18:33:37 2009 from linux3.unix.nt
l3-agent is already running: pid=4804; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/9
19:01:45
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
^C
--- 10.0.35.1 ping statistics ---
18 packets transmitted, 0 received, 100% packet loss, time 17136ms
/dev/pts/13
19:08:06
#screen -x
прошло 44 минуты
/dev/pts/18
19:52:10
#ssh root@192.168.103.1
Host key fingerprint is 34:6c:c2:da:38:7c:d7:17:e9:cd:17:8d:e7:cf:f1:a6
+--[ RSA 2048]----+
|                 |
|     . .     . ..|
|      o =   o ..o|
|   . + + o . + o.|
|    = o S . o o.o|
|     o .   .   o+|
|                =|
|               o |
|              E  |
+-----------------+
Linux linux6 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686
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: Wed Jun  3 17:48:34 2009 from 192.168.103.2
l3-agent is already running: pid=24940; pidfile=/root/.lilalo/l3-agent.pid
19:55:27
#ssh root@192.168.101.1
^C
19:56:08
#ssh root@192.168.201.1
Connection to 192.168.201.1 closed by remote host.
прошло 35 минут
/dev/pts/13
20:32:00
#ssh root@10.0.35.100
Host key fingerprint is 69:b5:3e:1a:9a:b7:c3:c3:96:03:c7:b7:b4:69:1d:3b
+--[ RSA 2048]----+
|                 |
|                 |
|          .      |
|         o .     |
|       .S .      |
|      ..o.o .    |
|       =.+o= o   |
|       oXo=.E    |
|      ooo*   .   |
+-----------------+
root@10.0.35.100's password:
Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686
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: Wed Jun  3 19:09:06 2009 from 192.168.205.2
l3-agent is already running: pid=4804; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/9
20:32:37
#traceroute 10.0.35.1
traceroute to 10.0.35.1 (10.0.35.1), 30 hops max, 60 byte packets
 1   (192.168.103.1)  0.130 ms  0.119 ms  0.114 ms
 2   (172.16.3.1)  0.700 ms  1.106 ms  1.284 ms
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
...
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * *^C
20:33:42
#ssh root@192.168.104.1
ssh: connect to host 192.168.104.1 port 22: No route to host
20:38:13
#ssh root@192.168.204.2
^Z
[1]+  Stopped                 ssh root@192.168.204.2
20:38:49
#ping 192.168.103.1
PING 192.168.103.1 (192.168.103.1) 56(84) bytes of data.
64 bytes from 192.168.103.1: icmp_seq=1 ttl=64 time=0.124 ms
64 bytes from 192.168.103.1: icmp_seq=2 ttl=64 time=0.106 ms
64 bytes from 192.168.103.1: icmp_seq=3 ttl=64 time=0.106 ms
64 bytes from 192.168.103.1: icmp_seq=4 ttl=64 time=0.106 ms
64 bytes from 192.168.103.1: icmp_seq=5 ttl=64 time=0.106 ms
^C
--- 192.168.103.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3998ms
rtt min/avg/max/mdev = 0.106/0.109/0.124/0.013 ms
20:41:41
#ping 192.168.104.1
PING 192.168.104.1 (192.168.104.1) 56(84) bytes of data.
From 172.16.3.1 icmp_seq=1 Destination Host Unreachable
From 172.16.3.1 icmp_seq=2 Destination Host Unreachable
From 172.16.3.1 icmp_seq=3 Destination Host Unreachable
From 172.16.3.1 icmp_seq=4 Destination Host Unreachable
From 172.16.3.1 icmp_seq=5 Destination Host Unreachable
From 172.16.3.1 icmp_seq=6 Destination Host Unreachable
From 172.16.3.1 icmp_seq=7 Destination Host Unreachable
From 172.16.3.1 icmp_seq=8 Destination Host Unreachable
From 172.16.3.1 icmp_seq=9 Destination Host Unreachable
...
From 172.16.3.1 icmp_seq=16 Destination Host Unreachable
From 172.16.3.1 icmp_seq=17 Destination Host Unreachable
From 172.16.3.1 icmp_seq=18 Destination Host Unreachable
From 172.16.3.1 icmp_seq=19 Destination Host Unreachable
From 172.16.3.1 icmp_seq=20 Destination Host Unreachable
From 172.16.3.1 icmp_seq=21 Destination Host Unreachable
^C
--- 192.168.104.1 ping statistics ---
23 packets transmitted, 0 received, +21 errors, 100% packet loss, time 22118ms
, pipe 3
20:42:48
#ping 192.168.204.1
PING 192.168.204.1 (192.168.204.1) 56(84) bytes of data.
64 bytes from 192.168.204.1: icmp_seq=1 ttl=62 time=1.15 ms
64 bytes from 192.168.204.1: icmp_seq=2 ttl=62 time=1.05 ms
64 bytes from 192.168.204.1: icmp_seq=3 ttl=62 time=1.00 ms
64 bytes from 192.168.204.1: icmp_seq=4 ttl=62 time=9.65 ms
64 bytes from 192.168.204.1: icmp_seq=5 ttl=62 time=0.981 ms
^C
--- 192.168.204.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 0.981/2.767/9.652/3.443 ms
20:46:07
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
^C
--- 10.0.35.1 ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 13102ms
20:46:31
#ping 192.168.104.2
PING 192.168.104.2 (192.168.104.2) 56(84) bytes of data.
From 172.16.3.1 icmp_seq=1 Destination Host Unreachable
From 172.16.3.1 icmp_seq=2 Destination Host Unreachable
From 172.16.3.1 icmp_seq=3 Destination Host Unreachable
From 172.16.3.1 icmp_seq=4 Destination Host Unreachable
From 172.16.3.1 icmp_seq=5 Destination Host Unreachable
From 172.16.3.1 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.104.2 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6031ms
, pipe 3
20:46:46
#ping 192.168.104.1
PING 192.168.104.1 (192.168.104.1) 56(84) bytes of data.
From 172.16.3.1 icmp_seq=1 Destination Host Unreachable
From 172.16.3.1 icmp_seq=2 Destination Host Unreachable
From 172.16.3.1 icmp_seq=3 Destination Host Unreachable
From 172.16.3.1 icmp_seq=4 Destination Host Unreachable
From 172.16.3.1 icmp_seq=5 Destination Host Unreachable
From 172.16.3.1 icmp_seq=6 Destination Host Unreachable
From 172.16.3.1 icmp_seq=7 Destination Host Unreachable
From 172.16.3.1 icmp_seq=8 Destination Host Unreachable
From 172.16.3.1 icmp_seq=9 Destination Host Unreachable
^C
--- 192.168.104.1 ping statistics ---
10 packets transmitted, 0 received, +9 errors, 100% packet loss, time 9046ms
, pipe 3
20:46:58
#ping 192.168.204.1
PING 192.168.204.1 (192.168.204.1) 56(84) bytes of data.
64 bytes from 192.168.204.1: icmp_seq=1 ttl=62 time=0.962 ms
64 bytes from 192.168.204.1: icmp_seq=2 ttl=62 time=1.00 ms
64 bytes from 192.168.204.1: icmp_seq=3 ttl=62 time=0.979 ms
64 bytes from 192.168.204.1: icmp_seq=4 ttl=62 time=1.14 ms
64 bytes from 192.168.204.1: icmp_seq=5 ttl=62 time=0.970 ms
64 bytes from 192.168.204.1: icmp_seq=6 ttl=62 time=0.925 ms
64 bytes from 192.168.204.1: icmp_seq=7 ttl=62 time=0.940 ms
64 bytes from 192.168.204.1: icmp_seq=8 ttl=62 time=0.947 ms
64 bytes from 192.168.204.1: icmp_seq=9 ttl=62 time=0.941 ms
...
64 bytes from 192.168.204.1: icmp_seq=83 ttl=62 time=1.05 ms
64 bytes from 192.168.204.1: icmp_seq=84 ttl=62 time=1.20 ms
64 bytes from 192.168.204.1: icmp_seq=85 ttl=62 time=1.19 ms
64 bytes from 192.168.204.1: icmp_seq=86 ttl=62 time=3.94 ms
64 bytes from 192.168.204.1: icmp_seq=87 ttl=62 time=0.936 ms
64 bytes from 192.168.204.1: icmp_seq=88 ttl=62 time=0.935 ms
^C
--- 192.168.204.1 ping statistics ---
88 packets transmitted, 88 received, 0% packet loss, time 87041ms
rtt min/avg/max/mdev = 0.923/2.960/76.121/8.838 ms
20:48:28
#ssh 192.168.204.1
The authenticity of host '192.168.204.1 (192.168.204.1)' can't be established.
RSA key fingerprint is 7e:ed:6a:01:cb:0b:a2:37:07:c5:64:c0:e0:23:f1:e4.
+--[ RSA  896]----+
|. oo..           |
| *  . o          |
|. E  +           |
| . .  o .        |
|     . .So       |
|    o ..o ..     |
|   . o ......    |
...
  * Software feature updates
  * New product announcements
  * Special events
Please register your products now at:  www.ProCurve.com
root@192.168.204.1's password:
Permission denied, please try again.
root@192.168.204.1's password:
Permission denied, please try again.
root@192.168.204.1's password:
Received disconnect from 192.168.204.1: 2: Too many authentication failures for root
20:48:54
#ssh 192.168.204.1
^C
20:51:23
#ping 192.168.204.1
PING 192.168.204.1 (192.168.204.1) 56(84) bytes of data.
^C
--- 192.168.204.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2014ms
20:51:29
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
64 bytes from 10.0.35.1: icmp_seq=25 ttl=61 time=482 ms
64 bytes from 10.0.35.1: icmp_seq=26 ttl=61 time=0.750 ms
64 bytes from 10.0.35.1: icmp_seq=27 ttl=61 time=28.6 ms
64 bytes from 10.0.35.1: icmp_seq=28 ttl=61 time=0.773 ms
64 bytes from 10.0.35.1: icmp_seq=29 ttl=61 time=0.736 ms
64 bytes from 10.0.35.1: icmp_seq=30 ttl=61 time=0.766 ms
64 bytes from 10.0.35.1: icmp_seq=31 ttl=61 time=0.745 ms
64 bytes from 10.0.35.1: icmp_seq=32 ttl=61 time=0.748 ms
64 bytes from 10.0.35.1: icmp_seq=33 ttl=61 time=0.752 ms
...
64 bytes from 10.0.35.1: icmp_seq=150 ttl=61 time=0.760 ms
64 bytes from 10.0.35.1: icmp_seq=151 ttl=61 time=0.726 ms
64 bytes from 10.0.35.1: icmp_seq=152 ttl=61 time=0.736 ms
64 bytes from 10.0.35.1: icmp_seq=153 ttl=61 time=0.730 ms
64 bytes from 10.0.35.1: icmp_seq=154 ttl=61 time=0.734 ms
64 bytes from 10.0.35.1: icmp_seq=155 ttl=61 time=0.718 ms
^C
--- 10.0.35.1 ping statistics ---
155 packets transmitted, 131 received, 15% packet loss, time 154194ms
rtt min/avg/max/mdev = 0.529/4.693/482.226/41.966 ms
20:54:10
#rsync
rsync  version 3.0.5  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.
...
     --protocol=NUM          force an older protocol version to be used
     --iconv=CONVERT_SPEC    request charset conversion of filenames
 -4, --ipv4                  prefer IPv4
 -6, --ipv6                  prefer IPv6
     --version               print version number
(-h) --help                  show this help (-h works with no other options)
Use "rsync --daemon --help" to see the daemon-mode command-line options.
Please see the rsync(1) and rsyncd.conf(5) man pages for full documentation.
See http://rsync.samba.org/ for updates, bug reports, and answers
rsync error: syntax or usage error (code 1) at main.c(1426) [client=3.0.5]
прошло 12 минут
/dev/pts/13
21:06:36
#scren -x
bash: scren: команда не найдена
21:06:40
#screen -x
/dev/pts/9
21:08:57
#rsync root@192.168.104.8/* /tmp/*
rsync: change_dir "/etc/openvpn/root@192.168.104.8" failed: No such file or directory (2)
skipping directory etc
skipping directory keyring-dLrWn8
skipping directory orbit-user
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1058) [sender=3.0.5]
21:10:34
#init 0

Четверг (06/04/09)

/dev/pts/11
09:28:01
#man -k copy
/dev/pts/15
09:30:41
#cd /home/user

09:30:55
#cd Pictures/

09:31:04
#ls
10_files  12_files  14_files  16_files  18_files  1_files   20.html   2.html   4_files  6_files  8_files  aaa
10.html   12.html   14.html   16.html   18.html   1.html    21_files  2_s.txt  4.html   6.html   8.html   ccc
11_files  13_files  15_files  17_files  19_files  1_s.txt   21.html   3_files  5_files  7_files  9_files
11.html   13.html   15.html   17.html   19.html   20_files  2_files   3.html   5.html   7.html   9.html
/dev/pts/11
09:34:53
#man -k cp
09:35:09
#history --help
bash: history: --: неправильная опция
history: usage: history [-c] [-d offset] [n] or history -awrn [filename] or history -ps arg [arg...]
09:40:12
#passwd
.bash_history     .dbus/            .gajim/           .gvfs/            .mozilla/         .screenrc         .Xauthority
.bash_logout      Desktop/          .gconf/           .ICEauthority     Music/            .ssh/             .xsession-errors
.bash_profile     .dmrc             .gconfd/          .l3rc             pas               Templates/
.bashrc           Documents/        .gnome2/          .lilalo/          Pictures/         .thumbnails/
.cache/           Download/         .gstreamer-0.10/  .local/           .profile          Videos/
.config/          e1000e-0.5.18.3/  .gtk-bookmarks    lv-table          Public/           work/
09:40:12
#ping 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 56(84) bytes of data.
From 192.168.103.2 icmp_seq=2 Destination Host Unreachable
From 192.168.103.2 icmp_seq=3 Destination Host Unreachable
From 192.168.103.2 icmp_seq=4 Destination Host Unreachable
From 192.168.103.2 icmp_seq=5 Destination Host Unreachable
From 192.168.103.2 icmp_seq=6 Destination Host Unreachable
From 192.168.103.2 icmp_seq=7 Destination Host Unreachable
From 192.168.103.2 icmp_seq=8 Destination Host Unreachable
From 192.168.103.2 icmp_seq=9 Destination Host Unreachable
From 192.168.103.2 icmp_seq=10 Destination Host Unreachable
...
From 192.168.103.2 icmp_seq=13 Destination Host Unreachable
From 192.168.103.2 icmp_seq=14 Destination Host Unreachable
From 192.168.103.2 icmp_seq=15 Destination Host Unreachable
From 192.168.103.2 icmp_seq=16 Destination Host Unreachable
From 192.168.103.2 icmp_seq=17 Destination Host Unreachable
From 192.168.103.2 icmp_seq=18 Destination Host Unreachable
^C
--- 10.0.35.100 ping statistics ---
20 packets transmitted, 0 received, +17 errors, 100% packet loss, time 19103ms
, pipe 3
09:48:40
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
From 192.168.103.2 icmp_seq=1 Destination Host Unreachable
From 192.168.103.2 icmp_seq=2 Destination Host Unreachable
From 192.168.103.2 icmp_seq=3 Destination Host Unreachable
From 192.168.103.2 icmp_seq=4 Destination Host Unreachable
From 192.168.103.2 icmp_seq=5 Destination Host Unreachable
From 192.168.103.2 icmp_seq=6 Destination Host Unreachable
From 192.168.103.2 icmp_seq=7 Destination Host Unreachable
From 192.168.103.2 icmp_seq=8 Destination Host Unreachable
From 192.168.103.2 icmp_seq=9 Destination Host Unreachable
From 192.168.103.2 icmp_seq=11 Destination Host Unreachable
From 192.168.103.2 icmp_seq=12 Destination Host Unreachable
From 192.168.103.2 icmp_seq=13 Destination Host Unreachable
^C
--- 10.0.35.1 ping statistics ---
13 packets transmitted, 0 received, +12 errors, 100% packet loss, time 12046ms
, pipe 3
09:48:55
#cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo eth0
iface lo inet loopback
iface eth0 inet static
    address 192.168.103.2
    netmask 255.255.255.0
    network 192.168.103.0
    broadcast 192.168.103.255
    gateway 192.168.103.1
09:53:09
#ping 192.168.202.1
PING 192.168.202.1 (192.168.202.1) 56(84) bytes of data.
From 192.168.103.2 icmp_seq=1 Destination Host Unreachable
From 192.168.103.2 icmp_seq=2 Destination Host Unreachable
From 192.168.103.2 icmp_seq=3 Destination Host Unreachable
From 192.168.103.2 icmp_seq=4 Destination Host Unreachable
From 192.168.103.2 icmp_seq=5 Destination Host Unreachable
From 192.168.103.2 icmp_seq=6 Destination Host Unreachable
From 192.168.103.2 icmp_seq=7 Destination Host Unreachable
From 192.168.103.2 icmp_seq=8 Destination Host Unreachable
From 192.168.103.2 icmp_seq=9 Destination Host Unreachable
...
From 192.168.103.2 icmp_seq=70 Destination Host Unreachable
From 192.168.103.2 icmp_seq=71 Destination Host Unreachable
From 192.168.103.2 icmp_seq=72 Destination Host Unreachable
From 192.168.103.2 icmp_seq=73 Destination Host Unreachable
From 192.168.103.2 icmp_seq=74 Destination Host Unreachable
From 192.168.103.2 icmp_seq=75 Destination Host Unreachable
^C
--- 192.168.202.1 ping statistics ---
76 packets transmitted, 0 received, +75 errors, 100% packet loss, time 75401ms
, pipe 3
09:54:44
#cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
auto lo eth0
iface lo inet loopback
iface eth0 inet static
    address 192.168.103.2
    netmask 255.255.255.0
    network 192.168.103.0
    broadcast 192.168.103.255
    gateway 192.168.103.1
09:54:46
#vi /etc/network/interfaces
--- /tmp/l3-saved-4202.29777.4080	2009-06-04 09:55:10.000000000 +0300
+++ /etc/network/interfaces	2009-06-04 09:55:45.000000000 +0300
@@ -5,10 +5,10 @@
 
 iface lo inet loopback
 iface eth0 inet static
-    address 192.168.103.2
+    address 192.168.15.5
     netmask 255.255.255.0
-    network 192.168.103.0
-    broadcast 192.168.103.255
-    gateway 192.168.103.1
+    network 192.168.15.0
+    broadcast 192.168.15.255
+    gateway 192.168.15.254
 
 
09:55:45
#cd /etc/inet.d/
bash: cd: /etc/inet.d/: Нет такого файла или каталога
09:56:21
#/etc/init.d/networking restart
Reconfiguring network interfaces...SIOCDELRT: No such process
done.
09:57:15
#ip route
192.168.15.0/24 dev eth0  proto kernel  scope link  src 192.168.15.5
default via 192.168.15.254 dev eth0
09:57:22
#ping 192.168.5.254
PING 192.168.5.254 (192.168.5.254) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=1 Destination Host Unreachable
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.5.254 ping statistics ---
6 packets transmitted, 0 received, +6 errors, 100% packet loss, time 5030ms
, pipe 3
09:58:05
#ping 192.168.15.5
PING 192.168.15.5 (192.168.15.5) 56(84) bytes of data.
64 bytes from 192.168.15.5: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 192.168.15.5: icmp_seq=2 ttl=64 time=0.010 ms
64 bytes from 192.168.15.5: icmp_seq=3 ttl=64 time=0.009 ms
^C
--- 192.168.15.5 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.009/0.012/0.019/0.006 ms
09:58:13
#ping 192.168.15.254
PING 192.168.15.254 (192.168.15.254) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=1 Destination Host Unreachable
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
From 192.168.15.5 icmp_seq=7 Destination Host Unreachable
From 192.168.15.5 icmp_seq=8 Destination Host Unreachable
From 192.168.15.5 icmp_seq=9 Destination Host Unreachable
From 192.168.15.5 icmp_seq=10 Destination Host Unreachable
From 192.168.15.5 icmp_seq=11 Destination Host Unreachable
From 192.168.15.5 icmp_seq=12 Destination Host Unreachable
^C
--- 192.168.15.254 ping statistics ---
15 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14079ms
, pipe 3
10:06:12
#ping 192.168.15.2
PING 192.168.15.2 (192.168.15.2) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
^C
--- 192.168.15.2 ping statistics ---
7 packets transmitted, 0 received, +3 errors, 100% packet loss, time 6017ms
, pipe 3
10:06:22
#ping 192.168.15.6
PING 192.168.15.6 (192.168.15.6) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=1 Destination Host Unreachable
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.15.6 ping statistics ---
8 packets transmitted, 0 received, +6 errors, 100% packet loss, time 7038ms
, pipe 3
10:08:11
#route delete default

10:08:35
#ip route
192.168.15.0/24 dev eth0  proto kernel  scope link  src 192.168.15.5
default via 192.168.15.254 dev eth0
10:08:38
#route change default via 192.168.15.6
Usage: route [-nNvee] [-FC] [<AF>]           List kernel routing tables
       route [-v] [-FC] {add|del|flush} ...  Modify routing table for AF.
       route {-h|--help} [<AF>]              Detailed usage syntax for specified AF.
       route {-V|--version}                  Display version/author and exit.
        -v, --verbose            be verbose
        -n, --numeric            don't resolve names
        -e, --extend             display other/more information
        -F, --fib                display Forwarding Information Base (default)
        -C, --cache              display routing cache instead of FIB
  <AF>=Use '-A <af>' or '--<af>'; default: inet
  List of possible address families (which support routing):
    inet (DARPA Internet) inet6 (IPv6) ax25 (AMPR AX.25)
    netrom (AMPR NET/ROM) ipx (Novell IPX) ddp (Appletalk DDP)
    x25 (CCITT X.25)
10:11:11
#ping 192.168.15.5
PING 192.168.15.5 (192.168.15.5) 56(84) bytes of data.
64 bytes from 192.168.15.5: icmp_seq=1 ttl=64 time=0.019 ms
64 bytes from 192.168.15.5: icmp_seq=2 ttl=64 time=0.009 ms
64 bytes from 192.168.15.5: icmp_seq=3 ttl=64 time=0.008 ms
^C
--- 192.168.15.5 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.008/0.012/0.019/0.005 ms
10:12:35
#traceroute 192.168.15.254
traceroute to 192.168.15.254 (192.168.15.254), 30 hops max, 60 byte packets
 1   (192.168.15.5)  3000.486 ms !H  3000.483 ms !H  3000.478 ms !H
10:13:03
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0a:01:d4:d3:5a
          inet addr:192.168.15.5  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:1ff:fed4:d35a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:113 errors:0 dropped:0 overruns:0 frame:0
          TX packets:555 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20292 (19.8 KiB)  TX bytes:33408 (32.6 KiB)
          Interrupt:20 Base address:0xec00
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:419 errors:0 dropped:0 overruns:0 frame:0
          TX packets:419 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42442 (41.4 KiB)  TX bytes:42442 (41.4 KiB)
10:13:47
#traceroute 192.168.15.6
traceroute to 192.168.15.6 (192.168.15.6), 30 hops max, 60 byte packets
^C
10:15:28
#ping 192.168.15.6
PING 192.168.15.6 (192.168.15.6) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
From 192.168.15.5 icmp_seq=7 Destination Host Unreachable
From 192.168.15.5 icmp_seq=8 Destination Host Unreachable
From 192.168.15.5 icmp_seq=9 Destination Host Unreachable
From 192.168.15.5 icmp_seq=10 Destination Host Unreachable
^C
--- 192.168.15.6 ping statistics ---
11 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10033ms
, pipe 3
10:15:41
#init 6

/dev/pts/9
10:19:08
#cd /etc/default/openvpn
bash: cd: /etc/default/openvpn: Это не каталог
10:19:34
#cat /etc/default/openvpn
# This is the configuration file for /etc/init.d/openvpn
#
# Start only these VPNs automatically via init script.
# Allowed values are "all", "none" or space separated list of
# names of the VPNs. If empty, "all" is assumed.
#
#AUTOSTART="all"
#AUTOSTART="none"
#AUTOSTART="home office"
#
# Refresh interval (in seconds) of default status files
# located in /var/run/openvpn.$NAME.status
# Defaults to 10, 0 disables status file generation
#
#STATUSREFRESH=10
#STATUSREFRESH=0
# Optional arguments to openvpn's command line
OPTARGS=""
10:19:44
#ping 195.168.15.6
PING 195.168.15.6 (195.168.15.6) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=1 Destination Host Unreachable
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
From 192.168.15.5 icmp_seq=7 Destination Host Unreachable
From 192.168.15.5 icmp_seq=8 Destination Host Unreachable
From 192.168.15.5 icmp_seq=9 Destination Host Unreachable
^C
--- 195.168.15.6 ping statistics ---
11 packets transmitted, 0 received, +9 errors, 100% packet loss, time 10054ms
, pipe 3
10:21:00
#ip route
192.168.15.0/24 dev eth0  proto kernel  scope link  src 192.168.15.5
default via 192.168.15.254 dev eth0
default via 192.168.15.6 dev eth0
10:21:08
#/etc/init.d/networking restart
Reconfiguring network interfaces...done.
10:21:22
#ping 10.0.35.100
PING 10.0.35.100 (10.0.35.100) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=1 Destination Host Unreachable
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
^C
--- 10.0.35.100 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4023ms
, pipe 3
10:21:39
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0a:01:d4:d3:5a
          inet addr:192.168.15.5  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::20a:1ff:fed4:d35a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2136 (2.0 KiB)  TX bytes:8016 (7.8 KiB)
          Interrupt:20 Base address:0xcc00
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:80 errors:0 dropped:0 overruns:0 frame:0
          TX packets:80 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7602 (7.4 KiB)  TX bytes:7602 (7.4 KiB)
10:22:16
#ip route
192.168.15.0/24 dev eth0  proto kernel  scope link  src 192.168.15.5
default via 192.168.15.254 dev eth0
10:22:27
#ip route
192.168.15.0/24 dev eth0  proto kernel  scope link  src 192.168.15.5
default via 192.168.15.254 dev eth0
10:31:23
#ping 195.168.15.254
PING 195.168.15.254 (195.168.15.254) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
^C
--- 195.168.15.254 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4000ms
, pipe 3
10:35:54
#ping 195.168.15.6
PING 195.168.15.6 (195.168.15.6) 56(84) bytes of data.
^C
--- 195.168.15.6 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms
10:36:01
#cat /etc/resolv.conf
nameserver 10.0.35.1
domain unix.nt
10:37:06
#ping 192.168.103.1
PING 192.168.103.1 (192.168.103.1) 56(84) bytes of data.
^C
--- 192.168.103.1 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1006ms
10:45:26
#ifdown
ifdown: Use --help for help
10:46:08
#ifdown eth0

10:46:25
#ip route

10:46:32
#ifup eth0

10:46:40
#ping 195.168.15.6
PING 195.168.15.6 (195.168.15.6) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
From 192.168.15.5 icmp_seq=8 Destination Host Unreachable
From 192.168.15.5 icmp_seq=9 Destination Host Unreachable
^C
--- 195.168.15.6 ping statistics ---
11 packets transmitted, 0 received, +6 errors, 100% packet loss, time 10056ms
, pipe 3
10:46:59
#ping 195.168.15.254
PING 195.168.15.254 (195.168.15.254) 56(84) bytes of data.
From 192.168.15.5 icmp_seq=2 Destination Host Unreachable
From 192.168.15.5 icmp_seq=3 Destination Host Unreachable
From 192.168.15.5 icmp_seq=4 Destination Host Unreachable
From 192.168.15.5 icmp_seq=5 Destination Host Unreachable
From 192.168.15.5 icmp_seq=6 Destination Host Unreachable
From 192.168.15.5 icmp_seq=7 Destination Host Unreachable
From 192.168.15.5 icmp_seq=8 Destination Host Unreachable
From 192.168.15.5 icmp_seq=9 Destination Host Unreachable
From 192.168.15.5 icmp_seq=10 Destination Host Unreachable
...
From 192.168.15.5 icmp_seq=17 Destination Host Unreachable
From 192.168.15.5 icmp_seq=18 Destination Host Unreachable
From 192.168.15.5 icmp_seq=19 Destination Host Unreachable
From 192.168.15.5 icmp_seq=20 Destination Host Unreachable
From 192.168.15.5 icmp_seq=21 Destination Host Unreachable
From 192.168.15.5 icmp_seq=22 Destination Host Unreachable
^C
--- 195.168.15.254 ping statistics ---
24 packets transmitted, 0 received, +21 errors, 100% packet loss, time 23105ms
, pipe 3
10:50:06
#eth-tool
bash: eth-tool: команда не найдена

Файлы

  • /etc/default/openvpn
  • /etc/network/interfaces
  • /etc/resolv.conf
  • /etc/default/openvpn
    >
    # This is the configuration file for /etc/init.d/openvpn
    #
    # Start only these VPNs automatically via init script.
    # Allowed values are "all", "none" or space separated list of
    # names of the VPNs. If empty, "all" is assumed.
    #
    #AUTOSTART="all"
    #AUTOSTART="none"
    #AUTOSTART="home office"
    #
    # Refresh interval (in seconds) of default status files
    # located in /var/run/openvpn.$NAME.status
    # Defaults to 10, 0 disables status file generation
    #
    #STATUSREFRESH=10
    #STATUSREFRESH=0
    # Optional arguments to openvpn's command line
    OPTARGS=""
    
    /etc/network/interfaces
    >
    # Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
    # /usr/share/doc/ifupdown/examples for more information.
    auto lo eth0
    iface lo inet loopback
    iface eth0 inet static
        address 192.168.103.2
        netmask 255.255.255.0
        network 192.168.103.0
        broadcast 192.168.103.255
        gateway 192.168.103.1
    
    /etc/resolv.conf
    >
    nameserver 10.0.35.1
    domain unix.nt
    

    Статистика

    Время первой команды журнала17:38:25 2009- 6- 3
    Время последней команды журнала10:50:06 2009- 6- 4
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %38.61
    Процент синтаксически неверно набранных команд, % 1.98
    Суммарное время работы с терминалом *, час 3.57
    Количество командных строк в единицу времени, команда/мин 0.47
    Частота использования команд
    ping44|===========================================| 43.56%
    ssh11|==========| 10.89%
    ip6|=====| 5.94%
    cd5|====| 4.95%
    traceroute4|===| 3.96%
    cat4|===| 3.96%
    screen3|==| 2.97%
    ifconfig2|=| 1.98%
    man2|=| 1.98%
    route2|=| 1.98%
    openvpn2|=| 1.98%
    ifdown2|=| 1.98%
    rsync2|=| 1.98%
    init2|=| 1.98%
    ls2|=| 1.98%
    /etc/init.d/networking2|=| 1.98%
    passwd1|| 0.99%
    ifup1|| 0.99%
    history1|| 0.99%
    eth-tool1|| 0.99%
    scren1|| 0.99%
    vi1|| 0.99%
    ____
    *) Интервалы неактивности длительностью 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$