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

Содержание

Журнал

Вторник (05/29/07)

/dev/tty2
16:37:53
#ifconfig eth1 0.0.0.0
From 192.168.16.2 icmp_seq=15 Destination Host Unreachable
From 192.168.16.2 icmp_seq=16 Destination Host Unreachable
From 192.168.16.2 icmp_seq=19 Destination Host Unreachable
From 192.168.16.2 icmp_seq=20 Destination Host Unreachable
From 192.168.16.2 icmp_seq=22 Destination Host Unreachable
From 192.168.16.2 icmp_seq=23 Destination Host Unreachable
From 192.168.16.2 icmp_seq=24 Destination Host Unreachable
From 192.168.16.2 icmp_seq=25 Destination Host Unreachable
From 192.168.16.2 icmp_seq=26 Destination Host Unreachable
From 192.168.16.2 icmp_seq=27 Destination Host Unreachable
...
From 192.168.16.2 icmp_seq=207 Destination Host Unreachable
From 192.168.16.2 icmp_seq=209 Destination Host Unreachable
From 192.168.16.2 icmp_seq=210 Destination Host Unreachable
From 192.168.16.2 icmp_seq=211 Destination Host Unreachable
From 192.168.16.2 icmp_seq=213 Destination Host Unreachable
From 192.168.16.2 icmp_seq=214 Destination Host Unreachable
From 192.168.16.2 icmp_seq=215 Destination Host Unreachable
From 192.168.16.2 icmp_seq=217 Destination Host Unreachable
From 192.168.16.2 icmp_seq=218 Destination Host Unreachable
From 192.168.16.2 icmp_seq=219 Destination Host Unreachable
16:40:31
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:B4:61:22
          inet addr:192.168.19.94  Bcast:192.168.19.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:435 errors:0 dropped:0 overruns:0 carrier:33
          collisions:0 txqueuelen:1000
          RX bytes:61622 (60.1 KiB)  TX bytes:40844 (39.8 KiB)
          Interrupt:16 Base address:0x4c00
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:CD:1B:CF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
...
          inet addr:192.168.16.2  Bcast:192.168.16.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13781 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13781 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2032004 (1.9 MiB)  TX bytes:2032004 (1.9 MiB)
16:40:37
#ifconfig eth1:1 down
From 192.168.16.2 icmp_seq=41 Destination Host Unreachable
From 192.168.16.2 icmp_seq=42 Destination Host Unreachable
From 192.168.16.2 icmp_seq=45 Destination Host Unreachable
From 192.168.16.2 icmp_seq=46 Destination Host Unreachable
From 192.168.16.2 icmp_seq=49 Destination Host Unreachable
From 192.168.16.2 icmp_seq=50 Destination Host Unreachable
From 192.168.16.2 icmp_seq=52 Destination Host Unreachable
From 192.168.16.2 icmp_seq=53 Destination Host Unreachable
From 192.168.16.2 icmp_seq=54 Destination Host Unreachable
From 192.168.16.2 icmp_seq=55 Destination Host Unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
16:40:57
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:01:02:B4:61:22
          inet addr:192.168.19.94  Bcast:192.168.19.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:435 errors:0 dropped:0 overruns:0 carrier:33
          collisions:0 txqueuelen:1000
          RX bytes:61622 (60.1 KiB)  TX bytes:40844 (39.8 KiB)
          Interrupt:16 Base address:0x4c00
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:CD:1B:CF
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
...
          collisions:0 txqueuelen:100
          RX bytes:1664091 (1.5 MiB)  TX bytes:1010867 (987.1 KiB)
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2033627 (1.9 MiB)  TX bytes:2033627 (1.9 MiB)
16:41:00
#/etc/init.d/networking restart'
From 192.168.16.2 icmp_seq=71 Destination Host Unreachable
From 192.168.16.2 icmp_seq=72 Destination Host Unreachable
From 192.168.16.2 icmp_seq=75 Destination Host Unreachable
From 192.168.16.2 icmp_seq=76 Destination Host Unreachable
From 192.168.16.2 icmp_seq=79 Destination Host Unreachable
From 192.168.16.2 icmp_seq=80 Destination Host Unreachable
From 192.168.16.2 icmp_seq=82 Destination Host Unreachable
From 192.168.16.2 icmp_seq=83 Destination Host Unreachable
From 192.168.16.2 icmp_seq=84 Destination Host Unreachable
From 192.168.16.2 icmp_seq=85 Destination Host Unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
>
16:41:19
#/etc/init.d/networking restart
Reconfiguring network interfaces...ifup: interface lo already configured
done.
16:41:20
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:01:02:B4:61:22
          inet addr:192.168.19.94  Bcast:192.168.19.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:435 errors:0 dropped:0 overruns:0 carrier:33
          collisions:0 txqueuelen:1000
          RX bytes:61622 (60.1 KiB)  TX bytes:40844 (39.8 KiB)
          Interrupt:16 Base address:0x4c00
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:CD:1B:CF
          inet addr:192.168.19.33  Bcast:192.168.19.63  Mask:255.255.255.224
