[CentOS] File Permissions or Partition Write/Read for everyone

2008-05-07 Thread Victor Padro
Hello all,

I am kinda new to Linux, FreeBSD...most Windows user, anyway.
I got a little problem here maybe you can help me solve it.

I just bought a new 500Gb HDD which i formated using ext3 under Centos 5, my
plan was to use it under FreeNAS as another Backup File Disk(It has already
like 400gb of data), when I try to access the disk via samba/cifs I just
have the read attribute or permission, how can i change the whole partition
permission rights to be accessible to write/read for everyone? (I will
mantain the security using samba users and groups of course.), or do I have
to apply the chmod comand to the main folder?   I'm really stuck here.

Thank you


Victor.

P.S. Sorry for my english.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Subject: "yum update" did not update kernel on one box

2008-05-07 Thread Ralph Angenendt
Lanny Marcus wrote:
> Scott: Great! If I can locate kernel-headers-2.6.18-53.1.14.el5 and
> kernel-2.6.18-53.1.14.el5 I can use the rpm -e command to remove them
> and then yum update again and that should update the kernel in her box.
> How do I locate them? 

Why locate them? rpm -e takes the package *name*, not the package
itself.

Ralph


pgpnIwOUTFR22.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Subject: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Ralph Angenendt
MHR wrote:
> On Tue, May 6, 2008 at 2:49 PM,  <[EMAIL PROTECTED]> wrote:
> >
> >  [EMAIL PROTECTED] ~]$ rpm -qa kernel*
> >  kernel-headers-2.6.18-53.1.14.el5
> >  kernel-2.6.18-8.el5
> >  kernel-2.6.18-53.1.14.el5
> >
> >  How can I correct this, so the box
> >  will boot the latest kernel? TIA! Lanny
> 
> As root, go to the directory where the rpms are located (you can use
> 'find' for this if you don't alreayd know) and run:
> 
> rpm -ivh kernel-headers-2.6.18-53.1.14.el5 kernel-2.6.18-8.el5
> kernel-2.6.18-53.1.14.el5

Ermm. The packages *are* already installed, otherwise rpm -qa wouldn't
show them.

Ralph


pgpyXutDCk6vw.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Subject: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Ralph Angenendt
MHR wrote:
> On Tue, May 6, 2008 at 6:32 PM, Lanny Marcus <[EMAIL PROTECTED]> wrote:
> > On Tue, 2008-05-06 at 15:48 -0700, MHR wrote:
> >  
> >
> > > As root, go to the directory where the rpms are located (you can use
> >  > 'find' for this if you don't alreayd know) and run:
> >  Mark: Syntax for the find command so I can locate those 2 packages? If I
> >  can find them, then I think this will be solved quickly. TIA, Lanny
> >
> 
> Either 'man find' or 'find --help' would give you faster and more
> accurate results.

Erm. "man find" is one of the most hideous manual pages on a linux
system (man tar comes close) - so a bit help from your side would have
been nice.

a) use locate whereever you can
b) find / -type f-name "kernel*.rpm"  -- this recursively (from /
   downwards) finds file which begin with "kernel" and end with "rpm"
c) This is not needed anyway, as those packages are ALREADY installed.

Cheers,

Ralph


pgpv3ITjhnMpv.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] File Permissions or Partition Write/Read for everyone

2008-05-07 Thread Fajar Priyanto
On Wednesday 07 May 2008 14:03:42 Victor Padro wrote:
> Hello all,
>
> I am kinda new to Linux, FreeBSD...most Windows user, anyway.
> I got a little problem here maybe you can help me solve it.
>
> I just bought a new 500Gb HDD which i formated using ext3 under Centos 5,
> my plan was to use it under FreeNAS as another Backup File Disk(It has
> already like 400gb of data), when I try to access the disk via samba/cifs I
> just have the read attribute or permission, how can i change the whole
> partition permission rights to be accessible to write/read for everyone? (I
> will mantain the security using samba users and groups of course.), or do I
> have to apply the chmod comand to the main folder?   I'm really stuck here.

Hi, 
The correct term is mount point. Create a directory, and mount the partition 
onto it.

The rw permission for everyone is chmod -R 777 /mountpoint
This, however, is a very bad practice. The proper one is to give permission to 
the intended user/group only, and double enforce it with samba.
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
15:09:24 up 35 min, 2.6.22-14-generic GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org
The real challenge of teaching is getting your students motivated to learn.


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centOS xen domU kernel

2008-05-07 Thread David Hláčik
Hi, how can i make actual xen kernel to work under my domU virtual machines?

When i will provide as kernel /boot/vmlinuz-2.6.18-53.1.14.el5xen as ramdisk
/boot/initrd-2.6.18-53.1.14.el5xen.img , it will not work becouse of error
that root device does not exists. And when it is booting it is showing that
raid md0 and my logical volumes does not exists - like those on dom0. I
believe it is becouse of ram disk.
What is the best approach to solve this .. in official way? Can i use same
ramdisk as for dom0, how? or should i create a new one for xen ...

Thanks in advance!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread lannyma
On 5/7/08, Ralph Angenendt  wrote:
> Lanny Marcus wrote:
> > Scott: Great! If I can locate kernel-headers-2.6.18-53.1.14.el5 and
> > kernel-2.6.18-53.1.14.el5 I can use the rpm -e command to remove them
> > and then yum update again and that should update the kernel in her box.
> > How do I locate them?
>
> Why locate them? rpm -e takes the package *name*, not the package
> itself.

Yes. I woke up about 430 this morning and I realized that rpm can
locate the file by itself.   :-)However, I want to learn how to
use find that Mark (mhr) mentioned!

[EMAIL PROTECTED] ~]$ su -
Password:
[EMAIL PROTECTED] ~]# rpm -e kernel-headers-2.6.18-53.1.14.el5
[EMAIL PROTECTED] ~]# rpm -e kernel-2.6.18-53.1.14.el5
[EMAIL PROTECTED] ~]# yum update
Loading "priorities" plugin
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
Reading repository metadata in from local files
263 packages excluded due to repository priority protections
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for kernel to pack into transaction set.
kernel-2.6.18-53.1.14.el5 100% |=| 258 kB00:03
---> Package kernel.i686 0:2.6.18-53.1.14.el5 set to be installed
--> Running transaction check

Dependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Installing:
 kernel  i686   2.6.18-53.1.14.el5  updates13 M

Transaction Summary
=
Install  1 Package(s)
Update   0 Package(s)
Remove   0 Package(s)

Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
(1/1): kernel-2.6.18-53.1 100% |=|  13 MB03:36
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel   # [1/1]

Installed: kernel.i686 0:2.6.18-53.1.14.el5
Complete!
[EMAIL PROTECTED] ~]# exit

Notice that:  I was able to remove both files, with rpm -e without any
problem and I was able to run yum update, and it installed the new
kernel, but not the kernel-header file.

[EMAIL PROTECTED] ~]$ uname -a
Linux compaq1300.HOMELAN 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT
2007 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]$

After rebooting the box, it is still on the original kernel, rather
than on the new kernel.

I just installed kernel-headers-2.6.18-53.1.14.el5 again. Was that
correct or not?

Probably very close to solving this now! Thanks much to everyone who
has contributed ideas! Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Michael Simpson
> [EMAIL PROTECTED] ~]$ uname -a
> Linux compaq1300.HOMELAN 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT
> 2007 i686 i686 i386 GNU/Linux
> [EMAIL PROTECTED] ~]$
>
> After rebooting the box, it is still on the original kernel, rather
> than on the new kernel.
>
> I just installed kernel-headers-2.6.18-53.1.14.el5 again. Was that
> correct or not?
>
> Probably very close to solving this now! Thanks much to everyone who
> has contributed ideas! Lanny

Hi there
do you have any mention of the new kernel in /etc/grub.conf?

you might find that the default kernel is still the original one in
which case there would be a line like
default=1 in grub.conf
changing this to default=0 might bring up the new kernel on reboot
i have an old dual processor box that boots from the previous kernel
after updates for some reason which i haven't researched

