CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS Social
  [Discussion] Proposals for getinfo.sh

 

 Bottom   Previous Topic   Next Topic
12>
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  jlehtone
      jlehtone
[Discussion] Proposals for getinfo.sh
#1
Professional Board Member
Joined: 2007/12/11
From Finland
Posts: 1329
Hi,

The getinfo is a wonderful tool for wrenching details from users before their issues can be approached. However -- risking data overload -- I feel that it could tell even more.

I mainly dwell on the network fora where routing is a frequent issue. Thus, my notes are about that this time.

One bit of information, but perhaps relevant when traffic does not pass as expected.:
# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0

There have been couple cases when this policy change in CentOS 6 has saved the day:
# grep rp_filter /etc/sysctl.{conf,d/*}
/etc/sysctl.conf:net.ipv4.conf.default.rp_filter = 1

(Not quite optimal command for CentOS 5, where there is no /etc/sysctl.d/.)

I'm not fond of "ifconfig -a" but I have to admit that its output is more compact than "ip -s link show" and "ip address show".

When someone has added routing rules/tables, they know what they are doing, so the following would not help?
# ip rule show
0:      from all lookup local 
32766:  from all lookup main 
32767:  from all lookup default


My pet peeve is "route vs. ip", since they show a bit different details. Sadly, the route has neater columns:
]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.20.0       0.0.0.0         255.255.255.0   U     0      0        0 bond0.69
172.16.2.0      10.0.0.230      255.255.255.0   UG    0      0        0 brsbl
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 brsbl
192.168.168.0   10.0.0.254      255.255.255.0   UG    0      0        0 brsbl
10.0.10.0       0.0.0.0         255.255.255.0   U     0      0        0 brman
10.21.0.0       10.0.0.230      255.255.0.0     UG    0      0        0 brsbl
0.0.0.0         10.0.0.1        0.0.0.0         UG    0      0        0 brsbl

# ip route show
10.0.20.0/24 dev bond0.69  proto kernel  scope link  src 10.0.20.3 
172.16.2.0/24 via 10.0.0.230 dev brsbl 
10.0.0.0/24 dev brsbl  proto kernel  scope link  src 10.0.0.207 
192.168.168.0/24 via 10.0.0.254 dev brsbl 
10.0.10.0/24 dev brman  proto kernel  scope link  src 10.0.10.1 
10.21.0.0/16 via 10.0.0.230 dev brsbl 
default via 10.0.0.1 dev brsbl
Posted on: 2012/4/20 8:21
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#2
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Moving to Social as this is not CentOS-6 (or even CentOS) specific.

No problem with adding the suggested ip information, but I'd be reluctant to replace the current commands. On the sysctl stuff, some file grepping can certainly provide it.

Before moving out on this, any others with suggestions please jump in. I'd rather incorporate all suggestions at once, particularly now that this is in an ELRepo package.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/20 12:39
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: [Discussion] Proposals for getinfo.sh
#3
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9131
I do not think I am suitably qualified to comment on the finer networking points currently being discussed. However I will show the results I have obtained from executing those commands on an RHEL 6.2 system --

Quote:

