[CentOS] Centos NFS-Utils

2011-09-11 Thread Rita
Just wondering,

We have been using RHEL 6.1 for a while and its NFS-utils support the fsc
option for caching. Will Centos 5.6(or .7) ever support this feature?




-- 
--- Get your facts first, then you can distort them as you please.--
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] XORG and LCD Projector

2011-09-11 Thread Andrew 'Dewa' B. Osmond
dear guys,

I have a problem between my CentOS 5.5 (on Axioo notebook) and LCD
Projector. When I connect my notebook to LCD Projector, it can detect my
notebook.
But when I press Fn + F7 to activate dual monitor between my notebook and
LCD Projector it goes to blank screen. FYI, the LCD Projector is NEC but I
don't know the series.
I've tried to change display using dual head monitor but it has no effects.
Do I need some driver??

and this is my xorg configuration :
Section Device
Identifier  Videocard0
Driver  openchrome
EndSection

Section Screen
Identifier Screen0
Device Videocard0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes1280x800 1024x768 800x600 640x480
EndSubSection
EndSection

Hope you guys can help me. Thanks.


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


Re: [CentOS] XORG and LCD Projector

2011-09-11 Thread Always Learning

On Sun, 2011-09-11 at 20:34 +0700, Andrew 'Dewa' B. Osmond wrote:

 But when I press Fn + F7 to activate dual monitor between my notebook
 and LCD Projector it goes to blank screen. FYI, the LCD Projector is
 NEC but I don't know the series.

In my limited experience with notebooks and laptops, I found that
repeatedly pressing the keys works. The sequence I found was (not
necessarily in this order)

screen
external device
screen and external device

Paul.


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


Re: [CentOS] XORG and LCD Projector

2011-09-11 Thread Andrew 'Dewa' B. Osmond
Here is my complete xorg.conf, Paul.

# Xorg configuration created by system-config-display

Section ServerLayout
Identifier single head configuration
Screen  0  Screen0 0 0
InputDeviceKeyboard0 CoreKeyboard
InputDeviceSynaptics CorePointer
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel pc105
Option  XkbLayout us
EndSection

Section InputDevice
Identifier  Synaptics
Driver  synaptics
Option  Device /dev/input/mice
Option  Protocol auto-dev
Option  Emulate3Buttons yes
EndSection

Section Device
Identifier  Videocard0
Driver  openchrome
EndSection

Section Screen
Identifier Screen0
Device Videocard0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes1280x800 1024x768 800x600 640x480
EndSubSection
EndSection

The sequence just device - screen. I have no external device configuration.
Maybe you know how to configure external device?

On Sun, Sep 11, 2011 at 8:42 PM, Always Learning cen...@u61.u22.net wrote:


 In my limited experience with notebooks and laptops, I found that
 repeatedly pressing the keys works. The sequence I found was (not
 necessarily in this order)

screen
external device
screen and external device

 Paul.

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


Re: [CentOS] XORG and LCD Projector

2011-09-11 Thread Robert Heller
At Sun, 11 Sep 2011 20:34:30 +0700 CentOS mailing list centos@centos.org 
wrote:

 
 
 
 dear guys,
 
 I have a problem between my CentOS 5.5 (on Axioo notebook) and LCD
 Projector. When I connect my notebook to LCD Projector, it can detect my
 notebook.

VGA or DVI?

 But when I press Fn + F7 to activate dual monitor between my notebook and
 LCD Projector it goes to blank screen. FYI, the LCD Projector is NEC but I
 don't know the series.

Which screen is blank? The notebook's or the LCD Projector or both?

 I've tried to change display using dual head monitor but it has no effects.

There are two different things going on here.

dual head monitor normally means that the two monitors display
*different* stuff.  This *usually* implies that the *video card*
specificly supports two independent monitors, usually by having two
frame buffers and two video outputs.  This usually also implies *two*
Device sections in xorg.conf, eg you (logically) have two video cards
installed (even if they are both on the same physical 'card' or even same
physical 'chip'). 

*Most* laptops/notebooks DON'T have dual head monitor capable video
cards.  What they have is a video output that goes to a logical Y
connection: *one* frame buffer+video output circuit, going to two video
connections, one being the internal LCD and the other being the VGA (or
DVI with newer laptops/notebooks) connector.

The Fn + F7 generally toggles between two or three states:

Video goes to the internal screen.
Video goes to the external screen.
Video goes to both screens (*some* laptops/notebooks can't do this, esp.
if the scan rates are incompatible).

In all cases there is only one video 'Device'.  The Fn + F7's logic is
like pluging in different monitors into the *one* video output
connection on a desktop.


 Do I need some driver??

Probably not.  It might be that you need to have different things in
your Screen section, partitularly in the Display SubSection.  It might
be that the LCD Projector cannot handle the display mode(s) specificed.
Is the LCD Projector displaying a message to the effect that an
unsupported sync rate or video mode in being used?

 
 and this is my xorg configuration :
 Section Device
 Identifier  Videocard0
 Driver  openchrome
 EndSection
 
 Section Screen
 Identifier Screen0
 Device Videocard0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 24
 Modes1280x800 1024x768 800x600 640x480
 EndSubSection
 EndSection
 
 Hope you guys can help me. Thanks.
 
 
 Andrew.
 
 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] XORG and LCD Projector

