[CentOS] openoffice.org2.3 in CentOS5.3

2010-10-15 Thread Ritika Garg
Everytime after giving command "ooffice" on terminal, the following message
comes on terminal:
libGL warning: 3D driver claims to not support visual 0x5b
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] openoffice.org2.3 in CentOS5.3

2010-10-15 Thread John R Pierce
  On 10/15/10 12:20 AM, Ritika Garg wrote:
> Everytime after giving command "ooffice" on terminal, the following 
> message comes on terminal:
> libGL warning: 3D driver claims to not support visual 0x5b

yum -y update


reboot


does it still happen?


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


Re: [CentOS] network interface question

2010-10-15 Thread John Doe
From: Paras pradhan 

> I have eight nics and its getting difficult to me which MAC  id
> represents which physical port. Any way to find  this?

Unless you are 100% sure the nics detection follow a sequential order that 
matches the nics physical ports order, I think you will have to test them one 
at 
a time...

JD


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


Re: [CentOS] Routing local generted packets with fwmark

2010-10-15 Thread John Doe
From: C. L. Martinez 
>>But this doesn't works. This host is CentOS 5.5 based with two interfaces.
>Please, any hints?

What do you mean by this does'nt work?
Nothing works?
Half of it?
Just in case, but no idea if it is necessary, did you set forwarding?
net.ipv4.ip_forward = 1
But again, I am not sure it is necessary...

JD


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


Re: [CentOS] network interface question

2010-10-15 Thread Giles Coochey

 On 15/10/2010 10:36, John Doe wrote:

From: Paras pradhan


I have eight nics and its getting difficult to me which MAC  id
represents which physical port. Any way to find  this?

Unless you are 100% sure the nics detection follow a sequential order that
matches the nics physical ports order, I think you will have to test them one at
a time...

JD

Not sure whether this is true for all operating systems, but in many 
systems I have come across the following ordering convention:


* Onboard NIC's get listed first, e.g. eth0, eth1.
* First PCI bus gets listsed next, starting at slot 1... e.g. eth1, eth2
* If there are multiple interfaces per card then they are ordered in 
increasing MAC address value.


smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Routing local generted packets with fwmark

2010-10-15 Thread C. L. Martinez
On Fri, Oct 15, 2010 at 10:44 AM, John Doe  wrote:

> From: C. L. Martinez 
> >>But this doesn't works. This host is CentOS 5.5 based with two
> interfaces.
> >Please, any hints?
>
> What do you mean by this does'nt work?
> Nothing works?
> Half of it?
> Just in case, but no idea if it is necessary, did you set forwarding?
> net.ipv4.ip_forward = 1
> But again, I am not sure it is necessary...
>
> JD
>
>
>
I think I don't need to enable ip forwarding. My problem is when I try to,
for example, resolve some name address via eth2. My DNS server denies all
querys because these appears with 172.25.70.18 ip instead of 172.25.80.10
IP.

This is one problem. Another problem for example is when I try to
synchronize host time using ntp service via eth1. Doesn't works.

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


Re: [CentOS] network interface question

2010-10-15 Thread Peter Kjellstrom
On Thursday 14 October 2010, Paras pradhan wrote:
...
> I have eight nics and its getting difficult to me which MAC id
> represents which physical port. Any way to find this?

Have a look at the "-p" option to ethtool

/Peter

> Thanks!
> Paras.


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


[CentOS] grep pattern x, but not pattern y on the same line

2010-10-15 Thread Sven Aluoor
Hi folks

I have the command "find . | xargs grep 'mailx'", to search all files
with "mailx" in contents. I wish to add a second condition that NOT
contains string sven.alu...@ubs.com on the same line.

Every file which contains "mailx", but not the string
sven.alu...@ubs.com in the same line.

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


Re: [CentOS] Routing local generted packets with fwmark

2010-10-15 Thread Mitja Mihelič



On 10/15/2010 08:48 AM, C. L. Martinez wrote:


On Wed, Oct 13, 2010 at 11:22 AM, C. L. Martinez > wrote:


Hi all,

 I need to route local generated packages depending on which tcp
or udp service I need to use. To accomplish this I have configured
two routing tables:

[r...@lothlorien ~]# ip ru ls
0:  from all lookup 255
32762:  from all fwmark 0x2 lookup FirstLan
32763:  from all fwmark 0x1 lookup SecondLan
32764:  from 172.25.80.10 lookup SecondLan
32765:  from 172.25.70.18 lookup FirstLan
32766:  from all lookup main
32767:  from all lookup default

My routing tables:

[r...@lothlorien net]# ip ro show table FirstLan
172.25.70.16/28  dev eth1  proto kernel
 scope link  src 172.25.70.18
default via 172.25.70.30 dev eth1

[r...@lothlorien net]# ip ro show table SecondLan
172.25.80.0/24  dev eth1  proto kernel
 scope link  src 172.25.80.10
default via 172.25.80.1 dev eth2

 And my iptables rule is:

 iptables -t mangle -A OUTPUT -p udp --dport 53  -j MARK --set-mark 1


I had a similar problem, so I wrote the mark as 0x1 :
iptables -t mangle -A OUTPUT -p udp --dport 53  -j MARK --set-mark 0x1

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


Re: [CentOS] grep pattern x, but not pattern y on the same line

2010-10-15 Thread Robert Heller
At Fri, 15 Oct 2010 12:11:17 +0200 CentOS mailing list  
wrote:

> 
> Hi folks
> 
> I have the command "find . | xargs grep 'mailx'", to search all files
> with "mailx" in contents. I wish to add a second condition that NOT
> contains string sven.alu...@ubs.com on the same line.
> 
> Every file which contains "mailx", but not the string
> sven.alu...@ubs.com in the same line.

find . | xargs grep 'mailx'|grep -v sven.alu...@ubs.com

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

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments




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


Re: [CentOS] installing centOS5.5

2010-10-15 Thread Ralph Angenendt
On Fri, Oct 15, 2010 at 8:32 AM, Ritika Garg  wrote:
> For burning the image on DVD I found 2 iso files:
> CentOS-5.5-x86_64-bin-DVD-1of2.iso
> CentOS-5.5-x86_64-bin-DVD-2of2.iso
> I found out that the first one is 4.1GB and the second one is 412MB. Do I
> have to burn the first one on 1 DVD and the second one on another DVD?

The second one "only" contains some OpenOffice Language packs, which
you cold also install via yum after you did the main installation.

So it depends on what you want to do during install time.

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


Re: [CentOS] yum 4 packages excluded due to repository priority protections

2010-10-15 Thread Karanbir Singh
Hi,

On 10/14/2010 11:14 PM, Dave wrote:
>> http://www.karan.org/blog/index.php/2009/05/28/checking-a-machines-yum-exclude-policy
> Snippet does not work for me, but the -d3 thing is good enough. Thanks!

Not that it does not work, it does something different. The snippet will 
give you whats configured as a hard exclude in the config files along 
with what repo the excludes apply to. So it wont include excludes and 
other changes made during run time by yum plugins and yum itself.

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


[CentOS] Wireless problem

2010-10-15 Thread David
Hi folks

I just installed Centos 5.5. I heard about the new changes in wifi support. I 
tried a USB wifi card from Netgear, and It works fine. It didn't en Centos 5.4, 
so that's great news.

The problem is I have a Linksys WUSB54GC USB wifi card and I want to make it 
work.

I get this messages in /var/log/messages as soon as I plug it in.

Oct 14 22:56:20 lila kernel: usb 1-1: USB disconnect, address 2
Oct 14 22:56:21 lila kernel: usb 1-1: new full speed USB device using uhci_hcd 
and address 3
Oct 14 22:56:22 lila kernel: usb 1-1: configuration #1 chosen from 1 choice
Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::radio
Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::assoc
Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::quali
Oct 14 22:56:22 lila kernel: usbcore: registered new driver rt73usb
Oct 14 22:56:23 lila firmware_helper[2605]: Loading of /lib/firmware/rt73.bin 
for rt73usb driver failed: No such file or directory
Oct 14 22:56:23 lila kernel: phy1 -> rt2x00lib_request_firmware: Error - Failed 
to request Firmware.