hth

mike
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centOS xen domU kernel

2008-05-07 Thread Kai Schaetzl
David Hláèik wrote on Wed, 7 May 2008 11:07:10 +0200:

> Hi, how can i make actual xen kernel to work under my domU virtual machines?

There is nothing special. Just install CentOS host with virtualization support 
and then install your first DomU with virt-install or virt-manager. There's a 
CentOS-virt list, please use it next time.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
 wrote on Wed, 7 May 2008 05:27:25 -0500:

> I just installed kernel-headers-2.6.18-53.1.14.el5 again. Was that
> correct or not?

As you removed it earlier, yes. There doesn't seem to be any dependancy 
for it. AFAIK it's not necessary for operation, anyway, it's only 
necessary if something has to be compiled as it contains all the c header 
files.

Your current state is now not very clear. Please provide the following 
information:

rpm -qa kernel*
ls -l /boot
ls -l /boot/grub
cat /boot/grub/grub.conf

Besides that I suggest you get a good book on using Linux on the console. 
If "Using Linux" by Que is still getting published I suggest that. They 
provide a wealth about Linux and the shell and you can use them for years. 
I have some rather oldish ones that still provide good value. You have now 
three Linux boxes or so if I got it right. You cannot do everything just 
"by desktop", you are a "Linux shop" now and you *have* to start learning 
about all the nice console tools sooner or later, better sooner ;-)

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
Michael Simpson wrote on Wed, 7 May 2008 12:15:35 +0100:

> do you have any mention of the new kernel in /etc/grub.conf?

Note, this is only a symlink to /boot/grub/grub.conf !

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: "yum update" did not update kernel on one box

2008-05-07 Thread Robert Nichols

Michael Simpson wrote:


do you have any mention of the new kernel in /etc/grub.conf?

you might find that the default kernel is still the original one in
which case there would be a line like
default=1 in grub.conf
changing this to default=0 might bring up the new kernel on reboot
i have an old dual processor box that boots from the previous kernel
after updates for some reason which i haven't researched


That's probably because your /etc/sysconfig/kernel contains:

# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=no

Make the obvious change of "no" to "yes" if you want newly updated
kernels to become the boot default.

--
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] VSFTPD with LDAP

2008-05-07 Thread Jake
It appears as I have VSFTPD allowing access authenticating to my LDAP server 
correctly. I did this by configuring  my server to authenticate to my LDAP 
server from the GUI using System -> Administration -> Authentication. However 
now when I look at /var/log/secure it says authentication failure. How is this 
possible and how do I correct this?

--Thanks,
Jake
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: "yum update" did not update kernel on one box

2008-05-07 Thread Michael Simpson
On 5/7/08, Robert Nichols <[EMAIL PROTECTED]> wrote:
> Michael Simpson wrote:
>
> > do you have any mention of the new kernel in /etc/grub.conf?
> >
> > you might find that the default kernel is still the original one in
> > which case there would be a line like
> > default=1 in grub.conf
> > changing this to default=0 might bring up the new kernel on reboot
> > i have an old dual processor box that boots from the previous kernel
> > after updates for some reason which i haven't researched
> >
>
> That's probably because your /etc/sysconfig/kernel contains:
>
># UPDATEDEFAULT specifies if new-kernel-pkg should make
># new kernels the default
>UPDATEDEFAULT=no
>
> Make the obvious change of "no" to "yes" if you want newly updated
> kernels to become the boot default.
>
> --
Thanks for that!

It is a fedora 7 box which is responsible for internal dns and samba /
backup so having it set this way has been kinda handy as i have tested
the newer kernels on another similar but not as important box before
altering the default in grub.conf.

This bit of knowledge is *very* useful for me at the present time as i
have 2 CentOS 5.1 boxen (identical dell 2950s, dual quadcores, large
raid 6 yadda yadda) one of which is in production for an electronic
patient record for the NHS, the other for backup and testing of
updates.

/me firing up vi /etc/sysconfig/kernel

cheers

mike
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread lannyma
On 5/7/08, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
>  wrote on Wed, 7 May 2008 05:27:25 -0500:
> > I just installed kernel-headers-2.6.18-53.1.14.el5 again. Was that
> > correct or not?
>
> As you removed it earlier, yes. There doesn't seem to be any dependancy
> for it. AFAIK it's not necessary for operation, anyway, it's only
> necessary if something has to be compiled as it contains all the c header
> files.
>
> Your current state is now not very clear. Please provide the following
> information:
>
> rpm -qa kernel*

[EMAIL PROTECTED] ~]# rpm -qa kernel*
kernel-headers-2.6.18-53.1.14.el5
kernel-2.6.18-8.el5
kernel-2.6.18-53.1.14.el5
[EMAIL PROTECTED] ~]#

> ls -l /boot

[EMAIL PROTECTED] ~]# ls -l /boot
total 10672
-rw-r--r-- 1 root root   64556 Mar  5 11:58 config-2.6.18-53.1.14.el5
-rw-r--r-- 1 root root   62150 Mar 15  2007 config-2.6.18-8.el5
drwxr-xr-x 2 root root1024 May  7 05:08 grub
-rw--- 1 root root 2920899 May  7 05:08 initrd-2.6.18-53.1.14.el5.img
-rw--- 1 root root 2196209 Sep 17  2007 initrd-2.6.18-8.el5.img
drwx-- 2 root root   12288 Sep 17  2007 lost+found
-rw-r--r-- 1 root root   80032 Nov 22 18:24 message
-rw-r--r-- 1 root root   87584 Mar  5 11:58 symvers-2.6.18-53.1.14.el5.gz
-rw-r--r-- 1 root root   83542 Mar 15  2007 symvers-2.6.18-8.el5.gz
-rw-r--r-- 1 root root  904149 Mar  5 11:58 System.map-2.6.18-53.1.14.el5
-rw-r--r-- 1 root root  884787 Mar 15  2007 System.map-2.6.18-8.el5
-rw-r--r-- 1 root root 1791796 Mar  5 11:58 vmlinuz-2.6.18-53.1.14.el5
-rw-r--r-- 1 root root 1765428 Mar 15  2007 vmlinuz-2.6.18-8.el5
[EMAIL PROTECTED] ~]#

> ls -l /boot/grub

[EMAIL PROTECTED] ~]# ls -l /boot/grub
total 207
-rw-r--r-- 1 root root 63 Sep 17  2007 device.map
-rw-r--r-- 1 root root   7616 Sep 17  2007 e2fs_stage1_5
-rw-r--r-- 1 root root   7456 Sep 17  2007 fat_stage1_5
-rw-r--r-- 1 root root   6720 Sep 17  2007 ffs_stage1_5
-rw--- 1 root root816 May  7 05:08 grub.conf
-rw-r--r-- 1 root root   6720 Sep 17  2007 iso9660_stage1_5
-rw-r--r-- 1 root root   8192 Sep 17  2007 jfs_stage1_5
lrwxrwxrwx 1 root root 11 Sep 17  2007 menu.lst -> ./grub.conf
-rw-r--r-- 1 root root   6880 Sep 17  2007 minix_stage1_5
-rw-r--r-- 1 root root   9248 Sep 17  2007 reiserfs_stage1_5
-rw-r--r-- 1 root root   5427 Nov 22 18:24 splash.xpm.gz
-rw-r--r-- 1 root root512 Sep 17  2007 stage1
-rw-r--r-- 1 root root 104924 Nov 29 15:36 stage2
-rw-r--r-- 1 root root   7040 Sep 17  2007 ufs2_stage1_5
-rw-r--r-- 1 root root   6272 Sep 17  2007 vstafs_stage1_5
-rw-r--r-- 1 root root   8864 Sep 17  2007 xfs_stage1_5
[EMAIL PROTECTED] ~]#


> cat /boot/grub/grub.conf

