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

Содержание

Журнал

Пятница (04/01/11)

/dev/pts/1
05:54:51
#rpm -i /tmp/*rpm
warning: /tmp/gcc-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
05:55:12
#cd /tmp/

05:55:24
#sh install
Installing dependencies...
Ok
Downloading l3bashrc...
|   --2011-04-01 09:55:26--  http://xgu.ru/lilalo/l3bashrc
|   Resolving xgu.ru... 91.205.16.235
|   Connecting to xgu.ru|91.205.16.235|:80... connected.
|   HTTP request sent, awaiting response... 200 OK
|   Length: 7709 (7.5K) [text/plain]
|   Saving to: `l3bashrc'
|
...
If you use xgu.ru backend, your labs will be available at
http://xgu.ru/l3//users/bas/2011-03/linux4.unix.bas
Use commands
 $ l3cd /users/bas/MY-NEW-CONTEXT/linux4.unix.bas/USER
 $ l3pwd
to change and to know your current context.
For further information see http://xgu.ru/lilalo/ (in Russian).
Thank you gor using LiLaLo.
Happy Labbing!
(don't forget to restart bash or relogin)
прошло >2 часов
/dev/pts/4
08:31:14
#shutdown -r now

прошло 87 минут
/dev/pts/1
09:59:01
#sudo apt-get install vpnc
sudo: apt-get: command not found
09:59:04
#sudo make install vpnc
make: *** No rule to make target `install'.  Stop.
09:59:12
#sudo make instal vpnc
make: *** No rule to make target `instal'.  Stop.
09:59:24
#sudo make install vpnc
make: *** No rule to make target `install'.  Stop.
09:59:28
#vim /boot/grub/menu.lst
прошло 11 минут
/dev/pts/3
10:10:31
#cd Desktop/vpnclient

10:10:39
#ls
cisco_cert_mgr   IPSecDrvOSFunctions.h  linuxcniapi.h     vpnclient
Cniapi.h         IPSecDrvOS_linux.c     linuxkernelapi.c  vpnclient.ini
config.h         IPSecDrvOS_linux.h     linux_os.h        vpnclient_init
cvpnd            ipseclog               Makefile          vpn_install
driver_build.sh  libdriver.so           mtu.h             vpn_ioctl_linux.h
frag.c           libvpnapi.so           sample.pcf        vpn_uninstall
frag.h           license.rtf            unixcniapi.h
GenDefs.h        license.txt            unixkernelapi.h
interceptor.c    linuxcniapi.c          vpnapi.h
/dev/pts/3
10:15:41
#ssh user@192.168.15.253
/dev/pts/9
user@book:~$ kill 2731
user@book:~$
user@book:~$
user@book:~$ screen -ls
There is a screen on:
        2090.pts-7.book (04/01/2011 02:06:24 PM)        (Attached)
1 Socket in /var/run/screen/S-user.
user@book:~$ ssh root@192.168.15.2
root@192.168.15.2's password:
Last login: Fri Apr  1 14:10:08 2011 from linux253.unix.bas
/dev/pts/1
10:20:15
#~
#          initrd /boot/initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
password --md5 $1$iv/020$5DpVJGUlMoxNvgIBkn2t81root=LABEL=/ rhgb quiet
        initrd /boot/initrd-2.6.18-194.el5.img
$1$iv/020$5DpVJGUlMoxNvgIBkn2t81
~
~
~
~
"/boot/grub/menu.lst" 18L, 648C written
10:26:50
#shutdown -r now

/dev/pts/4
10:33:26
#vim /etc/inittab
--- /tmp/l3-saved-3323.23650.4437	2011-04-01 14:50:54.000000000 +0600
+++ /etc/inittab	2011-04-01 14:52:17.000000000 +0600
@@ -48,6 +48,8 @@
 4:2345:respawn:/sbin/mingetty tty4
 5:2345:respawn:/sbin/mingetty tty5
 6:2345:respawn:/sbin/mingetty tty6