I googled it but nothing really works.

I hope some of you guys can help me out. Thanks in advance.

David










- Original Message - 
From: Waleed Harbi 
To: CentOS mailing list 
Sent: Thursday, October 14, 2010 3:48 PM
Subject: Re: [CentOS] dhcpd rpm


Try find-out SPEC file and rpm source, recompile it, this is the faster way I 
think, if you have big issue.  


Fedora they released 4.1, check it. 


http://mirrors.isu.net.sa/pub/fedora/linux/releases/13/Everything/x86_64/os/Packages/dhclient-4.1.1-15.fc13.x86_64.rpm


--
Best Wishes,
Waleed Harbi

Dream | Do | Be 



On Thu, Oct 14, 2010 at 11:44 PM,  wrote:

  JohnS wrote:
  >
  > On Thu, 2010-10-14 at 14:58 -0400, m.r...@5-cent.us wrote:
  >> Folks,
  >>
  >>We've been having occasional issues with failover dhcpd. I went
  >> looking for "peer holds all free leases", and happened to run across
  >> ,
  >> which is rated important, and is supposed to be fixed in 3.0.5-24.
  >> Looking at the repo at kernel.org, all I see is what we have,
  >> dhclient-3.0.5-23.el5.x86_64.rpm.
  >>
  >>Any idea when this update will be released?

  > ---
  > Bother to even look on Upstreams Site?  It's not freely available yet as
  > I see it.


  No, I hadn't. I'm just a tad surprised - that was rated "important", and
  looked as though it would be released soon. And with 6 coming soon, I was
  thinking, though I haven't gone to look, that they'd have 3.1 or 4.x.

  Thanks, though.

 mark


  ___
  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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Wireless problem

2010-10-15 Thread Giles Coochey

 On 15/10/2010 06:06, David wrote:

Hi folks
I just installed Centos 5.5. I heard about the new changes in wifi 
support. I tried a USB wifi card from Netgear, and It works fine. It 
didn't en Centos 5.4, so that's great news.
The problem is I have a Linksys WUSB54GC USB wifi card and I want to 
make it work.

I get this messages in /var/log/messages as soon as I plug it in.
Oct 14 22:56:20 lila kernel: usb 1-1: USB disconnect, address 2
Oct 14 22:56:21 lila kernel: usb 1-1: new full speed USB device using 
uhci_hcd and address 3
Oct 14 22:56:22 lila kernel: usb 1-1: configuration #1 chosen from 1 
choice

Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::radio
Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::assoc
Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::quali
Oct 14 22:56:22 lila kernel: usbcore: registered new driver rt73usb
Oct 14 22:56:23 lila firmware_helper[2605]: Loading of 
/lib/firmware/rt73.bin for rt73usb driver failed: No such file or 
directory
Oct 14 22:56:23 lila kernel: phy1 -> rt2x00lib_request_firmware: Error 
- Failed to request Firmware.

I googled it but nothing re

Hi,

Didn't google enough... please try installing the firmware available 
from Elrepo for this card:


http://elrepo.org/tiki/rt73usb-firmware

Once done, if it still doesn't work provide a directory listing of 
/lib/firmware and any other error messages you get.


--
Best Regards,

Giles Coochey
NetSecSpec Ltd
NL Mobile: +31 626 508 131
Gib Mobile: +350 5401 6693
Email/MSN/Live Messenger: gi...@coochey.net
Skype: gilescoochey




smime.p7s
Description: S/MIME Cryptographic Signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Routing local generted packets with fwmark