[EMAIL PROTECTED] ~]# cat /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#  all kernel and initrd paths are relative to /boot/, eg.
#  root (hd0,2)
#  kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#  initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,2)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.14.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-53.1.14.el5 ro
root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-53.1.14.el5.img
title CentOS (2.6.18-8.el5)
root (hd0,2)
kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.18-8.el5.img
title Other
rootnoverify (hd0,0)
chainloader +1
[EMAIL PROTECTED] ~]#


> Besides that I suggest you get a good book on using Linux on the console.
> If "Using Linux" by Que is still getting published I suggest that. They
> provide a wealth about Linux and the shell and you can use them for years.
> I have some rather oldish ones that still provide good value. You have now
> three Linux boxes or so if I got it right. You cannot do everything just
> "by desktop", you are a "Linux shop" now and you *have* to start learning
> about all the nice console tools sooner or later, better sooner ;-)

Kai: Thank you, again, for your time, ideas and help! You are
absolutely correct, that I need to become as proficient as is
possible, with the commands! I have "Running Linux, Fourth Edition"
and ASAP, I will study the chapter(s) about the Command Line, which I
know has all the power and none of the problems that GUI front ends
sometimes have. Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Yum + priorities plugin question

2008-05-07 Thread jleaver+centos

Hello all!

I've recently started using the priorities plugin as part of my best
practices.  It's very effective, and prevents nasty things from
happening (like atrpms upgrading python and disabling yum.)

I'm wondering if there's a simple and elegant way to allow
package-name-based exclusions.  For example:  For my mysql cluster, I'd
prefer to have the latest mysql and mysql-server packages which I can
get from utterramblings (Thanks Jason!), however, to do so while using
the priorities plugin, I'd need to make that repo an equal priority with
base, so that it'll upgrade.

I've worked around the problem by creating a duplicate repo with the
exceptions as an includepkg and a priority equal to that of base, but it
seems less than elegant, and I know it results in double the internet
traffic for the repo mirror, which is less than friendly.

Does anyone know if there's a more elegant way to deal with this issue,
or might this be an appropriate feature request for the plugin developer?

Sincerely,

Jacob Leaver
Sr. System Administrator
ReachONE Internet

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum + priorities plugin question

2008-05-07 Thread Matt Hyclak
On Wed, May 07, 2008 at 07:54:11AM -0700, [EMAIL PROTECTED] enlightened us:
> I've recently started using the priorities plugin as part of my best
> practices.  It's very effective, and prevents nasty things from
> happening (like atrpms upgrading python and disabling yum.)
> 
> I'm wondering if there's a simple and elegant way to allow
> package-name-based exclusions.  For example:  For my mysql cluster, I'd
> prefer to have the latest mysql and mysql-server packages which I can
> get from utterramblings (Thanks Jason!), however, to do so while using
> the priorities plugin, I'd need to make that repo an equal priority with
> base, so that it'll upgrade.
> 
> I've worked around the problem by creating a duplicate repo with the
> exceptions as an includepkg and a priority equal to that of base, but it
> seems less than elegant, and I know it results in double the internet
> traffic for the repo mirror, which is less than friendly.
> 
> Does anyone know if there's a more elegant way to deal with this issue,
> or might this be an appropriate feature request for the plugin developer?
> 

Why not just exclude mysql from the base and updates repos of your distro?
If they are not there, they don't need protected/prioritized and the other
repo will win.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum + priorities plugin question

2008-05-07 Thread jleaver+centos

Matt Hyclak wrote:

On Wed, May 07, 2008 at 07:54:11AM -0700, [EMAIL PROTECTED] enlightened us:
  

I've recently started using the priorities plugin as part of my best
practices.  It's very effective, and prevents nasty things from
happening (like atrpms upgrading python and disabling yum.)

I'm wondering if there's a simple and elegant way to allow
package-name-based exclusions.  For example:  For my mysql cluster, I'd
prefer to have the latest mysql and mysql-server packages which I can
get from utterramblings (Thanks Jason!), however, to do so while using
the priorities plugin, I'd need to make that repo an equal priority with
base, so that it'll upgrade.

I've worked around the problem by creating a duplicate repo with the
exceptions as an includepkg and a priority equal to that of base, but it
seems less than elegant, and I know it results in double the internet
traffic for the repo mirror, which is less than friendly.

Does anyone know if there's a more elegant way to deal with this issue,
or might this be an appropriate feature request for the plugin developer?




Why not just exclude mysql from the base and updates repos of your distro?
If they are not there, they don't need protected/prioritized and the other
repo will win.

Matt

  
Hahahaha!  That's awesome, I was so busy looking at it from one angle, I 
never considered the other.  That'll work nicely, thanks.


Jacob
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NMAP - reveal MAC address

2008-05-07 Thread Tom Brown
In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC 
of the host being scanned ?


I cant seem to find it and i am using nmap-4.20 - i am sure this was 
available somehow on older releases.


thanks

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
 wrote on Wed, 7 May 2008 08:53:01 -0500:

> -rw--- 1 root root816 May  7 05:08 grub.conf

got changed 5:08 today. Are you sure you booted after that? What does uname 
-a show now?

> default=0
> timeout=5
> splashimage=(hd0,2)/grub/splash.xpm.gz
> hiddenmenu
> title CentOS (2.6.18-53.1.14.el5)
> root (hd0,2)
> kernel /vmlinuz-2.6.18-53.1.14.el5 ro
> root=/dev/VolGroup00/LogVol00 rhgb quiet
> initrd /initrd-2.6.18-53.1.14.el5.img

The machine *is* booting vmlinuz-2.6.18-53.1.14.el5 and you should also be 
able to see all three available boot options. You should be seeing something 
like "booting CentOS in x seconds". You can interrupt this by pressing a key. 
You should then see all three options and the first one with CentOS (2.6.18-
53.1.14.el5) highlighted. If you continue with that I don't see a way it 
could not be booting into vmlinuz-2.6.18-53.1.14.el5.

What makes me wonder a bit is this: (hd0,2). If you set this system up new 
with CentOS 5 this would hardly be the case if you accepted default 
partitioning options. Is there another system, maybe Windows, on the disk or 
some external boot manager or so?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Michael Semcheski
Sorry I don't have the answer off hand, but it might be as simple as
increasing the level of verbosity.  Another option is the 'arp' command, at
least if the host is on the same network.

Mike

On Wed, May 7, 2008 at 12:07 PM, Tom Brown <[EMAIL PROTECTED]> wrote:

> In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC of
> the host being scanned ?
>
> I cant seem to find it and i am using nmap-4.20 - i am sure this was
> available somehow on older releases.
>
> thanks
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Subject: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread MHR
On Wed, May 7, 2008 at 12:32 AM, Ralph Angenendt <[EMAIL PROTECTED]> wrote:
>
>  Erm. "man find" is one of the most hideous manual pages on a linux
>  system (man tar comes close) - so a bit help from your side would have
>  been nice.
>
Beauty is in the eye of the beholder.  I have never found this
particular man page to be bad enough not to consult when needed, even
for the first time (like I did, lo these many eons ago, when it was
even harder to read than now) and the effort pays off big time in
future uses.

I could have just said RTFM in so many letters, but I /was/ trying to
be nice(r).

>  a) use locate whereever you can

That should work, too, if you know how to use it (I'm not too fond of
the man page for this one, either).

>  b) find / -type f-name "kernel*.rpm"  -- this recursively (from /
>downwards) finds file which begin with "kernel" and end with "rpm"

Actually, the "-type f" is not needed, unless a system has enitities
on it that are not files but masquerade as them with names like
kernel-headers-2.6.18-53.1.14.el5.i686.rpm.

>  c) This is not needed anyway, as those packages are ALREADY installed.

The problem Lanny cited was that the packages were installed but the
kernel did not appear in /boot, and the suggested solution was to
remove them and then reinstall them.  Yes, if they are properly
installed, you don't need to know where they are.  Yes, you do not
need to know where they are to remove them (your previous email this
subject).  But you're going to have a real problem reinstalling them
if you don't know where they are.  Hence, the "find" suggestion.

