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

Содержание

Журнал

Четверг (04/05/07)

/dev/pts/15
15:08:46
#reboot
Connection to fbsd2 closed by remote host.
Connection to fbsd2 closed.
15:08:57
#ssh fbsd2
FreeBSD 6.2-RC1 (MY) #0: Thu Apr  5 14:04:11 EEST 2007
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.
o  The Handbook and FAQ documents are at http://www.FreeBSD.org/ and,
   along with the mailing lists, can be searched by going to
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:10:42
#exit
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
Connection to fbsd2 closed.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:13:11
#tail -f nohup.out
  CC [M]  drivers/net/wan/lmc/lmc_media.o
  CC [M]  drivers/net/wan/lmc/lmc_main.o
  CC [M]  drivers/net/wan/lmc/lmc_proto.o
  LD [M]  drivers/net/wan/lmc/lmc.o
  LD      drivers/net/wireless/built-in.o
  CC [M]  drivers/net/wireless/ipw2100.o
  CC [M]  drivers/net/wireless/ipw2200.o
  CC [M]  drivers/net/wireless/strip.o
  CC [M]  drivers/net/wireless/arlan-main.o
  CC [M]  drivers/net/wireless/arlan-proc.o
  LD [M]  drivers/net/wireless/arlan.o
  CC [M]  drivers/net/wireless/wavelan.o
15:13:19
#cd
              tively).  See also /usr/src/linux/Documentation/filesystems/adfs.txt.
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:13:41
#uname -a
Linux linux1 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux
15:13:46
#uname -r
2.6.18-4-686
15:13:55
#ls -l /lib/modules/
итого 8
drwxr-xr-x 3 root root 4096 2007-04-03 12:53 2.6.18-4-686
drwxr-xr-x 5 root root 4096 2007-03-30 22:26 2.6.8-3-386
15:14:02
#ls -l /lib/modules/2.6.18-4-686/
итого 1384
drwxr-xr-x 9 root root   4096 2007-04-03 12:53 kernel
-rw-r--r-- 1 root root 297949 2007-04-03 12:53 modules.alias
-rw-r--r-- 1 root root     69 2007-04-03 12:53 modules.ccwmap
-rw-r--r-- 1 root root 333213 2007-04-03 12:53 modules.dep
-rw-r--r-- 1 root root    813 2007-04-03 12:53 modules.ieee1394map
-rw-r--r-- 1 root root    730 2007-04-03 12:53 modules.inputmap
-rw-r--r-- 1 root root  21839 2007-04-03 12:53 modules.isapnpmap
-rw-r--r-- 1 root root     74 2007-04-03 12:53 modules.ofmap
-rw-r--r-- 1 root root 235061 2007-04-03 12:53 modules.pcimap
-rw-r--r-- 1 root root   1135 2007-04-03 12:53 modules.seriomap
-rw-r--r-- 1 root root 136641 2007-04-03 12:53 modules.symbols
-rw-r--r-- 1 root root 333772 2007-04-03 12:53 modules.usbmap
15:14:09
#lspci
0000:00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
0000:00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 01)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge (rev 01)
0000:00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) UltraATA-100 IDE Controller (rev 01)
0000:00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 01)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
0000:01:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 74)
15:14:18
#lspci -n
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
0000:00:00.0 0600: 8086:2560 (rev 01)
...
0000:00:1d.2 0c03: 8086:24c7 (rev 01)
0000:00:1d.7 0c03: 8086:24cd (rev 01)
0000:00:1e.0 0604: 8086:244e (rev 81)
0000:00:1f.0 0601: 8086:24c0 (rev 01)
0000:00:1f.1 0101: 8086:24cb (rev 01)
0000:00:1f.3 0c05: 8086:24c3 (rev 01)
0000:00:1f.5 0401: 8086:24c5 (rev 01)
0000:01:00.0 0200: 10b7:9200 (rev 74)
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
/dev/pts/4
15:14:18
#screen -x
/dev/pts/15
15:14:38
#grep 10b7.*9200 /lib/modules/2.6.18-4-686/modules.pcimap
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
3c59x                0x000010b7 0x00009200 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:15:18
#grep 3c59x /boot/
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
config-2.6.18-4-686      grub                     initrd.img-2.6.8-3-386   System.map-2.6.8-3-386   vmlinuz-2.6.8-3-386
config-2.6.8-3-386       initrd.img-2.6.18-4-686  System.map-2.6.18-4-686  vmlinuz-2.6.18-4-686
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:15:18
#grep 3c59x /boot/config-2.6.18-4-686

15:16:31
#vim /boot/config-2.6.18-4-686
15:19:21
#lsmod
Module                  Size  Used by
videodev               21120  0
v4l1_compat            12036  1 videodev
v4l2_common            20448  1 videodev
nls_cp866               5376  1
nls_iso8859_1           4256  0
isofs                  32540  0
loop                   15048  0
tcp_diag                1888  0
inet_diag              11208  1 tcp_diag
...
3c59x                  40360  0
mii                     5344  1 3c59x
generic                 5476  0 [permanent]
ide_core              110504  5 usb_storage,ide_cd,ide_disk,piix,generic
ehci_hcd               28136  0
uhci_hcd               21164  0
usbcore               112644  4 usb_storage,ehci_hcd,uhci_hcd
thermal                13608  0
processor              28840  1 thermal
fan                     4804  0
15:19:25
#lsmod | 3c59x
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
bash: 3c59x: command not found
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:19:35
#lsmod | grep 3c59x
3c59x                  40360  0
mii                     5344  1 3c59x
15:19:38
#mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
15:19:43
#lsmod | grep 3c59x
              tively).  See also /usr/src/linux/Documentation/filesystems/adfs.txt.
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
/dev/pts/12
15:20:35
#screen -x
/dev/pts/12
15:22:39
#screen -x
/dev/pts/15
15:23:20
#vim /etc/modu
15:23:20
#vim /etc/modules
15:23:42
#vim /etc/modules.conf
15:25:14
#vim /etc/modules.conf
15:25:14
#vim /etc/modules.conf.old
15:25:34
#vim /etc/modules.conf
15:28:56
#apt-cache search linux-image
linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
linux-image-2.6-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition package
linux-image-2.6-vserver-686 - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-vserver-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-xen-686 - Linux kernel 2.6 image on i686
linux-image-2.6-xen-vserver-686 - Linux kernel 2.6 image on i686
linux-image-2.6.18-4-486 - Linux 2.6.18 image on x86
linux-image-2.6.18-4-686 - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
...
linux-image-686-bigmem - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-amd64 - Linux kernel image on AMD64
linux-image-k7 - Linux kernel image on AMD K7
linux-image-vserver-686 - Linux kernel image on PPro/Celeron/PII/PIII/P4
linux-image-vserver-k7 - Linux kernel image on AMD K7
linux-image-xen-686 - Linux kernel image on i686
linux-image-xen-vserver-686 - Linux kernel image on i686
linux-tree-2.6.18 - Linux kernel source tree for building Debian kernel images
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:31:33
#apt-cache search linux-source
linux-patch-debian-2.6.18 - Debian patches to version 2.6.18 of the Linux kernel
linux-source-2.6.18 - Linux kernel source for version 2.6.18 with Debian patches
linux-tree-2.6.18 - Linux kernel source tree for building Debian kernel images
15:31:49
#ls -l /lib
-rw-r--r-- 1 root root  374920 2004-09-21 22:57 libslang.so.1.4.9
lrwxrwxrwx 1 root root      22 2007-03-30 21:54 libslang.so.1-UTF8 -> libslang.so.1-UTF8.4.9
-rw-r--r-- 1 root root  374952 2004-09-21 22:57 libslang.so.1-UTF8.4.9
lrwxrwxrwx 1 root root      17 2007-03-30 23:41 libslang.so.2 -> libslang.so.2.0.6
-rw-r--r-- 1 root root  644012 2006-10-18 22:50 libslang.so.2.0.6
lrwxrwxrwx 1 root root      12 2007-03-30 21:54 libss.so.2 -> libss.so.2.0
-rw-r--r-- 1 root root   18416 2005-05-27 03:22 libss.so.2.0
lrwxrwxrwx 1 root root      17 2007-03-30 23:41 libsysfs.so.2 -> libsysfs.so.2.0.1
-rw-r--r-- 1 root root   37496 2006-10-29 19:23 libsysfs.so.2.0.1
-rw-r--r-- 1 root root   17860 2007-02-21 17:13 libthread_db-1.0.so
...
-rw-r--r-- 1 root root   23264 2007-03-03 23:09 libvolume_id.so.0.75.0
lrwxrwxrwx 1 root root      16 2007-03-30 21:55 libwrap.so.0 -> libwrap.so.0.7.6
-rw-r--r-- 1 root root   28880 2005-03-12 02:39 libwrap.so.0.7.6
drwxr-xr-x 2 root root    4096 2007-03-30 23:00 lsb
drwxr-xr-x 4 root root    4096 2007-04-03 12:53 modules
drwxr-xr-x 2 root root    4096 2007-03-30 21:54 security
drwxr-xr-x 2 root root    4096 2007-03-30 22:54 tls
drwxr-xr-x 3 root root    4096 2007-04-03 12:48 udev
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:34:04
#du -sh /lib/modules/2.6.18-4-686/
46M     /lib/modules/2.6.18-4-686/
15:34:29
#du -sh /lib/
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
93M     /lib/
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:34:44
#tail -f /usr/src/linux-2.6.19.2/nohup.out
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
  CC [M]  drivers/parport/parport_pc.o
...
  CC [M]  drivers/parport/parport_ax88796.o
  CC      drivers/pci/access.o
  CC      drivers/pci/bus.o
  CC      drivers/pci/probe.o
  CC      drivers/pci/remove.o
  CC      drivers/pci/pci.o
  CC      drivers/pci/quirks.o
  CC      drivers/pci/pci-driver.o
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:37:14
#ssh fbsd2
Password:
Last login: Thu Apr  5 15:10:41 2007 from linux1.net.nt
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.
FreeBSD 6.2-RC1 (MY) #0: Thu Apr  5 14:04:11 EEST 2007
Welcome to FreeBSD!
Before seeking technical support, please use the following resources:
o  Security advisories and updated errata information for all releases are
   at http://www.FreeBSD.org/releases/ - always consult the ERRATA section
   for your release first as it's updated frequently.
