/l3/users/bas/2011-03/linux5.unix.bas/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 |
|
#cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.15.5 GATEWAY=192.168.15.253 TYPE=Ethernet |
#sed -i /GATEWAY/d /etc/sysconfig/network-scripts/ifcfg-eth0:0
|
#sed -i /GATEWAY/d /etc/sysconfig/network-scripts/ifcfg-eth0:0
cat # Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.16.5 TYPE=Ethernet |
#ifconfig eth0:0 down
|
#ifup eth0:0
SIOCSIFADDR: File exists |
#cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
cat /etc/sysconfig/network-scripts/ifcfg-eth0:0 # Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.16.5 TYPE=Ethernet |
#sed -i s/eth0/eth0:/ /etc/sysconfig/network-scripts/ifcfg-eth0:0
|
#cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0:0: BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.16.5 TYPE=Ethernet |
#vim /etc/sysc
![]() |
#vim /etc/sysconfig/network-scripts/if
![]() |
#vim /etc/sysconfig/network-scripts/ifcfg-eth0:0
--- /tmp/l3-saved-3452.6278.18395 2011-04-05 10:47:05.000000000 +0600 +++ /etc/sysconfig/network-scripts/ifcfg-eth0:0 2011-04-05 10:47:16.000000000 +0600 @@ -1,5 +1,5 @@ # Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller -DEVICE=eth0::0: +DEVICE=eth0:0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 |
#ifup eth0:0
|
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:18:CA:EE:7B inet addr:192.168.16.5 Bcast:192.168.16.255 Mask:255.255.255.0 inet6 addr: fe80::226:18ff:feca:ee7b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33367 errors:0 dropped:0 overruns:0 frame:0 TX packets:25305 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:5910886 (5.6 MiB) TX bytes:1976093 (1.8 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:1012 errors:0 dropped:0 overruns:0 frame:0 TX packets:1012 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1816084 (1.7 MiB) TX bytes:1816084 (1.7 MiB) |
#ifup eth0
SIOCSIFADDR: File exists SIOCSIFFLAGS: Cannot assign requested address SIOCSIFNETMASK: Cannot assign requested address SIOCGIFADDR: Cannot assign requested address SIOCSIFBROADCAST: Cannot assign requested address SIOCSIFBRDADDR: Cannot assign requested address SIOCSIFFLAGS: Cannot assign requested address |
#ifconfig
eth0 Link encap:Ethernet HWaddr 00:26:18:CA:EE:7B inet addr:192.168.16.5 Bcast:192.168.16.255 Mask:255.255.255.0 inet6 addr: fe80::226:18ff:feca:ee7b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33370 errors:0 dropped:0 overruns:0 frame:0 TX packets:25321 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:5911469 (5.6 MiB) TX bytes:1977408 (1.8 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:1012 errors:0 dropped:0 overruns:0 frame:0 TX packets:1012 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1816084 (1.7 MiB) TX bytes:1816084 (1.7 MiB) |
#cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0:0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.16.5 TYPE=Ethernet |
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.15.5 GATEWAY=192.168.15.253 TYPE=Ethernet |
#ifdown eth0\
> |
#ifdown eth0:0
|
#ifup eth0:0
|
#ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:26:18:CA:EE:7B inet addr:192.168.15.5 Bcast:192.168.15.255 Mask:255.255.255.0 inet6 addr: fe80::226:18ff:feca:ee7b/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:33419 errors:0 dropped:0 overruns:0 frame:0 TX packets:25397 errors:0 dropped:0 overruns:0 carrier:2 collisions:0 txqueuelen:1000 RX bytes:5924608 (5.6 MiB) TX bytes:1986405 (1.8 MiB) Interrupt:74 Memory:feac0000-feb00000 eth0:0 Link encap:Ethernet HWaddr 00:26:18:CA:EE:7B ... RX packets:1012 errors:0 dropped:0 overruns:0 frame:0 TX packets:1012 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1816084 (1.7 MiB) TX bytes:1816084 (1.7 MiB) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) |
#system-config-network-tui
|
#system-config-network
![]() system-config-network system-config-network-gui system-config-network-cmd system-config-network-tui |
#system-config-network-cmd
DeviceList.Ethernet.eth0.Type=Ethernet DeviceList.Ethernet.eth0.Netmask=255.255.255.0 DeviceList.Ethernet.eth0.BootProto=none DeviceList.Ethernet.eth0.Device=eth0 DeviceList.Ethernet.eth0.OnBoot=true DeviceList.Ethernet.eth0.IP=192.168.15.5 DeviceList.Ethernet.eth0.DeviceId=eth0 DeviceList.Ethernet.eth0.Gateway=192.168.15.253 DeviceList.Ethernet.eth0:0.Type=Ethernet DeviceList.Ethernet.eth0:0.Netmask=255.255.255.0 ... ProfileList.default.HostsList.4.IP=::1 ProfileList.default.HostsList.4.Hostname=localhost6.localdomain6 ProfileList.default.HostsList.4.AliasList.1=localhost6 ProfileList.default.DNS.SecondaryDNS= ProfileList.default.DNS.Domainname= ProfileList.default.DNS.Hostname=linux5.unix.bas ProfileList.default.DNS.TertiaryDNS= ProfileList.default.DNS.PrimaryDNS=192.168.15.253 ProfileList.default.Active=true ProfileList.default.ProfileName=default |
#system-config-network-gui
|
#mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok SIOCGMIIPHY on 'eth1' failed: Operation not supported |
#mii-
![]() mii-diag mii-tool |
#mii-diag
Using the default interface 'eth0'. Basic registers of MII PHY #0: 1000 796d 004d d019 0de1 45e1 0005 2001. The autonegotiated capability is 01e0. The autonegotiated media type is 100baseTx-FD. Basic mode control register 0x1000: Auto-negotiation enabled. You have link beat, and everything is working OK. Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control. End of basic transceiver information. |
#mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok SIOCGMIIPHY on 'eth1' failed: Operation not supported |
#mii-tool -h 10baseT-FD
![]() mii-tool: invalid option -- h usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version information -v, --verbose more verbose output -R, --reset reset MII to poweron state -r, --restart restart autonegotiation -w, --watch monitor for link status changes -l, --log with -w, write events to syslog -A, --advertise=media,... advertise only specified media -F, --force=media force specified media technology media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, (to advertise both HD and FD) 100baseTx, 10baseT |
#mii-tool -F 10baseT-FD
SIOCGMIIPHY on 'eth1' failed: Operation not supported |
#mii-tool -F 10baseT-FD eth0
|
#mii-tool
eth0: 10 Mbit, full duplex, link ok SIOCGMIIPHY on 'eth1' failed: Operation not supported |
#mii-tool -h
![]() mii-tool: invalid option -- h usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version information -v, --verbose more verbose output -R, --reset reset MII to poweron state -r, --restart restart autonegotiation -w, --watch monitor for link status changes -l, --log with -w, write events to syslog -A, --advertise=media,... advertise only specified media -F, --force=media force specified media technology media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD, (to advertise both HD and FD) 100baseTx, 10baseT |
#mii-tool
eth0: 10 Mbit, full duplex, link ok SIOCGMIIPHY on 'eth1' failed: Operation not supported |
#mii-tool -w 10baseT-FD eth0
![]() SIOCGMIIPHY on '10baseT-FD' failed: No such device 11:00:19 eth0: 10 Mbit, full duplex, link ok |
#mii-tool -F 100baseTx-FD eth0
|
#mii-tool
eth0: 100 Mbit, full duplex, link ok SIOCGMIIPHY on 'eth1' failed: Operation not supported |
#mii-diag
Using the default interface 'eth0'. Basic registers of MII PHY #0: 2100 794d 004d d019 0de1 0000 0004 2001. Basic mode control register 0x2100: Auto-negotiation disabled, with Speed fixed at 100 mbps, full-duplex. You have link beat, and everything is working OK. Link partner information is not exchanged when in fixed speed mode. End of basic transceiver information. |
#arp
Address HWtype HWaddress Flags Mask Iface linux253.unix.bas ether 00:1F:29:BC:3A:D8 C eth0 linux1.unix.bas ether E0:CB:4E:DD:EA:D7 C eth0 |
#arp -an
? (192.168.15.253) at 00:1F:29:BC:3A:D8 [ether] on eth0 ? (192.168.15.1) at E0:CB:4E:DD:EA:D7 [ether] on eth0 |
#for i in {1..5}; do ping -c 1 192.168.15.$i >& /dev/null ;done
|
#arp -an | awk '{print $2" "$4 }' | tr -d '()'
192.168.15.3 00:26:18:CA:E8:DC 192.168.15.4 00:26:18:E4:56:60 192.168.15.253 00:1F:29:BC:3A:D8 192.168.15.2 00:26:18:E4:56:5E 192.168.15.1 E0:CB:4E:DD:EA:D7 |
#ping 10.0.0.77
![]() PING 10.0.0.77 (10.0.0.77) 56(84) bytes of data. --- 10.0.0.77 ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 5002ms You have new mail in /var/spool/mail/root |
#ping 10.0.0.77
![]() PING 10.0.0.77 (10.0.0.77) 56(84) bytes of data. --- 10.0.0.77 ping statistics --- 15 packets transmitted, 0 received, 100% packet loss, time 14000ms |
#yum install bridge-utils
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 ... bridge-utils-1.1-2.x86_64.rpm | 28 kB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : bridge-utils 1/1 Installed: bridge-utils.x86_64 0:1.1-2 Complete! |
#route -n
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.15.253 0.0.0.0 UG 0 0 0 eth0 |
#netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.15.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.15.253 0.0.0.0 UG 0 0 0 eth0 |
#ip route show
192.168.16.0/24 dev eth0 proto kernel scope link src 192.168.16.5 192.168.15.0/24 dev eth0 proto kernel scope link src 192.168.15.5 169.254.0.0/16 dev eth0 scope link default via 192.168.15.253 dev eth0 |
#cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use Metric Mask MTU Window IRTT eth0 0010A8C0 00000000 0001 0 0 0 00FFFFFF 0 0 0 eth0 000FA8C0 00000000 0001 0 0 0 00FFFFFF 0 0 0 eth0 0000FEA9 00000000 0001 0 0 0 0000FFFF 0 0 0 eth0 00000000 FD0FA8C0 0003 0 0 0 00000000 0 0 0 |
#route add -net 192.168.18.0/24 gw 192.168.15.5
|
#route del -net 192.168.18.0/24 gw 192.168.15.5
|
#cat /etc/sys
![]() sysconfig/ sysctl.conf syslog.conf |
#cat /etc/sysconfig/network-scripts/ifcfg-
![]() ifcfg-eth0 ifcfg-eth0:0 ifcfg-lo |
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.15.5 GATEWAY=192.168.15.253 TYPE=Ethernet |
#cat /etc/sysconfig/network-scripts/ifcfg-eth0:0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0:0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.16.5 TYPE=Ethernet |
#cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller DEVICE=eth0 BOOTPROTO=none ONBOOT=yes NETMASK=255.255.255.0 IPADDR=192.168.15.5 GATEWAY=192.168.15.253 TYPE=Ethernet |
#skbmap -option "grp:ctrl_shift_toggle,grp_led:scroll"
bash: skbmap: command not found |
#/etc/init.d/net
![]() netconsole netfs netplugd network |
#/etc/init.d/network restart
Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] |
#cat /proc/sys/net/ipv4/ip_forward
0 |
#grep ip_forward /etc/sysctl.conf
net.ipv4.ip_forward = 0 |
#cat /etc/re
![]() readahead.d/ reader.conf.d/ redhat-release resolv.conf reader.conf redhat-lsb/ request-key.conf |
#cat /etc/resolv.conf
nameserver 192.168.15.253 |
#whois www.cc.cc
[Querying whois.nic.cc] [whois.nic.cc] Whois Server Version 1.0 Domain names can now be registered with many different competing registrars. Go to http://registrar.verisign-grs.com/whois/ for detailed information. No match for "WWW.CC.CC". >>> Last update of whois database: Tue, 5 Apr 2011 01:22:28 EDT <<< NOTICE: The expiration date displayed in this record is the date the registrar's sponsorship of the domain name registration in the registry is currently set to expire. This date does not necessarily reflect the ... the prior written consent of VeriSign. You agree not to use electronic processes that are automated and high-volume to access or query the Whois database except as reasonably necessary to register domain names or modify existing registrations. VeriSign reserves the right to restrict your access to the Whois database in its sole discretion to ensure operational stability. VeriSign may restrict or terminate your access to the Whois database for failure to abide by these terms of use. VeriSign reserves the right to modify these terms at any time. The Registry database contains ONLY .cc, .tv, and .jobs domains and Registrars. |
#/etc/init.d/re
readahead_early readahead_later restorecond |
#cat /etc/hosts
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 |
#vi /etc/hosts
--- /tmp/l3-saved-3452.24964.30896 2011-04-05 12:35:20.000000000 +0600 +++ /etc/hosts 2011-04-05 12:36:29.000000000 +0600 @@ -2,3 +2,9 @@ # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 + +192.168.15.1 linux1.unix.bas linux1 +192.168.15.2 linux1.unix.bas linux2 +192.168.15.3 linux1.unix.bas linux3 +192.168.15.4 linux1.unix.bas linux4 +192.168.15.5 linux1.unix.bas linux5 |
#cat /etc/sysconfig/network
NETWORKING=yes NETWORKING_IPV6=no HOSTNAME=linux5.unix.bas |
#hostname
linux5.unix.bas |
#host ya.ru
ya.ru has address 77.88.21.3 ya.ru has address 87.250.250.3 ya.ru has address 87.250.250.203 ya.ru has address 87.250.251.3 ya.ru has address 93.158.134.3 ya.ru has address 93.158.134.203 ya.ru has address 213.180.204.3 ya.ru mail is handled by 10 mx.yandex.ru. |
#host rambler.ru
rambler.ru has address 81.19.70.3 rambler.ru mail is handled by 10 imx2.rambler.ru. rambler.ru mail is handled by 5 imx1.rambler.ru. |
#host alb.kz
alb.kz has address 212.154.211.79 alb.kz mail is handled by 5 mxx.alb.kz. alb.kz mail is handled by 10 emx.alb.kz. |
#host linux2
linux2.unix.bas has address 192.168.15.2 |
#dig alb.kz mx
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> alb.kz mx ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18332 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 2 ;; QUESTION SECTION: ;alb.kz. IN MX ;; ANSWER SECTION: alb.kz. 259133 IN MX 10 emx.alb.kz. alb.kz. 259133 IN MX 5 mxx.alb.kz. ;; AUTHORITY SECTION: alb.kz. 251844 IN NS cnr1.online.kz. alb.kz. 251844 IN NS ns.alb.kz. alb.kz. 251844 IN NS cnr2.online.kz. ;; ADDITIONAL SECTION: mxx.alb.kz. 259133 IN A 212.19.133.97 emx.alb.kz. 259133 IN A 92.46.47.154 ;; Query time: 0 msec ;; SERVER: 192.168.15.253#53(192.168.15.253) ;; WHEN: Tue Apr 5 12:40:28 2011 ;; MSG SIZE rcvd: 158 |
#dig alb.kz
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> alb.kz ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37373 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 ;; QUESTION SECTION: ;alb.kz. IN A ;; ANSWER SECTION: alb.kz. 259118 IN A 212.154.211.79 ;; AUTHORITY SECTION: alb.kz. 251829 IN NS ns.alb.kz. alb.kz. 251829 IN NS cnr1.online.kz. alb.kz. 251829 IN NS cnr2.online.kz. ;; Query time: 1 msec ;; SERVER: 192.168.15.253#53(192.168.15.253) ;; WHEN: Tue Apr 5 12:40:43 2011 ;; MSG SIZE rcvd: 102 |
#host 212.154.211.79
79.211.154.212.in-addr.arpa domain name pointer vps-1005977-187.cp.idhost.kz. |
#dig -x 212.154.211.79
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> -x 212.154.211.79 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15586 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; QUESTION SECTION: ;79.211.154.212.in-addr.arpa. IN PTR ;; ANSWER SECTION: 79.211.154.212.in-addr.arpa. 2843 IN PTR vps-1005977-187.cp.idhost.kz. ;; AUTHORITY SECTION: 211.154.212.in-addr.arpa. 2843 IN NS ns2.idhost.kz. 211.154.212.in-addr.arpa. 2843 IN NS ns1.idhost.kz. ;; ADDITIONAL SECTION: ns1.idhost.kz. 2843 IN A 92.46.52.24 ns2.idhost.kz. 2843 IN A 92.46.52.26 ;; Query time: 1 msec ;; SERVER: 192.168.15.253#53(192.168.15.253) ;; WHEN: Tue Apr 5 12:42:13 2011 ;; MSG SIZE rcvd: 155 |
#dig -x 212.154.211.79 +short
vps-1005977-187.cp.idhost.kz. |
#ls /
bin DIR home lost+found mnt proc selinux tmp VOL1 boot etc lib media net root srv usr vol1snap dev help lib64 misc opt sbin sys var |
#yum install xen
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.space.kz * base: mirror.space.kz * extras: mirror.space.kz * rpmforge: fr2.rpmfind.net * updates: mirror.space.kz Setting up Install Process Resolving Dependencies --> Running transaction check ... Total download size: 25 M Is this ok [y/N]: y Downloading Packages: (1/6): libvirt-python-0.6.3-33.el5_5.3.x86_64.rpm | 137 kB 00:01 (2/6): python-virtinst-0.400.3-9.el5_5.1.noarch.rpm | 380 kB 00:04 (3/6): iscsi-initiator-utils-6.2.0.871-0.20.el5_5.x86_64.rpm | 814 kB 00:09 (4/6): xen-3.0.3-105.el5_5.5.x86_64.rpm | 1.9 MB 00:26 (5/6): libvirt-0.6.3-33.el5_5.3.x86_64.rpm | 2.0 MB 00:36 python-virtinst.noarch 0:0.400.3-9.el5_5.1 Complete! |
#less /boot/grub/menu.lst
|
#less /boot/grub/menu.lst
|
#less /boot/grub/menu.lst
|
#ls /etc/yum.repos.d/
CentOS-Base.repo mirrors-rpmforge mirrors-rpmforge-testing CentOS-Media.repo mirrors-rpmforge-extras rpmforge.repo |
#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 Serial controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01) 03:01.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02) |
#rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
|
#rpm -U http://elrepo.org/elrepo-release-5-2.el5.elrepo.noarch.rpm
|
#yum --enablerepo=elrepo install kmod-atl1e-xen
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.space.kz * base: mirror.space.kz * elrepo: elrepo.imt-systems.com * extras: mirror.space.kz * rpmforge: fr2.rpmfind.net * updates: mirror.space.kz elrepo | 1.9 kB 00:00 elrepo/primary_db | 328 kB 00:02 ... Updating : module-init-tools 1/3 Installing : kmod-atl1e-xen 2/3 Working. This may take some time ... Done. Cleanup : module-init-tools 3/3 Installed: kmod-atl1e-xen.x86_64 1:1.0.1.9-2.el5.elrepo Updated: module-init-tools.x86_64 0:3.3-0.pre3.1.60.el5_5.1 Complete! |
#mii-
![]() mii-diag mii-tool |
#mii-tool
![]() SIOCGMIIPHY on 'eth0' failed: Operation not supported SIOCGMIIPHY on 'eth1' failed: Operation not supported no MII interfaces found |
#ping 192.168.15.3
![]() PING 192.168.15.3 (192.168.15.3) 56(84) bytes of data. From 192.168.15.5 icmp_seq=1 Destination Host Unreachable From 192.168.15.5 icmp_seq=2 Destination Host Unreachable From 192.168.15.5 icmp_seq=3 Destination Host Unreachable From 192.168.15.5 icmp_seq=4 Destination Host Unreachable From 192.168.15.5 icmp_seq=5 Destination Host Unreachable From 192.168.15.5 icmp_seq=6 Destination Host Unreachable From 192.168.15.5 icmp_seq=7 Destination Host Unreachable From 192.168.15.5 icmp_seq=8 Destination Host Unreachable From 192.168.15.5 icmp_seq=9 Destination Host Unreachable From 192.168.15.5 icmp_seq=10 Destination |