'Find' is your friend.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] cups causing segfault

2008-05-07 Thread Gregory P. Ennis
Everyone,

I have a new installation of Centos 5.1 that I am using on a gateway
server that also has dhcp, named servers.  I also have cups set up to
function as a print server, and sendmail is being used as a relay to our
mail server.  yum-cron appears to be updating everything daily as
desired.

This Centos 5.1 gateway was created to replace a Fedora Core 5 system
with the same functions.  When I set up cups I copied the FC5
subdirectory into the Centos 5.1 system.  Everything appears to work as
expected.

For some reason I am having sendmail crator without giving me a notice
in the logs as far as I can determine.  However, when I looked at the
messages logs I found it filled with many entries in the form of :

kernel: ipp[24519]: segfault at  rip 2bf2abc0
rsp 7fff25495348 error 4

I've done a google search and there appeared to be a problem with
doubled printer entries in the printer.conf causing the log entry, but
after checking my printer.conf file everything appears to be ok.  This
file also worked on FC5 without a problem.

I am not sure if the cups problem is related to the sendmail problem.

Any ideas?

Greg Ennis

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Yum + priorities plugin question

2008-05-07 Thread Axel Thimm
On Wed, May 07, 2008 at 07:54:11AM -0700, [EMAIL PROTECTED] wrote:
> I've recently started using the priorities plugin as part of my best
> practices.  It's very effective, and prevents nasty things from
> happening (like atrpms upgrading python and disabling yum.)

When did ATrpms replace python and I didn't notice?
-- 
Axel.Thimm at ATrpms.net


pgpNioyKepqB8.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Yum + priorities plugin question

2008-05-07 Thread jleaver+centos

Axel Thimm wrote:

On Wed, May 07, 2008 at 07:54:11AM -0700, [EMAIL PROTECTED] wrote:
  

I've recently started using the priorities plugin as part of my best
practices.  It's very effective, and prevents nasty things from
happening (like atrpms upgrading python and disabling yum.)



When did ATrpms replace python and I didn't notice?
  



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  
Er...  I don't have exact dates, it was last year, and a rash of my 
servers all figured they oughtta get new python, yum, and rpms from the 
atrpms repo.  Only, they botched it, and I had to manually downgrade.   
Not sure why.   Sorry, no intention to bash atrpms!  I use the repo 
extensively for your lovely amavisd-new & friends stack, cpan rpms, and 
other stuffs.   I should have been less general.


Sincerely,

Jacob




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Yum + priorities plugin question

2008-05-07 Thread Axel Thimm
On Wed, May 07, 2008 at 10:38:55AM -0700, [EMAIL PROTECTED] wrote:
> Axel Thimm wrote:
>> On Wed, May 07, 2008 at 07:54:11AM -0700, [EMAIL PROTECTED] wrote:
>>   
>>> I've recently started using the priorities plugin as part of my best
>>> practices.  It's very effective, and prevents nasty things from
>>> happening (like atrpms upgrading python and disabling yum.)
>>> 
>>
>> When did ATrpms replace python and I didn't notice?

> Er...  I don't have exact dates, it was last year, and a rash of my servers 
> all figured they oughtta get new python, yum, and rpms from the atrpms 
> repo.  Only, they botched it, and I had to manually downgrade.   Not sure 
> why.   Sorry, no intention to bash atrpms!  I use the repo extensively for 
> your lovely amavisd-new & friends stack, cpan rpms, and other stuffs.   I 
> should have been less general.

Well my question was rhetorical - ATrpms never replaced python
packages. Furthermore there have never been amavisd-new and friends on
ATrpms ever, so maybe you are confusing ATrpms and another repo?
-- 
Axel.Thimm at ATrpms.net


pgpQa08Zo6E84.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Dennis McLeod

Tom Brown wrote:
In CentOS 4 does anyone know the switches to get NMAP to reveal the 
MAC of the host being scanned ?


I cant seem to find it and i am using nmap-4.20 - i am sure this was 
available somehow on older releases.


thanks

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Must be some other issue

[EMAIL PROTECTED] ~]# nmap XXX.XXX.XXX.101

Starting Nmap 4.52 ( http://insecure.org ) at 2008-05-07 10:45 PDT
Interesting ports on XXX.XXX.XXX.101:
Not shown: 1712 closed ports
PORT STATE SERVICE
80/tcp   open  http
1024/tcp open  kdm
MAC Address: 00:B0:19:FF:8C:D4 (Casi-Rusco)

Nmap done: 1 IP address (1 host up) scanned in 2.029 seconds
[EMAIL PROTECTED] ~]#

Appears to not require any switches.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] irc cloak

2008-05-07 Thread James Bunnell
What are the requirements to get a Centos IRC cloak in freenode? Thanks
in advance.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is it possible to lvrename the current root partition?

2008-05-07 Thread Alfred von Campe

On May 2, 2008, at 17:24, Ross S. W. Walker wrote:

Sure you can do all this from rescue mode off the first CD.

Boot the cd type in 'linux rescue' and continue to the command prompt.


First, thanks for the detailed list, Ross.  It was very helpful.  I  
was able to rename both the VG and the LVs, but it was slightly more  
complicated than the items on the list.



1) make sure swap isn't using the swap lv
- swapoff -a


What I did was say "Skip" when the rescue image asks you if you want  
it to find existing Linux installations and mount them under /mnt/ 
sysimage.  The reason I did this was that if you let it mount your  
partitions, you need to go through a lot of additional steps to get  
everything under /mnt/sysimage unmounted, and nothing in there is  
needed to do the rename (unless you want to rename the VG -- see below).



2) unmount all lvs mounted
- umount /mnt/sysimage/boot
- umount /mnt/sysimage


Not needed because of what I did in step 1, but there are additional  
mount points to unmount if you do let the rescue image do the mounts  
(do a "mount | grep  sysimage" to find all the mount points).



3) mark all lvs as unavailable
- lvchange -a n 


This step is indeed required unless you chose to skip the mounting  
of /mnt/sysimage altogether.  Do a "lvm lvscan" to find out which LVs  
are active (and use "lvm lvchange" as described below).



4) rename the volume group
- vgrename  


Well, vgrename is not part of the rescue disk.  So if you want to do  
this, you will have to mark the root LV as available, mount it, and  
then copy /mnt//usr/sbin/vgrename to /tmp.  Then you have  
to unmount the root partition and mark the LV as unavailable.



5) rename the logical volumes
- lvrename \ 

6) repeat #5 as necessary


The lvrename binary (symbolic link) does not exit in rescue mode, so  
you will have to type "lvm lvrename" (and "lvm lvchange", etc.).   
Also, you have to use a forward slash here.




7) re-activate all the lvs
- lvchange -a y 


Remember to use the new names.


8) re-mount the root and boot lvs,
- mount /dev// /mnt/sysimage
- mount /dev// /mnt/sysimage/boot


I think this part worked as is.


9) chroot to the mounts with, 'chroot /mnt/sysimage /bin/bash'


Before I could do this, I had to use mknod to create the device  
entries in /mnt/sysimage/dev/mapper/- and the  
symbolic links in /mnt/sysimage/dev//.  Make sure the  
symbolic links point to /dev/mapper/... and not /mnt/sysimage/dev/ 
mapper/...  I don't remember if this was required to mount it while  
in rescue mode or to make the system bootable again.  But I remember  
that I had to do it.



10) edit /etc/fstab

11) edit /boot/grub/grub.conf

12) remake the initrd
- mkinitrd -f /boot/initrd-$(uname -r).img $(uname -r)


You will have to type the release version of the kernel instead of  
relying on the output of uname -r.


It turns out that I can skip steps 7-12 since I plan to upgrade the  
systems from CentOS 4.6 to CentOS 5.1 immediately after doing the  
rename, and the installer (anaconda) will take care of all these  
details.   I just had to adjust my kickstart scripts to use the new  
names.


Anyway, thanks again for all the help.  I'm starting to upgrade my  
two dozen or so desktops to CentOS 5.1 using the new VG and LV names.


Alfred

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Lanny Marcus
On Wed, 2008-05-07 at 18:30 +0200, Kai Schaetzl wrote:
> -rw--- 1 root root816 May  7 05:08 grub.conf
> 
> got changed 5:08 today. Are you sure you booted after that? What does uname 
> -a show now?
Kai: Yes, I rebooted, very early this morning. I just tried it again. My
wife had been using MS Windows XP. I rebooted the box into CentOS 5:

[EMAIL PROTECTED] ~]$ uname -a
Linux compaq1300.HOMELAN 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT
2007 i686 i686 i386 GNU/Linux
[EMAIL PROTECTED] ~]$

> > default=0
> > timeout=5
> > splashimage=(hd0,2)/grub/splash.xpm.gz
> > hiddenmenu
> > title CentOS (2.6.18-53.1.14.el5)
> > root (hd0,2)
> > kernel /vmlinuz-2.6.18-53.1.14.el5 ro
> > root=/dev/VolGroup00/LogVol00 rhgb quiet
> > initrd /initrd-2.6.18-53.1.14.el5.img
> 
> The machine *is* booting vmlinuz-2.6.18-53.1.14.el5 and you should also be 
> able to see all three available boot options. You should be seeing something 
> like "booting CentOS in x seconds". You can interrupt this by pressing a key. 
> You should then see all three options and the first one with CentOS (2.6.18-
> 53.1.14.el5) highlighted. If you continue with that I don't see a way it 
> could not be booting into vmlinuz-2.6.18-53.1.14.el5.

What you describe above is how it works on my box and on my daughters
box. They are working correctly. However, on my wife's box (compaq1300)
there is a glitch, that is causing this not to work properly. On
compaq1300, I do *not* have the three boot options (original kernel,
latest kernel and Windows XP). I have two (2) options, if I interrupt
grub:  (a) the original kernel (b) other, which is Windows XP

As CentOS 5 boots, it shows, a number of times, the original CentOS 5
kernel, that is on the Install DVD I got last year. At *no* time, does
it show the latest kernel booting.

> What makes me wonder a bit is this: (hd0,2). If you set this system up new 
> with CentOS 5 this would hardly be the case if you accepted default 
> partitioning options. Is there another system, maybe Windows, on the disk or 
> some external boot manager or so?

Yes. The 3 Desktop boxes are dual boot. CentOS 5 and Windoze XP.
Grub is installed on all 3 boxes.  Of the 3 boxes, 2 of them are working
properly.   :-) Have a nice evening and thank you! Lanny

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: Yum + priorities plugin question

2008-05-07 Thread jleaver+centos



Well my question was rhetorical - ATrpms never replaced python
packages. Furthermore there have never been amavisd-new and friends on
ATrpms ever, so maybe you are confusing ATrpms and another repo?
  

It's certainly possible, my mistake, apologies for having mis-spoke.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread John R Pierce

Tom Brown wrote:
In CentOS 4 does anyone know the switches to get NMAP to reveal the 
MAC of the host being scanned ?


I cant seem to find it and i am using nmap-4.20 - i am sure this was 
available somehow on older releases.


MAC address is only available on the same network segment... And, I've 
noticed hte newer versions of nmap only seem to show it if you run it as 
root


$ sudo nmap -sP -n 192.168.0.0/24
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-05-06 23:30 PDT
Host 192.168.0.1 appears to be up.
MAC Address: 00:04:75:74:0B:3C (3 Com)
Host 192.168.0.2 appears to be up.
MAC Address: 00:14:85:89:3F:1B (Giga-Byte)
Host 192.168.0.3 appears to be up.
MAC Address: 00:07:E9:DE:CC:B7 (Intel)
Host 192.168.0.10 appears to be up.
Host 192.168.0.140 appears to be up.
MAC Address: 00:0E:35:C6:F1:95 (Intel)
Host 192.168.0.144 appears to be up.
MAC Address: 00:13:CE:67:DC:12 (Intel Corporate)
Host 192.168.0.251 appears to be up.
MAC Address: 00:0F:66:A0:58:ED (Cisco-Linksys)
Nmap finished: 256 IP addresses (7 hosts up) scanned in 6.576 seconds

vs...

$ nmap -sP -n 192.168.0.0/24
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-05-07 11:17 PDT
Host 192.168.0.1 appears to be up.
Host 192.168.0.2 appears to be up.
Host 192.168.0.3 appears to be up.
Host 192.168.0.10 appears to be up.
Host 192.168.0.251 appears to be up.
Nmap finished: 256 IP addresses (5 hosts up) scanned in 2.402 seconds
You have new mail in /var/spool/mail/pierce

$ nmap -V
Nmap version 4.11 ( http://www.insecure.org/nmap/ )
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Latest version of clamav-milter

2008-05-07 Thread Sam Drinkard

Hi folks,

   Can someone tell me the latest version of clamav-milter x84_64?  I 
just yum installed it but it is version 0.88.2.el4kb, and the version on 
my server is 0.93.  Is the difference between the two due to being 
different platforms?


Thanks..

Sam
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Irritant

2008-05-07 Thread Sam Drinkard

Hi again,

   I've got a nagging irritant with either putty or the man pages, or 
perhaps my setup.  If I use putty to log into my server and request any 
man page, it returns the page, but really important stuff like keywords 
are blank.  Is this perhaps caused by the wrong terminal setting in 
putty or is there something with Centos man pages that cause this to happen?


Thanks again,

Sam
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread Gregory P. Ennis
Sam,

Are you using putty from a microsoft desktop or a linux desktop?  If you
are using a linux desktop try using konsole or terminal for the
connection and see if you get the same symptoms.

We use putty for all of our microsoft connections and konsole for all of
our linux connections and I have never noticed the problem you are
describing.

Greg Ennis


On Wed, 2008-05-07 at 14:28 -04f \00, Sam Drinkard wrote:
> Hi again,
> 
> I've got a nagging irritant with either putty or the man pages, or 
> perhaps my setup.  If I use putty to log into my server and request any 
> man page, it returns the page, but really important stuff like keywords 
> are blank.  Is this perhaps caused by the wrong terminal setting in 
> putty or is there something with Centos man pages that cause this to happen?
> 
> Thanks again,
> 
> Sam
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Latest version of clamav-milter

2008-05-07 Thread Karanbir Singh

Sam Drinkard wrote:
   Can someone tell me the latest version of clamav-milter x84_64?  I 
just yum installed it but it is version 0.88.2.el4kb, and the version on 
my server is 0.93.  Is the difference between the two due to being 
different platforms?


the ClamAV in rpmforge obsolets the one in centos.karan.org ( which is 
where your 0.88.2.el4.kb comes from ) - so you should update those packages.



--
Karanbir Singh : http://www.karan.org/  : [EMAIL PROTECTED]
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread Jeff Larsen
On Wed, May 7, 2008 at 1:28 PM, Sam Drinkard <[EMAIL PROTECTED]> wrote:
> Hi again,
>
>I've got a nagging irritant with either putty or the man pages, or
> perhaps my setup.  If I use putty to log into my server and request any man
> page, it returns the page, but really important stuff like keywords are
> blank.  Is this perhaps caused by the wrong terminal setting in putty or is
> there something with Centos man pages that cause this to happen?

I use putty almost exclusively to connect to CentOS and I have no
problems.  If keywords are blank, I would first check that the
"Default Bold Foreground" is not set to the same value as "Default
Bold Background" in the 'Colours' settings. Also check the character
set on the 'Translation' settings. I use UTF-8.

-- 
Jeff
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread Sam Drinkard



Gregory P. Ennis wrote:

Sam,

Are you using putty from a microsoft desktop or a linux desktop?  If you
are using a linux desktop try using konsole or terminal for the
connection and see if you get the same symptoms.

We use putty for all of our microsoft connections and konsole for all of
our linux connections and I have never noticed the problem you are
describing.

Greg Ennis


On Wed, 2008-05-07 at 14:28 -04f \00, Sam Drinkard wrote:
  

Hi again,

I've got a nagging irritant with either putty or the man pages, or 
perhaps my setup.  If I use putty to log into my server and request any 
man page, it returns the page, but really important stuff like keywords 
are blank.  Is this perhaps caused by the wrong terminal setting in 
putty or is there something with Centos man pages that cause this to happen?


Thanks again,

Sam
___


This machine has XP on it, but I can use the other Centos machine if 
it's up and running which is not all the time.  The man pages display 
correctly when viewing from the other machine using just a normal 
terminal window.  It's almost like putty can't display the bolded 
characters, or tries to display them maybe in the same color as the 
background.  I'll check that on putty to make sure I don't intentionally 
shoot my foot off!


Sam


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread Sam Drinkard



Gregory P. Ennis wrote:

Sam,

Are you using putty from a microsoft desktop or a linux desktop?  If you
are using a linux desktop try using konsole or terminal for the
connection and see if you get the same symptoms.

We use putty for all of our microsoft connections and konsole for all of
our linux connections and I have never noticed the problem you are
describing.

Greg Ennis


On Wed, 2008-05-07 at 14:28 -04f \00, Sam Drinkard wrote:
  

Hi again,

I've got a nagging irritant with either putty or the man pages, or 
perhaps my setup.  If I use putty to log into my server and request any 
man page, it returns the page, but really important stuff like keywords 
are blank.  Is this perhaps caused by the wrong terminal setting in 
putty or is there something with Centos man pages that cause this to happen?


Thanks again,

Sam
___
CentOS mailing list




Looks like I shot myself in the foot after all.  I just checked the bold 
foreground color, and sure enough, it was the same as the background 
color.  Changed that to red, and it works as advertized now.  Sorry for 
the unnecessary postings.  Should have checked there first !


Sam

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread David Mackintosh
On Wed, May 07, 2008 at 02:28:55PM -0400, Sam Drinkard wrote:
> Hi again,
> 
>I've got a nagging irritant with either putty or the man pages, or 
> perhaps my setup.  If I use putty to log into my server and request any 
> man page, it returns the page, but really important stuff like keywords 
> are blank.  Is this perhaps caused by the wrong terminal setting in 
> putty or is there something with Centos man pages that cause this to happen?

Try this: 
  in Putty, go to Window -> Translation 
  for "Received data assumed to be in which character set:" select UTF-8

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 [EMAIL PROTECTED]  | http://www.xdroop.com


pgpuMU7BSaNcq.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread Kai Schaetzl
Sam Drinkard wrote on Wed, 07 May 2008 14:28:55 -0400:

> Is this perhaps caused by the wrong terminal setting in 
> putty 

probably

> or is there something with Centos man pages that cause this to happen?

works fine here.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Irritant

2008-05-07 Thread Les Mikesell

Sam Drinkard wrote:
 
Looks like I shot myself in the foot after all.  I just checked the bold 
foreground color, and sure enough, it was the same as the background 
color.  Changed that to red, and it works as advertized now.  Sorry for 
the unnecessary postings.  Should have checked there first !


If you want something much nicer, install freenx on the server and 
connect with the NX client that you can download (for windows/mac/linux) 
from http://www.nomachine.com.  This gives you a complete GUI desktop 
(in a local window) with good performance that you can suspend and 
reconnect.


--
  Les Mikesell
   [EMAIL PROTECTED]

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Latest version of clamav-milter

2008-05-07 Thread Sam Drinkard



Karanbir Singh wrote:

Sam Drinkard wrote:
   Can someone tell me the latest version of clamav-milter x84_64?  I 
just yum installed it but it is version 0.88.2.el4kb, and the version 
on my server is 0.93.  Is the difference between the two due to being 
different platforms?


the ClamAV in rpmforge obsolets the one in centos.karan.org ( which is 
where your 0.88.2.el4.kb comes from ) - so you should update those 
packages.




Thanks Karanbir,

   I got the thing and working OK.  I'm way behind on what has been 
going on with CentOS and I need to play catch-up really soon.


Sam

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Subject: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
Mhr wrote on Wed, 7 May 2008 09:53:23 -0700:

> Beauty is in the eye of the beholder.  I have never found this
> particular man page to be bad enough not to consult when needed, even
> for the first time (like I did, lo these many eons ago, when it was
> even harder to read than now) and the effort pays off big time in
> future uses.

I agree with Ralph. It's one of the programs with so many options and thus 
quite intimidating and you easily overlook the one you want. The only 
program that is worse is rpm.

> 'Find' is your friend.

I would always use locate for that task, much faster, much easier.



Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
Lanny Marcus wrote on Wed, 07 May 2008 13:13:13 -0500:

> On
> compaq1300, I do *not* have the three boot options (original kernel,
> latest kernel and Windows XP). I have two (2) options, if I interrupt
> grub:  (a) the original kernel (b) other, which is Windows XP

Ok, that explains it. I bet you see that different on your other systems. 
You either boot with the Windows Boot-Manager (which looks different from 
the CentOS one, so you should be able to easily see that) or with some 
Grub on *another* partition (not the boot partition on hd(0,2) which is 
the third partition on disk 1). 
In which order where the systems installed? Did you run into any trouble 
after installing the second one concerning the dual-boot scenario? Try to 
reminisce about the history of the system and what got installed when and 
how. And if you reinstalled grub (or fixed the Windows boot manager with 
fixmbr from the Windows recovery console) some time later for instance 
(and then to the wrong partition). That is the clue to understanding why 
it is different to your other systems.
The Windows boot menu is called "boot.ini" and is in the root drive of the 
Windows installation (it's hidden in Windows). If that doesn't contain any 
mention of your CentOS, then try to mount the other unmounted partitions 
one by one and check which holds the other /boot partition.

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Archive-to-DVD

2008-05-07 Thread David Mackintosh
> [encijan ~]$ rpm -qf /usr/bin/dirsplit
> genisoimage-1.1.6-6.fc8
> Then use growisofs.
> I can send you dirsplit-0.3.1-1.bob.src.rpm if you wish.

Yes please, that would be useful.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
 [EMAIL PROTECTED]  | http://www.xdroop.com


pgpNRUgefVh2F.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] irc cloak

2008-05-07 Thread R P Herrold

On Wed, 7 May 2008, James Bunnell wrote:

What are the requirements to get a Centos IRC cloak in 
freenode? Thanks in advance.


As of the last discussion by the centos group of developers, 
IRC cloaks were not something that was going to be generally 
'purchasable' by way of a donation, as if some kind of 'thank 
you' premium for showing solidarity for the project.


People with 'centos' cloaks are well-recognized contributors 
to the CentOS project; the best way to earn such a cloak is to 
contribute time and talent to the project, so as to be invited 
into that group of developers.


-- Russ herrold
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] R (statistics package) on CentOS-5 ?

2008-05-07 Thread Kay Diederichs

Dear all,

the statistics package R (www.r-project.org) was available for CentOS-4, but I 
need it for CentOS-5 (64bit). RPMforge has R-2.5.1 for CentOS-4, so I thought 
I'd try to install that on CentOS-5.


However, yum complains about missing ggv, and the specfile indeed says that R 
requires ggv, which is not in CentOS-5 (it has kghostview).


I could probably install with "rpm -Uvh --nodeps", but the question is rather: 
has anybody built R for CentOS-5 ?


thanks for any insight,

Kay

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Lanny Marcus
On Wed, 2008-05-07 at 21:38 +0200, Kai Schaetzl wrote:
> Lanny Marcus wrote on Wed, 07 May 2008 13:13:13 -0500:
> 
> > On
> > compaq1300, I do *not* have the three boot options (original kernel,
> > latest kernel and Windows XP). I have two (2) options, if I interrupt
> > grub:  (a) the original kernel (b) other, which is Windows XP
> 
> Ok, that explains it. I bet you see that different on your other systems. 
> You either boot with the Windows Boot-Manager (which looks different from 
> the CentOS one, so you should be able to easily see that) or with some 
> Grub on *another* partition (not the boot partition on hd(0,2) which is 
> the third partition on disk 1). 
> In which order where the systems installed? Did you run into any trouble 
> after installing the second one concerning the dual-boot scenario? Try to 
> reminisce about the history of the system and what got installed when and 
> how. And if you reinstalled grub (or fixed the Windows boot manager with 
> fixmbr from the Windows recovery console) some time later for instance 
> (and then to the wrong partition). That is the clue to understanding why 
> it is different to your other systems.
> The Windows boot menu is called "boot.ini" and is in the root drive of the 
> Windows installation (it's hidden in Windows). If that doesn't contain any 
> mention of your CentOS, then try to mount the other unmounted partitions 
> one by one and check which holds the other /boot partition.

Kai: I am not using Windows Boot Manager. Grub comes up, as on the 2
boxes, where things are working properly.

Questions: (a) Can I copy /boot/grub/grub.conf on my box and replace
that file on my wife's box, with my version? Would that work OK? Worth a
try?

(b) Which files should I compare, between my box and my wife's box, the
problematic one, to see if I can locate differences?

There was confusion on my part, when I installed Windows XP on my wife's
box. Hers was the first one I installed Win XP on, which I'd never
installed before and it ended up getting installed more than once.
However, in general, I thought her box was the easiest, with regard to
the WinXP installations. There may have been some partitioning issues
also, since each box has 4 partitions on the Windows side (C, D, E & F).
In general, it is *much* easier for me to install CentOS than to install
Windoze. And, *much* faster.  :-)

TIA, Lanny

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] R (statistics package) on CentOS-5 ?

2008-05-07 Thread Joshua Baker-LePain

On Wed, 7 May 2008 at 9:57pm, Kay Diederichs wrote

the statistics package R (www.r-project.org) was available for CentOS-4, but 
I need it for CentOS-5 (64bit). RPMforge has R-2.5.1 for CentOS-4, so I 
thought I'd try to install that on CentOS-5.


However, yum complains about missing ggv, and the specfile indeed says that R 
requires ggv, which is not in CentOS-5 (it has kghostview).


I could probably install with "rpm -Uvh --nodeps", but the question is 
rather: has anybody built R for CentOS-5 ?


It's in EPEL.

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Subject: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread MHR
On Wed, May 7, 2008 at 12:38 PM, Kai Schaetzl <[EMAIL PROTECTED]> wrote:
>
>  I would always use locate for that task, much faster, much easier.
>

Not being familiar with 'locate,' I found its man page rather
intimidating at first glance.  I'll have to study it a little more
carefully, but I should also note that I ran locate to find my kernel
rpms and was unsuccessful (whereas, though slow, I did find them with
'find').

All else aside, I can't count the number of times I've had my head
handed to me right here on this list for failing to look something up
before asking about it.  I'll admit that 'find' can be hard to get
used to, but if you don't look, you can't tell how much good it can do
(or how complex a man page can get :-).  'Man rpm' is ugly, but it's
one you just have to get to learn about.  (Info is not much better,
and it's harder to use.)

Just my $0.02

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread MHR
On Wed, May 7, 2008 at 3:27 AM,  <[EMAIL PROTECTED]> wrote:
>
>  Yes. I woke up about 430 this morning and I realized that rpm can
>  locate the file by itself.   :-)However, I want to learn how to
>  use find that Mark (mhr) mentioned!
>

Lanny (offlist):

Thanks - I really did mean that in a good way.

The best way to learn to use find is to play with it.  I have aliases
and functions that use it for many, many purposes, especially for
finding things in source code files.

I strongly suggest that you take the time to wade through the man
page.  Find is a very powerful command, and even if the man page is
poorly laid out, there is a lot you can do with it.  For this purpose,
what you probably would need to do is this (asoot):

find / -name "kernel*.rpm"

It may take a while, but it will absolutely find every kernel-related
rpm on your system.

HTH.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Morten Nilsen

Tom Brown wrote:
In CentOS 4 does anyone know the switches to get NMAP to reveal the MAC 
of the host being scanned ?


Others have given you good answers, but I felt I could share some 
insight on the matter..


The MAC address of a NIC is used by switches to send packets out the 
right port - As soon as you add a routing element, all traffic to a 
routed IP appears to be destined for the router, if one goes by the MAC 
address in the packet.


If the destination MAC were to be encoded in the packet, no switches 
would be able to keep their internal tables sane, as it would be flooded 
with MACs, all on the same port (the one connected to the gateway).


When a switch recieves a packet adressed to a MAC that doesn't appear in 
the switch-internal list, the packet will be flooded (sent out on all 
ports). Once a packet from that MAC passes through the switch, that MAC 
will be added to the list, and future packets only leave that one port.


The main function of a switch is to keep irrelevant packets away from 
hosts, but packets to unknown (to the switch) hosts get sent everywhere, 
just like a Hub would do.


--
Cheers,
Morten
:wq
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: Subject: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
mail.gmail.com>
X-Rcpt-To: 

Mhr wrote on Wed, 7 May 2008 14:04:55 -0700:

> Not being familiar with 'locate,' I found its man page rather
> intimidating at first glance.  I'll have to study it a little more
> carefully, but I should also note that I ran locate to find my kernel
> rpms and was unsuccessful (whereas, though slow, I did find them with
> 'find').

The locate db is skipping only /tmp I think. It makes use of an index, 
that's why it's so fast. updatedb is run by cron.daily to update the db. 
If you get something in in-between it won't be able to find it, of course. 
In such a case you run it manually.
Then "locate whatever". Note, that locate doesn't know any wildcards, you 
can only search for literals. For searching for your kernel rpms you could 
either use
locate kernel (which will find a lot ...)
locate .rpm (which will find all rpm files, which is much less)
and then:
locate .rpm|grep kernel
/var/cache/yum/updates/packages/kernel-headers-2.6.18-53.1.14.el5.i386.rpm
/var/cache/yum/updates/packages/kernel-xen-2.6.18-53.1.14.el5.i686.rpm
/var/cache/yum/updates/packages/kernel-xen-devel-2.6.18-
53.1.14.el5.i686.rpm


> 
> All else aside, I can't count the number of times I've had my head
> handed to me right here on this list for failing to look something up
> before asking about it.

One should at least try that, yes. I think your answers were all fine, I 
just wanted to say that I agree with Ralph about the find options and the 
usability of that page ;-)

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread Kai Schaetzl
Lanny Marcus wrote on Wed, 07 May 2008 15:10:58 -0500:

> Kai: I am not using Windows Boot Manager. Grub comes up, as on the 2
> boxes, where things are working properly.

Just to be sure, it's really grub? You get a somewhat blueish screen that 
says "booting centos in x seconds, press any key to see options" or so? I 
think there's also a CentOS symbol on it, but am not sure. We have to be 
absolutely sure about that.
And if you select Windows from that boot screen, does that boot right into 
Windows or do you get another boot menu that lists only Windows?

> Questions: (a) Can I copy /boot/grub/grub.conf on my box and replace
> that file on my wife's box, with my version? Would that work OK? Worth a
> try?

No, this wouldn't help, because the grub.conf that *we know of* is fine. 
It's just not getting used, because you are booting from another one. 
AFAIK, grub cannot embed a boot menu in the MBR (Master Boot Record), so 
that information must be coming from somewhere else.
You have *two* grub.conf's (and two /boot partitions) on the machine 
AFAIS. You would have to *merge* the two: you need the options for booting 
Windows from the first one and all the other options from the second one.
AFAIK, the MBR on your disk does not boot from hd(0,2), but from another 
partition. You have to find out which one that is and change the grub.conf 
on that partition accordingly. The caveat of this is that you would have 
to do this each time the kernel changes or you would need to change a bit 
more, so that this becomes the new boot partition.
Another option would be to grub-install again and overwrite the current 
information in the MBR, so that it then boots from hd(0,2).
I'm not confident enough about both options to talk you thru.
Maybe I'm missing other possibilities why that happens, but the basic 
problem is that your machine does not boot from that hd(0,2), but with 
information from elsewhere.

> There was confusion on my part, when I installed Windows XP on my wife's
> box. Hers was the first one I installed Win XP on, which I'd never
> installed before and it ended up getting installed more than once.

Did you install it after CentOS or before it?
You will need to make a list of all partitions. Not sure what the best way 
to do this would be. Probably fdisk. Run fdisk, then type "p" (for 
printing the partition table), then leave it with "q". Be careful, as 
printing the table is only the least dangerous action in fdisk!


Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Tom Brown




Others have given you good answers, but I felt I could share some 
insight on the matter..


The MAC address of a NIC is used by switches to send packets out the 
right port - As soon as you add a routing element, all traffic to a 
routed IP appears to be destined for the router, if one goes by the 
MAC address in the packet.


If the destination MAC were to be encoded in the packet, no switches 
would be able to keep their internal tables sane, as it would be 
flooded with MACs, all on the same port (the one connected to the 
gateway).


When a switch recieves a packet adressed to a MAC that doesn't appear 
in the switch-internal list, the packet will be flooded (sent out on 
all ports). Once a packet from that MAC passes through the switch, 
that MAC will be added to the list, and future packets only leave that 
one port.


The main function of a switch is to keep irrelevant packets away from 
hosts, but packets to unknown (to the switch) hosts get sent 
everywhere, just like a Hub would do.




yes - thanks all, it appears its a cross network 'issue'

thanks

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Slightly OT: Extra icons on desktop - SOLVED

2008-05-07 Thread MHR
I should probably add this big mea culpa:

I just had my first experience working in Ubuntu, and, despite my
previous experiences with Alpha Linux 1.x and SuSE 10.1, I am
astounded by the depth of differences between different distros.

So, to the person who pointed out that this was way more than
"slightly" OT for this list, being as how it has to do with FC 8, you
were SO right.  How little did I know (and still, but I'm learning as
fast as it comes).

That's one of the great things about working in computers and software
- there's always more to learn.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: "yum update" did not update kernel on one box

2008-05-07 Thread Scott Silva

on 5-7-2008 3:19 PM Kai Schaetzl spake the following:

Lanny Marcus wrote on Wed, 07 May 2008 15:10:58 -0500:


Kai: I am not using Windows Boot Manager. Grub comes up, as on the 2
boxes, where things are working properly.


Just to be sure, it's really grub? You get a somewhat blueish screen that 
says "booting centos in x seconds, press any key to see options" or so? I 
think there's also a CentOS symbol on it, but am not sure. We have to be 
absolutely sure about that.
And if you select Windows from that boot screen, does that boot right into 
Windows or do you get another boot menu that lists only Windows?



Questions: (a) Can I copy /boot/grub/grub.conf on my box and replace
that file on my wife's box, with my version? Would that work OK? Worth a
try?


No, this wouldn't help, because the grub.conf that *we know of* is fine. 
It's just not getting used, because you are booting from another one. 
AFAIK, grub cannot embed a boot menu in the MBR (Master Boot Record), so 
that information must be coming from somewhere else.
You have *two* grub.conf's (and two /boot partitions) on the machine 
AFAIS. You would have to *merge* the two: you need the options for booting 
Windows from the first one and all the other options from the second one.
AFAIK, the MBR on your disk does not boot from hd(0,2), but from another 
partition. You have to find out which one that is and change the grub.conf 
on that partition accordingly. The caveat of this is that you would have 
to do this each time the kernel changes or you would need to change a bit 
more, so that this becomes the new boot partition.
Another option would be to grub-install again and overwrite the current 
information in the MBR, so that it then boots from hd(0,2).

I'm not confident enough about both options to talk you thru.
Maybe I'm missing other possibilities why that happens, but the basic 
problem is that your machine does not boot from that hd(0,2), but with 
information from elsewhere.



There was confusion on my part, when I installed Windows XP on my wife's
box. Hers was the first one I installed Win XP on, which I'd never
installed before and it ended up getting installed more than once.


Did you install it after CentOS or before it?
You will need to make a list of all partitions. Not sure what the best way 
to do this would be. Probably fdisk. Run fdisk, then type "p" (for 
printing the partition table), then leave it with "q". Be careful, as 
printing the table is only the least dangerous action in fdisk!



Kai

Fdisk -l ( lower case L )should list ALL partitions and their respective 
devices without worrying about breaking something.


--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Archive-to-DVD

2008-05-07 Thread Jason Pyeron


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of David Mackintosh
> Sent: Wednesday, May 07, 2008 3:40 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] Archive-to-DVD
> 
> > [encijan ~]$ rpm -qf /usr/bin/dirsplit
> > genisoimage-1.1.6-6.fc8
> > Then use growisofs.
> > I can send you dirsplit-0.3.1-1.bob.src.rpm if you wish.
> 
> Yes please, that would be useful.

On list, please.


> 
> --
>  /\oo/\
> / /()\ \ David Mackintosh |
>  [EMAIL PROTECTED]  | http://www.xdroop.com




-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] "yum update" did not update kernel on one box

2008-05-07 Thread William L. Maltby
On Thu, 2008-05-08 at 00:19 +0200, Kai Schaetzl wrote:
> Lanny Marcus wrote on Wed, 07 May 2008 15:10:58 -0500:
> 

> You will need to make a list of all partitions. Not sure what the best way 
> to do this would be. Probably fdisk. Run fdisk, then type "p" (for 
> printing the partition table), then leave it with "q". Be careful, as 
> printing the table is only the least dangerous action in fdisk!

Another way that I prefer is

sfdisk -l

It's output can be saved in a file and it can even make copies of things
(like partition tables) that can be fed back into it to recreate a disk
if the info gets wiped. "Man sfdisk" for some enjoyable reading... well,
for old farts like me that don't mind man pages for find, etc. ;-)

> 
> 
> Kai
> 

HTH
-- 
Bill

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread Clonch, Christopher A.
>> The main function of a switch is to keep irrelevant packets away from

>> hosts, but packets to unknown (to the switch) hosts get sent 
>> everywhere, just like a Hub would do.
>>
>
>yes - thanks all, it appears its a cross network 'issue'
>
>thanks

If you're trying to get a MAC address across your own switches, you
could try walking the switch's forwarding table (assuming SNMP
availability).  It's a cheesy way but works!

-Chris 

--
"This electronic message transmission contains
confidential or privileged information from Mount
Carmel .  The information is intended for use by the
individual or entity named above.  If you are not the
intended recipient, be aware that any disclosure,
copying, distribution or use of the contents of this 
information is prohibited.  If you have received this
electronic transmission in error, please notify us
immediately by telephone (614-234-8700) or by electronic
mail ([EMAIL PROTECTED])."
==

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NMAP - reveal MAC address

2008-05-07 Thread centos
On Wed, 7 May 2008 21:47:51 -0400
"Clonch, Christopher A." <[EMAIL PROTECTED]> wrote:

> >> The main function of a switch is to keep irrelevant packets away from
> 
> >> hosts, but packets to unknown (to the switch) hosts get sent 
> >> everywhere, just like a Hub would do.
> >>
> >
> >yes - thanks all, it appears its a cross network 'issue'
> >
> >thanks
> 
> If you're trying to get a MAC address across your own switches, you
> could try walking the switch's forwarding table (assuming SNMP
> availability).  It's a cheesy way but works!

This will only work on a local network: 
once you have the IP address, you can do an arp -v

You cannot get the MAC address of a routed IP address, it only exist on a
local network.


-- 
Thanks
http://www.911networks.com
When the network has to work
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos