Re: [CentOS] Fixing filenames with directories with spaces in the names

2010-12-28 Thread Eduardo Grosclaude
On Tue, Dec 28, 2010 at 2:03 AM, Craig White  wrote:
> Should be simple and perhaps I'm tired but it's not coming to me.
>
> In its simplest form...
>
> for old in `cat "$FILENAME"`;do
>  echo "$old"
>  dirname "$old"
>  new="$(echo $old | sed 's/\*/\-/')"
> done

Should be
 new=$(echo "$old" | sed 's/\*/\-/')

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fixing filenames with directories with spaces in the names

2010-12-28 Thread John Doe
From: Craig White 

> for old in `cat "$FILENAME"`;do
>   echo  "$old"
>   dirname "$old"
>   new="$(echo $old | sed  's/\*/\-/')"
> done
> I'm trying to take out some stupid Macintosh things  - in this case
> filenames with asterisks but I have others like tilde's and  probably
> others that I haven't come across.
> Anyway, $FILENAME  has...
> /tmp/New Woman In Field/*NEW woman in field.psd
> /tmp/New Woman  In Field/*NEW woman in field 2.eps
> /tmp/New Woman In Field/*NEW woman in  field 2.psd
> and the echoes are broken with spaces like this (which of  course  doesn't
> work)...

Not sure what you are trying to do (delete or rename or...), but try "while 
read" instead of for (especially since the cmdline is limited)...
Example:

cat "$FILENAME" | while read OLD
  do
NEW=$(echo "$OLD" | sed 's/\*/\-/')
mv -i "$OLD" "$NEW"
  done

JD


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


Re: [CentOS] Problems with motherboard support? INTEL DP43BF

2010-12-28 Thread robert mena
Hi John,

I agree that realtek are far from something we could cold call a good
product.   But I have similar setup (with different motherboard) working
without a flaw.

All your arguments are valid and worth investigating.

The local lan (eth0) is 100Mbits.  Both eth1 and eth2 are realtek (same
model/chipset).

I'll have a look at the BIOS settings and removed the vga mode from grub and
make sure lm_sensors is installed.

Besides this I am not sure what else I could do.  The main question is am I
dealing with a falty component (motherboard, cpu, memory, NIC) or some other
OS/Software bug?

On Tue, Dec 28, 2010 at 1:59 AM, John R Pierce  wrote:

> On 12/27/10 9:09 PM, robert mena wrote:
> > Regular realtek fast ethernet.
>
> IMNSHO, realtek are pretty close to junk grade NICs.   they have far too
> many variations with far too many weird bugs when used for any more than
> single user desktop kind of systems.
>
>
> > Each one connected to a broadband modem (1 Mbps each) so I do not
> > think this should be a bus saturation.
>
> what speed is the local link to the modem?   even if your internet
> connection is 1Mbps, if your ethernet is running at 100baseT, that can
> be 10MB/sec bursts, and a few of those could potentially cause bus
> contention issues
>
> how fast is the LAN?since the errors were on eth3 and eth4, I'm
> wondering what eth0, eth1, and eth2 are doing traffic wise.
>
>
> > I do not think this is a thermal problem due to the lack of messages
> > (I got this problem in the past with a different machine and I got
> > those overheating message - with the throttle but I'll investigate
> > further.
> >
>
> I wouldn't rely on that assumption.   Thermal monitoring might not be
> configured correctly for this board, etc etc.
>
>
> ___
> 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] Problems with motherboard support? INTEL DP43BF

2010-12-28 Thread robert mena
Hi John,

I'll have a look a that.  This seems odd because, if I understand correctly,
those settings would only affect if/when the system is idle and the lockups
occur during regular/busy hours.

BUT... they should be off anyway.

On Mon, Dec 27, 2010 at 5:34 PM, John Plemons  wrote:

> Try turning off the green features completely on the board..  Never
> allow the board to go to sleep, don't even let the board put the monitor
> into power saving mode..
>
> John
>
>
>
>
>
>
> On 12/27/2010 4:19 PM, John R Pierce wrote:
> > On 12/27/10 11:04 AM, robert mena wrote:
> >> Hi,
> >>
> >> I've installed Centos 5.5 (plus updates) in a machine with INTEL
> >> DP43BF motherboard.  In order to make Linux detect the PCIs I've added
> >> the pci=assign-busses in my GRUB conf.
> >>
> >> Everything runs fine but within less than 2 days of uptime the machine
> >> simply freezes (black console no connectivity).  This has happened
> >> more than one time so I'm considering to be a problem. The memtest
> >> passed without a problem and the machine uses a compact flash (sandisk
> >> extreme III 4GB) as a disk.
> >>
> >> I could only find the error messages in my /var/log/messages but those
> >> appear hours before the actual lock.
> >>
> >> kernel: :00:1a.7 EHCI: BIOS handoff failed (BIOS bug ?) 01010001
> >>
> >> kernel: :00:1d.7 EHCI: BIOS handoff failed (BIOS bug ?) 01010001
> >>
> >>
> >> kernel: eth4: PCI Bus error a290.
> >>
> >> kernel: eth4: PCI Bus error 0290.
> >>
> >> kernel: eth3: PCI Bus error 2290.
> >>
> >> kernel: eth3: PCI Bus error 0290.
> >>
> >>
> >> Any tips?
> >>
> >
> > thats a desktop board, right?  so it probably doesn't have ECC or any of
> > the other system integrity features of a server board, nor do they
> > usually have the IO bus bandwidth to handle substantial IO workloads.
> >
> > PCI bus errors are not a good thing at all, either.  you have 5 ethernet
> > adapters in use?   what sort of Ethernet controller?   I believe those
> > PCI Bus errors are being reported by your ethernet adapters, and could
> > be the result of excess bus contention.  a single gigE can way more than
> > saturate a 32bit 33Mhz PCI (parallel) bus.  All the PCI slots on a
> > desktop board like you have are on the same bus and contend for the same
> > bandwidth.
> >
> > Also, as mentioned thermal problems are a definite possibility, although
> > Intel CPUs tend to self-throttle if they get too hot, the Chipset might
> > not be that good at it (eg, watch the chipset and memory temperature as
> > well as the CPU).Another possible cause would be silent memory
> > corruption although that would be more likely to cause a kernel fault
> > ("Fatal kernel error - system halted") however if your display is in a
> > GUI mode, you won't see this unless the console is directed to a serial
> > port which is being monitored.
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
> >
> > -
> > No virus found in this message.
> > Checked by AVG - www.avg.com
> > Version: 10.0.1170 / Virus Database: 426/3341 - Release Date: 12/26/10
> >
> >
> ___
> 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] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-28 Thread robert mena
Hi,