[ajb@Duo2 ~]$ sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0
[ajb@Duo2 ~]$ grep rp_filter /etc/sysctl.{conf,d/*}
/etc/sysctl.conf:net.ipv4.conf.default.rp_filter = 1
grep: /etc/sysctl.d/*: No such file or directory
[ajb@Duo2 ~]$ ip rule show
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
[ajb@Duo2 ~]$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0
[ajb@Duo2 ~]$ ip route show
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.2 metric 2
default via 192.168.1.254 dev wlan0 proto static
[ajb@Duo2 ~]$

Note the line highlighted in red?
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2012/4/20 23:16
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: [Discussion] Proposals for getinfo.sh
#4
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6310
I've never been keen on the errors we get because a command is not installed. Not sure if this is exactly elegant but it seems to work

--- /usr/local/bin/oldinfo.sh   2012-04-10 20:09:19.000000000 +0000
+++ /usr/local/bin/getinfo.sh   2012-04-21 03:35:54.077342619 +0000
@@ -85,9 +85,14 @@
 
 for program in $PRGS 
 do
-   echo "== BEGIN $program ==" >> $TMPFILE 2>&1
-   eval $program >> $TMPFILE 2>&1
-   echo "== END   $program ==" >> $TMPFILE 2>&1
+   PRG=$(which `echo $program | cut -d" " -f1` 2>/dev/null)
+   if [ -n "$PRG" -a -x "$PRG" ]; then
+      echo "== BEGIN $program ==" >> $TMPFILE 2>&1
+      eval $program >> $TMPFILE 2>&1
+      echo "== END   $program ==" >> $TMPFILE 2>&1
+   else
+      echo "== NO    $program ==" >> $TMPFILE 2>&1
+   fi
    echo >> $TMPFILE 2>&1
 done
 
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/4/21 3:40
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#5
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Good idea. I had thought about doing something like that but never got it done. Will do it this iteration.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/21 12:48
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#6
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
Quote:

AlanBartlett wrote:
...
Note the line highlighted in red?

Actually, same thing on 5.8 now that I test...
# grep rp_filter /etc/sysctl.{conf,d/*}
/etc/sysctl.conf:net.ipv4.conf.default.rp_filter = 1
grep: /etc/sysctl.d/*: No such file or directory
# rpm -q centos-release
centos-release-5-8.el5.centos.x86_64
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/21 13:02
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: [Discussion] Proposals for getinfo.sh
#7
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6310
I had a thought after posting my patch... unfortunately I don't think `which` is a default package
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/4/21 16:55
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#8
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
That is a problem. All I can come up with as an alternative is to use the full paths for executables so they can be checked with "if [ -f /bin/name ]; then ..." as the original command strings are constructed. Makes it rather messy.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/21 20:21
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: [Discussion] Proposals for getinfo.sh
#9
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6310
Hmmm... in the RPM I guess we could cheat:

Requires: which
_________________
Linux/VoIP Systems Administrator
Posted on: 2012/4/21 21:06
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#10
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
That would take care of people who use the package. Better than anything I've come up with. A more general solution that also works for a direct download of the script would be better. I'm still looking/thinking. Other suggestions welcome.
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/22 2:31
Create PDF from Post Print
Top
  •  jlehtone
      jlehtone
Re: [Discussion] Proposals for getinfo.sh
#11
Professional Board Member
Joined: 2007/12/11
From Finland
Posts: 1329
Quote:
AlanBartlett wrote:
Quote:
$ grep rp_filter /etc/sysctl.{conf,d/*}
/etc/sysctl.conf:net.ipv4.conf.default.rp_filter = 1
grep: /etc/sysctl.d/*: No such file or directory

Note the line highlighted in red?

Yes, and that was my bad syntax. My rationale for that was to check both the
/etc/sysctl.conf and any /etc/sysctl.d/*, which the user might have added (but not
in CentOS-5). My CentOS 6 has one file in /etc/sysctl.d/, which obviously has been
added by a non-default package. Obviously, an empty /etc/sysctl.d/ generates
the red bit.

The other way to check this would be just to ask
sysctl net.ipv4.conf.default.rp_filter
or
sysctl -a | grep rp_filter
but at least the latter can generate a longer list.

Apparently, a more verbose
for F in /etc/sysctl.{conf,d/*} ; do [[ -f "$F" ]] && grep rp_filter "$F" ; done
Does not spill blood so much.


On 'which', could bash builtin 'type' be used?
Posted on: 2012/4/22 16:41
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: [Discussion] Proposals for getinfo.sh
#12
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9131
Quote:

On 'which', could bash builtin 'type' be used?

Hmm . . . That could just be the missing link!
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2012/4/22 17:14
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#13
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
So, that makes it:
PRG=$(type $(echo $program | cut -d" " -f1)  2>/dev/null | cut -d ' ' -f 3)

Check:
$ program=lspci
$ PRG=$(type $(echo $program | cut -d" " -f1)  2>/dev/null | cut -d ' ' -f 3)
$ echo $PRG
/sbin/lspci

So far so good. Have not tried all cases.

And for the added network stuff:
sysctl net.ipv4.ip_forward
for F in /etc/sysctl.{conf,d/*} ; do [[ -f "$F" ]] && grep rp_filter "$F" ; done
ip rule show
ip route show


But:
$ program='for F in /etc/sysctl.{conf,d/*} ; do [[ -f "$F" ]] && grep rp_filter "$F" ; done'
$ type $program
for is a shell keyword
bash: type: F: not found
in is a shell keyword
bash: type: /etc/sysctl.{conf,d/*}: not found
bash: type: ;: not found
do is a shell keyword
[[ is a shell keyword
bash: type: -f: not found
bash: type: "$F": not found
]] is a shell keyword
bash: type: &&: not found
grep is hashed (/bin/grep)
bash: type: rp_filter: not found
bash: type: "$F": not found
bash: type: ;: not found
done is a shell keyword
$ PRG=$(type $(echo $program | cut -d" " -f1)  2>/dev/null | cut -d ' ' -f 3)
$ echo $PRG
a
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/22 20:38
Create PDF from Post Print
Top
  •  jlehtone
      jlehtone
Re: [Discussion] Proposals for getinfo.sh
#14
Professional Board Member
Joined: 2007/12/11
From Finland
Posts: 1329
Too much hassle in that one.

We know that the default /etc/sysctl.conf does set a value for net.ipv4.conf.default.rp_filter. Whenever someone adjusts rp_filters, they have three options:
1. Edit the net.ipv4.conf.default.rp_filter in /etc/sysctl.conf
2. Override net.ipv4.conf.default.rp_filter in /etc/sysctl.d/
3. Add interface-specific entries.

What would you use?

Perhaps the easiest "catch most" command is after all:
sysctl net.ipv4.conf.default.rp_filter


# sysctl net.ipv4.conf.default.rp_filter
net.ipv4.conf.default.rp_filter = 1

# sysctl -a | grep "\.rp_filter"
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.eth1.rp_filter = 1
net.ipv4.conf.eth2.rp_filter = 1
net.ipv4.conf.bond0.rp_filter = 1
net.ipv4.conf.bond0/60.rp_filter = 1
net.ipv4.conf.brman.rp_filter = 1
net.ipv4.conf.bond0/65.rp_filter = 1
net.ipv4.conf.brrods.rp_filter = 1
net.ipv4.conf.bond0/26.rp_filter = 1
net.ipv4.conf.brlan.rp_filter = 1
net.ipv4.conf.bond0/62.rp_filter = 1
net.ipv4.conf.bond0/56.rp_filter = 1
net.ipv4.conf.brsbl.rp_filter = 1
net.ipv4.conf.vnet0.rp_filter = 1
net.ipv4.conf.vnet1.rp_filter = 1
net.ipv4.conf.vnet2.rp_filter = 1


Hello Dolly, what did I do:
# program='sysctl -a | grep "\.rp_filter"'
# PRG=$(type $(echo $program | cut -d" " -f1)  2>/dev/null | cut -d ' ' -f 3)
# echo $PRG
hashed
# program=sysctl
# PRG=$(type $(echo $program | cut -d" " -f1)  2>/dev/null | cut -d ' ' -f 3)
# echo $PRG
hashed
# program=split
# PRG=$(type $(echo $program | cut -d" " -f1)  2>/dev/null | cut -d ' ' -f 3)
# echo $PRG
/usr/bin/split


# type sysctl
sysctl is hashed (/sbin/sysctl)
# type -t sysctl
file
# type -p sysctl
/sbin/sysctl
# type for
for is a shell keyword
# type -t for
keyword
# type -p for
#

As long as all tested commands are files, type -p should work.
Posted on: 2012/4/23 6:47
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#15
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
I attempted to include all suggested enhancements. Changed so parameters only require 3 characters and are case-insensitive. Here's a sanity check version, tested on CentOS-5/6, RHEL6, and Fedora 16:

#!/bin/bash
# getinfo.sh
# This script collects system hardware and software information.
# Exact information collected depends on how it is called.
# It was developed by CentOS Forum members and is released under
# the GNU General Public License, version 2 or later (GPL).
# It should work on most Enterprise Linux or Fedora distributions.
# Version 1.0 4/5/2011
# Version 1.1 4/23/2012

# Set locale to English
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US:en_GB:en

PATH=/sbin:/bin:/usr/sbin:/usr/bin

# Separator for commands.
IFS=:

# Temporary file for output.
TMPFILE="`mktemp -t basedata.XXXXXX`" || exit 1

# Command list:
PRGBASE="uname -rmi:rpm -qa \*-release\*:cat /etc/redhat-release:getenforce:free -m"
PRGPKGS="rpm -qa yum\* rpm-\* python | sort:ls /etc/yum.repos.d:cat /etc/yum.conf"
PRGPKGS=$PRGPKGS:"yum repolist all:egrep 'include|exclude' /etc/yum.repos.d/*.repo"
PRGPKGS=$PRGPKGS:'sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n'
PRGKRNL="rpm -qa kernel\\* | sort"
PRGHARD="lspci -nn:lsusb:rpm -qa kmod\* kmdl\*"
PRGSNET="ifconfig -a:brctl show:route -n"
PRGSNET=$PRGSNET:"sysctl -a | grep "\.rp_filter":ip rule show:ip route show"
PRGSNET=$PRGSNET:"cat /etc/resolv.conf:grep net /etc/nsswitch.conf"
PRGSNET=$PRGSNET:"chkconfig --list | grep -Ei 'network|wpa'"

if [ $# -lt 1 ]; then
echo "No option provided. Default to all information."
CASE="all"
else
CASE=$(echo "$1" | tr '[:upper:]' '[:lower:]')
fi

# If not running as root then no fdisk, parted, blkid, or lvdisplay
if [[ $EUID -eq 0 ]]; then
PRGDISK="cat /etc/fstab:df -h:fdisk -l:parted -l:blkid:cat /proc/mdstat:pvs:vgs:lvs"
else
PRGDISK="cat /etc/fstab:df -h:cat /proc/mdstat"
echo ""
echo "WARNING!!!"
echo "Not running as root. No fdisk, parted, blkid, or LVM information will be provided!"
echo ""
fi

case "$CASE" in
bas*)
PRGS="$PRGBASE"
echo "Basic system information." >> $TMPFILE 2>&1
CAS="Basic"
;;
dis*)
PRGS="$PRGBASE:$PRGDISK"
echo "Information for disk problems." >> $TMPFILE 2>&1
CAS="Disk"
if [[ $EUID -ne 0 ]]; then
echo "Not running as root. No fdisk, parted, blkid, or LVM information provided!!!" >> $TMPFILE 2>&1
fi
;;
dri*)
PRGS="$PRGBASE:$PRGKRNL:$PRGHARD"
echo "Information for driver problems." >> $TMPFILE 2>&1
CAS="Driver"
;;
net*)
PRGS="$PRGBASE:$PRGHARD:$PRGSNET"
echo "Information for networking problems." >> $TMPFILE 2>&1
CAS="Networking"
;;
pac*)
PRGS="$PRGBASE:$PRGPKGS:$PRGKRNL"
echo "Information for package management problems." >> $TMPFILE 2>&1
CAS="Packaging"
;;
all)
PRGS="$PRGBASE:$PRGPKGS:$PRGDISK:$PRGKRNL:$PRGHARD:$PRGSNET"
echo "Information for general problems." >> $TMPFILE 2>&1
CAS="General"
;;
*)
echo "Usage: `basename $0` {all|basic|disk|driver|network|package}"
echo "Option $CASE not recognized."
exit 1
esac

echo "Collecting system information for $CAS questions."

echo "[code]" >> $TMPFILE 2>&1

for program in $PRGS
do
PRG=$(type -p $(echo $program | cut -d ' ' -f 1) 2>/dev/null | cut -d ' ' -f 3)
if [ -n "$PRG" -a -x "$PRG" ]; then
echo "== BEGIN $program ==" >> $TMPFILE 2>&1
eval $program >> $TMPFILE 2>&1
echo "== END $program ==" >> $TMPFILE 2>&1
else
PRG=$(echo $program | cut -d ' ' -f 1)
echo "== Warning: $PRG is not installed ==" >> $TMPFILE 2>&1
echo "***"
echo "*** Warning: $PRG is not installed."
fi
echo >> $TMPFILE 2>&1
done

echo "***"
echo "[/code]" >> $TMPFILE 2>&1

chmod a+r $TMPFILE

echo -e "\n########################"
echo -e "Results are in the file:\n* $TMPFILE *"
echo -e "########################\n"

echo "To provide this information in support of a question on fora,"
echo -e "mailing list, or IRC channel please post its contents to\n"
echo " http://pastebin.org/"
echo -e "\nor another similar public site of your choice."
echo "Select a retention time longer than the default of 'a day'"
echo -e "and provide a link to the information in your post.\n"

echo "Alternatively, post in-line, trimming to remove any unnecessary information"
echo "for your topic. For forum posts, please leave in the"
echo -e "[code] ... [/code] tags to preserve formatting.\n"

echo "WARNING - Check the contents of the $TMPFILE file to ensure it does"
echo "not contain any sensitive information such as public IP addresses or hostnames."
echo "If necessary obfuscate such information before posting. For example:"
echo " 146.xxx.xxx.41 or myhost.mydomain.net"
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/23 19:51
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: [Discussion] Proposals for getinfo.sh
#16
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9131
I've eye-balled the code twice and nothing appears to be obviously wrong . . .

Sorry but I don't have the time available ATM to execute "corner-case" tests.
_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2012/4/23 23:56
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#17
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
I did quite a few and already checked it into Github and built packages, but awaiting feedback before publication.

Now that I think about it - as the script link now points to Github, the cat is out of the bag!
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/23 23:59
Create PDF from Post Print
Top
  •  AlanBartlett
      AlanBartlett
Re: [Discussion] Proposals for getinfo.sh
#18
Moderator
Joined: 2007/10/22
From ~/Earth/UK/England/Suffolk
Posts: 9131
I suddenly realised that the system I'm currently using would be a good "corner-case" for testing, so . . .

Quote:

[ajb@GX1 tmp]$ sudo ./zxc.sh
No option provided. Default to all information.
Collecting system information for General questions.
***
*** Warning: brctl is not installed.
***

########################
Results are in the file:
* /tmp/basedata.y26992 *
########################

To provide this information in support of a question on fora,
mailing list, or IRC channel please post its contents to

http://pastebin.org/

or another similar public site of your choice.
Select a retention time longer than the default of 'a day'
and provide a link to the information in your post.

Alternatively, post in-line, trimming to remove any unnecessary information
for your topic. For forum posts, please leave in the
 ... 
tags to preserve formatting.

WARNING - Check the contents of the /tmp/basedata.y26992 file to ensure it does
not contain any sensitive information such as public IP addresses or hostnames.
If necessary obfuscate such information before posting. For example:
146.xxx.xxx.41 or myhost.mydomain.net
[ajb@GX1 tmp]$

Comments:

(1) The very first line displayed might read better as "No option provided. Defaulting to all information."
(2) The script hung when executing "parted". This was confirmed by executing "ps -ft pts/0" from another terminal. The hung process was terminated with a "sudo pkill parted".

Here is the output the script produced:

[ajb@GX1 tmp]$ cat /tmp/basedata.y26992
Information for general problems.

== BEGIN uname -rmi ==
2.6.35-14.el5.elrepo i686 i386
== END   uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
rpmforge-release-0.5.2-2.el5.rf
elrepo-release-5-3.el5.elrepo
centos-release-notes-5.8-0
centos-release-5-8.el5.centos
centos-release-cr-5-7.el5.centos
== END   rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 5.8 (Final)
== END   cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END   getenforce ==

== BEGIN free -m ==
             total       used       free     shared    buffers     cached
Mem:           755        693         61          0         86        293
-/+ buffers/cache:        312        442
Swap:          768          5        763
== END   free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.4.3-46.el5
rpm-build-4.4.2.3-28.el5_8
rpm-libs-4.4.2.3-28.el5_8
rpm-python-4.4.2.3-28.el5_8
yum-3.2.22-39.el5.centos
yum-fastestmirror-1.1.16-21.el5.centos
yum-metadata-parser-1.1.2-3.el5.centos
yum-priorities-1.1.16-21.el5.centos
yum-utils-1.1.16-21.el5.centos
== END   rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.hide
CentOS-Debuginfo.repo
CentOS-Fasttrack.repo
CentOS-Media.repo
CentOS-Vault.hide
CentOS-Vault.repo
elrepo.repo
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
rpmforge.repo
== END   ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

exclude = redhat-artwork redhat-logos kernel kernel-PAE kernel-debug kernel-xen kernel-devel kernel-PAE-devel \
 kernel-debug-devel kernel-xen-devel kernel-doc cdda2wav cdrecord mkisofs
== END   cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.sov.uk.goscomb.net
 * elrepo: jur-linux.org
 * extras: mirror.sov.uk.goscomb.net
 * fasttrack: mirror.sov.uk.goscomb.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirror.widexs.nl
Excluding Packages in global exclude list
Finished
135 packages excluded due to repository priority protections
repo id          repo name                                   status
C5.0-base        CentOS-5.0 - Base                           disabled
C5.0-centosplus  CentOS-5.0 - Plus                           disabled
C5.0-extras      CentOS-5.0 - Extras                         disabled
C5.0-updates     CentOS-5.0 - Updates                        disabled
C5.1-base        CentOS-5.1 - Base                           disabled
C5.1-centosplus  CentOS-5.1 - Plus                           disabled
C5.1-extras      CentOS-5.1 - Extras                         disabled
C5.1-updates     CentOS-5.1 - Updates                        disabled
C5.2-base        CentOS-5.2 - Base                           disabled
C5.2-centosplus  CentOS-5.2 - Plus                           disabled
C5.2-extras      CentOS-5.2 - Extras                         disabled
C5.2-updates     CentOS-5.2 - Updates                        disabled
C5.3-base        CentOS-5.3 - Base                           disabled
C5.3-centosplus  CentOS-5.3 - Plus                           disabled
C5.3-extras      CentOS-5.3 - Extras                         disabled
C5.3-updates     CentOS-5.3 - Updates                        disabled
C5.4-base        CentOS-5.4 - Base                           disabled
C5.4-centosplus  CentOS-5.4 - Plus                           disabled
C5.4-extras      CentOS-5.4 - Extras                         disabled
C5.4-updates     CentOS-5.4 - Updates                        disabled
C5.5-base        CentOS-5.5 - Base                           disabled
C5.5-centosplus  CentOS-5.5 - Plus                           disabled
C5.5-extras      CentOS-5.5 - Extras                         disabled
C5.5-updates     CentOS-5.5 - Updates                        disabled
C5.6-base        CentOS-5.6 - Base                           disabled
C5.6-centosplus  CentOS-5.6 - Plus                           disabled
C5.6-extras      CentOS-5.6 - Extras                         disabled
C5.6-updates     CentOS-5.6 - Updates                        disabled
C5.7-base        CentOS-5.7 - Base                           disabled
C5.7-centosplus  CentOS-5.7 - Plus                           disabled
C5.7-extras      CentOS-5.7 - Extras                         disabled
C5.7-updates     CentOS-5.7 - Updates                        disabled
base             CentOS-5 - Base                             enabled:   2,711+14
c5-media         CentOS-5 - Media                            disabled
centosplus       CentOS-5 - Plus                             disabled
contrib          CentOS-5 - Contrib                          disabled
cr               CentOS-5 - CR                               enabled:          0
debug            CentOS-5 - Debuginfo                        disabled
elrepo           ELRepo.org Community Enterprise Linux Repos enabled:     480+16
elrepo-extras    ELRepo.org Community Enterprise Linux Repos disabled
elrepo-kernel    ELRepo.org Community Enterprise Linux Kerne disabled
elrepo-testing   ELRepo.org Community Enterprise Linux Testi disabled
extras           CentOS-5 - Extras                           enabled:        276
fasttrack        CentOS-5 - Fasttrack                        enabled:          0
rpmforge         RHEL 5 - RPMforge.net - dag                 enabled: 11,241+119
rpmforge-extras  RHEL 5 - RPMforge.net - extras              disabled
rpmforge-testing RHEL 5 - RPMforge.net - testing             disabled
updates          CentOS-5 - Updates                          enabled:     233+18
repolist: 14,941
== END   yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
/etc/yum.repos.d/CentOS-CR.repo:# should expect to see included / excluded
== END   egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
priority = 10 [base]
priority = 10 [cr]
priority = 10 [extras]
priority = 10 [fasttrack]
priority = 10 [updates]
priority = 20 [elrepo]
priority = 20 [elrepo-extras]
priority = 20 [elrepo-kernel]
priority = 20 [elrepo-testing]
priority = 30 [rpmforge]
priority = 30 [rpmforge-extras]
priority = 30 [rpmforge-testing]
priority = 40 [centosplus]
priority = 50 [contrib]
== END   sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP              swap                    swap    defaults        0 0
/dev/sda4               /dos                    vfat    noauto,user     0 0
== END   cat /etc/fstab ==

== BEGIN df -h ==
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              72G  4.8G   63G   7% /
/dev/sda1             107M   54M   48M  53% /boot
tmpfs                 378M     0  378M   0% /dev/shm
== END   df -h ==

== BEGIN fdisk -l ==

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          14      112423+  83  Linux
/dev/sda2              15        9625    77200357+  83  Linux
/dev/sda3            9626        9723      787185   82  Linux swap / Solaris
/dev/sda4            9724        9729       48195    b  W95 FAT32
== END   fdisk -l ==

== BEGIN parted -l ==

Model: ATA WDC WD800JB-00JJ (scsi)
Disk /dev/sda: 80.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  115MB   115MB   primary  ext3         boot 
 2      115MB   79.2GB  79.1GB  primary  ext3              
 3      79.2GB  80.0GB  806MB   primary  linux-swap        
 4      80.0GB  80.0GB  49.4MB  primary  fat16             


Error: Error opening /dev/md0: No such file or directory                  
Retry/Cancel? ./zxc.sh: line 102: 27141 Terminated              parted -l 
== END   parted -l ==

== BEGIN blkid ==
/dev/sda1: LABEL="/boot" UUID="225057c4-1352-4f4a-8d40-9deaa11678c8" TYPE="ext3" 
/dev/sda2: LABEL="/" UUID="50714765-a568-45b7-b42c-daab2cafa9d4" TYPE="ext3" 
/dev/sda3: TYPE="swap" LABEL="SWAP" 
/dev/sda4: SEC_TYPE="msdos" UUID="4D5A-B40C" TYPE="vfat" 
/dev/scd0: LABEL="CDROM" TYPE="iso9660" 
/dev/sr0: LABEL="CDROM" TYPE="iso9660" 
== END   blkid ==

== BEGIN cat /proc/mdstat ==
Personalities : 
unused devices: <none>
== END   cat /proc/mdstat ==

== BEGIN pvs ==
== END   pvs ==

== BEGIN vgs ==
  No volume groups found
== END   vgs ==

== BEGIN lvs ==
  No volume groups found
== END   lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.18-128.el5
kernel-2.6.18-164.el5
kernel-2.6.18-194.el5
kernel-2.6.18-238.el5
kernel-2.6.18-274.el5
kernel-2.6.18-308.el5
kernel-2.6.18-53.el5
kernel-2.6.18-8.el5
kernel-2.6.18-92.el5
kernel-devel-2.6.18-128.el5
kernel-devel-2.6.18-164.el5
kernel-devel-2.6.18-194.el5
kernel-devel-2.6.18-238.el5
kernel-devel-2.6.18-274.el5
kernel-devel-2.6.18-308.el5
kernel-devel-2.6.18-53.el5
kernel-devel-2.6.18-8.el5
kernel-devel-2.6.18-92.el5
kernel-headers-2.6.18-308.4.1.el5
kernel-ml-2.6.35-14.el5.elrepo
kernel-ml-devel-2.6.35-14.el5.elrepo
== END   rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge [8086:7190] (rev 03)
00:01.0 PCI bridge [0604]: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge [8086:7191] (rev 03)
00:07.0 ISA bridge [0601]: Intel Corporation 82371AB/EB/MB PIIX4 ISA [8086:7110] (rev 02)
00:07.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
00:07.2 USB controller [0c03]: Intel Corporation 82371AB/EB/MB PIIX4 USB [8086:7112] (rev 01)
00:07.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 02)
00:0f.0 PCI bridge [0604]: Digital Equipment Corporation DECchip 21152 [1011:0024] (rev 03)
00:11.0 Ethernet controller [0200]: 3Com Corporation 3c905B 100BaseTX [Cyclone] [10b7:9055] (rev 24)
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI 3D Rage Pro AGP 1X/2X [1002:4742] (rev 5c)
== END   lspci -nn ==

== BEGIN lsusb ==
Protocol spec without prior Class and Subclass spec at line 4297
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
== END   lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END   rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
eth0      Link encap:Ethernet  HWaddr 00:C0:4F:24:66:81  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::2c0:4fff:fe24:6681/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1432  Metric:1
          RX packets:76031 errors:0 dropped:0 overruns:1 frame:0
          TX packets:71925 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:57038892 (54.3 MiB)  TX bytes:10037949 (9.5 MiB)
          Interrupt:11 Base address:0x2000 

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:21168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2029147 (1.9 MiB)  TX bytes:2029147 (1.9 MiB)

== END   ifconfig -a ==

== Warning: brctl is not installed ==

== BEGIN route -n ==
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.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.1.254   0.0.0.0         UG    0      0        0 eth0
== END   route -n ==

== BEGIN sysctl -a | grep .rp_filter ==
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.eth0.arp_filter = 0
== END   sysctl -a | grep .rp_filter ==

== BEGIN ip rule show ==
0:      from all lookup 255 
32766:  from all lookup main 
32767:  from all lookup default 
== END   ip rule show ==

== BEGIN ip route show ==
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.1 
169.254.0.0/16 dev eth0  scope link 
default via 192.168.1.254 dev eth0 
== END   ip route show ==

== BEGIN cat /etc/resolv.conf ==
nameserver 192.168.1.254
== END   cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks:   nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     
netmasks:   files
networks:   files
netgroup:   nisplus
== END   grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
== END   chkconfig --list | grep -Ei 'network|wpa' ==

_________________
Alan

100% Unix & Linux. Co-founder of the ELRepo Project.
Posted on: 2012/4/24 0:15
Create PDF from Post Print
Top
  •  pschaff
      pschaff
Re: [Discussion] Proposals for getinfo.sh
#19
Moderator
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
No argument on the grammatical correction. That's a far corner all right. Can you test on the same configuration with a standard kernel?
_________________
Phil

Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions
Posted on: 2012/4/24 0:18
Create PDF from Post Print
Top
  •  TrevorH
      TrevorH
Re: [Discussion] Proposals for getinfo.sh
#20
Moderator
Joined: 2009/9/24
From Brighton, UK
Posts: 6310
I tried it as well on my 5.8 desktop (with the odd minor modification from standard CentOS )

[root@trevor4 ~]# getinfo.sh
No option provided.  Default to all information.
Collecting system information for General questions.
***

########################
Results are in the file:
* /tmp/basedata.X21832 *
########################


and the output (warning this lot is longer than average!)

== BEGIN uname -rmi ==
2.6.42.14 x86_64 x86_64
== END   uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
epel-release-5-4.noarch
centos-release-cr-5-7.el5.centos.x86_64
elrepo-release-5-3.el5.elrepo.noarch
adobe-release-x86_64-1.0-1.noarch
centos-release-5-8.el5.centos.x86_64
centos-release-notes-5.8-0.x86_64
rpmforge-release-0.5.2-2.el5.rf.x86_64
== END   rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 5.8 (Final)
== END   cat /etc/redhat-release ==

== BEGIN getenforce ==
Permissive
== END   getenforce ==

== BEGIN free -m ==
             total       used       free     shared    buffers     cached
Mem:         12014      10766       1248          0        852       6903
-/+ buffers/cache:       3010       9004
Swap:         2047         11       2036
== END   free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.4.3-46.el5.x86_64
rpm-build-4.4.2.3-28.el5_8.x86_64
rpm-devel-4.4.2.3-28.el5_8.x86_64
rpm-libs-4.4.2.3-28.el5_8.x86_64
rpm-python-4.4.2.3-28.el5_8.x86_64
yum-3.2.22-39.el5.centos.noarch
yum-changelog-1.1.16-21.el5.centos.noarch
yum-downloadonly-1.1.16-21.el5.centos.noarch
yum-fastestmirror-1.1.16-21.el5.centos.noarch
yum-metadata-parser-1.1.2-3.el5.centos.x86_64
yum-priorities-1.1.16-21.el5.centos.noarch
yum-protectbase-1.1.16-21.el5.centos.noarch
yum-security-1.1.16-21.el5.centos.noarch
yum-updatesd-0.9-2.el5.noarch
yum-utils-1.1.16-21.el5.centos.noarch
== END   rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
adobe-linux-i386.repo
adobe-linux-x86_64.repo
CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.repo
CentOS-Fast.repo
CentOS-Media.repo
CentOS-Vault.repo
elrepo.repo
epel.repo
epel-testing.repo
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
pidgin.repo
rpmforge.repo
== END   ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END   cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: changelog, downloadonly, priorities, protectbase, security
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Updates
Finished
27 packages excluded due to repository priority protections
0 packages excluded due to repository protections
repo id                repo name                               status
C5.0-base              CentOS-5.0 - Base                       disabled
C5.0-centosplus        CentOS-5.0 - Plus                       disabled
C5.0-extras            CentOS-5.0 - Extras                     disabled
C5.0-updates           CentOS-5.0 - Updates                    disabled
C5.1-base              CentOS-5.1 - Base                       disabled
C5.1-centosplus        CentOS-5.1 - Plus                       disabled
C5.1-extras            CentOS-5.1 - Extras                     disabled
C5.1-updates           CentOS-5.1 - Updates                    disabled
C5.2-base              CentOS-5.2 - Base                       disabled
C5.2-centosplus        CentOS-5.2 - Plus                       disabled
C5.2-extras            CentOS-5.2 - Extras                     disabled
C5.2-updates           CentOS-5.2 - Updates                    disabled
C5.3-base              CentOS-5.3 - Base                       disabled
C5.3-centosplus        CentOS-5.3 - Plus                       disabled
C5.3-extras            CentOS-5.3 - Extras                     disabled
C5.3-updates           CentOS-5.3 - Updates                    disabled
C5.4-base              CentOS-5.4 - Base                       disabled
C5.4-centosplus        CentOS-5.4 - Plus                       disabled
C5.4-extras            CentOS-5.4 - Extras                     disabled
C5.4-updates           CentOS-5.4 - Updates                    disabled
C5.5-base              CentOS-5.5 - Base                       disabled
C5.5-centosplus        CentOS-5.5 - Plus                       disabled
C5.5-extras            CentOS-5.5 - Extras                     disabled
C5.5-updates           CentOS-5.5 - Updates                    disabled
C5.6-base              CentOS-5.6 - Base                       disabled
C5.6-centosplus        CentOS-5.6 - Plus                       disabled
C5.6-extras            CentOS-5.6 - Extras                     disabled
C5.6-updates           CentOS-5.6 - Updates                    disabled
C5.7-base              CentOS-5.7 - Base                       disabled
C5.7-centosplus        CentOS-5.7 - Plus                       disabled
C5.7-extras            CentOS-5.7 - Extras                     disabled
C5.7-updates           CentOS-5.7 - Updates                    disabled
addons                 CentOS-5 - Addons                       enabled:        0
adobe-linux-i386       Adobe Systems Incorporated              disabled
adobe-linux-x86_64     Adobe Systems Incorporated              disabled
base                   CentOS-5 - Base                         enabled: 3,576+15
c5-media               CentOS-5 - Media                        disabled
centosplus             CentOS-5 - Plus                         enabled:       38
contrib                CentOS-5 - Contrib                      disabled
cr                     CentOS-5 - CR                           enabled:        0
debug                  CentOS-5 - Debuginfo                    disabled
elrepo                 ELRepo.org Community Enterprise Linux R enabled:   366+16
elrepo-extras          ELRepo.org Community Enterprise Linux R disabled
elrepo-kernel          ELRepo.org Community Enterprise Linux K disabled
elrepo-testing         ELRepo.org Community Enterprise Linux T disabled
epel                   Extra Packages for Enterprise Linux 5 - disabled
epel-debuginfo         Extra Packages for Enterprise Linux 5 - disabled
epel-source            Extra Packages for Enterprise Linux 5 - disabled
epel-testing           Extra Packages for Enterprise Linux 5 - disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 5 - disabled
epel-testing-source    Extra Packages for Enterprise Linux 5 - disabled
extras                 CentOS-5 - Extras                       enabled:      268
fasttrack              CentOS-5 - FastTrack                    enabled:        0
pidgin                 Pidgin for RHEL/CentOS 5 - x86_64       enabled:    320+3
pidgin-debuginfo       Pidgin for RHEL/CentOS 5 - x86_64 - Deb disabled
pidgin-source          Pidgin for RHEL/CentOS 5 - x86_64 - Sou disabled
rpmforge               RHEL 5 - RPMforge.net - dag             disabled
rpmforge-extras        RHEL 5 - RPMforge.net - extras          disabled
rpmforge-testing       RHEL 5 - RPMforge.net - testing         disabled
updates                CentOS-5 - Updates                      enabled:      312
repolist: 4,880
== END   yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
/etc/yum.repos.d/CentOS-Base.repo:exclude=pidgin*, libpurple*, finch*
/etc/yum.repos.d/CentOS-Base.repo:exclude=pidgin*, libpurple*, finch*
/etc/yum.repos.d/CentOS-CR.repo:# should expect to see included / excluded
/etc/yum.repos.d/epel.repo:exclude=amarok*
/etc/yum.repos.d/epel-testing.repo:exclude=amarok*
/etc/yum.repos.d/rpmforge.repo:exclude=duplicity, augeas, librsync, wxGTK*, augeas*, john*
== END   egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
priority = 1 [addons]
priority = 1 [base]
priority = 1 [centosplus]
priority = 1 [cr]
priority = 1 [extras]
priority = 1 [fasttrack]
priority = 1 [updates]
priority = 70 [elrepo]
priority = 70 [elrepo-extras]
priority = 70 [elrepo-kernel]
priority = 70 [elrepo-testing]
priority = 80 [rpmforge]
priority = 82 [rpmforge-extras]
priority = 85 [rpmforge-testing]
priority = 90 [epel]
== END   sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
/dev/vg_beast/lv_root_c5 /                       ext3    defaults,noatime,nodiratime        1 1
LABEL=/boot             /boot                   ext3    defaults,noatime,nodiratime        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/mapper/xswap   swap                    swap    defaults        0 0
/dev/vgm4/lv_tmp        /tmp    ext4    defaults,noatime,nodiratime,discard     0 0
/dev/vgm4/lv_home       /home   ext4    defaults,noatime,nodiratime,discard     0 0
/dev/vg3TB/r3tb /mnt/r3tb       xfs     defaults,nobarrier,noatime,nodiratime   0 0
#
/mnt/r3tb/data/files/software/CentOS-5.5-i386-bin-DVD/CentOS-5.5-i386-bin-DVD.iso       /mnt/c5i386     iso9660 loop,ro,defaults,noauto 0 0
/mnt/r3tb/data/files/software/CentOS-5.6-x86_64-bin-DVD/CentOS-5.6-x86_64-bin-DVD-1of2.iso      /mnt/c564       iso9660 loop,ro,defaults,noauto 0 0
/mnt/r3tb/data/files/software/CentOS-6.2-x86_64-bin-DVD1to2/CentOS-6.2-i386-bin-DVD1.iso        /mnt/c6i386     iso9660 loop,ro,defaults,noauto 0 0
/mnt/r3tb/data/files/software/CentOS-6.2-x86_64-bin-DVD1to2/CentOS-6.2-x86_64-bin-DVD1.iso      /mnt/c664       iso9660 loop,ro,defaults,noauto 0 0
== END   cat /etc/fstab ==

== BEGIN df -h ==
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg_beast-lv_root_c5
                       16G   11G  4.7G  69% /
/dev/sda1             388M   34M  335M   9% /boot
tmpfs                 5.9G   12K  5.9G   1% /dev/shm
/dev/mapper/vgm4-lv_tmp
                      6.0G  227M  5.8G   4% /tmp
/dev/mapper/vgm4-lv_home
                      100G   53G   47G  53% /home
/dev/mapper/vg3TB-r3tb
                      4.0T  2.4T  1.7T  60% /mnt/r3tb
/mnt/r3tb/data/files/software/CentOS-5.5-i386-bin-DVD/CentOS-5.5-i386-bin-DVD.iso
                      3.9G  3.9G     0 100% /mnt/c5i386
/mnt/r3tb/data/files/software/CentOS-5.6-x86_64-bin-DVD/CentOS-5.6-x86_64-bin-DVD-1of2.iso
                      4.0G  4.0G     0 100% /mnt/c564
/mnt/r3tb/data/files/software/CentOS-6.2-x86_64-bin-DVD1to2/CentOS-6.2-i386-bin-DVD1.iso
                      3.6G  3.6G     0 100% /mnt/c6i386
/mnt/r3tb/data/files/software/CentOS-6.2-x86_64-bin-DVD1to2/CentOS-6.2-x86_64-bin-DVD1.iso
                      4.2G  4.2G     0 100% /mnt/c664
== END   df -h ==

== BEGIN fdisk -l ==
Disk /dev/md0 doesn't contain a valid partition table

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          52      409600   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2              52       19458   155879424   8e  Linux LVM

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/sdd: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/sdf: 128.0 GB, 128035676160 bytes
224 heads, 56 sectors/track, 19935 cylinders
Units = cylinders of 12544 * 512 = 6422528 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdf1               1       19935   125032292   8e  Linux LVM

Disk /dev/sde: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1      182401  1465136001   fd  Linux raid autodetect

Disk /dev/md0: 4500.8 GB, 4500897202176 bytes
2 heads, 4 sectors/track, 1098851856 cylinders
Units = cylinders of 8 * 512 = 4096 bytes


Disk /dev/sdg: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdg1               2       19457   156280320    f  W95 Ext'd (LBA)
/dev/sdg5               2       19457   156280288+  35  Unknown
== END   fdisk -l ==

== BEGIN parted -l ==

Model: ATA INTEL SSDSA2M160 (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  420MB  419MB  primary  ext3         boot 
 2      420MB   160GB  160GB  primary               lvm  



Model: ATA WDC WD15EADS-00P (scsi)
Disk /dev/sdb: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  1500GB  1500GB  primary               raid 



Model: ATA WDC WD15EADS-00P (scsi)
Disk /dev/sdc: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  1500GB  1500GB  primary               raid 



Model: ATA WDC WD15EADS-00P (scsi)
Disk /dev/sdd: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  1500GB  1500GB  primary               raid 



Model: ATA WDC WD15EADS-00P (scsi)
Disk /dev/sde: 1500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  1500GB  1500GB  primary               raid 



Model: ATA M4-CT128M4SSD2 (scsi)
Disk /dev/sdf: 128GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      28.7kB  128GB  128GB  primary               lvm  



Model: WDC WD16 00BB-00GUA0 (scsi)
Disk /dev/sdg: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type      File system  Flags
 1      8225kB  160GB  160GB  extended               lba  
 5      8258kB  160GB  160GB  logical   jfs               


^M                                                                          ^MError: Unable to open /dev/md0 - unrecognised disk label.

== END   parted -l ==

== BEGIN blkid ==
/dev/mapper/vg_beast-lv_root_c5: UUID="1afa2e6f-1123-4045-ac7b-ade76cde6881" TYPE="ext3" 
/dev/sda1: LABEL="/boot" UUID="c88df54c-4ae1-4b01-9c01-23d992a5d99d" TYPE="ext3" 
/dev/vg_beast/lv_root_c5: UUID="1afa2e6f-1123-4045-ac7b-ade76cde6881" TYPE="ext3" 
/dev/sdg5: UUID="e97c57fd-0000-0000-0000-000000002016" TYPE="jfs" 
/dev/mapper/vg3TB-r3tb: LABEL="r3tb" UUID="f66decfd-5458-41a7-b960-90e67124d5b0" TYPE="xfs" 
/dev/scd0: LABEL="CentOS_5.2_Final" TYPE="iso9660" 
/mnt/r3tb/data/files/software/DOS6.22_bootdisk.iso: LABEL="DOS6.22" TYPE="iso9660" 
/dev/mapper/vg_beast-lv_root_c6: UUID="7031e291-6008-47b0-8cd5-1358404072b6" TYPE="ext4" 
/dev/mapper/vgm4-lv_home: UUID="e5f1bc8c-648b-4d49-befa-0b343eef2b55" TYPE="ext4" 
/dev/mapper/vgm4-lv_tmp: UUID="dab3d7e7-e1c3-4cb6-b899-74e94f748eb7" TYPE="ext4" 
/dev/mapper/vgm4-lv_snaps: UUID="0d96076b-8cc9-4d9f-9a37-0099cb62c9b5" TYPE="crypt_LUKS" 
/dev/mapper/xswap: TYPE="swap" 
/dev/dvd: TYPE="udf" 
/dev/loop0: LABEL="CentOS_5.5_Final" TYPE="iso9660" 
/dev/loop1: LABEL="CentOS_5.6_Final" TYPE="iso9660" 
/dev/loop2: LABEL="CentOS_6.2_Final" TYPE="iso9660" 
/dev/loop3: LABEL="CentOS_6.2_Final" TYPE="iso9660" 
== END   blkid ==

== BEGIN cat /proc/mdstat ==
Personalities : [raid6] [raid5] [raid4] 
md0 : active raid5 sdb1[6] sde1[5] sdd1[3] sdc1[4]
      4395407424 blocks super 1.2 level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
      
unused devices: <none>
== END   cat /proc/mdstat ==

== BEGIN pvs ==
  PV         VG       Fmt  Attr PSize   PFree 
  /dev/md0   vg3TB    lvm2 a--    4.09T 95.79G
  /dev/sda2  vg_beast lvm2 a--  148.66G 10.66G
  /dev/sdf1  vgm4     lvm2 a--  119.24G  5.24G
== END   pvs ==

== BEGIN vgs ==
  VG       #PV #LV #SN Attr   VSize   VFree 
  vg3TB      1   1   0 wz--n-   4.09T 95.79G
  vg_beast   1   4   0 wz--n- 148.66G 10.66G
  vgm4       1   3   0 wz--n- 119.24G  5.24G
== END   vgs ==

== BEGIN lvs ==
  LV         VG       Attr   LSize   Origin Snap%  Move Log Copy%  Convert
  r3tb       vg3TB    -wi-ao   4.00T                                      
  lv_root_c5 vg_beast -wi-ao  16.00G                                      
  lv_root_c6 vg_beast -wi-a-  20.00G                                      
  lv_swap    vg_beast -wi-ao   2.00G                                      
  lv_home    vgm4     -wi-ao 100.00G                                      
  lv_tmp     vgm4     -wi-ao   6.00G
== END   lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.42.14-3.x86_64
kernel-2.6.42.1-4.x86_64
kernel-headers-2.6.42.14-3.x86_64
== END   rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port [8086:3405] (rev 13)
00:01.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 [8086:3408] (rev 13)
00:02.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 2 [8086:3409] (rev 13)
00:03.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 [8086:340a] (rev 13)
00:07.0 PCI bridge [0604]: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 [8086:340e] (rev 13)
00:14.0 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers [8086:342e] (rev 13)
00:14.1 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers [8086:3422] (rev 13)
00:14.2 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers [8086:3423] (rev 13)
00:14.3 PIC [0800]: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers [8086:3438] (rev 13)
00:19.0 Ethernet controller [0200]: Intel Corporation 82567V-2 Gigabit Network Connection [8086:10ce]
00:1a.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4 [8086:3a37]
00:1a.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5 [8086:3a38]
00:1a.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6 [8086:3a39]
00:1a.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2 [8086:3a3c]
00:1c.0 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1 [8086:3a40]
00:1c.4 PCI bridge [0604]: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5 [8086:3a48]
00:1d.0 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1 [8086:3a34]
00:1d.1 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2 [8086:3a35]
00:1d.2 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3 [8086:3a36]
00:1d.7 USB controller [0c03]: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1 [8086:3a3a]
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 90)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller [8086:3a16]
00:1f.2 SATA controller [0106]: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller [8086:3a22]
00:1f.3 SMBus [0c05]: Intel Corporation 82801JI (ICH10 Family) SMBus Controller [8086:3a30]
01:00.0 SATA controller [0106]: Marvell Technology Group Ltd. 88SE9123 PCIe SATA 6.0 Gb/s controller [1b4b:9123] (rev 11)
02:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)
03:00.0 VGA compatible controller [0300]: NVIDIA Corporation G92 [GeForce GTS 250] [10de:0615] (rev a2)
05:00.0 SATA controller [0106]: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363] (rev 03)
05:00.1 IDE interface [0101]: JMicron Technology Corp. JMB363 SATA/IDE Controller [197b:2363] (rev 03)
07:02.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0)
ff:00.0 Host bridge [0600]: Intel Corporation Device [8086:2c71] (rev 02)
ff:00.1 Host bridge [0600]: Intel Corporation Xeon 5600 Series QuickPath Architecture System Address Decoder [8086:2d81] (rev 02)
ff:02.0 Host bridge [0600]: Intel Corporation Xeon 5600 Series QPI Link 0 [8086:2d90] (rev 02)
ff:02.1 Host bridge [0600]: Intel Corporation Xeon 5600 Series QPI Physical 0 [8086:2d91] (rev 02)
ff:02.2 Host bridge [0600]: Intel Corporation Xeon 5600 Series Mirror Port Link 0 [8086:2d92] (rev 02)
ff:02.3 Host bridge [0600]: Intel Corporation Xeon 5600 Series Mirror Port Link 1 [8086:2d93] (rev 02)
ff:03.0 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Registers [8086:2d98] (rev 02)
ff:03.1 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Target Address Decoder [8086:2d99] (rev 02)
ff:03.4 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Test Registers [8086:2d9c] (rev 02)
ff:04.0 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Control [8086:2da0] (rev 02)
ff:04.1 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Address [8086:2da1] (rev 02)
ff:04.2 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Rank [8086:2da2] (rev 02)
ff:04.3 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Thermal Control [8086:2da3] (rev 02)
ff:05.0 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Control [8086:2da8] (rev 02)
ff:05.1 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Address [8086:2da9] (rev 02)
ff:05.2 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Rank [8086:2daa] (rev 02)
ff:05.3 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Thermal Control [8086:2dab] (rev 02)
ff:06.0 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Control [8086:2db0] (rev 02)
ff:06.1 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Address [8086:2db1] (rev 02)
ff:06.2 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Rank [8086:2db2] (rev 02)
ff:06.3 Host bridge [0600]: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Thermal Control [8086:2db3] (rev 02)
== END   lspci -nn ==

== BEGIN lsusb ==
Protocol spec without prior Class and Subclass spec at line 4297
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 051d:0002 American Power Conversion Uninterruptible Power Supply
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0582:00e6 Roland Corp. EDIROL UA-25EX (Advanced mode)
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 10d5:5000 Uni Class Technology Co., Ltd 
Bus 002 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 002 Device 003: ID 14cd:6600 Super Top USB 2.0 IDE DEVICE
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
== END   lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END   rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
br0       Link encap:Ethernet  HWaddr 48:5B:39:6F:72:9B  
          inet addr:192.168.x.x  Bcast:192.168.x.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34512425 errors:0 dropped:1072017 overruns:0 frame:0
          TX packets:21391383 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:31444623754 (29.2 GiB)  TX bytes:54890235107 (51.1 GiB)

eth0      Link encap:Ethernet  HWaddr 48:5B:39:6F:72:9B  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41508166 errors:0 dropped:0 overruns:0 frame:0
          TX packets:51928560 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:32516488954 (30.2 GiB)  TX bytes:56927492205 (53.0 GiB)
          Interrupt:20 Memory:f7de0000-f7e00000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8721877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8721877 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1559685470 (1.4 GiB)  TX bytes:1559685470 (1.4 GiB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:10.x.x.x  P-t-P:10.x.x.x  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1412  Metric:1
          RX packets:26 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:10219 (9.9 KiB)  TX bytes:1476 (1.4 KiB)

vbox0     Link encap:Ethernet  HWaddr 52:0D:09:E0:DF:4C  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26740 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:644 (644.0 b)  TX bytes:1949563 (1.8 MiB)

vbox1     Link encap:Ethernet  HWaddr 62:94:18:0D:A6:9A  
          UP BROADCAST MULTICAST  MTU:1500  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:500 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

== END   ifconfig -a ==

== BEGIN brctl show ==
bridge name     bridge id               STP enabled     interfaces
br0             8000.485b396f729b       no              eth0
                                                        vbox0
                                                        vbox1
== END   brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.x.1   0.0.0.0         UG    0      0        0 br0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 tun0
10.x.x.x      0.0.0.0         255.255.255.255 UH    0      0        0 tun0
10.x.x.x      0.0.0.0         255.255.0.0     U     0      0        0 tun0
x.x.x.x     192.168.x.1   255.255.255.255 UGH   0      0        0 br0
192.168.x.0   0.0.0.0         255.255.255.0   U     0      0        0 br0
== END   route -n ==

== BEGIN sysctl -a | grep .rp_filter ==
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 1
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.eth0.rp_filter = 1
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.br0.rp_filter = 1
net.ipv4.conf.br0.arp_filter = 0
net.ipv4.conf.vbox0.rp_filter = 1
net.ipv4.conf.vbox0.arp_filter = 0
net.ipv4.conf.vbox1.rp_filter = 1
net.ipv4.conf.vbox1.arp_filter = 0
net.ipv4.conf.tun0.rp_filter = 1
net.ipv4.conf.tun0.arp_filter = 0
== END   sysctl -a | grep .rp_filter ==

== BEGIN ip rule show ==
0:      from all lookup 255 
32766:  from all lookup main 
32767:  from all lookup default 
== END   ip rule show ==

== BEGIN ip route show ==
default via 192.168.x.1 dev br0 
10.x.x.x/8 dev tun0  scope link 
10.x.x.x dev tun0  scope link 
10.x.x.x/16 dev tun0  scope link 
x.x.x.x via 192.168.x.1 dev br0  src 192.168.x.x 
192.168.x.0/24 dev br0  proto kernel  scope link  src 192.168.x.x 
== END   ip route show ==

== BEGIN cat /etc/resolv.conf ==
#@VPNC_GENERATED@ -- this file is generated by vpnc
# and will be overwritten by vpnc
# as long as the above mark is intact
search trevor.local
nameserver 192.168.x.x
nameserver 194.168.4.100
nameserver 8.8.4.4
== END   cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks:   nisplus [NOTFOUND=return] files
#netmasks:   nisplus [NOTFOUND=return] files     
netmasks:   files
networks:   files
netgroup:   nisplus
== END   grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager  0:off   1:off   2:off   3:off   4:off   5:off   6:off
network         0:off   1:off   2:on    3:on    4:on    5:on    6:off
wpa_supplicant  0:off   1:off   2:off   3:off   4:off   5:off   6:off
== END   chkconfig --list | grep -Ei 'network|wpa' ==

_________________
Linux/VoIP Systems Administrator
Posted on: 2012/4/24 0:52
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic
12>

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com