/l3/users/bas/2011-03/linux4.unix.bas/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 |
|
#rpm -i /tmp/*rpm
warning: /tmp/gcc-4.1.2-48.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897 |
#cd /tmp/
|
#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) |
#sudo make install vpnc
![]() make: *** No rule to make target `install'. Stop. |
#sudo make instal vpnc
![]() make: *** No rule to make target `instal'. Stop. |
#sudo make install vpnc
![]() make: *** No rule to make target `install'. Stop. |
#vim /boot/grub/menu.lst
|
#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 |
#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 |
#~
# 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 |
#shutdown -r now
|
#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 |
#vim /etc/inittab
|
#x:5:respawn:/etc/X11/prefdm -nodaemon
|
#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 |
#init q
|
#vim /etc/inittab
|
#x:5:respawn:/etc/X11/prefdm -nodaemon
|
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#service nfs start
Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#service nfs stop
Shutting down NFS mountd: [ OK ] Shutting down NFS daemon: [ OK ] Shutting down NFS quotas: [ OK ] Shutting down NFS services: [FAILED] |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#chkconfig --list nfs
nfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off |
#/etc/init.d/nfs start
Starting NFS services: [ OK ] Starting NFS quotas: [ OK ] Starting NFS daemon: [ OK ] Starting NFS mountd: [ OK ] |
#/etc/init.d/nfs start
|
#/etc/init.d/nfs rest
![]() Usage: nfs {start|stop|status|restart|reload|condrestart} |
#/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 ] |
#ntsysv
![]() âââââââââââââââââââ⤠Services âââââââââââââââââââââ â â â What services should be automatically started? â â â â [ ] NetworkManager â â â [*] acpid â® â â ] netconsole â â *] network â [ ] netplugd â â â â ] nscd ââââââââââ â ... ] winbind â [ ] tcsd â â â [ ] ntpd â â â â â âââ âââ âââ âââ |
#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 |
#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. |
#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. |
#kill -1 pid 7426
bash: kill: pid: arguments must be process or job IDs |
#kill pid 7426
![]() bash: kill: pid: arguments must be process or job IDs bash: kill: (7426) - No such process |
#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 |
#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: |
#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: |
#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 |
#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 |
#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 |
#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! |
#mc
|
#rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
|
#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 |
#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 |
#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 |
##dd if=/dev/zero of=disk1.img count=1200 bs=1024k
You have new mail in /var/spool/mail/root |
#xhost -
access control enabled, only authorized clients can connect |
#qemu -hda disk1.img -cdrom /dev/cdrom
![]() qemu: could not open disk image disk1.img: No such file or directory |
#qemu -hda disk1.img -cdrom /dev/cdrom
![]() qemu: could not open disk image disk1.img: No such file or directory |
#qemu -cdrom /dev/cdrom
|
#qemu -cdrom /dev/cdrom
|
#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! |
#/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. |
#/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. |
#/usr/libexec/qemu-kvm -cdrom /dev/cdrom
open /dev/kvm: No such file or directory Could not initialize KVM, will disable KVM support |
#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 |
#dm
![]() dm_dso_reg_tool dmevent_tool dmraid.static dmesg dmidecode dmsetup dmeventd dmraid dmsetup.static |
#dmesg | less
|
#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 |
#dmesg | grep - i disk
![]() grep: i: No such file or directory grep: disk: No such file or directory |
#dmesg | grep -i ram
BIOS-provided physical RAM map: Security Framework v1.0.0 initialized checking if image is initramfs... it is |
#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 |
#vim /boot/grub/menu.lst
|
#~
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) |
#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) |
#grep 14e4.*4318 /lib/modules/`uname -r`/*pcimap*
bcm43xx 0x000014e4 0x00004318 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0 |
#modprobe -r bcm43xx
|
#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) |
#modprobe bcm43xx
|
#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) |
#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) |
#modprobe bcm43xx -a
|
|