I am looking for dual or quad fast ethernet NICs that work with CentOS.
 There is no need for high performance so regular fast/pci is ok.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems with motherboard support? INTEL DP43BF

2010-12-28 Thread Ryan Wagoner
On Tue, Dec 28, 2010 at 6:37 AM, robert mena  wrote:
> Hi John,
> I agree that realtek are far from something we could cold call a good
> product.   But I have similar setup (with different motherboard) working
> without a flaw.

Similar isn't the same. I will not buy a board with a Realtek NIC
anymore. I have had problems with them in the past with CentOS. It
isn't worth the time and effort to debug for the few bucks it costs
for a board with an Intel NIC. Although it sounds like you have a
bunch of Realtek PCI NICs in your system. If you only need 1Mbps why
not grab some Intel 10/100 NICs. You can get these real cheap off
eBay.

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


Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-28 Thread David Sommerseth
On 28/12/10 13:13, robert mena wrote:
> Hi,
>
> I am looking for dual or quad fast ethernet NICs that work with CentOS.
>   There is no need for high performance so regular fast/pci is ok.
>

I have very good experiences with Intel PRO/1000 (aka. EtherExpress, if I'm 
not mistaken) cards in general, both the single NIC and dual NIC models. 
e1000 or e1000e drivers works flawlessly.  I would not expect quad-based cards 
of the similar type to be any problem either.

This is an extract from one of the firewalls I got, having 2xdual NIC cards:

0a:02.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet 
Controller (rev 03)
0a:02.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet 
Controller (rev 03)
0a:03.0 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet 
Controller (rev 03)
0a:03.1 Ethernet controller: Intel Corporation 82546GB Gigabit Ethernet 
Controller (rev 03)

These cards uses the e1000 driver.


kind regards,

David Sommerseth

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


Re: [CentOS] 2 Ethernet cabling question

2010-12-28 Thread Bowie Bailey
On 12/25/2010 9:42 AM, S Mathias wrote:
> Two questions that was not always clear for me [sorry for posting to this 
> list :\]:
>
> ##
>
> Q1) when cabling, is the color order important? like:
>
> straight cabling:
> A side: white-orange, orange, white-green, blue, white-blue, green, 
> white-brown, brown
> B side: white-orange, orange, white-green, blue, white-blue, green, 
> white-brown, brown
>
> could be eg.: like this??
> A side: white-orange, brown, white-blue, green, white-green, blue, 
> white-brown, orange
> B side: white-orange, brown, white-blue, green, white-green, blue, 
> white-brown, orange

The colors are not important aside from standardization.  If you need to
fix one end of the cable, you have to make sure it's the same as the
other end.  If you use the standard color scheme, that is not a problem.

What IS important is the pairing.  In your second example, you have
messed up the pairings.  This may work, but is not optimal.  You could
do something like this:

white-brown, brown, white-orange, blue, white-blue, orange,
white-green, green

But there is really no reason for it.  Just stick to the standard colors
and save yourself (and anyone else who works on the cabling later) the
headaches.

> ##
>
> Q2) again cabling.. i know what is the color order of straight and crossover 
> cabling. BUT: what are the color orders, when i need to create physically two 
> separated networks?

Sorry, I don't follow this question.

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


[CentOS] Server unresponsive until reboot, memory exhausted

2010-12-28 Thread james
I'm having an issue with an apache web server running the latest CentOS5
kernel (this issue is not new to the kernel). After a few days/weeks of
running the server will become unresponsive and will require a physical
reboot in order to come back online. The system is so unresponsive when
the issue occurs that login at console is not even possible. 

I have atop installed and have looked back before the crash to see what
happened process wise and I can see the http starts using a lot of
memory and CPU usage. The vmcommit jumps from 1.8 GB to 4.8GB in a
matter of a few minutes. The VSIZE of the httpd process jumps from 8.1GB
to 36.9GB. So apache is doing something -- but how can I get historical
data for this? I also see that paging is very active, probably why the 
server is unresponsive. I have looked through the apache logs and system 
logs and there is nothing
obvious that is consuming all that memory. I know of the server-status
module for apache but that is only useful if you can get to the server
during the crash (I can't) and doesn't have any historical data. 

The issue occurs seemingly randomly, last time in the middle of the night 
with little or no user traffic. 

James

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


[CentOS] Kickstart Network Configuration Issues

2010-12-28 Thread Daniel Theisen
Hello all,
I've been struggling with an issue with my kickstart configuration for a while 
now. My kickstart files are stored within the initrd image. What I would like 
to do here, is when the kickstart first starts up, I want it to grab a DHCP 
address (it does at the moment) so it can grab all of the necessary 
installation data off the net. Then, at some point _IN_ the install process, 
I'd like to have it query for manually input network settings. Here is my 
current kickstart script:

  auth  --useshadow  --enablemd5 
  bootloader --location=mbr
  zerombr
  clearpart --all --initlabel 
  text
  firewall --enabled --port=22:tcp
  firstboot --disable
  keyboard us
  lang en_US
  logging --level=info
  url --url=http://mirror.nexcess.net/CentOS/5.5/os/x86_64/
  reboot --eject
  rootpw --iscrypted xx
  selinux --enforcing
  skipx
  timezone --isUtc America/Detroit
  install

  part /boot --bytes-per-inode=4096 --fstype="ext3" --size=512 --ondisk=sda
  part swap --bytes-per-inode=4096 --fstype="swap" --size=2048 --ondisk=sda
  part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1 --ondisk=sda
  part /backup --bytes-per-inode=4096 --fstype="ext3" --grow --size=1 
--ondisk=sdb

  network --bootproto=dhcp --device=eth0

  %packages --nobase
  @core
  system-config-network-tui

  %post
  echo "nameserver 4.2.2.1" > /etc/resolv.conf
  echo "nameserver 8.8.8.8" >> /etc/resolv.conf

  # write netconfig script
  cat << EOF > /bin/netconfig 
  #!/bin/bash
  # check if user is root
  if [[ \$EUID -ne 0 ]]; then
  echo "This script must be run as root" 1>&2
  exit 1
  fi
  # run system-config-network-tui
  /usr/sbin/system-config-network-tui
  # set variables
  eth0f="/etc/sysconfig/network-scripts/ifcfg-eth0"
  eth1f="/etc/sysconfig/network-scripts/ifcfg-eth1"
  netcfg="/etc/sysconfig/network"
  # turn on eth1 if it has an address, remove gateway.. shouldn't be set here
  # anyways
  if [ -f "\$eth1f" ]; then
  if grep -q "IPADDR" \$eth1f; then
  sed -i 's/ONBOOT=no/ONBOOT=yes/' \$eth1f
  sed -i '/^GATEWAY/d' \$eth1f
  sed -i '/^HOTPLUG/d' \$eth1f
  fi
  fi
  # move gateway from ifcfg-eth0 to /etc/sysconfig/network
  if [ -f "\$eth0f" ]; then
  e0gw=\$(grep "GATEWAY" \$eth0f)
  sed -i '/^GATEWAY/d' \$eth0f
  # check to see if the gateway is already set. if it is, delete it first
  if ! grep -q "GATEWAY" /etc/sysconfig/network; then
  echo \$e0gw >> \$netcfg
  else
  sed -i '/^GATEWAY/d' \$netcfg
  echo \$e0gw >> \$netcfg
  fi
  fi
  EOF
  chmod +x /bin/netconfig

At the moment, I have a not-so-elegant script written to the server to be run 
manually after install. I began using system-config-network-tui vanilla, but 
realized it had some differences from the network configuration tool in 
anaconda (net.c?) I tried my best to correct those differences with my 
netconfig script. I've already tried running system-config-network-tui in the 
%post section, but it doesn't seem to work. If anyone has had experience in 
dealing with a scenario such as this, any help would be greatly appreciated.

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


Re: [CentOS] logrotate.d - reload vs restart

2010-12-28 Thread Robert Nichols
On 12/27/2010 12:01 PM, Frank Cox wrote:
> Looking at some of the stuff in /etc/logrotate.d, I see entries like this in
> some of the configuration files:
>
> postrotate
>   /sbin/service privoxy reload  2>  /dev/null || true
>
>> From the commandline, that doesn't work:
>
> # /sbin/service privoxy reload  2>  /dev/null || true
> Usage: /etc/init.d/privoxy {start|stop|restart}
>
> Changing reload to restart does work:
>
> ]# /sbin/service privoxy restart 2>  /dev/null || true
> Stopping Privoxy, OK.
> Starting Privoxy, OK.
>
> I find "reload" in the httpd logrotate file as well:
>
> postrotate
>  /sbin/service httpd reload>  /dev/null 2>/dev/null || true
>
> What am I failing to understand?

You're not failing to understand anything.  The init.d/privoxy script
you have is broken.  While https://bugzilla.redhat.com/show_bug.cgi?id=597732
was reported against a different problem, the corrected initscript it
contains should fix your problem as well.

It might be worthwhile to report a new bug against privoxy since the
failure to do a reload after logrotate is a more serious problem than
the one reported in #597732.

-- 
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


Re: [CentOS] logrotate.d - reload vs restart

2010-12-28 Thread Robert Nichols
On 12/28/2010 10:13 AM, Robert Nichols wrote:
[SNIP]
> You're not failing to understand anything.  The init.d/privoxy script
> you have is broken.  While https://bugzilla.redhat.com/show_bug.cgi?id=597732
> was reported against a different problem, the corrected initscript it
> contains should fix your problem as well.
>
> It might be worthwhile to report a new bug against privoxy since the
> failure to do a reload after logrotate is a more serious problem than
> the one reported in #597732.

Forgot what mailing list I was reading.  Sorry.  Looks like the same
problem as in the Fedora bugzilla, though.

-- 
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


Re: [CentOS] Kickstart Network Configuration Issues

2010-12-28 Thread Nico Kadel-Garcia
On Tue, Dec 28, 2010 at 10:59 AM, Daniel Theisen  wrote:
> Hello all,
> I've been struggling with an issue with my kickstart configuration for a 
> while now. My kickstart files are stored within the initrd image. What I 
> would like to do here, is when the kickstart first starts up, I want it to 
> grab a DHCP address (it does at the moment) so it can grab all of the 
> necessary installation data off the net. Then, at some point _IN_ the install 
> process, I'd like to have it query for manually input network settings. Here 
> is my current kickstart script:

This is a common setup. My suggested approach is to always use DHCP,
and set DHCP reservations on your DHCP server to consistently assign
the same IP to the same client's MAC address. That way, you can assign
the IP and hostname in your local DNS or /etc/hosts or NIS hosts table
or whatever, and get it set consistently.

The only missing feature this way for CentOS 5 is the list of
automatic search domains, for which the network setup tools provide no
DHCP compatible hook and the DHCP is too old to follow the years-old
RFC and handle multiple searchable domains. The answer to that is to
manually put a "SEARCH" setting in /etc/sysconfig/network.

>  url --url=http://mirror.nexcess.net/CentOS/5.5/os/x86_64/

If you're going to be doing this a lot, set up a local CentOS mirror
and take most of the load off the external servers. It's a lot of
bandwidth to be eating all the time for rebuilds.

>  %post
>  echo "nameserver 4.2.2.1" > /etc/resolv.conf
>  echo "nameserver 8.8.8.8" >> /etc/resolv.conf
>
>  # write netconfig script
>  cat << EOF > /bin/netconfig
>  #!/bin/bash
>  # check if user is root
>  if [[ \$EUID -ne 0 ]]; then
>      echo "This script must be run as root" 1>&2
>      exit 1
>  fi
>  # run system-config-network-tui
>  /usr/sbin/system-config-network-tui


You can set up the eth0/eth1/etc. ports entirely from the output of
"/sbin/ifconfig". If folks like, I'll try to dig up my tools.

The "system-config-network-tui" script is, sadly, pretty useless for
auto-provisioning. None of RHEL's upstream tools have support for
configuring pair bonding or network bridging correctly, which is
pretty important for servers or KVM virtualization server setups.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] logrotate.d - reload vs restart

2010-12-28 Thread Frank Cox
On Tue, 28 Dec 2010 10:13:45 -0600
Robert Nichols wrote:

> It might be worthwhile to report a new bug against privoxy since the
> failure to do a reload after logrotate is a more serious problem than
> the one reported in #597732.

This is  privoxy rpm that I created myself by copying the spec file from
a Fedora srpm and substituting the latest version (3.0.17) of privoxy.

The logrotate configuration file for privoxy disappeared in the latest version
so I had to copy it in from an older version and haven't yet gotten around to
figuring out how to integrate it into the rpm properly.

Since the rpm I'm using isn't "official" but rather is just something I've
slapped together I don't think a bug report would be particularly useful.

I got tired of privoxy crashing and want to see if a substantially newer
version will crash less.