+7:2345:respawn:/sbin/mingetty tty9
+
 
 # Run xdm in runlevel 5
 x:5:respawn:/etc/X11/prefdm -nodaemon
прошло 18 минут
10:52:17
#vim /etc/inittab
10:53:31
#x:5:respawn:/etc/X11/prefdm -nodaemon

10:53:36
#vim /etc/inittab
--- /tmp/l3-saved-3323.6661.27634	2011-04-01 14:54:13.000000000 +0600
+++ /etc/inittab	2011-04-01 14:54:30.000000000 +0600
@@ -48,7 +48,7 @@
 4:2345:respawn:/sbin/mingetty tty4
 5:2345:respawn:/sbin/mingetty tty5
 6:2345:respawn:/sbin/mingetty tty6
-7:2345:respawn:/sbin/mingetty tty9
+
 
 
 # Run xdm in runlevel 5
10:54:30
#init q

10:54:33
#vim /etc/inittab
прошло 26 минут
11:20:38
#x:5:respawn:/etc/X11/prefdm -nodaemon

11:20:59
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:21:26
#service nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
11:21:47
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:21:55
#service nfs stop
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [FAILED]
11:22:03
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:22:05
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:22:15
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:22:16
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:22:16
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:22:16
#chkconfig --list nfs
nfs             0:off   1:off   2:on    3:on    4:on    5:on    6:off
11:23:54
#/etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
11:24:11
#/etc/init.d/nfs start

11:24:12
#/etc/init.d/nfs rest
Usage: nfs {start|stop|status|restart|reload|condrestart}
11:24:18
#/etc/init.d/nfs restart
Shutting down NFS mountd:                                  [  OK  ]
Shutting down NFS daemon:                                  [  OK  ]
Shutting down NFS quotas:                                  [  OK  ]
Shutting down NFS services:                                [FAILED]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]
11:24:22
#ntsysv
              ┌──────────────────┤ Services ├───────────────────┐
              │                                                 │
              │ What services should be automatically started?  │
              │                                                 │
              │             [ ] NetworkManager   ↑              │
              │             [*] acpid            ▮              │
              │             ] netconsole         ▒              │
                             *] network
              │             [ ] netplugd         ▒              │
              │         ┌ ] nscd                       ┌────────┐         │
...
                              ] winbind
              │             [ ] tcsd             ▒              │
              │             [ ] ntpd             ▒              │
                                                                    │
                                                                    │
                                                                    │
                                                                  ──┐
                                                                  €â”€â”€â”
                                                                  ──┘
                                                                  €â”€â”€â”˜
11:26:11
#bc
bc 1.06
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1512*7
10584
84*9
756
30*9
270
...
(standard_in) 6: parse error
94950
(interrupt) use quit to exit.
94950
^X
(standard_in) 8: illegal character: ^X
(interrupt) use quit to exit.
(interrupt) use quit to exit.
(interrupt) use quit to exit.
[1]+  Stopped                 bc
прошло 38 минут
12:04:42
#yum install firefox
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 7426.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
    Started: Fri Apr  1 16:31:09 2011 - 06:26 ago
    State  : Sleeping, pid: 7426
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
    Started: Fri Apr  1 16:31:09 2011 - 06:48 ago
    State  : Sleeping, pid: 7426
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
    Started: Fri Apr  1 16:31:09 2011 - 06:50 ago
    State  : Sleeping, pid: 7426
Exiting on user cancel.
прошло 33 минуты
12:38:00
#yum install firefox
Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 7426.
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
    Started: Fri Apr  1 16:31:09 2011 - 07:07 ago
    State  : Sleeping, pid: 7426
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
    Started: Fri Apr  1 16:31:09 2011 - 07:21 ago
    State  : Sleeping, pid: 7426
Another app is currently holding the yum lock; waiting for it to exit...
  The other application is: yum-updatesd-he
    Memory :  21 M RSS (278 MB VSZ)
    Started: Fri Apr  1 16:31:09 2011 - 07:23 ago
    State  : Sleeping, pid: 7426