2010-10-15 Thread Les Mikesell
On 10/15/10 3:56 AM, C. L. Martinez wrote:
>
>
> On Fri, Oct 15, 2010 at 10:44 AM, John Doe  > wrote:
>
> From: C. L. Martinez mailto:carlopm...@gmail.com>>
>  >>But this doesn't works. This host is CentOS 5.5 based with two 
> interfaces.
>  >Please, any hints?
>
> What do you mean by this does'nt work?
> Nothing works?
> Half of it?
> Just in case, but no idea if it is necessary, did you set forwarding?
> net.ipv4.ip_forward = 1
> But again, I am not sure it is necessary...
>
> JD
>
>
>
> I think I don't need to enable ip forwarding. My problem is when I try to, for
> example, resolve some name address via eth2. My DNS server denies all querys
> because these appears with 172.25.70.18 ip instead of 172.25.80.10 IP.

Is it denying it due to firewalling/configuration, or just doesn't have a route 
back?

> This is one problem. Another problem for example is when I try to synchronize
> host time using ntp service via eth1. Doesn't works.

It seems very strange to need to source from an IP that isn't the one that 
would 
automatically be chosen by the next-hop route toward the destination, and not 
too surprising that it doesn't work.  Why do you need to do this, and wouldn't 
it be better to nat to the outbound interface if you do?

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Routing local generted packets with fwmark

2010-10-15 Thread Barry Brimer
>>  I need to route local generated packages depending on which tcp or udp
>> service I need to use. To accomplish this I have configured two routing
>> tables:

I would use the OUTPUT chain of the nat table.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Wireless problem

2010-10-15 Thread Robert Heller
At Thu, 14 Oct 2010 23:06:03 -0500 CentOS mailing list  
wrote:

> 
> 
> 
> Hi folks
> 
> I just installed Centos 5.5. I heard about the new changes in wifi support. I 
> tried a USB wifi card from Netgear, and It works fine. It didn't en Centos 
> 5.4, so that's great news.
> 
> The problem is I have a Linksys WUSB54GC USB wifi card and I want to make it 
> work.
> 
> I get this messages in /var/log/messages as soon as I plug it in.
> 
> Oct 14 22:56:20 lila kernel: usb 1-1: USB disconnect, address 2
> Oct 14 22:56:21 lila kernel: usb 1-1: new full speed USB device using 
> uhci_hcd and address 3
> Oct 14 22:56:22 lila kernel: usb 1-1: configuration #1 chosen from 1 choice
> Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::radio
> Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::assoc
> Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::quali
> Oct 14 22:56:22 lila kernel: usbcore: registered new driver rt73usb
> Oct 14 22:56:23 lila firmware_helper[2605]: Loading of /lib/firmware/rt73.bin 
> for rt73usb driver failed: No such file or directory
> Oct 14 22:56:23 lila kernel: phy1 -> rt2x00lib_request_firmware: Error - 
> Failed to request Firmware.
> 
> 
> I googled it but nothing really works.
> 

You need to download and install the firmware.  You might need to
extract the firmware from the MS-Windows installer CD (somehow).

> I hope some of you guys can help me out. Thanks in advance.
> 
> David
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> - Original Message - 
> From: Waleed Harbi 
> To: CentOS mailing list 
> Sent: Thursday, October 14, 2010 3:48 PM
> Subject: Re: [CentOS] dhcpd rpm
> 
> 
> Try find-out SPEC file and rpm source, recompile it, this is the faster way I 
> think, if you have big issue.  
> 
> 
> Fedora they released 4.1, check it. 
> 
> 
> http://mirrors.isu.net.sa/pub/fedora/linux/releases/13/Everything/x86_64/os/Packages/dhclient-4.1.1-15.fc13.x86_64.rpm
> 
> 
> --
> Best Wishes,
> Waleed Harbi
> 
> Dream | Do | Be 
> 
> 
> 
> On Thu, Oct 14, 2010 at 11:44 PM,  wrote:
> 
>   JohnS wrote:
>   >
>   > On Thu, 2010-10-14 at 14:58 -0400, m.r...@5-cent.us wrote:
>   >> Folks,
>   >>
>   >>We've been having occasional issues with failover dhcpd. I went
>   >> looking for "peer holds all free leases", and happened to run across
>   >> ,
>   >> which is rated important, and is supposed to be fixed in 3.0.5-24.
>   >> Looking at the repo at kernel.org, all I see is what we have,
>   >> dhclient-3.0.5-23.el5.x86_64.rpm.
>   >>
>   >>Any idea when this update will be released?
> 
>   > ---
>   > Bother to even look on Upstreams Site?  It's not freely available yet as
>   > I see it.
> 
> 
>   No, I hadn't. I'm just a tad surprised - that was rated "important", and
>   looked as though it would be released soon. And with 6 coming soon, I was
>   thinking, though I haven't gone to look, that they'd have 3.1 or 4.x.
> 
>   Thanks, though.
> 
>  mark
> 
> 
>   ___
>   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
> MIME-Version: 1.0
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>   
>