The behaviour with system-config-services varies under Centos from what is
contained in that bug report.  Using the init  file that came with the source
tarball I see that system-config-services doesn't even try to report its
status, but rather simply says "Usage: /etc/init.d/privoxy {start|stop|
restart}" in the Status window.



-- 
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Server unresponsive until reboot, memory exhausted

2010-12-28 Thread Nico Kadel-Garcia
On Tue, Dec 28, 2010 at 9:59 AM, james  wrote:
> I'm having an issue with an apache web server running the latest CentOS5
> kernel (this issue is not new to the kernel). After a few days/weeks of
> running the server will become unresponsive and will require a physical
> reboot in order to come back online. The system is so unresponsive when the
> issue occurs that login at console is not even possible.

Do you have everything *else* updated? And what kind of web service
are you running?

There's a lot of third party freeware and commercial tools that was
not written with any kind of resource management in mind, and which
may require a simple web server restart on a regular baris to free
memory. (MusicBrainz: I remember porting MusicBrainz.)

> I have atop installed and have looked back before the crash to see what
> happened process wise and I can see the http starts using a lot of memory
> and CPU usage. The vmcommit jumps from 1.8 GB to 4.8GB in a matter of a few
> minutes. The VSIZE of the httpd process jumps from 8.1GB to 36.9GB. So
> apache is doing something -- but how can I get historical data for this? I

Look in /var/log/http/*.

> also see that paging is very active, probably why the server is
> unresponsive. I have looked through the apache logs and system logs and
> there is nothing obvious that is consuming all that memory. I know of the
> server-status module for apache but that is only useful if you can get to
> the server during the crash (I can't) and doesn't have any historical data.
>
> The issue occurs seemingly randomly, last time in the middle of the night
> with little or no user traffic.

Do you have a search engine scanning your web server?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Hello

2010-12-28 Thread portablemanagement
Hello I need a clean link for a Cent us download please I don't want to risk 
any virus'. 
Thank you kindly for such a wonderful program!

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


Re: [CentOS] Hello

2010-12-28 Thread Mike Burger
Did you try the mirror list located on the CentOS site?

> Hello I need a clean link for a Cent us download please I don't want to
> risk any virus'.
> Thank you kindly for such a wonderful program!
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscr...@bubbanfriends.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Hello

2010-12-28 Thread Les Mikesell
On 12/28/10 10:53 AM, portablemanagem...@yahoo.com wrote:
> Hello I need a clean link for a Cent us download please I don't want to risk 
> any virus'.
> Thank you kindly for such a wonderful program!

Any of the mirrors listed in the download link here
http://centos.org/
should be good, but the sha1sums are listed in the release notes here:
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.5
Verify them to be sure your download is correct.

-- 
   Les Mikesell
lesmikes...@gmail.com



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


Re: [CentOS] Hello

2010-12-28 Thread Nico Kadel-Garcia
On Tue, Dec 28, 2010 at 11:53 AM,   wrote:
> Hello I need a clean link for a Cent us download please I don't want to risk 
> any virus'.
> Thank you kindly for such a wonderful program!

For best speed, use the Bittorrent links and verify the checksums
against those published at www.centos.org. You can also buy a set of
DVD's at www.centos.org, which can save a lot of household bandwitdh.

You can also extract the CD or DVD contents into a local mirror to
save local bandwidth quite a lot.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Fixing filenames with directories with spaces in the names

2010-12-28 Thread Jay Leafey

Craig White wrote:

Should be simple and perhaps I'm tired but it's not coming to me.

In its simplest form...

for old in `cat "$FILENAME"`;do
  echo "$old"
  dirname "$old"
  new="$(echo $old | sed 's/\*/\-/')"
done

I'm trying to take out some stupid Macintosh things - in this case
filenames with asterisks but I have others like tilde's and probably
others that I haven't come across.



I found a nice little Perl script named "cmv" that will do all sorts of 
file name transformations along the lines you were discussing.  You can 
get it at http://felix.canids.net/plaintext/cmv


Essentially you pass it a Perl regular expression string and a list of 
files to use the string upon.  If you wanted to replace all occurrences 
whitespace with a single hyphen for the files in a directory:


cmv 's/\s+/-/g' *

This would find all instances of one or more white space characters and 
replace them with a single hyphen for every file in the current 
directory.  I've used this for about a year now and it has worked great.


Hope that helps!
--
Jay Leafey - jay.lea...@mindless.com
Memphis, TN


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


Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-28 Thread John R Pierce
On 12/28/10 4:13 AM, robert mena wrote:
> Hi,
>
> I am looking for dual or quad fast ethernet NICs that work with 
> CentOS.  There is no need for high performance so regular fast/pci is ok.
>

what bus interface?almost all NIC's made today except the really 
bottom barrel ones are gigE, and quad gigE cards are only going to be on 
pci-X or PCI-Express-x4, not 32bit 33Mhz PCI.   Even quad 100baseT NICs 
were likely on 64bit 66Mhz PCI (compatible with PCI-X, but not desktop 
32bit 33Mhz PCI.


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


Re: [CentOS] Fixing filenames with directories with spaces in the names

2010-12-28 Thread David G . Miller
Craig White  writes:

> 
> Should be simple and perhaps I'm tired but it's not coming to me.
> 
> In its simplest form...
> 
> for old in `cat "$FILENAME"`;do
>   echo "$old"
>   dirname "$old"
>   new="$(echo $old | sed 's/\*/\-/')"
> done
> 
> I'm trying to take out some stupid Macintosh things - in this case
> filenames with asterisks but I have others like tilde's and probably
> others that I haven't come across.
> 
> Anyway, $FILENAME has...
> 
> /tmp/New Woman In Field/*NEW woman in field.psd
> /tmp/New Woman In Field/*NEW woman in field 2.eps
> /tmp/New Woman In Field/*NEW woman in field 2.psd
> 
> and the echoes are broken with spaces like this (which of course doesn't
> work)...
> 
> /tmp/New
> /tmp
> /tmp/New
> Woman
> .
> Woman
> In
> .
> In
> Field/*NEW
> Field
> Field/-NEW
> woman
> .
> woman
> in
> .
> in
> field.psd
> 

I'm more of a c-shell guy but a "for loop" uses white space (either newline or
space) as the delimiter.  One of the other responses suggested an alternative
loop construct.  Alternatively, the find command with the appropriate commands
in either a script file or just following a -exec.  Something like:

find . -type f -exec `new = `echo {} | tr [bad chars] [replace]`; mv {} $new;
echo "old: {} new: $new" \;

The above needs lots of work but this way you don't have to visit each 
directory.

Cheers,
Dave

Cheers,
Dave




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


Re: [CentOS] Kickstart Network Configuration Issues

2010-12-28 Thread Daniel Theisen
> This is a common setup. My suggested approach is to always use DHCP,
> and set DHCP reservations on your DHCP server to consistently assign
> the same IP to the same client's MAC address. That way, you can assign
> the IP and hostname in your local DNS or /etc/hosts or NIS hosts table
> or whatever, and get it set consistently.
This wouldn't be an issue if our network was built out with static DHCP in 
mind. We have over 1000 servers that already have manually assigned static IP 
addresses. The switch to static DHCP would be way too huge of an effort for a 
simple problem like this

> >  url --url=http://mirror.nexcess.net/CentOS/5.5/os/x86_64/
> 
> If you're going to be doing this a lot, set up a local CentOS mirror
> and take most of the load off the external servers. It's a lot of
> bandwidth to be eating all the time for rebuilds.
This IS a local mirror.
 
> You can set up the eth0/eth1/etc. ports entirely from the output of
> "/sbin/ifconfig". If folks like, I'll try to dig up my tools.

Could you, it might be helpful to me :)

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


Re: [CentOS] 2 Ethernet cabling question

2010-12-28 Thread Morten Torstensen
On 28.12.2010 15:20, Bowie Bailey wrote:
> The colors are not important aside from standardization.  If you need to
> fix one end of the cable, you have to make sure it's the same as the
> other end.  If you use the standard color scheme, that is not a problem.

Not sure if that is true. I've always been told that the particular 
pin-layout is to reduce crosstalk.

Ref. http://en.wikipedia.org/wiki/568A#Wiring

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


Re: [CentOS] 2 Ethernet cabling question

2010-12-28 Thread Bowie Bailey
On 12/28/2010 2:51 PM, Morten Torstensen wrote:
> On 28.12.2010 15:20, Bowie Bailey wrote:
>> The colors are not important aside from standardization.  If you need to
>> fix one end of the cable, you have to make sure it's the same as the
>> other end.  If you use the standard color scheme, that is not a problem.
> Not sure if that is true. I've always been told that the particular 
> pin-layout is to reduce crosstalk.
>
> Ref. http://en.wikipedia.org/wiki/568A#Wiring

Right.  That's what I explained in the part of my post that you did not
quote.  :)

The colors do not matter.  What matters is the pairs.

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


Re: [CentOS] Kickstart Network Configuration Issues

2010-12-28 Thread Les Mikesell
On 12/28/10 1:41 PM, Daniel Theisen wrote:
>> This is a common setup. My suggested approach is to always use DHCP,
>> and set DHCP reservations on your DHCP server to consistently assign
>> the same IP to the same client's MAC address. That way, you can assign
>> the IP and hostname in your local DNS or /etc/hosts or NIS hosts table
>> or whatever, and get it set consistently.
> This wouldn't be an issue if our network was built out with static DHCP in 
> mind. We have over 1000 servers that already have manually assigned static IP 
> addresses. The switch to static DHCP would be way too huge of an effort for a 
> simple problem like this

You wouldn't have to change anything on already-assigned servers - just include 
the known mac/ip pairs in your dhcp setup so they will be correct when you 
reinstall next time.

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


Re: [CentOS] logrotate.d - reload vs restart

2010-12-28 Thread Robert Nichols
On 12/28/2010 10:49 AM, Frank Cox wrote:
> On Tue, 28 Dec 2010 10:13:45 -0600
> Robert Nichols wrote:
>
>> It might be worthwhile to report a new bug against privoxy since the
>> failure to do a reload after logrotate is a more serious problem than
>> the one reported in #597732.
>
> This is  privoxy rpm that I created myself by copying the spec file from
> a Fedora srpm and substituting the latest version (3.0.17) of privoxy.
>
> The logrotate configuration file for privoxy disappeared in the latest version
> so I had to copy it in from an older version and haven't yet gotten around to
> figuring out how to integrate it into the rpm properly.
>
> Since the rpm I'm using isn't "official" but rather is just something I've
> slapped together I don't think a bug report would be particularly useful.
>
> I got tired of privoxy crashing and want to see if a substantially newer
> version will crash less.
>
> The behaviour with system-config-services varies under Centos from what is
> contained in that bug report.  Using the init  file that came with the source
> tarball I see that system-config-services doesn't even try to report its
> status, but rather simply says "Usage: /etc/init.d/privoxy {start|stop|
> restart}" in the Status window.

That's the problem that was reported in the Fedora bugzilla.  What you've
built is an RPM with a logrotate.d file that requests an action ("reload")
that the init.d file does not support.  It doesn't work, but the logrotate.d
file is ignoring the error and discarding the error message.
system-config-services is having a problem because the "status" action is
not supported.  If you were to substitute the more complete init.d file
that was attached to that bug report, I believe that would take care of
both the logrotate problem and the status report problem.

-- 
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


Re: [CentOS] Server unresponsive until reboot, memory exhausted

2010-12-28 Thread james
>Do you have everything *else* updated? And what kind of web service
>are you running?

>There's a lot of third party freeware and commercial tools that was
>not written with any kind of resource management in mind, and which
>may require a simple web server restart on a regular baris to free
>memory. (MusicBrainz: I remember porting MusicBrainz.)

Yes, all the packages are up to date. General web services -- static HTML, 
and the rest is mainly wordpress. 

You may be right about the restart, but I would like to know WHAT is 
crashing my web server regardless. We are not running any shiftily coded 
sites or apps on this server that I'm aware of (obviously something is 
shifty!). Is anyone aware of any other methods for drilling into the 
problem?

>Look in /var/log/http/*.

Yes, these are the web server logs I am referring to having checked. 

>Do you have a search engine scanning your web server?

Hmm, no, nothing systematic. The usual crawlers out there but nothing we 
are doing. 
___
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] appliance to embed Centos

2010-12-28 Thread Nataraj
I'm looking for some kind of appliance like box, maybe something like
this:http://www.soekris.com/net5501.htm on which I could deploy iptables
based firewall/openvpn/DNS and other local network services in a wide
area network.  I would probably install on a flash device.  I would
prefer something that was relatively easy to install on, or at least has
been used with CentOS before, where I'm not needing to pull my hair out
finding working drivers, building custom kernels etc. 

Though I might spend time down the road to come up with an extremely
minimal install, for rapid deployment in the first round, I'd like to be
able to do a pretty standard install and have a full featured CentOS
system that I could logon to and use for local network administrative tasks.

I could use something like a Mac mini, but my sense is there are are
probably less expensive and more suitable devices. 

- Two ethernet interfaces
- working drivers for CentOS
- flash
- enterprise quality (i.e. not some flakey little home router device)
- fast enough to do openvpn encryption on WAN links ranging from 50mb to
100mb

Though I do want enterprise quality, my sense is to make the device
affordable enough that I could keep spares on site for backup purposes.

I would appreciate anyones experience with deploying such a setup.


Thanks,
Nataraj

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


Re: [CentOS] Server unresponsive until reboot, memory exhausted

2010-12-28 Thread Nataraj
On 12/28/2010 01:41 PM, james wrote:
> >Do you have everything *else* updated? And what kind of web service
> >are you running?
>
> >There's a lot of third party freeware and commercial tools that was
> >not written with any kind of resource management in mind, and which
> >may require a simple web server restart on a regular baris to free
> >memory. (MusicBrainz: I remember porting MusicBrainz.)
>
> Yes, all the packages are up to date. General web services -- static
> HTML, and the rest is mainly wordpress.
>
> You may be right about the restart, but I would like to know WHAT is
> crashing my web server regardless. We are not running any shiftily
> coded sites or apps on this server that I'm aware of (obviously
> something is shifty!). Is anyone aware of any other methods for
> drilling into the problem?
>
> >Look in /var/log/http/*.
>
> Yes, these are the web server logs I am referring to having checked.
>
> >Do you have a search engine scanning your web server?
>
> Hmm, no, nothing systematic. The usual crawlers out there but nothing
> we are doing.
> ___
> 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

I think the answer will come from analyzing your log files and possibly
running something under cron (or in a shell script that wakes up
periodically) to gather memory/resource utilization.  Even look at a web
log analyzer, like analog and see if there is a correlation between web
server hits and resource usage.  You could also try upgrading your web
server/plugins or checking bugzilla for related bugs.

Nataraj

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


Re: [CentOS] Problems with motherboard support? INTEL DP43BF

2010-12-28 Thread Fernando Gleiser


- Original Message 
> From: John R Pierce 
> To: centos@centos.org
> Sent: Tue, December 28, 2010 2:59:09 AM
> Subject: Re: [CentOS] Problems with motherboard support? INTEL DP43BF
> 
> On 12/27/10 9:09 PM, robert mena wrote:
> > Regular realtek fast  ethernet.
> 
> IMNSHO, realtek are pretty close to junk grade NICs.they have far too 
> many variations with far too many weird bugs when used for  any more than 
> single user desktop kind of systems.
> 

rl nics are toy nics. I wouldn't use them on production servers unless I have 
no 
choice

For some reasons, see this, textually from FreeBSD's 5.4 if_rl.c:

/*
 * The RealTek 8139 PCI NIC redefines the meaning of 'low end.' This is
 * probably the worst PCI ethernet controller ever made, with the possible
 * exception of the FEAST chip made by SMC. The 8139 supports bus-master
 * DMA, but it has a terrible interface that nullifies any performance
 * gains that bus-master DMA usually offers.
 *
 * For transmission, the chip offers a series of four TX descriptor
 * registers. Each transmit frame must be in a contiguous buffer, aligned
 * on a longword (32-bit) boundary. This means we almost always have to
 * do mbuf copies in order to transmit a frame, except in the unlikely
 * case where a) the packet fits into a single mbuf, and b) the packet
 * is 32-bit aligned within the mbuf's data area. The presence of only
 * four descriptor registers means that we can never have more than four
 * packets queued for transmission at any one time.
 *
 * Reception is not much better. The driver has to allocate a single large
 * buffer area (up to 64K in size) into which the chip will DMA received
 * frames. Because we don't know where within this region received packets
 * will begin or end, we have no choice but to copy data from the buffer
 * area into mbufs in order to pass the packets up to the higher protocol
 * levels.
 *


sadly, things hadn't improved since then


Fer


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


[CentOS] Network communication between hosts

2010-12-28 Thread derleader __
 
Hi,


 I need advice about developing C++ program. I need to develop 2 application 
which must communicate via network using SSL encryption. The problem is in 
which format to exchange the data. I can use XML format to exchange data 
between the hosts but a lot traffic will be generated. What are the usual 
practices to exchange data between the hosts?

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


Re: [CentOS] Network communication between hosts

2010-12-28 Thread John R Pierce
On 12/28/10 4:09 PM, derleader __ wrote:
>  Hi,
>I need advice about developing C++ program. I need to develop 2 
> application which must communicate via network using SSL encryption. 
> The problem is in which format to exchange the data. I can use XML 
> format to exchange data between the hosts but a lot traffic will be 
> generated. What are the usual practices to exchange data between the 
> hosts?

rather offtopic for this list.but...

XML is about the most inefficient format imaginable, typically exploding 
your data to many times its original size, especially if it has lots of 
small fields

what format is the data in now that you're exchanging?  I'd want to use 
something close to the native format of the data.   if performance is 
important, you'll want to transmit the data in binary as close to its 
native format as possible.   if its complex structured data such as is 
often expressed in XML, you could look at defining a binary interchange 
format with JSON or ASN.1, but I'd be more inclined to roll my own 
simple binary message format since its just between your own two programs.




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


Re: [CentOS] Network communication between hosts

2010-12-28 Thread derleader __
 Thank you for the reply.


 The data is not so much - CPU utilization, RAM utilization, List of installed 
software, list of users and so on. The information is not so much. What are the 
options for this task is there a C++ library that I can use to convert the data 
and then to transfer if via network?

Regards 
Peter


  >>I need advice about developing C++ program. I need to develop 2 
 >> application which must communicate via network using SSL encryption. 
 >> The problem is in which format to exchange the data. I can use XML 
 >> format to exchange data between the hosts but a lot traffic will be 
 >> generated. What are the usual practices to exchange data between the 
 >> hosts?
 >
 >rather offtopic for this list.but...
 >
 >XML is about the most inefficient format imaginable, typically exploding 
 >your data to many times its original size, especially if it has lots of 
 >small fields
 >
 >what format is the data in now that you're exchanging?  I'd want to use 
 >something close to the native format of the data.   if performance is 
 >important, you'll want to transmit the data in binary as close to its 
 >native format as possible.   if its complex structured data such as is 
 >often expressed in XML, you could look at defining a binary interchange 
 >format with JSON or ASN.1, but I'd be more inclined to roll my own 
 >simple binary message format since its just between your own two programs.
 >
 >
 >
 >
 >___
 >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] Server unresponsive until reboot, memory exhausted

2010-12-28 Thread William Warren

On 12/28/2010 5:18 PM, Nataraj wrote:

On 12/28/2010 01:41 PM, james wrote:

>Do you have everything *else* updated? And what kind of web service
>are you running?

>There's a lot of third party freeware and commercial tools that was
>not written with any kind of resource management in mind, and which
>may require a simple web server restart on a regular baris to free
>memory. (MusicBrainz: I remember porting MusicBrainz.)

Yes, all the packages are up to date. General web services -- static 
HTML, and the rest is mainly wordpress.


You may be right about the restart, but I would like to know WHAT is 
crashing my web server regardless. We are not running any shiftily 
coded sites or apps on this server that I'm aware of (obviously 
something is shifty!). Is anyone aware of any other methods for 
drilling into the problem?


>Look in /var/log/http/*.

Yes, these are the web server logs I am referring to having checked.

>Do you have a search engine scanning your web server?

Hmm, no, nothing systematic. The usual crawlers out there but nothing 
we are doing.

___
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


I think the answer will come from analyzing your log files and 
possibly running something under cron (or in a shell script that wakes 
up periodically) to gather memory/resource utilization.  Even look at 
a web log analyzer, like analog and see if there is a correlation 
between web server hits and resource usage.  You could also try 
upgrading your web server/plugins or checking bugzilla for related bugs.


Nataraj


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
What's your http.conf?  There's an setting where you can limit the 
amount of time a process/thread stays alive..you can limit ram usage by 
lowering that value.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Network communication between hosts

2010-12-28 Thread Robert Heller
At Wed, 29 Dec 2010 02:28:48 +0200 (EET) CentOS mailing list 
 wrote:

> 
> 
> 
>  Thank you for the reply.
> 
> 
>  The data is not so much - CPU utilization, RAM utilization, List of 
> installed software, list of users and so on. The information is not so much. 
> What are the options for this task is there a C++ library that I can use to 
> convert the data and then to transfer if via network?

You might really do better using a scripting language, such as Tcl,
Perl, or Python.  Doing socket-level I/O (with or without SSL) in C or
C++ is a non-trivial process.


> 
> Regards 
> Peter
> 
> 
>   >>I need advice about developing C++ program. I need to develop 2 
>  >> application which must communicate via network using SSL encryption. 
>  >> The problem is in which format to exchange the data. I can use XML 
>  >> format to exchange data between the hosts but a lot traffic will be 
>  >> generated. What are the usual practices to exchange data between the 
>  >> hosts?
>  >
>  >rather offtopic for this list.but...
>  >
>  >XML is about the most inefficient format imaginable, typically exploding 
>  >your data to many times its original size, especially if it has lots of 
>  >small fields
>  >
>  >what format is the data in now that you're exchanging?  I'd want to use 
>  >something close to the native format of the data.   if performance is 
>  >important, you'll want to transmit the data in binary as close to its 
>  >native format as possible.   if its complex structured data such as is 
>  >often expressed in XML, you could look at defining a binary interchange 
>  >format with JSON or ASN.1, but I'd be more inclined to roll my own 
>  >simple binary message format since its just between your own two programs.
>  >
>  >
>  >
>  >
>  >___
>  >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] 2 Ethernet cabling question

2010-12-28 Thread Drew
> The colors do not matter.  What matters is the pairs.

And every person who comes after you will curse your work because
*both* the colors *and* the pairs are part of the 568A/B standard.

In my shop if you tried that you'd be very quickly looking for work
elsewhere. ;-)


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread Drew
Hi Nataraj,

Take a look at the Intel Atom platform. The D510MO & D945GCLF2D run
beautifully under CentOS and I've used both as firewalls in the past.
Another linux based firewall system I use has users reporting the two
boards above supporting AV, Content Filtering (proxy), etc on 50Mbps
FIOS connections down in the states.

If you want multiple onboard nics, the Jetway boards are also
supposedly decent. I've never used one but users from the same site
have reported sucess with these boards, and the optional 3x1GB nic
still fits within the ATX backplate.

Only downside to these boards, both Intel & Jetway, is they seem to
prefer Realtek chipsets onboard. Jetway I understand because of price
points. Intel I don't as the Pro/1000 is a rock solid nic. That said,
I've never had a problem with flaky drivers or hardware from Realtek.
Maybe I'm just lucky. :-)


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread John R Pierce
On 12/28/10 1:55 PM, Nataraj wrote:
>
> - fast enough to do openvpn encryption on WAN links ranging from 50mb 
> to 100mb

THAT is a tough requirement.


I was going to recommend the Alix boards.  they run pfSense really 
nicely, and should be able to run a stripped down centos install OK.
with pfSense, you can boot from a CF card, so no HD at all.

The Alix cards use a 433-500Mhz AMD Geode ultra-low power processor, on 
a 6x6 card.  they use 5 watts fully configured.

but, 100Mbit/sec SSL encryption, ouch.don't know.   you'd probably 
have to benchmark that.



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


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread Eero Volotinen
2010/12/29 John R Pierce :
> On 12/28/10 1:55 PM, Nataraj wrote:
>>
>> - fast enough to do openvpn encryption on WAN links ranging from 50mb
>> to 100mb
>
> THAT is a tough requirement.
>
>
> I was going to recommend the Alix boards.  they run pfSense really
> nicely, and should be able to run a stripped down centos install OK.
> with pfSense, you can boot from a CF card, so no HD at all.
>
> The Alix cards use a 433-500Mhz AMD Geode ultra-low power processor, on
> a 6x6 card.  they use 5 watts fully configured.
>
> but, 100Mbit/sec SSL encryption, ouch.    don't know.   you'd probably
> have to benchmark that.

you need hardware encryption hardware or core2duo like processor ..

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


Re: [CentOS] Network communication between hosts

2010-12-28 Thread Les Mikesell
On 12/28/10 6:28 PM, derleader __ wrote:
> Thank you for the reply.
> The data is not so much - CPU utilization, RAM utilization, List of installed
> software, list of users and so on. The information is not so much. What are 
> the
> options for this task is there a C++ library that I can use to convert the 
> data
> and then to transfer if via network?

Most of that is already available via snmp.  Are you sure you need to re-invent 
it?

-- 
   Les Mikesell
lesmikes...@gmail.com


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


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread Nataraj
On 12/28/2010 09:04 PM, Eero Volotinen wrote:
> 2010/12/29 John R Pierce :
>> On 12/28/10 1:55 PM, Nataraj wrote:
>>> - fast enough to do openvpn encryption on WAN links ranging from 50mb
>>> to 100mb
>> THAT is a tough requirement.
>>
>>
>> I was going to recommend the Alix boards.  they run pfSense really
>> nicely, and should be able to run a stripped down centos install OK.
>> with pfSense, you can boot from a CF card, so no HD at all.
>>
>> The Alix cards use a 433-500Mhz AMD Geode ultra-low power processor, on
>> a 6x6 card.  they use 5 watts fully configured.
>>
>> but, 100Mbit/sec SSL encryption, ouch.don't know.   you'd probably
>> have to benchmark that.
> you need hardware encryption hardware or core2duo like processor ..
>
> --
> Eero
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Then the Mac mini might be what I need performancewise.  I am also
considering Dell R210's as I would really like an enterprise solution.  
Anyone have any experience with Habey? 
http://www.habeyusa.com/products.php?id=125#Menu=ChildMenu124 They have
a wide selection of barebones Intel Atoms, including the 1.8Ghz  Intel
D525's as well as Pentium 4's with broadcom ethernets and systems with
up to 6 ethernets.  My sense is that I will still use some of these
systems for firewall and management functions (i.e. firewalling Dell
IDRAC6 cards) even if the encryption for the vpn has to run on a faster
box.  50MB would probably be adequate.

Thank you all for your responses.

Nataraj



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


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread Eero Volotinen
2010/12/29 Nataraj :
> On 12/28/2010 09:04 PM, Eero Volotinen wrote:
>> 2010/12/29 John R Pierce :
>>> On 12/28/10 1:55 PM, Nataraj wrote:
 - fast enough to do openvpn encryption on WAN links ranging from 50mb
 to 100mb
>>> THAT is a tough requirement.
>>>
>>>
>>> I was going to recommend the Alix boards.  they run pfSense really
>>> nicely, and should be able to run a stripped down centos install OK.
>>> with pfSense, you can boot from a CF card, so no HD at all.
>>>
>>> The Alix cards use a 433-500Mhz AMD Geode ultra-low power processor, on
>>> a 6x6 card.  they use 5 watts fully configured.
>>>
>>> but, 100Mbit/sec SSL encryption, ouch.    don't know.   you'd probably
>>> have to benchmark that.
>> you need hardware encryption hardware or core2duo like processor ..
>>
>> --
>> Eero
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
> Then the Mac mini might be what I need performancewise.  I am also
> considering Dell R210's as I would really like an enterprise solution.
> Anyone have any experience with Habey?
> http://www.habeyusa.com/products.php?id=125#Menu=ChildMenu124 They have
> a wide selection of barebones Intel Atoms, including the 1.8Ghz  Intel
> D525's as well as Pentium 4's with broadcom ethernets and systems with
> up to 6 ethernets.  My sense is that I will still use some of these
> systems for firewall and management functions (i.e. firewalling Dell
> IDRAC6 cards) even if the encryption for the vpn has to run on a faster
> box.  50MB would probably be adequate.

take a look at: http://www.mini-itx.com/store/ and
http://www.mini-itx.com/store/?c=40

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


Re: [CentOS] 2 Ethernet cabling question

2010-12-28 Thread Raymond Lillard
On 12/28/2010 08:01 PM, Drew wrote:
>> The colors do not matter.  What matters is the pairs.
>
> And every person who comes after you will curse your work because
> *both* the colors *and* the pairs are part of the 568A/B standard.
>
> In my shop if you tried that you'd be very quickly looking for work
> elsewhere. ;-)

Electrically it matters also.  If you want to be able to
have the cable usable to the full distance specified by the
standard, colors matter.  The reason is placement in the
bundle and crosstalk between the pairs.

For very short patch cables it would not matter, electrically.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread Eero Volotinen
> take a look at: http://www.mini-itx.com/store/ and
> http://www.mini-itx.com/store/?c=40

http://ocf-linux.sourceforge.net/ possibly also helps on smp systems
(dualcore) with openvpn aes encryption

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


Re: [CentOS] appliance to embed Centos

2010-12-28 Thread Nataraj
On 12/28/2010 10:32 PM, Eero Volotinen wrote:
> 2010/12/29 Nataraj :
>> On 12/28/2010 09:04 PM, Eero Volotinen wrote:
>>> 2010/12/29 John R Pierce :
 On 12/28/10 1:55 PM, Nataraj wrote:
> - fast enough to do openvpn encryption on WAN links ranging from 50mb
> to 100mb
 THAT is a tough requirement.


 I was going to recommend the Alix boards.  they run pfSense really
 nicely, and should be able to run a stripped down centos install OK.
 with pfSense, you can boot from a CF card, so no HD at all.

 The Alix cards use a 433-500Mhz AMD Geode ultra-low power processor, on
 a 6x6 card.  they use 5 watts fully configured.

 but, 100Mbit/sec SSL encryption, ouch.don't know.   you'd probably
 have to benchmark that.
>>> you need hardware encryption hardware or core2duo like processor ..
>>>
>>> --
>>> Eero
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>> Then the Mac mini might be what I need performancewise.  I am also
>> considering Dell R210's as I would really like an enterprise solution.
>> Anyone have any experience with Habey?
>> http://www.habeyusa.com/products.php?id=125#Menu=ChildMenu124 They have
>> a wide selection of barebones Intel Atoms, including the 1.8Ghz  Intel
>> D525's as well as Pentium 4's with broadcom ethernets and systems with
>> up to 6 ethernets.  My sense is that I will still use some of these
>> systems for firewall and management functions (i.e. firewalling Dell
>> IDRAC6 cards) even if the encryption for the vpn has to run on a faster
>> box.  50MB would probably be adequate.
> take a look at: http://www.mini-itx.com/store/ and
> http://www.mini-itx.com/store/?c=40
>
> --
> Eero
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
Yes, that site kept coming up in my google searches. They are in the UK,
but they do have quite a large selection and they are all custom
configurable.  Unfortunately, their celeron system, with shipping to the
US cost me, $700 as much as a Mac Mini with a core 2 Duo and there are
better service options for the Mac Mini in the US, though the Celeron is
an industrial rackmount solution.   I wouldn't really call the Mac Mini
an Enterprise solution.

For $650 I could get a basic Dell R210 with an X3430 2.4Ghz dual core
Xeon.  For $500 I could get the R210 with a Celeron.  I guess Dell wins
on this one.  I suppose one real advantage of these small embedded
appliances, if they are fast enough for the application, is very low
power consumption.  I like that for my home firewall.  Another advantage
is they are easy to ship around.


Thanks,
Nataraj


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