Exiting on user cancel.
12:38:33
#kill -1 pid 7426
bash: kill: pid: arguments must be process or job IDs
12:38:54
#kill pid 7426
bash: kill: pid: arguments must be process or job IDs
bash: kill: (7426) - No such process
12:39:13
#yum install firefox
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: centosp4.centos.org
 * base: centosb2.centos.org
 * extras: centosb2.centos.org
 * updates: centosj3.centos.org
http://centosp4.centos.org/centos/5.5/addons/x86_64/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://centosy3-msync-dvd.centos.org/centos/5.5/addons/x86_64/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
 Current download cancelled, interrupt (ctrl-c) again within two seconds to exit.
Exiting on user cancel
12:40:35
#yum searh shell
Loaded plugins: fastestmirror
usage: yum [options] COMMAND
List of Commands:
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
...
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                        disable plugins by name
  --enableplugin=[plugin]
                        enable plugins by name
  --skip-broken         skip packages with depsolving problems
  --color=COLOR         control whether color is used
  Plugin Options:
12:49:44
#yum searh ssh
Loaded plugins: fastestmirror
usage: yum [options] COMMAND
List of Commands:
check-update   Check for available package updates
clean          Remove cached data
deplist        List a package's dependencies
downgrade      downgrade a package
erase          Remove a package or packages from your system
groupinfo      Display details about a package group
groupinstall   Install the packages in a group on your system
...
  --obsoletes           enable obsoletes processing during updates
  --noplugins           disable Yum plugins
  --nogpgcheck          disable gpg signature checking
  --disableplugin=[plugin]
                        disable plugins by name
  --enableplugin=[plugin]
                        enable plugins by name
  --skip-broken         skip packages with depsolving problems
  --color=COLOR         control whether color is used
  Plugin Options:
12:50:06
#yum list games
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * updates: mirror.neolabs.kz
addons                                                   |  951 B     00:00
base                                                     | 2.1 kB     00:00
extras                                                   | 2.1 kB     00:00
updates                                                  | 1.9 kB     00:00
Error: No matching Packages to list
12:50:33
#yum install nc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * updates: mirror.neolabs.kz
Setting up Install Process
Package nc-1.84-10.fc6.x86_64 already installed and latest version
Nothing to do
12:50:59
#yum install nc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * updates: mirror.neolabs.kz
Setting up Install Process
Package nc-1.84-10.fc6.x86_64 already installed and latest version
Nothing to do
12:51:08
#yum install mc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * updates: mirror.neolabs.kz
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mc.x86_64 1:4.6.1a-35.el5 set to be updated
...
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : mc                                                       1/1
Installed:
  mc.x86_64 1:4.6.1a-35.el5
Complete!
12:51:38
#mc
прошло 11 минут
13:03:22
#rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

13:03:46
#rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
error: open of rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm failed: No such file or directory

Суббота (04/02/11)

/dev/pts/2
06:24:33
#yum install quem
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.neolabs.kz
Setting up Install Process
No package quem available.
Nothing to do
06:24:53
#yum install qemu
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.neolabs.kz
Setting up Install Process
Resolving Dependencies
--> Running transaction check
...
Transaction Summary
================================================================================
Install       4 Package(s)
Upgrade       0 Package(s)
Total download size: 21 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): xz-libs-4.999.9-0.3.beta.20091007git.el5.x86_64.r |  95 kB     00:01
(2/4): e4fsprogs-libs-1.41.9-3.el5.x86_64.rpm            | 104 kB     00:00
(3/4): xen-libs-3.0.3-105.el5_5.5.x86_64.rpm             | 156 kB     00:01
прошло 13 минут
06:38:47
##dd if=/dev/zero of=disk1.img count=1200 bs=1024k
You have new mail in /var/spool/mail/root
прошло 19 минут
06:58:10
#xhost -
access control enabled, only authorized clients can connect
06:59:12
#qemu -hda disk1.img -cdrom /dev/cdrom
qemu: could not open disk image disk1.img: No such file or directory
06:59:48
#qemu -hda disk1.img -cdrom /dev/cdrom
qemu: could not open disk image disk1.img: No such file or directory
06:59:50
#qemu -cdrom /dev/cdrom