2011-09-11 Thread Christopher Hawker
I am led to believe that external monitors have very little interaction in
terms of Monitor to PC. It may be a BIOS issue, try and have a look there.
What particular model of laptop do you have?

On Mon, Sep 12, 2011 at 12:20 AM, Andrew 'Dewa' B. Osmond 
dewa.n...@gmail.com wrote:

 Here is my complete xorg.conf, Paul.

 # Xorg configuration created by system-config-display

 Section ServerLayout
 Identifier single head configuration
 Screen  0  Screen0 0 0
 InputDeviceKeyboard0 CoreKeyboard
 InputDeviceSynaptics CorePointer
 EndSection

 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel pc105
 Option  XkbLayout us
 EndSection

 Section InputDevice
 Identifier  Synaptics
 Driver  synaptics
 Option  Device /dev/input/mice
 Option  Protocol auto-dev
 Option  Emulate3Buttons yes
 EndSection


 Section Device
 Identifier  Videocard0
 Driver  openchrome
 EndSection

 Section Screen
 Identifier Screen0
 Device Videocard0
 DefaultDepth 24
 SubSection Display
 Viewport   0 0
 Depth 24
 Modes1280x800 1024x768 800x600 640x480
 EndSubSection
 EndSection

 The sequence just device - screen. I have no external device
 configuration. Maybe you know how to configure external device?


 On Sun, Sep 11, 2011 at 8:42 PM, Always Learning cen...@u61.u22.netwrote:


 In my limited experience with notebooks and laptops, I found that
 repeatedly pressing the keys works. The sequence I found was (not
 necessarily in this order)

screen
external device
screen and external device

 Paul.


 ___
 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] XORG and LCD Projector

2011-09-11 Thread Andrew 'Dewa' B. Osmond
@Christopher Hawker :
my laptop version is M54SR, old version of Axioo.

@Robert Heller :
VGA or DVI?
-- VGA

Which screen is blank? The notebook's or the LCD Projector or both?
-- LCD Projector

Is the LCD Projector displaying a message to the effect that an
unsupported sync rate or video mode in being used?
-- No. Nothing's happen. Just blank screen. I think it's becaused lcd
projector mode maybe doesn't same with xorg but I don't know how to
configure it.

On Sun, Sep 11, 2011 at 9:25 PM, Robert Heller hel...@deepsoft.com wrote:

 At Sun, 11 Sep 2011 20:34:30 +0700 CentOS mailing list centos@centos.org
 wrote:

 
 
 
  dear guys,
 
  I have a problem between my CentOS 5.5 (on Axioo notebook) and LCD
  Projector. When I connect my notebook to LCD Projector, it can detect my
  notebook.

 VGA or DVI?

  But when I press Fn + F7 to activate dual monitor between my notebook and
  LCD Projector it goes to blank screen. FYI, the LCD Projector is NEC but
 I
  don't know the series.

 Which screen is blank? The notebook's or the LCD Projector or both?

  I've tried to change display using dual head monitor but it has no
 effects.

 There are two different things going on here.

 dual head monitor normally means that the two monitors display
 *different* stuff.  This *usually* implies that the *video card*
 specificly supports two independent monitors, usually by having two
 frame buffers and two video outputs.  This usually also implies *two*
 Device sections in xorg.conf, eg you (logically) have two video cards
 installed (even if they are both on the same physical 'card' or even same
 physical 'chip').

 *Most* laptops/notebooks DON'T have dual head monitor capable video
 cards.  What they have is a video output that goes to a logical Y
 connection: *one* frame buffer+video output circuit, going to two video
 connections, one being the internal LCD and the other being the VGA (or
 DVI with newer laptops/notebooks) connector.

 The Fn + F7 generally toggles between two or three states:

 Video goes to the internal screen.
 Video goes to the external screen.
 Video goes to both screens (*some* laptops/notebooks can't do this, esp.
 if the scan rates are incompatible).

 In all cases there is only one video 'Device'.  The Fn + F7's logic is
 like pluging in different monitors into the *one* video output
 connection on a desktop.


  Do I need some driver??

 Probably not.  It might be that you need to have different things in
 your Screen section, partitularly in the Display SubSection.  It might
 be that the LCD Projector cannot handle the display mode(s) specificed.
 Is the LCD Projector displaying a message to the effect that an
 unsupported sync rate or video mode in being used?

 
  and this is my xorg configuration :
  Section Device
  Identifier  Videocard0
  Driver  openchrome
  EndSection
 
  Section Screen
  Identifier Screen0
  Device Videocard0
  DefaultDepth 24
  SubSection Display
  Viewport   0 0
  Depth 24
  Modes1280x800 1024x768 800x600 640x480
  EndSubSection
  EndSection
 
  Hope you guys can help me. Thanks.
 
 
  Andrew.
 
  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

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


Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread me
On Sat, 10 Sep 2011, Always Learning wrote:


 On Sat, 2011-09-10 at 11:23 -0400, m...@tdiehl.org wrote:

 Where is this syntax documented? I see the -h option in the man page
 but the n + part is not there and I would like to understand where
 that comes from.

   whois -h whois.arin.net ?

 The ' n + ' are parameters (arguments) introduced by ARIN. They are not
 part of the standard WHOIS.