-- 
Robert Heller -- 978-544-6933 / hel...@deepsoft.com
Deepwoods Software-- http://www.deepsoft.com/
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



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


Re: [CentOS] Wireless problem

2010-10-15 Thread Ned Slider
On 15/10/10 13:37, Giles Coochey wrote:
> On 15/10/2010 06:06, David wrote:
>> Hi folks
>> I just installed Centos 5.5. I heard about the new changes in wifi
>> support. I tried a USB wifi card from Netgear, and It works fine. It
>> didn't en Centos 5.4, so that's great news.
>> The problem is I have a Linksys WUSB54GC USB wifi card and I want to
>> make it work.
>> I get this messages in /var/log/messages as soon as I plug it in.
>> Oct 14 22:56:20 lila kernel: usb 1-1: USB disconnect, address 2
>> Oct 14 22:56:21 lila kernel: usb 1-1: new full speed USB device using
>> uhci_hcd and address 3
>> Oct 14 22:56:22 lila kernel: usb 1-1: configuration #1 chosen from 1
>> choice
>> Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::radio
>> Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::assoc
>> Oct 14 22:56:22 lila kernel: Registered led device: rt73usb-phy1::quali
>> Oct 14 22:56:22 lila kernel: usbcore: registered new driver rt73usb
>> Oct 14 22:56:23 lila firmware_helper[2605]: Loading of
>> /lib/firmware/rt73.bin for rt73usb driver failed: No such file or
>> directory
>> Oct 14 22:56:23 lila kernel: phy1 -> rt2x00lib_request_firmware: Error
>> - Failed to request Firmware.
>> I googled it but nothing re
> Hi,
>
> Didn't google enough... please try installing the firmware available
> from Elrepo for this card:
>
> http://elrepo.org/tiki/rt73usb-firmware
>

Indeed, and it's even covered on the CentOS wiki:

http://wiki.centos.org/HowTos/Laptops/Wireless#head-a7388039af96da5400e599133447452d2ca61fb5



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


Re: [CentOS] network interface question

2010-10-15 Thread Paras pradhan
On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
> On Thursday 14 October 2010, Paras pradhan wrote:
> ...
>> I have eight nics and its getting difficult to me which MAC id
>> represents which physical port. Any way to find this?
>
> Have a look at the "-p" option to ethtool

It would be useful (to me)  if I can use mac address instead of
interface name in -p option.

Paras.

>
> /Peter
>
>> Thanks!
>> Paras.
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] network interface question

2010-10-15 Thread Paras pradhan
On Fri, Oct 15, 2010 at 3:48 AM, Giles Coochey  wrote:
> On 15/10/2010 10:36, John Doe wrote:
>
> From: Paras pradhan 
>
> I have eight nics and its getting difficult to me which MAC  id
> represents which physical port. Any way to find  this?
>
> Unless you are 100% sure the nics detection follow a sequential order that
> matches the nics physical ports order, I think you will have to test them
> one at
> a time...
>
> JD
>
> Not sure whether this is true for all operating systems, but in many systems
> I have come across the following ordering convention:
>