...
   http://www.FreeBSD.org/search/.  If the doc distribution has
   been installed, they're also available formatted in /usr/share/doc.
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
15:37:40
#cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <Intel ICH4 (82801DB)> at io 0xde081000, 0xde082000 irq 17 bufsz 16384  (1p/1r/0v channels duplex default)
/dev/pts/17
15:37:41
#screen -x
/dev/pts/15
15:37:45
#kldstat
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
...
              Prefix used before volume name, when following a link.
Id Refs Address    Size     Name
 1   11 0xc0400000 72084c   kernel
 2    1 0xc0b21000 59f20    acpi.ko
 3    1 0xc5124000 5000     i915.ko
 4    1 0xc512a000 e000     drm.ko
 5    1 0xc594d000 2000     msdosfs_iconv.ko
 6    1 0xc59f9000 3000     libiconv.ko
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:37:56
#usb
usbd          usbdevs       usbhidaction  usbhidctl
15:37:56
#dmesg
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
ppbus0: <Parallel port bus> on ppc0
...
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1800033996 Hz quality 800
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding enabled, default to accept, logging disabled
ad1: 38166MB <WDC WD400JB-00ENA0 05.03E05> at ata0-slave UDMA100
acd0: DVDROM <JLMS DVD-ROM LTD-166S/DS0B> at ata1-slave UDMA40
Trying to mount root from ufs:/dev/ad1s1a
drmsub0: <Intel i845G GMCH>: (child of agp_i810.c) on agp0
info: [drm] AGP at 0xd0000000 128MB
info: [drm] Initialized i915 1.4.0 20060119
15:38:26
#dmesg | grep snd

15:38:40
#dmesg | less
15:39:01
#dmesg | grep pcm
pcm0: <Intel ICH4 (82801DB)> port 0xe000-0xe0ff,0xe400-0xe43f mem 0xde081000-0xde0811ff,0xde082000-0xde0820ff irq 17 at device 31.5 on pci0
pcm0: primary codec not ready!
pcm0: <Avance Logic ALC200 AC97 Codec>
pcm0: <Intel ICH4 (82801DB)> port 0xe000-0xe0ff,0xe400-0xe43f mem 0xde081000-0xde0811ff,0xde082000-0xde0820ff irq 17 at device 31.5 on pci0
pcm0: primary codec not ready!
pcm0: <Avance Logic ALC200 AC97 Codec>
15:39:05
#ssh clint@net.nt
Connection to net.nt closed.
15:40:43
#cat /home/user/18\ -\ Seemann.mp3 > /dev/s
sndstat   stderr    stdin     stdout    sysmouse
15:41:12
#find /usr/ -name *
find: a: unknown option
15:41:32
#find -E /usr/ -name *\.wav
/usr/local/share/sounds/KDE_Desktop2.wav
/usr/local/share/sounds/KDE_Desktop3.wav
/usr/local/share/sounds/KDE_Desktop4.wav
/usr/local/share/sounds/KDE_Desktop5.wav
/usr/local/share/sounds/KDE_Desktop6.wav
/usr/local/share/sounds/KDE_Desktop7.wav
/usr/local/share/sounds/KDE_Desktop8.wav
/usr/local/share/sounds/KDE_Dialog_Appear.wav
/usr/local/share/sounds/KDE_Dialog_Disappear.wav
/usr/local/share/sounds/KDE_Error.wav
...
/usr/local/share/sounds/KDE_Window_Shade_Down.wav
/usr/local/share/sounds/KDE_Window_Shade_Up.wav
/usr/local/share/sounds/KDE_Window_Sticky.wav
/usr/local/share/sounds/KDE_Window_UnMaximize.wav
/usr/local/share/sounds/KDE_Window_UnSticky.wav
/usr/local/share/sounds/KDE_Logout_new.wav
/usr/local/share/sounds/KDE_Startup_new.wav
/usr/local/share/sounds/ktalkd.wav
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:43:21
#cat /usr/local/share/sounds/KDE_Startup_new.wav > /dev/sndstat
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
cat: stdout: Operation not supported by device
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:44:42
#cat /usr/local/share/sounds/KDE_Startup_new.wav > /dev/d
devctl   devstat  dri/     dsp0.0   dsp0.1   dspW0.0  dspW0.1  dspr0.1
15:44:42
#cat /usr/local/share/sounds/KDE_Startup_new.wav > /dev/dsp
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
dsp0.0   dsp0.1   dspW0.0  dspW0.1  dspr0.1
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:44:42
#cat /usr/local/share/sounds/KDE_Startup_new.wav > /dev/dsp0.0
^C
^C^C^C^C
15:46:46
#cat /home/user/
.DCOPserver_fbsd2.net.nt_:0  .gnome2/                     .profile                     base
.DCOPserver_fbsd2.net.nt__0  .gnome2_private/             .qt/                         bin/
.ICEauthority                .gtkrc                       .rhosts                      body
.Xauthority                  .inputrc                     .shrc                        c/
.bash_history                .kde/                        .ssh/                        files/
.bash_logout                 .l3rc                        .swp                         names/
.bash_profile                .lesshst                     .thumbnails/                 no_file
.bashrc                      .lilalo/                     .viminfo                     pics/
.config/                     .local/                      .vimrc                       proj/
.cshrc                       .login                       .xinitrc                     projectX/
.dmrc                        .login_conf                  .xsession-errors             sh/
.fonts/                      .mail_aliases                10                           test/
.fonts.cache-1               .mailrc                      18 - Seemann.mp3             text/
.gconf/                      .mcop/                       Desktop/                     touchlist
.gconfd/                     .mozilla/                    Font/                        very_long_file_name
15:46:46
#cat /home/user/18\ -\ Seemann.mp3 > /dev/dsp0.0
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
^C
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:47:35
#cat /etc/passwd > /dev/dsp0.0

15:48:06
#pkg_add -r mpg123
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/mpg123.tbz... Done.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:49:11
#mp
mpeg2dec  mpg123    mptable
15:49:11
#mpg123 --help
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
usage: mpg123 [option(s)] [file(s) | URL(s) | -]
supported options [defaults in brackets]:
   -v    increase verbosity level       -q    quiet (don't print title)
   -t    testmode (no output)           -s    write to stdout
   -w <filename> write Output as WAV file
   -k n  skip first n frames [0]        -n n  decode only n frames [all]
...
                                        -a d  set audio device
   -2    downsample 1:2 (22 kHz)        -4    downsample 1:4 (11 kHz)
   -d n  play every n'th frame only     -h n  play every frame n times
   -0    decode channel 0 (left) only   -1    decode channel 1 (right) only
   -m    mix both channels (mono)       -p p  use HTTP proxy p [$HTTP_PROXY]
   -@ f  read filenames/URLs from f
   -z    shuffle play (with wildcards)  -Z    random play
   -u a  HTTP authentication string     -E f  Equalizer, data from file
   -C    enable control keys
See the manpage mpg123(1) or call mpg123 with --longhelp for more information.
15:49:29
#mpg123
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
usage: mpg123 [option(s)] [file(s) | URL(s) | -]
supported options [defaults in brackets]:
   -v    increase verbosity level       -q    quiet (don't print title)
   -t    testmode (no output)           -s    write to stdout
   -w <filename> write Output as WAV file
   -k n  skip first n frames [0]        -n n  decode only n frames [all]
...
                                        -a d  set audio device
   -2    downsample 1:2 (22 kHz)        -4    downsample 1:4 (11 kHz)
   -d n  play every n'th frame only     -h n  play every frame n times
   -0    decode channel 0 (left) only   -1    decode channel 1 (right) only
   -m    mix both channels (mono)       -p p  use HTTP proxy p [$HTTP_PROXY]
   -@ f  read filenames/URLs from f
   -z    shuffle play (with wildcards)  -Z    random play
   -u a  HTTP authentication string     -E f  Equalizer, data from file
   -C    enable control keys
See the manpage mpg123(1) or call mpg123 with --longhelp for more information.
15:49:33
#mpg123 /home/user/18\ -\ Seemann.mp3
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
...
Title  : Seemann                         Artist: Rammstein
Album  : Live Aus Berlin                 Year  : 1999
Comment:                                 Genre : Industrial
Directory: /home/user/
Playing MPEG stream from 18 - Seemann.mp3 ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
^C
[1:51] Decoding of 18 - Seemann.mp3 finished.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
15:51:32
#/home/user/18
bash: /home/user/18: No such file or directory
прошло 13 минут
16:05:24
#pkg_info
vte-0.14.1          Terminal widget with improved accessibility and I18N suppor
wget-1.10.2         Retrieve files from the Net via HTTP and FTP
wv2-0.2.2_3         A library providing routines to access Microsoft Word files
xmlcatmgr-2.2       SGML and XML catalog manager
xorg-6.9.0          X.Org distribution metaport
xorg-clients-6.9.0_3 X client programs and related files from X.Org
xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
...
xorg-printserver-6.9.0_2 X Print server from X.Org
xorg-server-6.9.0_5 X.Org X server and related programs
xorg-vfbserver-6.9.0_2 X virtual framebuffer server from X.Org
xscreensaver-gnome-hacks-4.24_1 Save your screen while you entertain your cat (for GNOME us
xterm-220           Terminal emulator for the X Window System
xvid-1.1.0,1        An opensource MPEG-4 codec, based on OpenDivx
yelp-2.16.1_1       A help browser for the GNOME 2 desktop
zenity-2.16.1       Display GNOME dialogs from the command line
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
16:11:19
#pkg_info | grep wget
wget-1.10.2         Retrieve files from the Net via HTTP and FTP
16:11:54
#PACKAGESITE=net.nt/FreeBSD/packages/ pkg_add -r firefox-i18n-2.0.0.3
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
pkg_add: can't stat package file 'firefox-i18n-2.0.0.3'
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
/dev/pts/19
16:14:36
#ssh clint@net.nt
Connection to net.nt closed.
/dev/pts/15
16:17:06
#PACKAGESITE=ftp://net.nt/FreeBSD/packages/ pkg_add -r firefox-i18n-2.0.0.3
Fetching ftp://net.nt/FreeBSD/packages/firefox-i18n-2.0.0.3.tbz... Done.
Error: FTP Unable to get ftp://net.nt/FreeBSD/All/xpi-quick-locale-switcher-1.5.0.1.tbz: File unavailable (e.g., file not found, no access)
pkg_add: can't open dependency file '/var/db/pkg/xpi-quick-locale-switcher-1.5.0.1/+REQUIRED_BY'!
dependency registration is incomplete
16:17:28
#ftp -a ftp.freebsd.org
drwxr-xr-x   2 ftpuser  ftpusers      2048 Oct 29 03:47 tk84
drwxr-xr-x   2 ftpuser  ftpusers       512 Oct 29 03:47 tkstep80
drwxr-xr-x   2 ftpuser  ftpusers       512 Oct 29 03:47 ukrainian
drwxr-xr-x   2 ftpuser  ftpusers      1024 Oct 29 03:47 vietnamese
drwxr-xr-x   2 ftpuser  ftpusers      4096 Oct 29 03:47 windowmaker
drwxr-xr-x   2 ftpuser  ftpusers     41984 Oct 29 03:48 www
drwxr-xr-x   2 ftpuser  ftpusers     10240 Oct 29 03:49 x11
drwxr-xr-x   2 ftpuser  ftpusers      2048 Oct 29 03:49 x11-clocks
drwxr-xr-x   2 ftpuser  ftpusers      1536 Oct 29 03:49 x11-fm
drwxr-xr-x   2 ftpuser  ftpusers      3584 Oct 29 03:49 x11-fonts
...
250 "/pub/FreeBSD/ports/i386/packages-6.1-release/All" is new cwd.
ftp> "
ftp> pwd
Remote directory: /pub/FreeBSD/ports/i386/packages-6.1-release/All
ftp> q
?Ambiguous command.
ftp> quit
421 Disconnecting you since you were inactive for 90 seconds.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
/dev/pts/24
16:22:15
#ssh fbsd2
If you still have a question or problem, please take the output of
`uname -a', along with any relevant error messages, and email it
as a question to the questions@FreeBSD.org mailing list.  If you are
unfamiliar with FreeBSD's directory layout, please refer to the hier(7)
manual page.  If you are not familiar with manual pages, type `man man'.
You may also use sysinstall(8) to re-enter the installation and
configuration utility.  Edit /etc/motd to change this login announcement.
Removing stale pidfile
16:22:32
#pkg_delete -x firefox
pkg_delete: package 'firefox-1.5.0.7_1,1' is required by these other packages
and may not be deinstalled:
epiphany-2.16.1_1
py24-gnome-extras-2.14.2
gnome-applets-2.16.1_1
yelp-2.16.1_1
gnome2-2.16.1_2
16:22:55
#pkg_delete -x firefox-1.5.0.7_1,1
pkg_delete: package 'firefox-1.5.0.7_1,1' is required by these other packages
and may not be deinstalled:
epiphany-2.16.1_1
py24-gnome-extras-2.14.2
gnome-applets-2.16.1_1
yelp-2.16.1_1
gnome2-2.16.1_2
/dev/pts/39
16:23:04
#logout
linux-headers-2.6.18-4-vserver-k7 - Header files for Linux 2.6.18 on AMD K7
linux-headers-2.6.18-4-xen-686 - Header files for Linux 2.6.18 on i686
linux-headers-2.6.18-4-xen-vserver-686 - Header files for Linux 2.6.18 on i686
linux-image-2.6-486 - Linux kernel 2.6 image on x86
linux-image-2.6-686 - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-bigmem - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-smp - Linux 2.6 image on PPro/Celeron/PII/PIII/P4 SMP - tran
linux-image-2.6-amd64 - Linux kernel 2.6 image on AMD64
linux-image-2.6-k7 - Linux kernel 2.6 image on AMD K7
linux-image-2.6-k7-smp - Linux 2.6 image on AMD K7 SMP - transition package
bash: logout: not login shell: use `exit'
/dev/pts/24
16:23:09
#PACKAGESITE=ftp://net.nt/FreeBSD/packages/ pkg_agg -r firefox-1.5.0.7_1,1
arts-1.5.4,1        Audio system for the KDE integrated X11 desktop
artswrapper-1.5.3   Setuid wrapper for arts
aspell-0.60.4_4     Spelling checker with better suggestion logic than ispell
at-spi-1.7.12       An Assistive Technology Service Provider Interface
atk-1.12.3          A GNOME accessibility toolkit (ATK)
avahi-0.6.14        Service discovery on a local network
bash-3.1.17         The GNU Project's Bourne Again SHell
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
boost-python-1.33.1_2 Free peer-reviewed portable C++ source libraries
bsdpan-Term-VT102-0.82 Term::VT102 - a class to emulate a DEC VT102 terminal
bash: pkg_agg: command not found
16:24:59
#PACKAGESITE=ftp://net.nt/FreeBSD/packages/ pkg_add -r firefox-1.5.0.7_1,1
Error: FTP Unable to get ftp://net.nt/FreeBSD/packages/firefox-1.5.0.7_1,1.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://net.nt/FreeBSD/packages/firefox-1.5.0.7_1,1.tbz' by URL
16:25:05
#PACKAGESITE=ftp://net.nt/FreeBSD/packages/ pkg_add -r firefox-i18n-2.0.0.3
at-spi-1.7.12       An Assistive Technology Service Provider Interface
atk-1.12.3          A GNOME accessibility toolkit (ATK)
avahi-0.6.14        Service discovery on a local network
bash-3.1.17         The GNU Project's Bourne Again SHell
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
boost-python-1.33.1_2 Free peer-reviewed portable C++ source libraries
bsdpan-Term-VT102-0.82 Term::VT102 - a class to emulate a DEC VT102 terminal
Fetching ftp://net.nt/FreeBSD/packages/firefox-i18n-2.0.0.3.tbz... Done.
Error: FTP Unable to get ftp://net.nt/FreeBSD/All/xpi-quick-locale-switcher-1.5.0.1.tbz: File unavailable (e.g., file not found, no access)
pkg_add: can't open dependency file '/var/db/pkg/xpi-quick-locale-switcher-1.5.0.1/+REQUIRED_BY'!
dependency registration is incomplete
16:27:52
#pkg_add -r screen
artswrapper-1.5.3   Setuid wrapper for arts
aspell-0.60.4_4     Spelling checker with better suggestion logic than ispell
at-spi-1.7.12       An Assistive Technology Service Provider Interface
atk-1.12.3          A GNOME accessibility toolkit (ATK)
avahi-0.6.14        Service discovery on a local network
bash-3.1.17         The GNU Project's Bourne Again SHell
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
boost-python-1.33.1_2 Free peer-reviewed portable C++ source libraries
bsdpan-Term-VT102-0.82 Term::VT102 - a class to emulate a DEC VT102 terminal
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/screen.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.2-release/Latest/screen.tbz' by URL
/dev/pts/15
16:28:13
#exit
Mount options for affs
       uid=value and gid=value
              Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or  gid  without  specified
              value, the uid and gid of the current process are taken).
       setuid=value and setgid=value
              Set the owner and group of all files.
       mode=value
              Set the mode of all files to value & 0777 disregarding the original permissions.  Add search permission to directories that
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
exit
Connection to fbsd2 closed.
---------------------------------------------------------------------------------------------------------------------------------------------
MOUNT(8)                                                Linux Programmer’s Manual                                                MOUNT(8)
/dev/pts/24
16:28:55
#PACKAGESITE=ftp://net.nt/FreeBSD/packages/ pkg_add -r eject-1.5_2
arts-1.5.4,1        Audio system for the KDE integrated X11 desktop
artswrapper-1.5.3   Setuid wrapper for arts
aspell-0.60.4_4     Spelling checker with better suggestion logic than ispell
at-spi-1.7.12       An Assistive Technology Service Provider Interface
atk-1.12.3          A GNOME accessibility toolkit (ATK)
avahi-0.6.14        Service discovery on a local network
bash-3.1.17         The GNU Project's Bourne Again SHell
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
boost-python-1.33.1_2 Free peer-reviewed portable C++ source libraries
bsdpan-Term-VT102-0.82 Term::VT102 - a class to emulate a DEC VT102 terminal
Fetching ftp://net.nt/FreeBSD/packages/eject-1.5_2.tbz... Done.
16:29:52
#eject
usage: eject [-fnv] device
16:29:55
#eject /dev/ac
acd0  acpi
16:29:55
#eject /dev/acd0

16:30:03
#eject /dev/acd0

16:30:05
#eject -t /dev/acd0
eject: illegal option -- t
usage: eject [-fnv] device
16:30:08
#eject -v /dev/acd0
eject: using device
eject: ejecting media from /dev/acd0
16:30:14
#man eject
16:30:21
#:q!
bash: :q!: command not found
16:30:25
#ssh linux1
ssh: linux1: hostname nor servname provided, or not known
16:30:30
#ssh linux1.net.nt
The authenticity of host 'linux1.net.nt (192.168.16.1)' can't be established.
DSA key fingerprint is f3:e1:6c:bf:5e:86:56:48:2a:4f:64:79:32:60:f2:e0.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'linux1.net.nt' (DSA) to the list of known hosts.
Password:
Last login: Thu Apr  5 15:37:34 2007 from fbsd2.net.nt
l3-agent is already running: pid=2465; pidfile=/root/.lilalo/l3-agent.pid
16:30:36
#eject

/dev/pts/15
16:30:36
#eject
              have read permission.  The value is given in octal.
       protect
              Do not allow any changes to the protection bits on the file system.
       usemp  Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first  sync  or  umount,  and
              then clear this option. Strange...
       verbose
              Print an informational message for each successful mount.
       prefix=string
              Prefix used before volume name, when following a link.
       volume=string
              Prefix (of length at most 30) used before ’/’ when following a symbolic link.
       reserved=value
              (Default: 2.) Number of unused blocks at the start of the device.
       root=value
              Give explicitly the location of the root block.
       bs=value
              Give blocksize. Allowed values are 512, 1024, 2048, 4096.
/dev/pts/24
16:30:39
#eject -t

/dev/pts/15
16:30:39
#eject -t

/dev/pts/24
16:30:44
#exit
Connection to linux1.net.nt closed.
16:30:59
#cd /usr/ports/

16:31:12
#ls
.cvsignore      README          benchmarks      dns             hungarian       multimedia      russian         x11-clocks
CHANGES         Templates       biology         editors         irc             net             science         x11-fm
COPYRIGHT       Tools           cad             emulators       japanese        net-im          security        x11-fonts
GIDs            UIDs            chinese         finance         java            net-mgmt        shells          x11-servers
INDEX-6         UPDATING        comms           french          korean          net-p2p         sysutils        x11-themes
KNOBS           accessibility   converters      ftp             lang            news            textproc        x11-toolkits
LEGAL           arabic          databases       games           mail            palm            ukrainian       x11-wm
MOVED           archivers       deskutils       german          math            polish          vietnamese
Makefile        astro           devel           graphics        mbone           portuguese      www
Mk              audio           distfiles       hebrew          misc            print           x11
16:31:13
#whereis screen
arts-1.5.4,1        Audio system for the KDE integrated X11 desktop
artswrapper-1.5.3   Setuid wrapper for arts
aspell-0.60.4_4     Spelling checker with better suggestion logic than ispell
at-spi-1.7.12       An Assistive Technology Service Provider Interface
atk-1.12.3          A GNOME accessibility toolkit (ATK)
avahi-0.6.14        Service discovery on a local network
bash-3.1.17         The GNU Project's Bourne Again SHell
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
boost-python-1.33.1_2 Free peer-reviewed portable C++ source libraries
bsdpan-Term-VT102-0.82 Term::VT102 - a class to emulate a DEC VT102 terminal
screen: /usr/ports/sysutils/screen
16:31:26
#make search name=screen
Port:   p5-Term-ANSIScreen-1.42
Path:   /usr/ports/devel/p5-Term-ANSIScreen
Info:   Term::ANSIColor clone with screen mode support
Maint:  ports@FreeBSD.org
B-deps: perl-5.8.8
R-deps: perl-5.8.8
WWW:
Port:   p5-Term-Screen-1.03
Path:   /usr/ports/devel/p5-Term-Screen
Info:   Basic screen + input class
...
B-deps: ORBit2-2.14.3 atk-1.12.3 avahi-0.6.14 bitstream-vera-1.10_2 cairo-1.2.4 cdrtools-2.01_5 dbus-0.93_3 dbus-glib-0.71 desktop-file-utils-0.11 dmidecode-2.8 docbook-sk-4.1.2_3 docbook-xml-4.2_1 docbook-xml-4.3 docbook-xml-4.4 docbook-xsl-1.70.1 eel-2.16.0_1 esound-0.2.36_1 expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gail-1.9.3 gamin-0.1.7_2 gconf2-2.16.0 gdbm-1.8.3_2 gettext-0.14.5_2
R-deps: ORBit2-2.14.3 atk-1.12.3 avahi-0.6.14 bitstream-vera-1.10_2 cairo-1.2.4 cdrtools-2.01_5 dbus-0.93_3 dbus-glib-0.71 desktop-file-utils-0.11 dmidecode-2.8 docbook-sk-4.1.2_3 docbook-xml-4.2_1 docbook-xml-4.3 docbook-xml-4.4 docbook-xsl-1.70.1 eel-2.16.0_1 esound-0.2.36_1 expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gail-1.9.3 gamin-0.1.7_2 gconf2-2.16.0 gdbm-1.8.3_2 gettext-0.14.5_2
WWW:    http://www.miketech.net/gnome-art/
Port:   p5-Tk-Splashscreen-1.0
Path:   /usr/ports/x11-toolkits/p5-Tk-Splashscreen
Info:   Tk::Splashscreen, display a Splashscreen during program initialization
Maint:  tobez@FreeBSD.org
B-deps: expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 libdrm-2.0.2 p5-Tk-804.027 perl-5.8.8 pkg-config-0.21 xorg-libraries-6.9.0
R-deps: expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 libdrm-2.0.2 p5-Tk-804.027 perl-5.8.8 pkg-config-0.21 xorg-libraries-6.9.0
WWW:    http://search.cpan.org/dist/Tk-Splashscreen/
16:31:38
#make search key=screen
Port:   nocatsplash-0.82_2
Path:   /usr/ports/net/nocatsplash
Info:   Open 802.11 Splash Screen
Maint:  ports@FreeBSD.org
B-deps: gettext-0.14.5_2 glib-1.2.10_12 gmake-3.81_1 libiconv-1.9.2_2 pkg-config-0.21
R-deps: glib-1.2.10_12 pkg-config-0.21
WWW:
Port:   p5-Net-Telnet-Netscreen-1.1
Path:   /usr/ports/net/p5-Net-Telnet-Netscreen
Info:   A Perl interface for interact with a Netscreen firewall
...
Info:   Meta package installing all author-recommended Plugger plugins
Maint:  ports@FreeBSD.org
B-deps:
R-deps: ImageMagick-6.2.9.8 ORBit2-2.14.3 Xaw3d-1.5E_1 abiword-2.4.5_2 acroread7-7.0.8,1 acroreadwrapper-0.0.20060221 alsaplayer-0.99.75_3 aspell-0.60.4_4 atk-1.12.3 avahi-0.6.14 bitstream-vera-1.10_2 cairo-1.2.4 cdrtools-2.01_5 curl-7.15.5 dbus-0.93_3 dbus-glib-0.71 desktop-file-utils-0.11 dmidecode-2.8 docbook-sk-4.1.2_3 docbook-xml-4.2_1 docbook-xsl-1.70.1 eawpats-12_3 enchant-1.2.6 esound-0.2.
WWW:    http://fredrik.hubbe.net/plugger.html
Port:   e17-module-rain-20060926
Path:   /usr/ports/x11/e17-module-rain
Info:   An e17 module which draws raindrops on your screen
Maint:  stas@FreeBSD.org
B-deps: ORBit2-2.14.3 atk-1.12.3 bitstream-vera-1.10_2 cairo-1.2.4 curl-7.15.5 ecore-20060926_1,1 edb-20060926,1 edje-20060926,1 eet-20060926,1 embryo-20060926,1 enlightenment-20060926,1 evas-20060926,1 expat-2.0.0_1 fontconfig-2.3.2_6,1 freetype2-2.2.1_1 gconf2-2.16.0 gettext-0.14.5_2 glib-2.12.4 gmake-3.81_1 gnomehier-2.2 gtk-2.10.6_2 gtk-engines2-2.8.1 hicolor-icon-theme-0.9_2 imlib2-20060926,1
16:31:46
#cvs
cvs             cvs2dist        cvsbackport     cvsbug          cvsforwardport  cvslastlog      cvsservice
cvs-clean       cvsaskpass      cvsblame        cvscheck        cvslastchange   cvsrevertlast   cvsversion
16:31:46
#PACKAGESITE=ftp://net.nt/FreeBSD/packages/ pkg_add -r cvsup-without-gui-16.1h_2
arts-1.5.4,1        Audio system for the KDE integrated X11 desktop
artswrapper-1.5.3   Setuid wrapper for arts
aspell-0.60.4_4     Spelling checker with better suggestion logic than ispell
at-spi-1.7.12       An Assistive Technology Service Provider Interface
atk-1.12.3          A GNOME accessibility toolkit (ATK)
avahi-0.6.14        Service discovery on a local network
bash-3.1.17         The GNU Project's Bourne Again SHell
bitstream-vera-1.10_2 Bitstream Vera TrueType font collection
boost-python-1.33.1_2 Free peer-reviewed portable C++ source libraries
bsdpan-Term-VT102-0.82 Term::VT102 - a class to emulate a DEC VT102 terminal
Fetching ftp://net.nt/FreeBSD/packages/cvsup-without-gui-16.1h_2.tbz... Done.
16:32:51
#cvs
cvs             cvs2dist        cvsbackport     cvsbug          cvsforwardport  cvslastlog      cvsservice      cvsupd
cvs-clean       cvsaskpass      cvsblame        cvscheck        cvslastchange   cvsrevertlast   cvsup           cvsversion
16:32:51
#make search name=cvsup-without-gui
Port:   cvsup-without-gui-16.1h_2
Path:   /usr/ports/net/cvsup-without-gui
Info:   General network file distribution system optimized for CVS (non-GUI version)
Maint:  jdp@FreeBSD.org
B-deps: ezm3-1.2_1
R-deps:
WWW:    http://www.cvsup.org/

Файлы

  • /dev/dsp0.0
  • /dev/s
  • /dev/sndstat
  • /dev/dsp0.0
    >
    /dev/s
    >
    sndstat   stderr    stdin     stdout    sysmouse
    
    /dev/sndstat
    >
    FreeBSD Audio Driver (newpcm)
    Installed devices:
    pcm0: <Intel ICH4 (82801DB)> at io 0xde081000, 0xde082000 irq 17 bufsz 16384  (1p/1r/0v channels duplex default)
    

    Статистика

    Время первой команды журнала15:08:46 2007- 4- 5
    Время последней команды журнала16:32:51 2007- 4- 5
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %20.79
    Процент синтаксически неверно набранных команд, % 3.96
    Суммарное время работы с терминалом *, час 1.40
    Количество командных строк в единицу времени, команда/мин 1.20
    Частота использования команд
    eject10|========| 8.70%
    cat9|=======| 7.83%
    pkg_add8|======| 6.96%
    grep8|======| 6.96%
    vim7|======| 6.09%
    ssh7|======| 6.09%
    screen4|===| 3.48%
    dmesg4|===| 3.48%
    ls4|===| 3.48%
    lsmod4|===| 3.48%
    mpg1233|==| 2.61%
    make3|==| 2.61%
    dsp0.03|==| 2.61%
    exit3|==| 2.61%
    cd2|=| 1.74%
    pkg_info2|=| 1.74%
    cvs2|=| 1.74%
    find2|=| 1.74%
    lspci2|=| 1.74%
    tail2|=| 1.74%
    pkg_delete2|=| 1.74%
    du2|=| 1.74%
    apt-cache2|=| 1.74%
    uname2|=| 1.74%
    pkg_agg1|| 0.87%
    man1|| 0.87%
    kldstat1|| 0.87%
    sndstat1|| 0.87%
    :q!1|| 0.87%
    whereis1|| 0.87%
    reboot1|| 0.87%
    ftp1|| 0.87%
    dsp1|| 0.87%
    mp1|| 0.87%
    mii-tool1|| 0.87%
    usb1|| 0.87%
    s1|| 0.87%
    logout1|| 0.87%
    181|| 0.87%
    less1|| 0.87%
    3c59x1|| 0.87%
    d1|| 0.87%
    ____
    *) Интервалы неактивности длительностью 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$