Thanks. That is what I was looking for.

Regards,

-- 
Tom m...@tdiehl.org Spamtrap address
me...@tdiehl.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XORG and LCD Projector

2011-09-11 Thread Rob Kampen

Andrew 'Dewa' B. Osmond wrote:

dear guys,

I have a problem between my CentOS 5.5 (on Axioo notebook) and LCD 
Projector. When I connect my notebook to LCD Projector, it can detect my 
notebook.
But when I press Fn + F7 to activate dual monitor between my notebook 
and LCD Projector it goes to blank screen. FYI, the LCD Projector is NEC 
but I don't know the series.
I've tried to change display using dual head monitor but it has no 
effects. Do I need some driver??


and this is my xorg configuration :
Section Device
Identifier  Videocard0
Driver  openchrome
EndSection

Section Screen
Identifier Screen0
Device Videocard0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 24
Modes1280x800 1024x768 800x600 640x480
EndSubSection
EndSection

Hope you guys can help me. Thanks.

My experience is this is due to the internal screen having a resolution 
that the external projector cannot handle.

Solution:
change your internal LCD screen resolution to one that the projector 
understands.

HTH


Andrew.




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


attachment: rkampen.vcf___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] XORG and LCD Projector

2011-09-11 Thread Robert Heller
At Sun, 11 Sep 2011 21:52:38 +0700 CentOS mailing list centos@centos.org 
wrote:

 
 
 
 @Christopher Hawker :
 my laptop version is M54SR, old version of Axioo.
 
 @Robert Heller :
 VGA or DVI?
 -- VGA
 
 Which screen is blank? The notebook's or the LCD Projector or both?
 -- LCD Projector
 
 Is the LCD Projector displaying a message to the effect that an
 unsupported sync rate or video mode in being used?
 -- No. Nothing's happen. Just blank screen. I think it's becaused lcd
 projector mode maybe doesn't same with xorg but I don't know how to
 configure it.

Remove the '1280x800' video mode.  It is likely that the LCD Projector
is a standard 4:3 video device (this is implied by being a VGA device)
and is not going to handle a (near) 16:9 (wide screen) video mode.
Unless the LCD Projector is really, really, really old, it should
handle 1024x768 without problems.

 
 On Sun, Sep 11, 2011 at 9:25 PM, Robert Heller hel...@deepsoft.com wrote:
 
  At Sun, 11 Sep 2011 20:34:30 +0700 CentOS mailing list centos@centos.org
  wrote:
 
  
  
   and this is my xorg configuration :
   Section Device
   Identifier  Videocard0
   Driver  openchrome
   EndSection
  
   Section Screen
   Identifier Screen0
   Device Videocard0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes1280x800 1024x768 800x600 640x480
^
This is probably the problem ___|

   EndSubSection
   EndSection
  
   Hope you guys can help me. Thanks.

-- 
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] CentOS 6 Installation on Thinkpad X220

2011-09-11 Thread Janne TH. Nyman
 And she changed it from AHCI to compatibility mode (had to change itto
 that mode to make the drive being recognized?), which is not the best
 setting regarding speed.
Alexander: The she is actually a he :)

 Quite right, sorry, I'd read it backwards.  So presumably either a bug
 in the
 AHCI support, or a limitation/bug of the kernel driver?
 jh
John: Actually, this is a complete false alarm.

Actual Solution:
You don't have to change anything on these laptops. But it is a good tip
that when installing from external cd/dvdrom, if it first does not work,
change usb port and try again.

I changed back the BIOS to AHCI. I was previously plugged into the top
left USB port I.e. the one on the left hand side closes to the monitor
or back side.

When lenovo's external CDROM/DVD is plugged into this port, I am unable
to install linux in general or other OS's. Once I plug it into any of
the other USB ports bottom left or right, it works perfectly.

No wonder I haven't found any problem posts regarding x220 and
CentOS/RHEL.

Thanks for all your time supporting me. Fantastic responses on this
mailing list.

Use external CD/DVD ROM, just ensure to plug it into the right port :)

Cheers,
Janne Janski Nyman
E: jny...@jbtec.org

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


[CentOS] No MySQL password in ps aux!

2011-09-11 Thread Dotan Cohen
I just noticed that some CentOS 4 or 5 machine that I don't admin but
have root access to hides MySQL passwords from ps:

Console 1:
$ mysql -u root -pSECRET
mysql 

Console2:
# ps aux
root 32165  0.0  0.1 109408  2204 pts/1Ss+  11:19   0:00 mysql
-u root -px xx

That is really nice, is it a MySQL feature or a CentOS feature? I have
some other servers that I _do_ admin and I'd like to enable this.

Thanks!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No MySQL password in ps aux!

2011-09-11 Thread Dotan Cohen
On Sun, Sep 11, 2011 at 19:35, Craig White craigwh...@azapple.com wrote:
 you'd still have it in bash_history though so it's really a poor idea to
 ever pass a significant password directly on the command line execution
 - whether visible or not visible to ps. Much better is to be prompted
 for the password instead...

 mysql mysql -u root -p

 and it will prompt

 another option is to have ~/.my.cnf which already has your password

 Craig


Actually, it's not in Bash history because I log in from a remote
server like this:
$ ssh -t dotan@1.2.3.4 mysql -u root -pSECRET

That, in turn, is actually aliased to something else. Therefore the
login info does appear in my _local_ alias file, but if that is
compromised then there is no reason to assume that ~/.ssh/ isn't also
compromised, and vice versa.

Additionally, one could add a space before a command to prevent it
from being written to the history, I do this when encrypting files
with openssl.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Michael D. Berger
On my CentOS 6 partition of my laptop:

First note that for this test, NetworkManager is not
running because I did:
   chkconfig --del NetworkManager
and then rebooted.

Here is my ifcfg-eth0:

DEVICE=eth0
NM_CONTROLLED=no
ONBOOT=no
HWADDR=xx:xx:xx:xx:xx:xx
TYPE=Ethernet
BOOTPROTO=none
IPADDR=192.168.2.5
PREFIX=24
GATEWAY=192.168.2.1
DNS1=192.168.2.1
DNS2=192.168.2.1
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=System eth0
UUID=----

I reboot to level3, do startx (to KDE 4) then do:
# ifconfig eth0 up
# ping 192.168.9.1
connect: Network is unreachable

If I edit ifcfg-eth0 to set
   ONBOOT=yes
and reboot, I get a proper connection.

So why is ifconfig eth0 up not connecting?

Thanks for your help.
Mike.

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


Re: [CentOS] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Rodrigo K. Ferreira
Hello,

Please use ethtool ethX and verify if link is detected or not.

Att.,

Rodrigo Kellermann Ferreira


On Sun, Sep 11, 2011 at 3:57 PM, Michael D. Berger 
m_d_berger_1...@yahoo.com wrote:

 On my CentOS 6 partition of my laptop:

 First note that for this test, NetworkManager is not
 running because I did:
   chkconfig --del NetworkManager
 and then rebooted.

 Here is my ifcfg-eth0:

 DEVICE=eth0
 NM_CONTROLLED=no
 ONBOOT=no
 HWADDR=xx:xx:xx:xx:xx:xx
 TYPE=Ethernet
 BOOTPROTO=none
 IPADDR=192.168.2.5
 PREFIX=24
 GATEWAY=192.168.2.1
 DNS1=192.168.2.1
 DNS2=192.168.2.1
 DEFROUTE=yes
 IPV4_FAILURE_FATAL=yes
 IPV6INIT=no
 NAME=System eth0
 UUID=----

 I reboot to level3, do startx (to KDE 4) then do:
 # ifconfig eth0 up
 # ping 192.168.9.1
 connect: Network is unreachable

 If I edit ifcfg-eth0 to set
   ONBOOT=yes
 and reboot, I get a proper connection.

 So why is ifconfig eth0 up not connecting?

 Thanks for your help.
 Mike.

 ___
 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] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Bernd Bartmann
On Sun, Sep 11, 2011 at 8:57 PM, Michael D. Berger wrote:
 On my CentOS 6 partition of my laptop:

 First note that for this test, NetworkManager is not
 running because I did:
   chkconfig --del NetworkManager
 and then rebooted.

 Here is my ifcfg-eth0:

 DEVICE=eth0
 NM_CONTROLLED=no
 ONBOOT=no
 HWADDR=xx:xx:xx:xx:xx:xx
 TYPE=Ethernet
 BOOTPROTO=none
 IPADDR=192.168.2.5
 PREFIX=24
 GATEWAY=192.168.2.1
 DNS1=192.168.2.1
 DNS2=192.168.2.1
 DEFROUTE=yes
 IPV4_FAILURE_FATAL=yes
 IPV6INIT=no
 NAME=System eth0
 UUID=----

 I reboot to level3, do startx (to KDE 4) then do:
 # ifconfig eth0 up
 # ping 192.168.9.1
 connect: Network is unreachable

 If I edit ifcfg-eth0 to set
   ONBOOT=yes
 and reboot, I get a proper connection.

 So why is ifconfig eth0 up not connecting?

ifconfig is a low level tool that does not parse the config files
like ifcfg-eth0. You'll either have to use:

ifconfig eth0 192.168.2.5
route add default gw 192.168.2.1

or

ifup eth0

The latter one is a script that parses all the config files.

Best regards,
Bernd.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Andrew Dorozhkin
11.09.2011 22:57, Michael D. Berger wrote:
 On my CentOS 6 partition of my laptop:

 First note that for this test, NetworkManager is not
 running because I did:
 chkconfig --del NetworkManager
 and then rebooted.

 Here is my ifcfg-eth0:

 DEVICE=eth0
 NM_CONTROLLED=no
 ONBOOT=no
 HWADDR=xx:xx:xx:xx:xx:xx
 TYPE=Ethernet
 BOOTPROTO=none
 IPADDR=192.168.2.5
 PREFIX=24
 GATEWAY=192.168.2.1
 DNS1=192.168.2.1
 DNS2=192.168.2.1
 DEFROUTE=yes
 IPV4_FAILURE_FATAL=yes
 IPV6INIT=no
 NAME=System eth0
 UUID=----

 I reboot to level3, do startx (to KDE 4) then do:
 # ifconfig eth0 up
 # ping 192.168.9.1
 connect: Network is unreachable

 If I edit ifcfg-eth0 to set
 ONBOOT=yes
 and reboot, I get a proper connection.

 So why is ifconfig eth0 up not connecting?

 Thanks for your help.
 Mike.

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
You should not use 'PREFIX=...' parameter if you prefer static network 
settings
functionality provided by initscripts rather than NM daemon. I believe 
is is not honored
by ifup* scripts and is not documented by el6 deployment guide either. Use
'NETMASK=...' instead and then issue the command 'ifup eth0' to bring 
your NIC up
and running.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] persistent custom lines in /etc/hosts?

2011-09-11 Thread wwp
Hello there,


I've edited /etc/hosts to add few custom IP/hostnames couples.
After each reboot, I have to add them again. I've then
added /etc/sysconfig/network/hosts, but it seems to ignore it or at
least ignore 127.0.0.1 assignments I'm doing in it.

Is there a mechanism I'm not aware of, or doing things wrong to make my
custom IP/hostnames assignments permanent after network services
restart?

Regards,

-- 
wwp


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


Re: [CentOS] gnumeric

2011-09-11 Thread ken
On 09/10/2011 03:01 PM Frank Cox wrote:
 On Sat, 10 Sep 2011 14:40:47 
 ken wrote:
 
 Where do I find a gnumeric rpm?  I must not have enough repos listed.
 
 http://www.elders.princeton.edu/data/puias/6/x86_64/os/Addons/
 

Thanks, Frank.  That isn't the exact version I was looking for, but just 
getting on that server and poking around I found 
http://www.elders.princeton.edu/data/puias/updates/5.6/en/addons/SRPMS/ 
where resides gnumeric-1.6.3-15.PU_IAS.5.2.src.rpm  So I'm on the 
way.  Thanks again.

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


[CentOS] Vitualization and Partitioning

2011-09-11 Thread Thomas Dukes
Hello,

OK, getting ready to order a new machine and had some questions about 6.0.
It will have a single 500GB HD.

When I do the install, do I or should I setup a separate partition for guest
OS's? From the redhat docs, it looks like the guest OS's reside at
/var/lib/libvirt/images/.  I may combine my windoze XP on the CentOS machine
so would I need to create a partition and format that at installation? If I
decide to wait and go with Windoze 7 can I still create the partition later?

I would like a partition scheme that allows for easier upgrades or installs
without losing data.

Thanks, I'm more confused now that when I started reading about this stuf..

Eddie

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


Re: [CentOS] XORG and LCD Projector