> * Onboard NIC's get listed first, e.g. eth0, eth1.
> * First PCI bus gets listsed next, starting at slot 1... e.g. eth1, eth2

Didn't happen

> * If there are multiple interfaces per card then they are ordered in
> increasing MAC address value.

Might be true but never tested. Planning to test this.

Paras.

>
> ___
> 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] installing centOS5.5

2010-10-15 Thread Jerry McAllister
On Fri, Oct 15, 2010 at 12:02:58PM +0530, Ritika Garg wrote:

> For burning the image on DVD I found 2 iso files:
> CentOS-5.5-x86_64-bin-DVD-1of2.iso
> CentOS-5.5-x86_64-bin-DVD-2of2.iso
> I found out that the first one is 4.1GB and the second one is 412MB. Do I
> have to burn the first one on 1 DVD and the second one on another DVD?

I have never needed the second one.  But, yes, if you want both, 
burn them to separate DVDs.

jerry   

> ___
> 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] network interface question

2010-10-15 Thread m . roth
Paras pradhan wrote:
> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
>> On Thursday 14 October 2010, Paras pradhan wrote:
>> ...
>>> I have eight nics and its getting difficult to me which MAC id
>>> represents which physical port. Any way to find this?
>>
>> Have a look at the "-p" option to ethtool
>
> It would be useful (to me)  if I can use mac address instead of
> interface name in -p option.
>
After some thought, I think what I'd do is plug a cable into them in, one
at a time, and use ethtool to find the one, and only one, that says "link
detected", and you've got it.

mark

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


Re: [CentOS] network interface question

2010-10-15 Thread Les Mikesell
On 10/15/2010 11:44 AM, Paras pradhan wrote:
> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
>> On Thursday 14 October 2010, Paras pradhan wrote:
>> ...
>>> I have eight nics and its getting difficult to me which MAC id
>>> represents which physical port. Any way to find this?
>>
>> Have a look at the "-p" option to ethtool
>
> It would be useful (to me)  if I can use mac address instead of
> interface name in -p option.
>

"ifconfig -a" should give you the interfaces and hwaddr values.

-- 
   Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] network interface question

2010-10-15 Thread Bowie Bailey
 On 10/15/2010 12:44 PM, Paras pradhan wrote:
> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
>> On Thursday 14 October 2010, Paras pradhan wrote:
>> ...
>>> I have eight nics and its getting difficult to me which MAC id
>>> represents which physical port. Any way to find this?
>> Have a look at the "-p" option to ethtool
> It would be useful (to me)  if I can use mac address instead of
> interface name in -p option.

Try this script (untested):


#!/bin/bash
ETH=`ifconfig | grep -i $1 | cut -d ' ' -f 1`
echo "Blinking $ETH - $1"
ethtool -p $ETH 30


Just call it with the mac address as an argument.  It will find the
interface with ifconfig and then call ethtool to blink the lights for 30
seconds.

(Assuming your NIC supports ethtool.  The system I tried to test this on
was not supported...)

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


Re: [CentOS] network interface question

2010-10-15 Thread Bowie Bailey
 On 10/15/2010 1:10 PM, Bowie Bailey wrote:
>  On 10/15/2010 12:44 PM, Paras pradhan wrote:
>> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
>>> On Thursday 14 October 2010, Paras pradhan wrote:
>>> ...
 I have eight nics and its getting difficult to me which MAC id
 represents which physical port. Any way to find this?
>>> Have a look at the "-p" option to ethtool
>> It would be useful (to me)  if I can use mac address instead of
>> interface name in -p option.
> Try this script (untested):
>
> 
> #!/bin/bash
> ETH=`ifconfig | grep -i $1 | cut -d ' ' -f 1`
> echo "Blinking $ETH - $1"
> ethtool -p $ETH 30
> 
>
> Just call it with the mac address as an argument.  It will find the
> interface with ifconfig and then call ethtool to blink the lights for 30
> seconds.
>
> (Assuming your NIC supports ethtool.  The system I tried to test this on
> was not supported...)