07:00:41
#qemu -cdrom /dev/cdrom

07:04:01
#yum install kvm
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirror.neolabs.kz
 * base: mirror.neolabs.kz
 * extras: mirror.neolabs.kz
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.neolabs.kz
Setting up Install Process
Resolving Dependencies
--> Running transaction check
...
Dependency Installed:
  celt051.x86_64 0:0.5.1.3-0.el5
  etherboot-zroms-kvm.x86_64 0:5.4.4-13.el5.centos
  kmod-kvm.x86_64 0:83-164.el5_5.25
  log4cpp.x86_64 0:1.0-9.el5
  qcairo.x86_64 0:1.8.7.1-3.el5
  qffmpeg-libs.x86_64 0:0.4.9-0.16.20080908.el5_5
  qpixman.x86_64 0:0.13.3-4.el5
  qspice-libs.x86_64 0:0.3.0-54.el5_5.2
Complete!
07:05:55
#/usr/libexec/qemu-kvm
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
QEMU PC emulator version 0.9.1 (kvm-83-maint-snapshot-20090205), Copyright (c) 2003-2008 Fabrice Bellard
usage: qemu [options] [disk_image]
'disk_image' is a raw hard image image for IDE hard disk 0
Standard options:
-M machine      select emulated machine (-M ? for list)
-cpu cpu        select CPU (-cpu ? for list)
-fda/-fdb file  use 'file' as floppy disk 0/1 image
-hda/-hdb file  use 'file' as IDE hard disk 0/1 image
...
-clock          force the use of the given methods for timer alarm.
                To see what timers are available use -clock ?
-startdate      select initial date of the clock
-icount [N|auto]
                Enable virtual instruction counter with 2^N clock ticks per instruction
During emulation, the following keys are useful:
ctrl-alt-f      toggle full screen
ctrl-alt-n      switch to virtual console 'n'
ctrl-alt        toggle mouse and keyboard grab
When using -nographic, press 'ctrl-a h' to get some help.
07:08:09
#/usr/libexec/qemu-kvm
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
QEMU PC emulator version 0.9.1 (kvm-83-maint-snapshot-20090205), Copyright (c) 2003-2008 Fabrice Bellard
usage: qemu [options] [disk_image]
'disk_image' is a raw hard image image for IDE hard disk 0
Standard options:
-M machine      select emulated machine (-M ? for list)
-cpu cpu        select CPU (-cpu ? for list)
-fda/-fdb file  use 'file' as floppy disk 0/1 image
-hda/-hdb file  use 'file' as IDE hard disk 0/1 image
...
-clock          force the use of the given methods for timer alarm.
                To see what timers are available use -clock ?
-startdate      select initial date of the clock
-icount [N|auto]
                Enable virtual instruction counter with 2^N clock ticks per instruction
During emulation, the following keys are useful:
ctrl-alt-f      toggle full screen
ctrl-alt-n      switch to virtual console 'n'
ctrl-alt        toggle mouse and keyboard grab
When using -nographic, press 'ctrl-a h' to get some help.
07:08:25
#/usr/libexec/qemu-kvm -cdrom /dev/cdrom
open /dev/kvm: No such file or directory
Could not initialize KVM, will disable KVM support
прошло 29 минут
/dev/pts/7
07:37:25
#vim /boot/grub/menu.lst
--- /tmp/l3-saved-5772.27977.25908	2011-04-02 11:37:36.000000000 +0600
+++ /boot/grub/menu.lst	2011-04-02 11:39:48.000000000 +0600
@@ -16,3 +16,6 @@
 	root (hd0,0)
 	kernel /boot/vmlinuz-2.6.18-194.el5 ro root=LABEL=/ rhgb quiet
 	initrd /boot/initrd-2.6.18-194.el5.img
+title Windows
+	root (hd0,1)
+	chainloader +1 
07:39:48
#dm
dm_dso_reg_tool  dmevent_tool     dmraid.static
dmesg            dmidecode        dmsetup
dmeventd         dmraid           dmsetup.static
07:39:48
#dmesg | less
07:44:45
#dmesg | grep -i disk
VFS: Disk quotas dquot_6.5.1
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
sd 0:0:0:0: Attached scsi disk sda
07:45:49
#dmesg | grep - i disk
grep: i: No such file or directory
grep: disk: No such file or directory
07:46:10
#dmesg | grep -i ram
BIOS-provided physical RAM map:
Security Framework v1.0.0 initialized
checking if image is initramfs... it is
07:46:17
#dmesg | grep -1 ram
Calibrating delay loop (skipped), value calculated using timer frequency.. 5400.00 BogoMIPS (lpj=2700003)
Security Framework v1.0.0 initialized
SELinux:  Initializing.
--
migration_cost=14
checking if image is initramfs... it is
Freeing initrd memory: 2589k freed
07:46:34
#vim /boot/grub/menu.lst
прошло 18 минут
08:05:25
#~
00:00.0 0600: 8086:2e30 (rev 03)
00:02.0 0300: 8086:2e32 (rev 03)
00:02.1 0380: 8086:2e33 (rev 03)
00:1b.0 0403: 8086:27d8 (rev 01)
00:1c.0 0604: 8086:27d0 (rev 01)
00:1c.1 0604: 8086:27d2 (rev 01)
00:1d.0 0c03: 8086:27c8 (rev 01)
00:1d.1 0c03: 8086:27c9 (rev 01)
00:1d.2 0c03: 8086:27ca (rev 01)
00:1d.3 0c03: 8086:27cb (rev 01)
00:1d.7 0c03: 8086:27cc (rev 01)
00:1e.0 0604: 8086:244e (rev e1)
00:1f.0 0601: 8086:27b8 (rev 01)
00:1f.1 0101: 8086:27df (rev 01)
00:1f.2 0101: 8086:27c0 (rev 01)
01:00.0 0200: 1969:1026 (rev b0)
03:00.0 0280: 14e4:4318 (rev 02)
08:05:37
#lspci
00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
01:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
03:00.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
08:07:52
#grep 14e4.*4318 /lib/modules/`uname -r`/*pcimap*
bcm43xx              0x000014e4 0x00004318 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0
08:07:56
#modprobe -r bcm43xx

08:08:55
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:26:18:E4:56:60
          inet addr:192.168.15.4  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fee4:5660/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25824 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23011 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:29484861 (28.1 MiB)  TX bytes:1804164 (1.7 MiB)
          Interrupt:66 Memory:feac0000-feb00000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1043 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1043 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1763234 (1.6 MiB)  TX bytes:1763234 (1.6 MiB)
08:09:02
#modprobe bcm43xx

08:09:09
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:26:18:E4:56:60
          inet addr:192.168.15.4  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fee4:5660/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25829 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23016 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:29485433 (28.1 MiB)  TX bytes:1804486 (1.7 MiB)
          Interrupt:66 Memory:feac0000-feb00000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1043 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1043 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1763234 (1.6 MiB)  TX bytes:1763234 (1.6 MiB)
08:09:11
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:26:18:E4:56:60
          inet addr:192.168.15.4  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fee4:5660/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25831 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23018 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000
          RX bytes:29485689 (28.1 MiB)  TX bytes:1804626 (1.7 MiB)
          Interrupt:66 Memory:feac0000-feb00000
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1043 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1043 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1763234 (1.6 MiB)  TX bytes:1763234 (1.6 MiB)
08:09:14
#modprobe bcm43xx -a

08:09:35