2011-09-11 Thread ken
A long time ago I did this.  I think I was using Suse 9.3 at the time. 
(That's how long ago it was!!)  It was so easy-- taking less than a 
minute-- that I don't remember how I did it.

My muttbox is a Dell i600m.  FnF8 is the key to switch among the 
video options we're talking about.  This probably isn't any kind of a 
standard, but unless you're positive FnF7 is the right key combo, 
you might want to try FnF8.

Make sure the projector is plugged in and then turned on before hitting 
the CRT combo.

If an error reports the sync rate is different on the projector, change 
the specs running the LCD (internal) monitor.

I didn't have to do this, but it might help in your situation: with 
things connected, turned on, and set up as above, restart hal.  This 
will kick it to do a hardware rescan.  (This has worked for me 
hotplugging other hardware... never tried it in a projector (2nd 
monitor) situation.)

Hope you get this working.  If/When you do, please report back how.  I'm 
sure someone else will need to know how to do this before long.


On 09/11/2011 10:52 AM Andrew 'Dewa' B. Osmond wrote:
 @Christopher Hawker :
 my laptop version is M54SR, old version of Axioo.
 
 @Robert Heller :
 VGA or DVI?
 -- VGA
 
 Which screen is blank? The notebook's or the LCD Projector or both?
 -- LCD Projector
 
 Is the LCD Projector displaying a message to the effect that an
 unsupported sync rate or video mode in being used?
 -- No. Nothing's happen. Just blank screen. I think it's becaused lcd 
 projector mode maybe doesn't same with xorg but I don't know how to 
 configure it.
 
 On Sun, Sep 11, 2011 at 9:25 PM, Robert Heller hel...@deepsoft.com 
 mailto:hel...@deepsoft.com wrote:
 
 At Sun, 11 Sep 2011 20:34:30 +0700 CentOS mailing list
 centos@centos.org mailto:centos@centos.org wrote:
 
  
  
  
   dear guys,
  
   I have a problem between my CentOS 5.5 (on Axioo notebook) and LCD
   Projector. When I connect my notebook to LCD Projector, it can
 detect my
   notebook.
 
 VGA or DVI?
 
   But when I press Fn + F7 to activate dual monitor between my
 notebook and
   LCD Projector it goes to blank screen. FYI, the LCD Projector is
 NEC but I
   don't know the series.
 
 Which screen is blank? The notebook's or the LCD Projector or both?
 
   I've tried to change display using dual head monitor but it has
 no effects.
 
 There are two different things going on here.
 
 dual head monitor normally means that the two monitors display
 *different* stuff.  This *usually* implies that the *video card*
 specificly supports two independent monitors, usually by having two
 frame buffers and two video outputs.  This usually also implies *two*
 Device sections in xorg.conf, eg you (logically) have two video cards
 installed (even if they are both on the same physical 'card' or even
 same
 physical 'chip').
 
 *Most* laptops/notebooks DON'T have dual head monitor capable video
 cards.  What they have is a video output that goes to a logical Y
 connection: *one* frame buffer+video output circuit, going to two video
 connections, one being the internal LCD and the other being the VGA (or
 DVI with newer laptops/notebooks) connector.
 
 The Fn + F7 generally toggles between two or three states:
 
 Video goes to the internal screen.
 Video goes to the external screen.
 Video goes to both screens (*some* laptops/notebooks can't do this, esp.
 if the scan rates are incompatible).
 
 In all cases there is only one video 'Device'.  The Fn + F7's logic is
 like pluging in different monitors into the *one* video output
 connection on a desktop.
 
 
   Do I need some driver??
 
 Probably not.  It might be that you need to have different things in
 your Screen section, partitularly in the Display SubSection.  It might
 be that the LCD Projector cannot handle the display mode(s) specificed.
 Is the LCD Projector displaying a message to the effect that an
 unsupported sync rate or video mode in being used?
 
  
   and this is my xorg configuration :
   Section Device
   Identifier  Videocard0
   Driver  openchrome
   EndSection
  
   Section Screen
   Identifier Screen0
   Device Videocard0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes1280x800 1024x768 800x600 640x480
   EndSubSection
   EndSection
  
   Hope you guys can help me. Thanks.
  
  
   Andrew.
  
   MIME-Version: 1.0
  
   ___
   CentOS mailing list
   CentOS@centos.org mailto:CentOS@centos.org
   http://lists.centos.org/mailman/listinfo/centos
  
  
 
 --
 

Re: [CentOS] persistent custom lines in /etc/hosts?

2011-09-11 Thread R - elists
 
 
 I've edited /etc/hosts to add few custom IP/hostnames couples.
 After each reboot, I have to add them again. I've then added 
 /etc/sysconfig/network/hosts, but it seems to ignore it or at 
 least ignore 127.0.0.1 assignments I'm doing in it.
 
 Is there a mechanism I'm not aware of, or doing things wrong 
 to make my custom IP/hostnames assignments permanent after 
 network services restart?
snip
 wwp

you didnt tell us much about your centos version etc so

is your networking set up statically, or is it dhcp dynamic.

if the latter, then possibly that is part of the issue

ive always noticed that files like /etc/resolv.conf and others can change in
a generic dhcp environment

...one reason we setup almost everything statically

 - rh

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


Re: [CentOS] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Robert Spangler
On Sunday 11 September 2011 14:57, the following was written:

  So why is ifconfig eth0 up not connecting?

Have you tried 'ifup eth0'?


-- 

Regards
Robert

Linux
The adventure of a lifetime.

Linux User #296285
Get Counted
http://linuxcounter.net/
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Al
Have you tried;

cd /etc/sysconfig/network-scripts/
./ifup ifcfg-eth0

On Sep 11, 2011, at 8:21 PM, Robert Spangler wrote:

 On Sunday 11 September 2011 14:57, the following was written:
 
 So why is ifconfig eth0 up not connecting?
 
 Have you tried 'ifup eth0'?
 
 
 -- 
 
 Regards
 Robert
 
 Linux
 The adventure of a lifetime.
 
 Linux User #296285
 Get Counted
 http://linuxcounter.net/
 ___
 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] No MySQL password in ps aux!

2011-09-11 Thread Craig White
On Sun, 2011-09-11 at 19:56 +0300, Dotan Cohen wrote:
 On Sun, Sep 11, 2011 at 19:35, Craig White craigwh...@azapple.com wrote:
  you'd still have it in bash_history though so it's really a poor idea to
  ever pass a significant password directly on the command line execution
  - whether visible or not visible to ps. Much better is to be prompted
  for the password instead...
 
  mysql mysql -u root -p
 
  and it will prompt
 
  another option is to have ~/.my.cnf which already has your password
 
  Craig
 
 
 Actually, it's not in Bash history because I log in from a remote
 server like this:
 $ ssh -t dotan@1.2.3.4 mysql -u root -pSECRET
 
 That, in turn, is actually aliased to something else. Therefore the
 login info does appear in my _local_ alias file, but if that is
 compromised then there is no reason to assume that ~/.ssh/ isn't also
 compromised, and vice versa.
 
 Additionally, one could add a space before a command to prevent it
 from being written to the history, I do this when encrypting files
 with openssl.