oops...

Make that "ifconfig -a" in the script to find inactive interfaces.

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


Re: [CentOS] network interface question

2010-10-15 Thread Les Mikesell
On 10/15/2010 12:01 PM, m.r...@5-cent.us wrote:
> Paras pradhan wrote:
>> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
>>> On Thursday 14 October 2010, Paras pradhan wrote:
>>> ...
 I have eight nics and its getting difficult to me which MAC id
 represents which physical port. Any way to find this?
>>>
>>> Have a look at the "-p" option to ethtool
>>
>> It would be useful (to me)  if I can use mac address instead of
>> interface name in -p option.
>>
> After some thought, I think what I'd do is plug a cable into them in, one
> at a time, and use ethtool to find the one, and only one, that says "link
> detected", and you've got it.

mii-tool is a little handier for this since it will iterate over all the 
interfaces itself.  But, it will incorrectly call a 1Gb link 100baseT.

-- 
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] network interface question

2010-10-15 Thread Paras pradhan
Yes I just tested like this..

What i did was:

ifconfig -a gives me logical names such as: __tmp1035166962 , ethX

and ethtool -p __tmp1035166962 makes blinking in the network port.  My
problem is resolved.

Thanks a lot guys. Appreciate it.

Paras.

On Fri, Oct 15, 2010 at 12:12 PM, Bowie Bailey  wrote:
>  On 10/15/2010 1:10 PM, Bowie Bailey wrote:
>>  On 10/15/2010 12:44 PM, Paras pradhan wrote:
>>> On Fri, Oct 15, 2010 at 3:57 AM, Peter Kjellstrom  wrote:
 On Thursday 14 October 2010, Paras pradhan wrote:
 ...
> I have eight nics and its getting difficult to me which MAC id
> represents which physical port. Any way to find this?
 Have a look at the "-p" option to ethtool
>>> It would be useful (to me)  if I can use mac address instead of
>>> interface name in -p option.
>> Try this script (untested):
>>
>> 
>> #!/bin/bash
>> ETH=`ifconfig | grep -i $1 | cut -d ' ' -f 1`
>> echo "Blinking $ETH - $1"
>> ethtool -p $ETH 30
>> 
>>
>> Just call it with the mac address as an argument.  It will find the
>> interface with ifconfig and then call ethtool to blink the lights for 30
>> seconds.
>>
>> (Assuming your NIC supports ethtool.  The system I tried to test this on
>> was not supported...)
>
> oops...
>
> Make that "ifconfig -a" in the script to find inactive interfaces.
>
> --
> Bowie
> ___
> 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


[CentOS] Trying to get xen to boot off of an iso or a sysresc image so I can expand a filesystem to the extent of the LVM's free space.

2010-10-15 Thread Peter Serwe
I have a Xen LVM based VM with two partitions:

/dev/VolGroup00/vm01p1

/dev/VolGroup00/vm01p2

p2 is about 50GB, I gave it's LVM an extra 30 or so using lvextend.

How can I extend the partition to fill my free space and the filesystem?

I don't mind offline, if I can get Xen to boot off an alternative media.

Peter

-- 
Peter Serwe
http://truthlightway.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to get xen to boot off of an iso or a sysresc image so I can expand a filesystem to the extent of the LVM's free space.

2010-10-15 Thread Alexander Dalloz
Am 15.10.2010 21:56, schrieb Peter Serwe:
> I have a Xen LVM based VM with two partitions:
> 
> /dev/VolGroup00/vm01p1
> 
> /dev/VolGroup00/vm01p2
> 
> p2 is about 50GB, I gave it's LVM an extra 30 or so using lvextend.
> 
> How can I extend the partition to fill my free space and the filesystem?

http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html

> I don't mind offline, if I can get Xen to boot off an alternative media.

You can do that online using resize2fs (see above)

> Peter

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


Re: [CentOS] Xen3.3 rpm for 32Bit?