...
          collisions:0 txqueuelen:100
          RX bytes:1664091 (1.5 MiB)  TX bytes:1010867 (987.1 KiB)
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2033627 (1.9 MiB)  TX bytes:2033627 (1.9 MiB)
16:41:23
#ping 192.168.16.15
From 192.168.16.2 icmp_seq=86 Destination Host Unreachable
From 192.168.16.2 icmp_seq=87 Destination Host Unreachable
From 192.168.16.2 icmp_seq=89 Destination Host Unreachable
From 192.168.16.2 icmp_seq=90 Destination Host Unreachable
From 192.168.16.2 icmp_seq=91 Destination Host Unreachable
From 192.168.16.2 icmp_seq=93 Destination Host Unreachable
From 192.168.16.2 icmp_seq=94 Destination Host Unreachable
From 192.168.16.2 icmp_seq=95 Destination Host Unreachable
From 192.168.16.2 icmp_seq=97 Destination Host Unreachable
From 192.168.16.2 icmp_seq=98 Destination Host Unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
connect: Network is unreachable
16:41:34
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:41:39
#route add default gw 192.168.19.62 netmask 255.255.255.224
From 192.168.16.2 icmp_seq=127 Destination Host Unreachable
From 192.168.16.2 icmp_seq=128 Destination Host Unreachable
From 192.168.16.2 icmp_seq=129 Destination Host Unreachable
From 192.168.16.2 icmp_seq=130 Destination Host Unreachable
From 192.168.16.2 icmp_seq=131 Destination Host Unreachable
From 192.168.16.2 icmp_seq=132 Destination Host Unreachable
From 192.168.16.2 icmp_seq=135 Destination Host Unreachable
From 192.168.16.2 icmp_seq=136 Destination Host Unreachable
From 192.168.16.2 icmp_seq=139 Destination Host Unreachable
From 192.168.16.2 icmp_seq=140 Destination Host Unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
16:42:09
#ping 192.168.16.15
From 192.168.16.2 icmp_seq=143 Destination Host Unreachable
From 192.168.16.2 icmp_seq=144 Destination Host Unreachable
From 192.168.16.2 icmp_seq=145 Destination Host Unreachable
From 192.168.16.2 icmp_seq=146 Destination Host Unreachable
From 192.168.16.2 icmp_seq=147 Destination Host Unreachable
From 192.168.16.2 icmp_seq=149 Destination Host Unreachable
From 192.168.16.2 icmp_seq=150 Destination Host Unreachable
From 192.168.16.2 icmp_seq=151 Destination Host Unreachable
From 192.168.16.2 icmp_seq=153 Destination Host Unreachable
From 192.168.16.2 icmp_seq=154 Destination Host Unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
connect: Network is unreachable
16:42:11
#ping 192.168.16.15
From 192.168.16.2 icmp_seq=170 Destination Host Unreachable
From 192.168.16.2 icmp_seq=172 Destination Host Unreachable
From 192.168.16.2 icmp_seq=173 Destination Host Unreachable
From 192.168.16.2 icmp_seq=174 Destination Host Unreachable
From 192.168.16.2 icmp_seq=175 Destination Host Unreachable
From 192.168.16.2 icmp_seq=176 Destination Host Unreachable
From 192.168.16.2 icmp_seq=177 Destination Host Unreachable
From 192.168.16.2 icmp_seq=179 Destination Host Unreachable
From 192.168.16.2 icmp_seq=180 Destination Host Unreachable
From 192.168.16.2 icmp_seq=181 Destination Host Unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
connect: Network is unreachable
16:42:32
#ifconfig
From 192.168.16.2 icmp_seq=218 Destination Host Unreachable
From 192.168.16.2 icmp_seq=219 Destination Host Unreachable
From 192.168.16.2 icmp_seq=220 Destination Host Unreachable
From 192.168.16.2 icmp_seq=221 Destination Host Unreachable
From 192.168.16.2 icmp_seq=222 Destination Host Unreachable
From 192.168.16.2 icmp_seq=225 Destination Host Unreachable
From 192.168.16.2 icmp_seq=226 Destination Host Unreachable
From 192.168.16.2 icmp_seq=229 Destination Host Unreachable
From 192.168.16.2 icmp_seq=230 Destination Host Unreachable
ping: sendmsg: Network is unreachable
...
          collisions:0 txqueuelen:100
          RX bytes:1664091 (1.5 MiB)  TX bytes:1010867 (987.1 KiB)
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2033627 (1.9 MiB)  TX bytes:2033627 (1.9 MiB)
16:42:47
#ping 192.168.19.62
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
PING 192.168.19.62 (192.168.19.62) 56(84) bytes of data.
64 bytes from 192.168.19.62: icmp_seq=1 ttl=64 time=4.19 ms
64 bytes from 192.168.19.62: icmp_seq=2 ttl=64 time=0.131 ms
--- 192.168.19.62 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1017ms
rtt min/avg/max/mdev = 0.131/2.164/4.197/2.033 ms
16:43:25
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.19.62   255.255.255.224 UG    0      0        0 eth1
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:43:28
#ping 192.168.16.15
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
connect: Network is unreachable
16:43:38
#ping 192.168.16.1
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
connect: Network is unreachable
16:43:54
#ping 192.168.19.62
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
PING 192.168.19.62 (192.168.19.62) 56(84) bytes of data.
64 bytes from 192.168.19.62: icmp_seq=1 ttl=64 time=0.159 ms
64 bytes from 192.168.19.62: icmp_seq=2 ttl=64 time=0.156 ms
64 bytes from 192.168.19.62: icmp_seq=3 ttl=64 time=0.273 ms
--- 192.168.19.62 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2020ms
rtt min/avg/max/mdev = 0.156/0.196/0.273/0.054 ms
16:44:05
#traceroute -n 192.168.16.15
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
traceroute: Warning: findsaddr: netlink error: Network is unreachable
traceroute: Warning: ip checksums disabled
traceroute to 192.168.16.15 (192.168.16.15), 30 hops max, 40 byte packets
traceroute: sendto: Network is unreachable
 1 traceroute: wrote 192.168.16.15 40 chars, ret=-1
16:44:36
#traceroute -n 10.0.1.14
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
traceroute: Warning: findsaddr: netlink error: Network is unreachable
traceroute: Warning: ip checksums disabled
traceroute to 10.0.1.14 (10.0.1.14), 30 hops max, 40 byte packets
traceroute: sendto: Network is unreachable
 1 traceroute: wrote 10.0.1.14 40 chars, ret=-1
16:44:52
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:01:02:B4:61:22
          inet addr:192.168.19.94  Bcast:192.168.19.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:625 errors:0 dropped:0 overruns:0 frame:0
          TX packets:439 errors:0 dropped:0 overruns:0 carrier:33
          collisions:0 txqueuelen:1000
          RX bytes:63874 (62.3 KiB)  TX bytes:41084 (40.1 KiB)
          Interrupt:16 Base address:0x4c00
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:CD:1B:CF
          inet addr:192.168.19.33  Bcast:192.168.19.63  Mask:255.255.255.224
...
          collisions:0 txqueuelen:100
          RX bytes:1664793 (1.5 MiB)  TX bytes:1011569 (987.8 KiB)
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2033627 (1.9 MiB)  TX bytes:2033627 (1.9 MiB)
16:44:57
#route -n
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.19.62   255.255.255.224 UG    0      0        0 eth1
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:45:19
#ping 192.168.1
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
PING 192.168.19.62 (192.168.19.62) 56(84) bytes of data.
64 bytes from 192.168.19.62: icmp_seq=1 ttl=64 time=0.189 ms
64 bytes from 192.168.19.62: icmp_seq=2 ttl=64 time=0.333 ms
--- 192.168.19.62 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1023ms
rtt min/avg/max/mdev = 0.189/0.261/0.333/0.072 ms
16:45:39
#ping 192.168.16.1
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
connect: Network is unreachable
16:45:44
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:01:02:B4:61:22
          inet addr:192.168.19.94  Bcast:192.168.19.95  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:633 errors:0 dropped:0 overruns:0 frame:0
          TX packets:440 errors:0 dropped:0 overruns:0 carrier:33
          collisions:0 txqueuelen:1000
          RX bytes:64424 (62.9 KiB)  TX bytes:41144 (40.1 KiB)
          Interrupt:16 Base address:0x4c00
eth1      Link encap:Ethernet  HWaddr 00:D0:B7:CD:1B:CF
          inet addr:192.168.19.33  Bcast:192.168.19.63  Mask:255.255.255.224
...
          collisions:0 txqueuelen:100
          RX bytes:1665061 (1.5 MiB)  TX bytes:1011837 (988.1 KiB)
          Base address:0xcc00 Memory:ff7e0000-ff800000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:13796 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13796 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2033627 (1.9 MiB)  TX bytes:2033627 (1.9 MiB)
16:45:49
#arp -an
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
? (192.168.19.62) at 00:04:76:A1:F0:A5 [ether] on eth1
? (192.168.19.65) at 00:04:75:75:46:C1 [ether] on eth0
16:45:56
#vim /etc/network/interfaces
16:46:22
#route -n
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.19.62   255.255.255.224 UG    0      0        0 eth1
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:46:25
#route del default
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
SIOCDELRT: No such process
16:46:34
#route del default gw
Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M]
                              [netmask N] [mss Mss] [window W] [irtt I]
                              [mod] [dyn] [reinstate] [[dev] If]
       inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] reject
       inet_route [-FC] flush      NOT supported
16:46:37
#route del default gw 192.168.16.62 netmask 255.255.255.224
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
SIOCDELRT: No such process
16:46:54
#route del default gw 192.168.16.62 netmask 255.255.255.224
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
SIOCDELRT: No such process
16:47:04
#route -n
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.19.62   255.255.255.224 UG    0      0        0 eth1
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:47:07
#route del default gw 192.168.19.62 netmask 255.255.255.224
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
16:47:17
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:47:19
#route add default gw 192.168.19.62 netmask 255.255.255.224
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
16:47:34
#ping 192.168.16.1
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
...
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
ping: sendmsg: Network is unreachable
Broadcast message from root@linux2 (pts/3) (Tue May 29 16:47:48 2007):
The system is going down for reboot NOW!
connect: Network is unreachable
16:47:38
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.19.62   255.255.255.224 UG    0      0        0 eth1
192.168.19.32   0.0.0.0         255.255.255.224 U     0      0        0 eth1
192.168.19.64   0.0.0.0         255.255.255.224 U     0      0        0 eth0
16:47:42
#reboot

Статистика

Время первой команды журнала16:37:53 2007- 5-29
Время последней команды журнала16:47:42 2007- 5-29
Количество командных строк в журнале39
Процент команд с ненулевым кодом завершения, %30.77
Процент синтаксически неверно набранных команд, % 0.00
Суммарное время работы с терминалом *, час 0.16
Количество командных строк в единицу времени, команда/мин 3.97
Частота использования команд
route14|===================================| 35.90%
ping10|=========================| 25.64%
ifconfig8|====================| 20.51%
traceroute2|=====| 5.13%
/etc/init.d/networking2|=====| 5.13%
arp1|==| 2.56%
vim1|==| 2.56%
reboot1|==| 2.56%
____
*) Интервалы неактивности длительностью 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$