not exactly sure what point you are trying to make about being
compromised - not all that relevant but you can still just use -p option
without the password and get prompted for the password which actually
solves your question.

Also, since MySQL is client/server you could probably use the mysql
client on your local machine and connect to the server and use
encryption but that isn't what you asked.

Also, presuming you are using bash on the originating machine, you would
have it in bash_history, just on a different machine. The point I was
trying to make is that it is generally a poor idea to put a password
into a shell command whether mysql or whatever.

Craig



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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


Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread Steve Walsh
  On 09/11/2011 12:26 AM, Always Learning wrote:
 This works for me on Centos 5.6. It may assist newcomers to the Linux
 world of Centos.

   whois 51.51.51.51

 produces a normal and conventional display of data.

 However since ARIN, the North American registrar of IP addresses,
 modernised its WHOIS processing, a query to

   whois 64.64.64.64

 will produce a one line summary of possible matches, which always
 includes ARIN, but omits the details we used to receive before ARIN
 implemented its much criticised improved service.

 A one line script solves it for me (but only for ARIN network entries).

   #!/bin/bash
   whois -h whois.arin.net n + $1

Any particular reason you used a bash script as opposed to an alias in 
your bash config?

 I call my script .arin

   .arin 64.64.64.64

 produces a normal output.


Out of interest, have you thought about sending this through to the 
NANOG (http://www.nanog.org/mailinglist/) list?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] KVM on CentOS 6

2011-09-11 Thread Emmett Culley
On 09/08/2011 10:34 AM, m.r...@5-cent.us wrote:
 Emmett Culley wrote:
 On 09/08/2011 09:07 AM, m.r...@5-cent.us wrote:
 Emmett Culley wrote:
 On 09/08/2011 02:25 AM, Nick wrote:
 On 08/09/11 07:23, Emmett Culley wrote:
 Today I suddenly have two VMs that have read only file systems.  The
 host is CentOS 6, as are the two VMs with this problem.
 snip
 the one that is still available.  The last lines of syslog
 (/var/log/messages) are:
 snip
 Sep  7 21:59:23 dev kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr
 0x0
 action 0x6 frozen
 Sep  7 21:59:23 dev kernel: ata1.00: failed command: WRITE DMA
 Sep  7 21:59:23 dev kernel: ata1.00: cmd
 ca/00:08:a0:02:31/00:00:00:00:00/e3 tag 0 dma 4096 out
 Sep  7 21:59:23 dev kernel: res
 40/00:01:00:00:00/00:00:00:00:00/a0 Emask 0x4 (timeout)
 Sep  7 21:59:23 dev kernel: ata1.00: status: { DRDY }
 Sep  7 21:59:23 dev kernel: ata1: soft resetting link
 Sep  7 21:59:23 dev kernel: ata1.00: configured for MWDMA2
 Sep  7 21:59:23 dev kernel: ata1.00: device reported invalid CHS sector
 0
 Sep  7 21:59:23 dev kernel: ata1: EH complete
 snip
 Bad news, IMO: I think you have a hardware problem - looks like sector 0
 of your h/d has gone bad.

 Got backups? Got spare drive?

 Except that this hardware is on the guest and so is virtual.  The image
 is actually a LVM logical volume.  So, it must be either a kvm/qemu or a
 kernel bug.  I am working on getting a bug reported, as soon as I figure
 out where to report it.
 
 Are you sure that the host o/s isn't passing a real error up? Are there
 errors in the host's logfile?
 
   mark

Turns out you were correct.  I did see the same error on the host, though with 
an hour earlier time stamp.

I replaced that drive and all seems well now.

Thanks for your insight.

Emmett

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


Re: [CentOS] CentOS 6: ethernet ifconfig up failure

2011-09-11 Thread Michael D. Berger
On Sun, 11 Sep 2011 20:21:21 -0400, Robert Spangler wrote:

 On Sunday 11 September 2011 14:57, the following was written:
 
  So why is ifconfig eth0 up not connecting?
 
 Have you tried 'ifup eth0'?

I have now, it works fine.

Thanks,
Mike.

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


Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread Always Learning

On Mon, 2011-09-12 at 10:55 +1000, Steve Walsh wrote:

 I wrote:-
  A one line script solves it for me (but only for ARIN network entries).
 
  #!/bin/bash
  whois -h whois.arin.net n + $1

 Any particular reason you used a bash script as opposed to an alias in 
 your bash config?

My understanding of aliases is I can not include additional parameters
although I know virtually little about them. I do use links like these

sv = service
ipt = iptables

etc. but have never knowingly used an alias. Don't forget I am a Linux
novice. Everything I currently know I have taught myself either from
books, experimentation or examples on this list or adapted from similar
things from pre-Linux days. 

  I call my script .arin
 
  .arin 64.64.64.64
 
  produces a normal output.
 
 
 Out of interest, have you thought about sending this through to the 
 NANOG (http://www.nanog.org/mailinglist/) list?

Never heard of them. It see it is the North American Network Operators'
Group. Following your suggestion I will repost the item there.

Regards,

Paul.


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


Re: [CentOS] No MySQL password in ps aux!

2011-09-11 Thread Devin Reade
Getting back to the original question, it is a feature of mysql (not
of CentOS per se), but there's nothing that stops other (C) programs
from doing something similar.  Shortly after startup, a programmer can
set things up so that command line arguments (or in this case one of
them) is hidden from anyone from viewing the process table.

However, even using this mechanism there is a window where, if someone
looks at the process table at the right time, they will see the password
in cleartext.

So, despite the mysql programmers trying to minimize the chance of 
leaking the password it is still a risk and so the advice others have
given about -p (without the password) and .my.cnf is still the best
option.

Devin
-- 
If swimming is so good for your figure, how do you explain whales?

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


Re: [CentOS] Vitualization and Partitioning

2011-09-11 Thread Emmanuel Noobadmin
Hi,

 When I do the install, do I or should I setup a separate partition for guest
That would be better from a performance point of view

 OS's? From the redhat docs, it looks like the guest OS's reside at
 /var/lib/libvirt/images/.
This should be using files as disk files, which I did and found it to
be a problem when there is heavy I/O.

I may combine my windoze XP on the CentOS machine
 so would I need to create a partition and format that at installation? If I
 decide to wait and go with Windoze 7 can I still create the partition later?

 I would like a partition scheme that allows for easier upgrades or installs
 without losing data.

Try using LVM then, it allows you to create and resize logical
partitions, including expanding with additional hard disks in the
future without having to reconfigure your VM guest (except the usual
file system expansion steps)

 Thanks, I'm more confused now that when I started reading about this stuf..

That's my experience too, the more we read, the more
alternatives/options there are, the more confusing it gets! :D
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Vitualization and Partitioning

2011-09-11 Thread ken
On 09/11/2011 11:10 PM Emmanuel Noobadmin wrote:
 Hi,
 
 When I do the install, do I or should I setup a separate partition for guest
 That would be better from a performance point of view
 
 OS's? From the redhat docs, it looks like the guest OS's reside at
 /var/lib/libvirt/images/.
 This should be using files as disk files, which I did and found it to
 be a problem when there is heavy I/O.

I like LVM (for the reasons you cite).  Would you (anyone?) say it's 
best to have one LV per guest or one LV for all guests?


tnx.

 

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


Re: [CentOS] TIP for broken ARIN whois

2011-09-11 Thread Bart Schaefer
On Sun, Sep 11, 2011 at 7:31 PM, Always Learning cen...@u61.u22.net wrote:

      #!/bin/bash
      whois -h whois.arin.net n + $1

 Any particular reason you used a bash script as opposed to an alias in
 your bash config?

 My understanding of aliases is I can not include additional parameters

With bash / ksh / zsh aliases you can't rearrange the parameters, but
you can always add them to the end.  E.g. this:

 alias .arin='whois -h whois.arin.net n +'

can be called as

 .arin 64.64.64.64

and will expand the way you want.  However, if you needed to have
something come after 64.64.64.64, or to be mixed in with the whois
options, you'd have to use a script or a shell function.  I.e., if you
wanted to pass the name of the whois server rather than hardcode it:

  .arin() { whois -h $1 n + $2; }

That can't be done with an alias (except in csh).
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Approximate size of CentOS mirror

2011-09-11 Thread Christopher Hawker
Hey all,

Roughly, how much disk space would I need on my server to mirror the entire ISO 
collection and the repository files. Also, how would I tell my server to only 
mirror CentOS 5 and 6?

--
If you have any questions, please do not hesitate to contact me on +61 478 241 
896.

Regards,
Christopher Hawker

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


Re: [CentOS] Approximate size of CentOS mirror

2011-09-11 Thread James A. Peltier
Current full mirror size is 122G

- Original Message -
| Hey all,
| 
| Roughly, how much disk space would I need on my server to mirror the
| entire ISO collection and the repository files. Also, how would I tell
| my server to only mirror CentOS 5 and 6?
| 
| --
| If you have any questions, please do not hesitate to contact me on +61
| 478 241 896.
| 
| Regards,
| Christopher Hawker
| 
| ___
| CentOS mailing list
| CentOS@centos.org
| http://lists.centos.org/mailman/listinfo/centos

-- 
James A. Peltier
IT Services - Research Computing Group
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax : 778-782-3045
E-Mail  : jpelt...@sfu.ca
Website : http://www.sfu.ca/itservices
  http://blogs.sfu.ca/people/jpeltier
I will do the best I can with the talent I have

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