2010-10-15 Thread Pasi Kärkkäinen
On Sat, Oct 09, 2010 at 02:15:30PM +0200, Dirk H. Schulz wrote:
>   Hi folks,
> 
> I would like to test Xen3.3 on CentOS 5.5 on an older machine which is 
> not 64bit capable.
> 
> Since this is just a "first impression" test I do not want to fuzz with 
> compiling the kernels and tools myself (that comes in a later step).
> 
> Can someone please point me to a repo with 32bit Xen3.3 kernels for 
> CentOS 5? GITCO supplies 64bit kernels only, and googling brought up 
> nothing else.
> 
> Thanks for any hint or help.
> 

Do you have a specific reason to use Xen 3.3? 
The Xen heavily patched Xen 3.1.2 in el5 is pretty solid.

Other than that.. grab the Xen 3.3 src.rpm and rebuild it for your 32bit box.

-- Pasi

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


Re: [CentOS] best practices in using shared storage for XEN Virtual Machines and auto-failover?

2010-10-15 Thread Pasi Kärkkäinen
On Thu, Oct 14, 2010 at 01:25:01PM +0200, Rudi Ahlers wrote:
> Hi all,
> 
> Can anyone pleas tell me what would be best practice to use shared
> storage with virtual machines, especially when it involved high
> availability / automated failover between 2 XEN servers?
> 
> i.e. if I setup 2x identical XEN servers, each with say 16GB RAM, 4x
> 1GB NIC's, etc. Then I need the xen domU's to auto failover between
> the 2 servers if either goes down (hardware failure / overload /
> kernel updates / etc).
> 
> What is the best way to connect a NAS / SAN to these 2 servers for
> this kind of setup to work flawlessly? The NAS can export iSCSI, NFS,
> SMB, etc. I'm sure I could even use ATAOE if needed
> 

You could use Citrix XenServer, or XCP.. they're based on CentOS 5,
and they support shared storage with iSCSI out-of-the-box on multi-host pools.

If you go with the "plain" CentOS route you need to script/manage it yourself.

-- Pasi

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


Re: [CentOS] Trying to get xen to boot off of an iso or a sysresc image so I can expand a filesystem to the extent of the LVM's free space.

2010-10-15 Thread Peter Serwe
Also, the filesystem is my /, how could that change life?

Peter

On Fri, Oct 15, 2010 at 3:45 PM, Peter Serwe  wrote:

>
>
> On Fri, Oct 15, 2010 at 1:29 PM, Alexander Dalloz 
> 
> > wrote:
>
>>
>> http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
>>
>> > I don't mind offline, if I can get Xen to boot off an alternative media.
>>
>> You can do that online using resize2fs (see above)
>>
>> > Peter
>>
>> Alexander
>>
>
> Does that require a kernel patch or is that information deprecated in
> CentOS 5.5?
>
> Peter
>
> --
> Peter Serwe
> http://truthlightway.blogspot.com/
>



-- 
Peter Serwe
http://truthlightway.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying to get xen to boot off of an iso or a sysresc image so I can expand a filesystem to the extent of the LVM's free space.

2010-10-15 Thread Peter Serwe
On Fri, Oct 15, 2010 at 1:29 PM, Alexander Dalloz

> wrote:

>
> http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
>
> > I don't mind offline, if I can get Xen to boot off an alternative media.
>
> You can do that online using resize2fs (see above)
>
> > Peter
>
> Alexander
>

Does that require a kernel patch or is that information deprecated in CentOS
5.5?

Peter

-- 
Peter Serwe
http://truthlightway.blogspot.com/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] yum list updates error

2010-10-15 Thread Ritika Garg
Before doing "yum update" on system which has CentOS5.3, I gave "yum list
updates" but the following message comes:
Loaded plugins: fastestmirror
Determining fastest mirrors
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=5&arch=x86_64&repo=os error was
[Errno 4] IOError: 
Error: Cannot find a valid baseurl for repo: base
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos