Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-05-06 Thread Rudi Ahlers
What about the GPG keys?


On Thu, May 6, 2021 at 12:05 PM Christer Solskogen <
christer.solsko...@gmail.com> wrote:

> On 06.05.2021 10:28, Rudi Ahlers wrote:
> > I want to setup a bublic mirror server, yes, but not been successful in
> > getting Debian / Ubuntu mirrors up, yet
> >
>
> You'll only need rsync for that.
>
> --
> chs
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-05-06 Thread Rudi Ahlers
I want to setup a bublic mirror server, yes, but not been successful in
getting Debian / Ubuntu mirrors up, yet

On Tue, Apr 20, 2021 at 11:11 PM Valeri Galtsev 
wrote:

>
>
> On 4/20/21 4:03 PM, Valeri Galtsev wrote:
> >
> >
> > On 4/20/21 3:53 PM, Rudi Ahlers wrote:
> >> ok, so do you simply rsync the repositories from the other distributions
> >> you need?
> >>
> >
>
> I forgot to mention: before mirroring using higher tier repository:
> contact their admin, ask if they do not mind that you will mirror using
> them as a higher tier mirror, and tell them all details: public/private
> mirror, your bandwidth, how often you plan to run sync - and ask them
> what frequency of sync is OK with them.
>
> After you roll out and know all works, if your plan is public mirror,
> next step will be to register your mirror.
>
> All in all, every distribution has HOWTO instruction to become their
> mirror, follow these.
>
> And as always, use web search to find these instructions: duckduckgo is
> your friend.
>
> Valeri
>
> > Short answer: yes.
> >
> > Long answer:
> > Every repository has its own suggestion how to mirror. I do not have
> > Debian mirror, my friend sysadmin in the next building maintains one, no
> > need for two in the same institution. Here in my cron job script for
> > mirroring CentOS (with some local details obfuscated):
> >
> > #==
> > #!/usr/local/bin/bash
> > # We use locks...
> >
> > touch=/usr/bin/touch
> > echo=/bin/echo
> > ps=/bin/ps
> > cat=/bin/cat
> > grep=/usr/bin/grep
> > wc=/usr/bin/wc
> > rm=/bin/rm
> > sendmail=/usr/sbin/sendmail
> > date=/bin/date
> > rsync=/usr/local/bin/rsync
> > # DEFAULTS
> > ADDR=recipient@server
> > FROM=sender@hostingmirror
> > lockfile=/.../lock/centosmirror.lock
> > mirror=/.../mirror/centos
> > logfile=/.../mirrorlog/centos.log
> >
> > # check if log file exists, and create if not
> >
> > if [ ! -f $logfile ]; then
> > $touch $logfile
> > fi
> >
> > # check if lock exists, then bale out sending warning,
> > # otherwise rsync
> >
> > if [ -f $lockfile ]; then
> >
> > # check if the process resembling lock still exists,
> > # if not, just delete lock
> >
> > if [ "$($ps -p `$cat $lockfile` | $wc -l)" -gt 1 ]; then
> >
> > # Send the message
> > (
> > $echo "From: $FROM"
> > $echo "To: $ADDR"
> > $echo "Subject: CentOS mirror failed"
> > $echo ""
> > $echo "CentOS mirror process bailed out as there is another process"
> > $echo "with the same name and the following PID:"
> > $echo ""
> > $echo "`$cat $lockfile`"
> > echo ""
> > echo "You may want to check logs:"
> > echo ""
> > echo "/.../mirrorlog/centos.log"
> > ) | $sendmail -F $ADDR -t
> >
> > else
> >
> > # no process, just delete the lock, and mirror
> >
> > $rm -f $lockfile
> >
> > $echo $$ > $lockfile
> > $echo "`$date`  started mirroring" >> $logfile
> > $rsync -aqH --exclude .~tmp~/ --exclude .~tmp~ --delete
> > us-msync.centos.org::CentOS /data/mirror/centos
> > $echo "`$date`  finished mirroring" >> $logfile
> > $rm $lockfile
> >
> > fi
> >
> > else
> >
> > $echo $$ > $lockfile
> > $echo "`$date`  started mirroring" >> $logfile
> > $rsync -aqH --exclude .~tmp~/ --exclude .~tmp~ --delete
> > us-msync.centos.org::CentOS /data/mirror/centos
> > $echo "`$date`  finished mirroring" >> $logfile
> > $rm $lockfile
> >
> > fi
> > #
> >
> >> On Tue, Apr 20, 2021 at 3:14 PM Valeri Galtsev
> >> 
> >> wrote:
> >>
> >>>
> >>>
> >>>> On Apr 20, 2021, at 12:34 AM, Rudi Ahlers 
> wrote:
> >>>>
> >>>> Pulp is a bit overkill for my liking.
> >>>>
> >>>
> >>> Coming back to the original question: mirror hosting variety of
> >>> distributions, does not have to have any packaging or other tools
> >>> used by
> >>> those distributions. Public mirror box I support runs FreeBSD, and
> hosts
> >>> mirrors of CentOS, Ubuntu, CPAN, EPEL, …
> >>>
> >>> I hope, this helps.
> >>>
> >>> Valeri
> &

Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-04-20 Thread Rudi Ahlers
ok, so do you simply rsync the repositories from the other distributions
you need?

On Tue, Apr 20, 2021 at 3:14 PM Valeri Galtsev 
wrote:

>
>
> > On Apr 20, 2021, at 12:34 AM, Rudi Ahlers  wrote:
> >
> > Pulp is a bit overkill for my liking.
> >
>
> Coming back to the original question: mirror hosting variety of
> distributions, does not have to have any packaging or other tools used by
> those distributions. Public mirror box I support runs FreeBSD, and hosts
> mirrors of CentOS, Ubuntu, CPAN, EPEL, …
>
> I hope, this helps.
>
> Valeri
>
> >
> > On Mon, Apr 19, 2021 at 2:44 PM Arnaud Gelly 
> wrote:
> >
> >> Hello,
> >>
> >> Is Pulp not supposed to do what you want : RPM, DEB and more in the same
> >> software ?
> >>
> >> I'm not using Pulp, just reading their website.
> >>
> >> Regards,
> >> --
> >>
> >>
> >>
> >> On Mon, 19 Apr 2021 at 14:26, Rudi Ahlers  wrote:
> >>
> >>> Thank you. This at least point me in the right direction. I don't quite
> >>> want to setup 2 servers, or 2 VM's for this.
> >>>
> >>>
> >>> On Mon, Apr 19, 2021 at 2:03 PM Robert Heller 
> >> wrote:
> >>>
> >>>> At Mon, 19 Apr 2021 08:55:54 +0200 CentOS mailing list <
> >>> centos@centos.org>
> >>>> wrote:
> >>>>
> >>>>>
> >>>>> Hi,
> >>>>>
> >>>>> Does anyone have some instructions on setting up a CentOS server as
> >>>> mirror
> >>>>> for Debian and Ubuntu distributions? I already setup a YUM mirror and
> >>>> this
> >>>>> works fairly well, but cannot seem to figure out how to mirror Debian
> >>> and
> >>>>> Ubuntu repositories.
> >>>>
> >>>> You need to grab a copy of debmirror, which is just a Perl script, so
> >> it
> >>>> should work under CentOS. I don't know where to get a version as a
> >>> tarball
> >>>> --
> >>>> I had an available VM running Ubuntu and just installed it there and
> >> NFS
> >>>> mounted the mirror disk from the CentOS server. There is a config file
> >>> for
> >>>> debmirror to control where you mirror from and just what you mirror
> >>>> (versions,
> >>>> arches, etc.). There is a man page and and example config file.  You
> >> then
> >>>> run
> >>>> debmirror from crontab (eg every day).
> >>>>
> >>>> Unfortunately, the Debian flavor repositories are not structured to
> >> just
> >>>> be
> >>>> rsync'ed like the CentOS repositories.
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>
> >>>> --
> >>>> Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> >>>> Deepwoods Software-- Custom Software Services
> >>>> http://www.deepsoft.com/  -- Linux Administration Services
> >>>> hel...@deepsoft.com   -- Webhosting Services
> >>>>
> >>>> _______
> >>>> CentOS mailing list
> >>>> CentOS@centos.org
> >>>> https://lists.centos.org/mailman/listinfo/centos
> >>>>
> >>>
> >>>
> >>> --
> >>> Kind Regards
> >>> Rudi Ahlers
> >>> Website: http://www.rudiahlers.co.za
> >>> ___
> >>> CentOS mailing list
> >>> CentOS@centos.org
> >>> https://lists.centos.org/mailman/listinfo/centos
> >>>
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> https://lists.centos.org/mailman/listinfo/centos
> >>
> >
> >
> > --
> > Kind Regards
> > Rudi Ahlers
> > Website: http://www.rudiahlers.co.za
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-04-19 Thread Rudi Ahlers
Pulp is a bit overkill for my liking.


On Mon, Apr 19, 2021 at 2:44 PM Arnaud Gelly  wrote:

> Hello,
>
> Is Pulp not supposed to do what you want : RPM, DEB and more in the same
> software ?
>
> I'm not using Pulp, just reading their website.
>
> Regards,
> --
>
>
>
> On Mon, 19 Apr 2021 at 14:26, Rudi Ahlers  wrote:
>
> > Thank you. This at least point me in the right direction. I don't quite
> > want to setup 2 servers, or 2 VM's for this.
> >
> >
> > On Mon, Apr 19, 2021 at 2:03 PM Robert Heller 
> wrote:
> >
> > > At Mon, 19 Apr 2021 08:55:54 +0200 CentOS mailing list <
> > centos@centos.org>
> > > wrote:
> > >
> > > >
> > > > Hi,
> > > >
> > > > Does anyone have some instructions on setting up a CentOS server as
> > > mirror
> > > > for Debian and Ubuntu distributions? I already setup a YUM mirror and
> > > this
> > > > works fairly well, but cannot seem to figure out how to mirror Debian
> > and
> > > > Ubuntu repositories.
> > >
> > > You need to grab a copy of debmirror, which is just a Perl script, so
> it
> > > should work under CentOS. I don't know where to get a version as a
> > tarball
> > > --
> > > I had an available VM running Ubuntu and just installed it there and
> NFS
> > > mounted the mirror disk from the CentOS server. There is a config file
> > for
> > > debmirror to control where you mirror from and just what you mirror
> > > (versions,
> > > arches, etc.). There is a man page and and example config file.  You
> then
> > > run
> > > debmirror from crontab (eg every day).
> > >
> > > Unfortunately, the Debian flavor repositories are not structured to
> just
> > > be
> > > rsync'ed like the CentOS repositories.
> > >
> > > >
> > > >
> > > >
> > >
> > > --
> > > Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> > > Deepwoods Software-- Custom Software Services
> > > http://www.deepsoft.com/  -- Linux Administration Services
> > > hel...@deepsoft.com   -- Webhosting Services
> > >
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> > >
> >
> >
> > --
> > Kind Regards
> > Rudi Ahlers
> > Website: http://www.rudiahlers.co.za
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS are Debian / Ubuntu mirror

2021-04-19 Thread Rudi Ahlers
Thank you. This at least point me in the right direction. I don't quite
want to setup 2 servers, or 2 VM's for this.


On Mon, Apr 19, 2021 at 2:03 PM Robert Heller  wrote:

> At Mon, 19 Apr 2021 08:55:54 +0200 CentOS mailing list 
> wrote:
>
> >
> > Hi,
> >
> > Does anyone have some instructions on setting up a CentOS server as
> mirror
> > for Debian and Ubuntu distributions? I already setup a YUM mirror and
> this
> > works fairly well, but cannot seem to figure out how to mirror Debian and
> > Ubuntu repositories.
>
> You need to grab a copy of debmirror, which is just a Perl script, so it
> should work under CentOS. I don't know where to get a version as a tarball
> --
> I had an available VM running Ubuntu and just installed it there and NFS
> mounted the mirror disk from the CentOS server. There is a config file for
> debmirror to control where you mirror from and just what you mirror
> (versions,
> arches, etc.). There is a man page and and example config file.  You then
> run
> debmirror from crontab (eg every day).
>
> Unfortunately, the Debian flavor repositories are not structured to just
> be
> rsync'ed like the CentOS repositories.
>
> >
> >
> >
>
> --
> Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
> Deepwoods Software-- Custom Software Services
> http://www.deepsoft.com/  -- Linux Administration Services
> hel...@deepsoft.com   -- Webhosting Services
>
> _______
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS are Debian / Ubuntu mirror

2021-04-19 Thread Rudi Ahlers
Hi,

Does anyone have some instructions on setting up a CentOS server as mirror
for Debian and Ubuntu distributions? I already setup a YUM mirror and this
works fairly well, but cannot seem to figure out how to mirror Debian and
Ubuntu repositories.



-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Port forward internal host not working

2020-06-28 Thread Rudi Ahlers
Hi,

I am trying to reach a Raspberry Pi on my physical LAN
(192.168.10.132), via OpenVPN, from the internet.

The Internet host is 154.77.x.x. This is also the OpenVPN router,
10.8.0.1. The Pi is on 10.8.0.203. I am trying to reach port 3000 from
the internet.

>From the CentOS 7 server, I can access the Pi over OpenVPN:

root@ns1:[~]$ telnet 10.8.0.203 3000
Trying 10.8.0.203...
Connected to 10.8.0.203.
Escape character is '^]'.

But from the host IP, I cannot get it to connect:

root@ns1:[~]$  telnet 154.77.x.x 3000
Trying 154.77.x.x ..
telnet: connect to address 154.77.x.x: Connection timed out

I have tried a few different iptables rules, but simply cannot get it working.


As example:

iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8081 -j DNAT --to
10.8.0.202:8081
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 3000 -j DNAT --to
10.8.0.203:3000
iptables -A FORWARD -i eth0 -p tcp --dport 8081 -d 10.8.0.202 -j ACCEPT
iptables -A FORWARD -i eth0 -p tcp --dport 3000 -d 10.8.0.203 -j ACCEPT

iptables -A FORWARD -i tun+ -o eth0 -m state --state
RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i eth0 -o tun+ -m state --state
RELATED,ESTABLISHED -j ACCEPT




-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Accounting package recommendations

2020-06-23 Thread Rudi Ahlers
I have an accountant, but still need todo my part from the business'
end. They don't invoice my clients. Quickbooks works very well, but
keeps me stuck in Windows land.

It's just as well saying I cannot drive a car cause I don't want to
learn how to overhaul the engine, or I cannot be a system admin cause
I don't want to learn how the electronics on the PC boards work.

On Mon, Jun 22, 2020 at 3:24 PM Giles Coochey  wrote:
>
>
> On 22/06/2020 13:57, Rudi Ahlers wrote:
> > I have to say, GnuCash simply doesn't do it for me. As a tech, I don't
> > have time to figure out accounting systems, and I really don't want to
> > have this info on the internet in 3rd party's control.
> >
> >
> >>> On Tue, Jun 9, 2020 at 7:22 PM Rudi Ahlers  wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I am looking for an offline accounting package recommendation, please.
> >>>> I enjoyed using Xero accounting, but need something that's offline,
> >>>> and where the data remains my property. Having used Quickbooks on
> >>>> Windows in the past, I am looking for something similar.
> >>>>
> >>>> Any recommendations?
> >>>>
> >>>> --
> >>>> Kind Regards
> >>>> Rudi Ahlers
> >>>> Website: http://www.rudiahlers.co.za
> >>>>
> >>>>
> Don't take this the wrong way, but if you're looking for an accounting
> solution, but at the same time you don't want to learn how to use a
> perfectly adequate accounting solution, then perhaps all you need is an
> accountant, and not a piece of software.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Accounting package recommendations

2020-06-22 Thread Rudi Ahlers
I have to say, GnuCash simply doesn't do it for me. As a tech, I don't
have time to figure out accounting systems, and I really don't want to
have this info on the internet in 3rd party's control.

On Wed, Jun 10, 2020 at 1:09 PM  wrote:
>
> On Wed, 10 Jun 2020, Gianluca Cecchi wrote:
>
> > On Tue, Jun 9, 2020 at 7:22 PM Rudi Ahlers  wrote:
> >
> >> Hi,
> >>
> >> I am looking for an offline accounting package recommendation, please.
> >> I enjoyed using Xero accounting, but need something that's offline,
> >> and where the data remains my property. Having used Quickbooks on
> >> Windows in the past, I am looking for something similar.
> >>
> >> Any recommendations?
> >>
> >> --
> >> Kind Regards
> >> Rudi Ahlers
> >> Website: http://www.rudiahlers.co.za
> >>
> >>
> > In the past (more than 10 years ago...) I had to work with Sql Ledger and
> > in its forum/mailing list often Quickbooks was cited.
> > I enjoyed it because of being GPL, using perl and PostgreSQL as a
> > background database.
> > It seems a still developed piece of software. Here the home page:
> > https://www.sql-ledger.com/
>
> There also was ledgersmb which is/was a fork of sql-ledger. Both got the job
> done at the time but ledger smb had some enhancements that at the time Dieter
> refused to add.
>
> Keep in mind, I have not looked at either one in about 4 years and have
> no idea what the current status is. My business needs changed so I moved on.
>
> Regards,
>
> --
> Tom m...@tdiehl.org
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Accounting package recommendations

2020-06-09 Thread Rudi Ahlers
Hi,

I am looking for an offline accounting package recommendation, please.
I enjoyed using Xero accounting, but need something that's offline,
and where the data remains my property. Having used Quickbooks on
Windows in the past, I am looking for something similar.

Any recommendations?

-- 
Kind Regards
Rudi Ahlers
Website: http://www.rudiahlers.co.za
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] docker-firewalld

2020-05-31 Thread Rudi Ahlers
As matter of interest, why would you want to run firewalld inside docker?
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Rudi Ahlers invites you to Freelancer.com

2013-02-15 Thread Rudi Ahlers










15 February 2013





Hi,




Rudi Ahlers is inviting you to join Freelancer.com


(http://www.freelancer.com/users/7032909.html?utm_campaign=new_freelancer_inviteutm_medium=emailutm_source=freelancerutm_content=new_freelancer_invite)
Rudi Ahlers 
(http://www.freelancer.com/users/7032909.html?utm_campaign=new_freelancer_inviteutm_medium=emailutm_source=freelancerutm_content=new_freelancer_invite)

15 February 2013

Freelancer.com is the world's largest micro-outsourcing site. We have over 
7,033,080 registered professionals ready to bid on your jobs and produce high 
quality work.
The average job is under $200 USD and you can outsource anything, whether you 
need web design, graphic design, marketing or sales. Turbocharge your business 
today!
Looking for work? We also have the largest network of employers ready to hire 
just about any skill set.
Join Freelancer.com 
(http://www.freelancer.com/friend-invitation/join.php?id=10159224utm_campaign=new_freelancer_inviteutm_medium=emailutm_source=freelancerutm_content=new_freelancer_invite)
 centos@centos.org was invited to join Freelancer.com by Rudi Ahlers.

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


Re: [CentOS] 2way authentication for SSH?

2013-01-28 Thread Rudi Ahlers
On Mon, Jan 28, 2013 at 10:07 AM, Alexander Dalloz ad+li...@uni-x.orgwrote:

 Am 28.01.2013 08:51, schrieb Rudi Ahlers:
  Hi,
 
  Does anyone know of a stable / working 2way authentication system for
  SSH, and even web authentication services?
 
  Most of the banks in South Africa have a system that, when you want to
 make
  a payment, they send you an SMS and you need to verify the action with a
  secret code which was SMS'd to you. gmail also has this.
 
  Does anyone know of a universal plugin / application that can be used
  with SSH and even websites like Wordpress / Joolma / Webmin / etc?
 
 
  Any pointer would be appreciated.

 You may check LinOTP

 http://www.linotp.org/index.php/about

 Don't know your business case, but maybe even the commercially supported
 variant may be of interest for you.

 Regards

 Alexander





Thank you Alexander.

Do you know of any such product which doesn't need LDAP? I've never worked
with LDAP and don't really want to spend time to learn it now.



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 2way authentication for SSH?

2013-01-28 Thread Rudi Ahlers
On Mon, Jan 28, 2013 at 3:35 PM, Robert Moskowitz r...@htt-consult.comwrote:


 On 01/28/2013 02:51 AM, Rudi Ahlers wrote:
  Hi,
 
  Does anyone know of a stable / working 2way authentication system for
  SSH, and even web authentication services?
 
  Most of the banks in South Africa have a system that, when you want to
 make
  a payment, they send you an SMS and you need to verify the action with a
  secret code which was SMS'd to you. gmail also has this.
 
  Does anyone know of a universal plugin / application that can be used
  with SSH and even websites like Wordpress / Joolma / Webmin / etc?
 
 
  Any pointer would be appreciated.

 As you can see by the responses, there is no 'universal' plugin. The
 whole arena of authentication is plagued with bootstrapping challenges,
 security flaws, and complexity (like JSON).

 I am the author of one of the alternatives (HIP), and my recommendation
 is just choose your poison.


 ___


Thanx Robert.

I guess I should have seen this coming But I have quite a few new
leads for applications that can offer this, even if I would need to
implement more than 1 solution.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] 2way authentication for SSH?

2013-01-27 Thread Rudi Ahlers
Hi,

Does anyone know of a stable / working 2way authentication system for
SSH, and even web authentication services?

Most of the banks in South Africa have a system that, when you want to make
a payment, they send you an SMS and you need to verify the action with a
secret code which was SMS'd to you. gmail also has this.

Does anyone know of a universal plugin / application that can be used
with SSH and even websites like Wordpress / Joolma / Webmin / etc?


Any pointer would be appreciated.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to setup RAID 5 + 1 hot spare?

2013-01-23 Thread Rudi Ahlers
On Thu, Jan 24, 2013 at 7:59 AM, Ren Wen shan renws1...@gmail.com wrote:

 Hello everyone,

 I am new to this group so please forgive me if this question has been
 already asked.

 With four identical hard drives, I want to setup RAID 5 + 1 hot spare by a
 fresh CentOS (6.3) installation.

 I have read this article (

 http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-raid-config.html
 )
 and watched this video (http://www.youtube.com/watch?v=qm3MkuTfDLw), now I
 have the basic ideas.

 However, due to my limited experience and knowledge on this area, I am
 still confused.

 To make things easier, I only need a swap and a `/' partition.

 Could you give me any hint on this? What should I read to get the basic
 knowledge? How can I setup a simple RAID 5 + hot spare?


 Regards,
 - Meatball
 ___


Since you're new to this list, and this topic, I'm going to spare you the
headache. Don't use RAID5 Even with a hot-spare, if you use large drives
chances are you'll loose everything if one of the drive fail and you need
to rebuild the whole set.

Rather use RAID 10. The newer CentOS installation disks has an option to
setup RAID10, alternatively.

There are numerous tutorials out there on how todo it, but this one seems
quite easy to follow:
http://www.youtube.com/watch?v=zlOK1voR2nA


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Red Hat Storage on CentOS?

2013-01-17 Thread Rudi Ahlers
Hi,

Does anyone know if Red Hat Store will be available in CentOS?

Have a look here: http://www.redhat.com/products/storage-server/

I'm not referring to the Red Hat Cluster Suite which is already
available.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] yum vs. freenx

2012-12-19 Thread Rudi Ahlers
On Wed, Dec 19, 2012 at 11:08 PM, Les Mikesell lesmikes...@gmail.com wrote:
 Is there any way (besides being awake when you do it...) to keep
 freenx updates from killing yum mid-transaction if you run the update
 in a freenx session?   Normally I ssh in from a session on a different
 host but sometimes forget...

 --
Les Mikeselll
   lesmikes...@gmail.com
 ___

maybe run is through screen?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /tmp directory

2012-12-10 Thread Rudi Ahlers
 Am 10.12.2012 um 11:22 schrieb John Doe:
 From: Jerry Geis ge...@pagestation.com


 You also have '/var/tmp' that is expected to survive reboots and should be 
 less often (never?) cleared.



 cat /etc/cron.daily/tmpwatch
 flags=-umc
 /usr/sbin/tmpwatch $flags -x /tmp/.X11-unix -x /tmp/.XIM-unix \
  -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \
  -X '/tmp/hsperfdata_*' 240 /tmp
 /usr/sbin/tmpwatch $flags 720 /var/tmp
 for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
 if [ -d $d ]; then
  /usr/sbin/tmpwatch $flags -f 720 $d
 fi
 done



 720 = 30 days

 what? you mean this dir called /var/tmp is actually for temporary
 stuff?? man, this system is seriously screwed up...


What else do you use it for?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] /tmp directory

2012-12-10 Thread Rudi Ahlers
On Mon, Dec 10, 2012 at 6:58 PM,  m.r...@5-cent.us wrote:
 Rudi Ahlers wrote:
 Am 10.12.2012 um 11:22 schrieb John Doe:
 From: Jerry Geis ge...@pagestation.com

 You also have '/var/tmp' that is expected to survive reboots and
 should be less often (never?) cleared.

 cat /etc/cron.daily/tmpwatch
 flags=-umc
 /usr/sbin/tmpwatch $flags -x /tmp/.X11-unix -x /tmp/.XIM-unix \
  -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix \
  -X '/tmp/hsperfdata_*' 240 /tmp
 /usr/sbin/tmpwatch $flags 720 /var/tmp
 for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
 if [ -d $d ]; then
  /usr/sbin/tmpwatch $flags -f 720 $d
 fi
 done

 720 = 30 days

 what? you mean this dir called /var/tmp is actually for temporary
 stuff?? man, this system is seriously screwed up...

 What else do you use it for?

 I think John intended the cmt with humor/humor

 mark temporary files are temporary? who'd'a thunk it?

 ___


Probably. But I've seen people using /tmp to store rather important
stuff, which is why I asked the question - to get clarity.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Please I'd like to install 2 websites on my un managed VPS on CentOS6

2012-02-23 Thread Rudi Ahlers
On Thu, Feb 23, 2012 at 12:25 PM, Wuxi Ixuw w7u64...@gmail.com wrote:
 Am I asking stupid questions to get no answers?

 On 23/02/2012 09:42 AM, Wuxi Ixuw wrote:
 Hello
 I've got an un managed VPS running CentOS6
 I'd like to install 2 websites and secure the whole VPS
 I've tried tutorials from the how to forge website but things keep
 screwing all the time.
 Please if any one can help or give a good working tutorials that would
 be awesome.
 Thanks a lot
 WI,
 ___


It  would help if you're a LOT more specific asto what you've tried
and what doesn't work.
-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
Fax: 086 268 8492
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dedicated Firewall/Router

2012-01-17 Thread Rudi Ahlers
On Tue, Jan 17, 2012 at 9:55 AM, Laurent Wandrebeck
l.wandreb...@gmail.com wrote:
 On Mon, 16 Jan 2012 18:18:26 -0600
 Tom Bishop bisho...@gmail.com wrote:

 I would get a dell r210 from the outlet site and then load pfsense,
 been running in multiple locations, solid and works great.
 Do NOT use pfsense if you have to use realtek cards. I used to (1.2.3
 and 2.0.1), and lost connection regularly, need to reboot to get it
 back…
 Flee realtek as much as you can :)

You shouldn't be using realtek NIC's in a production, or even just a
large-ish server environment in anycase. Rather use Intel.

Back to the topic though, how does one guarantee 100% uptime on the
firewall level when you use a standard dedicated server? Even if the
server (Dell / Intell / SuperMicro / you name it...) has redundant
PSU's and HDD's, there could still be hardware failure. And, unless
you buy 3 or 4 at a time, you may run into a where once you pop the
HDD into a new (standby?) chassis that something may not be compatible
and the firewall might be down for a few minutes, or even hours while
you search for a solution on the internet, or with the hardware
vendor.




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] an actual hacked machine, in a preserved state

2012-01-03 Thread Rudi Ahlers
On Tue, Jan 3, 2012 at 11:08 AM, Leonard den Ottolander
leon...@den.ottolander.nl wrote:
 Hello Craig,

 On Mon, 2012-01-02 at 01:04 -0700, Craig White wrote:
 Very often, a single user with a
 weak password has his account cracked and then a hacker can get a copy
 of /etc/shadow and brute force the root password.

 This is incorrect. The whole reasoning behind /etc/shadow is to hide the
 actual hashes from normal system users. /etc/shadow is chown root.root
 and chmod 0400. Without root access /etc/shadow is not accessible.

 Regards,
 Leonard.

 --
 mount -t life -o ro /dev/dna /genetic/research




So, explain this then:


How does something like c99shell allow a local user (not root) to read
the /etc/shadow file?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.7 gives me a blank screen after bootup

2011-12-18 Thread Rudi Ahlers
2011/11/8 Ljubomir Ljubojevic off...@plnet.rs:
 Vreme: 11/08/2011 06:12 PM, Rudi Ahlers piše:

 This is a SuperMicro X7SBI motherboard, which has a On board ATI
 ES1000 32MB Graphics graphics card.


 I am not sure if this happens all the time or just from time to time. If
 it is later, then try installing ATI drivers from ElRepo
 (http://elrepo.org/tiki/kmod-fglrx).


 --


Thanx. I only got around to reboot this server now and try the drivers
but that didn't work either.

But not to worry, I'll try CentOS 6, or otherwise Debian and see if it works.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to find source of data loss / corruption

2011-12-18 Thread Rudi Ahlers
Cool, thanx :)

On Fri, Dec 16, 2011 at 2:16 AM, Ljubomir Ljubojevic off...@plnet.rs wrote:
 Vreme: 12/16/2011 12:22 AM, Rudi Ahlers piše:
 John,

 Where do I get inotifywait ?


 yum what provides */inotifywait didn't return anything


 root@mars:[/]$ yum whatprovides */inotifywait
 Loaded plugins: fastestmirror
 Loading mirror speeds from cached hostfile
   * base: mirror.highspeedweb.net
   * extras: centos.omnispring.com
   * updates: mirrors.igsobe.com
 Excluding Packages in global exclude list
 Finished
 extras/filelists_db

 | 206 kB     00:00
 updates/filelists_db

 | 1.7 MB     00:00
 No Matches found



 inotify-tools from EPEL?

 --

 Ljubomir Ljubojevic
 (Love is in the Air)
 PL Computers
 Serbia, Europe

 Google is the Mother, Google is the Father, and traceroute is your
 trusty Spiderman...
 StarOS, Mikrotik and CentOS/RHEL/Linux consultant
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to find source of data loss / corruption

2011-12-15 Thread Rudi Ahlers
Hi,

2 websites, hosted on 2 different CentOS 5.7 servers (one being very
new, about 3 weeks old) keeps loosing data - but it's more like it's
corrupted than being deleted.

For example, a photo would be uploaded last night and today when we
checked it, it doesn't show on the website. So we check if the file is
on the server, and exists but is 0KB in size. Last night it still
worked fine. The photo is 482Kb in size.

The first time this happened we thought it was due to a bug with
CentOS 5.7 + EXT4 + quotas (there's a bug open for this) and since the
server's console kept giving errors about possible data corruption we
thought it would be best if we move everything to a more stable
platform. So we brought a new server, setup CentOS 5.7 + ext3 + quotas
(which has been working fine on all our servers for a long time) and
moved the data across. A few days down the line and I still see this
happening.

I'm out of ideas and hope someone could shed some light on the matter.
I've checked some suggested search results, but couldn't find any
issues with the HDD according to SMART. The servers' both have 4GB RAM
and 8Core CPU's.Neither RAM, nor CPU usage is high. Both are setup
with RAID10 across 4 entrerprise HDD's, one server has software RAID
and the new one hardware RAID. So even when we changed the RAID
subsystem it still happens.



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to find source of data loss / corruption

2011-12-15 Thread Rudi Ahlers
On Thu, Dec 15, 2011 at 1:48 PM, anax a...@ayni.com wrote:
 Hi Rudi
 we once had a similar problem on a Web:

 This Web had this in particular that its home-page needed to be deleted
 daily and of course reinstalled immediately.
 Then, in a new version of the Web it did not need this delete/reinstall
 cycle any more, so the webadmin just removed the link to the delete
 script. He did not remove the delete-script itself from the Web.
 The effect was, that the home-page was still deleted at random times.

 What we then found out: We used an internal Search-Engine which crawled
 this web. And this Search-Engine had not forgotten the link to the
 delete-script, but invoked it at random times, whenever it crawled  the
 particular Web.

 Your case: could it be something similar?

 suomi



Thanx for the advice. We found a script which seems to have been
modified somehow, probably  hacker or a rootkit - don't yet know, but
we're looking to see if we can trace it down.
I don't want to reveal the code here due to it's uniqueness and I
don't want to attrack further attension to the sites by the
attack(er).


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to find source of data loss / corruption

2011-12-15 Thread Rudi Ahlers
On Thu, Dec 15, 2011 at 1:29 PM, John Doe jd...@yahoo.com wrote:
 From: Rudi Ahlers r...@softdux.com

 For example, a photo would be uploaded last night and today when we
 checked it, it doesn't show on the website. So we check if the file is
 on the server, and exists but is 0KB in size. Last night it still
 worked fine. The photo is 482Kb in size.

 Only the size changed to 0 or were some other stats changed too?
 Maybe try something like:
   inotifywait -m --format %T %e %f --timefmt %D %T -r /path/to/dir
 At least you would know at what time something happens...

 JD
 ___



John,

Where do I get inotifywait ?


yum what provides */inotifywait didn't return anything


root@mars:[/]$ yum whatprovides */inotifywait
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.highspeedweb.net
 * extras: centos.omnispring.com
 * updates: mirrors.igsobe.com
Excluding Packages in global exclude list
Finished
extras/filelists_db

| 206 kB 00:00
updates/filelists_db

| 1.7 MB 00:00
No Matches found


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iSCSI best practices

2011-12-12 Thread Rudi Ahlers
On Mon, Dec 12, 2011 at 3:52 PM, Reindl Harald h.rei...@thelounge.net wrote:


 Am 12.12.2011 14:49, schrieb lheck...@users.sourceforge.net:

 Outage is one thing, but having the disk volumes disappear mid-transaction 
 can be detrimental to a file system's health.

  To get this back on-topic and closer to the OP's requests, are there any
  particular iscsi settings one should consider to increase resiliency and
  minimise the impact of e.g. a rebooting switch? timeout settings? The
  big disadvantage of iscsi is that you add another layer that can fail
  (compared to having virtual machine images on a local disk).

 you should always have two links to your iSCSI device and two
 different switches so that it does not matter if one switch
 dies or reboots




And then you still have the iSCSI applicance / server to worry about.
It can fail as well. Even with redundancy PSU's it could fail - the
RAM, CPU, motherboard, controller card, expensive RAID card, etc can
fail as well.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS fileserver migrating to ZFS appliance

2011-11-25 Thread Rudi Ahlers
On Fri, Nov 25, 2011 at 4:00 PM, Alan McKay alan.mc...@gmail.com wrote:

 Hey folks,

 I've got a CentOS / RHEL (5.x) environment and am in the process of
 migrating the 5.3 file server over to an Oracle/Sun 7120 appliance.

 I want to keep my main 5.3 server as our NIS server but am moving NFS
 and Samba functions over to the appliance.

 NFS was a no brainer as one can imagine.  Samba seems a bit trickier
 because of the authentication requirements in the ZFS server.  They
 seem to want a domain controller which we don't have.

 Has anyone been here recently and can help with how to config the
 appliance for Samba but to authenticate from NIS ?

 thanks,
 -Alan

 --


I don't know that particular NAS, but does it allow you to setup an
anonymous SMB user?

If not, then setup a normal SMB share on the NAS and mount it on the CentOS
server, then rsync the data across



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.7 gives me a blank screen after bootup

2011-11-08 Thread Rudi Ahlers
On Wed, Nov 2, 2011 at 10:46 PM,  m.r...@5-cent.us wrote:
 Ljubomir Ljubojevic wrote:
 Vreme: 11/02/2011 09:32 PM, Rudi Ahlers piše:
 On Wed, Nov 2, 2011 at 8:29 PM, Scott Robbinsscot...@nyc.rr.com
 wrote:
 On Wed, Nov 02, 2011 at 08:14:17PM +0200, Rudi Ahlers wrote:
 Hi all,

 I have an odd problem, for which I couldn't find any suggestions on
 google.

 A CentOS 5.7x64 gives me a blank screen on bootup, both to the 17 LCD
 monitor connected to the VGA port, and to the KVMOVIP device
 built-into the server,

 This sometimes seems to happen when it goes into framebuffer.

 But I believe his nofb tells it not to use framebuffer.

Yes, that's what I thought but it doesn't seen to work?


 Thank you Scott, but that didn't seem to help much, unfortunately.
 snip
 Is there anything in either messages or Xorg.0.log? Or even secure?

I honestly don't know what to look for, exactly ...


But maybe this will help:





(**) RADEON(0): RADEONScreenInit d800 0
(**) RADEON(0): Map: 0xd800, 0x0200
(WW) RADEON(0): Failed to set up write-combining range (0xd800,0x200)
(**) RADEON(0): RADEONSave
(**) RADEON(0): RADEONSaveMode(0xa3f3f50)
(**) RADEON(0): Read: 0x000c 0x000500b3 0x
(**) RADEON(0): Read: rd=12, fd=179, pd=5
(**) RADEON(0): RADEONSaveMode returns 0xa3f3f50
(**) RADEON(0): RADEONInitMemoryMap() :
(**) RADEON(0):   mem_size : 0x0400
(**) RADEON(0):   MC_FB_LOCATION   : 0xdbffd800
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffc0
(**) RADEON(0): RADEONModeInit()
800x60040.00   800  840  968 1056   600  601  605  628 (24,32) +H +V
800x60040.00   800  840  968 1056   600  601  605  628 (24,32) +H +V
(**) RADEON(0): Pitch = 6815848 bytes (virtualX = 800, displayWidth = 832)
(**) RADEON(0): dc=4000, of=32000, fd=142, pd=8
(**) RADEON(0): RADEONInit returns 0xa3f4900
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMemMapRegisters() :
(**) RADEON(0):   MC_FB_LOCATION   : 0xdbffd800
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffc0
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x
(**) RADEON(0): Wrote: 0x000c 0x0003008e 0x (0xa500)
(**) RADEON(0): Wrote: rd=12, fd=142, pd=3
(**) RADEON(0): GRPH_BUFFER_CNTL from 20005c5c to 20055c5c
(**) RADEON(0): RADEONSaveScreen(0)
(II) RADEON(0): Depth moves disabled by default
(**) RADEON(0): Setting up initial surfaces
(**) RADEON(0): Initializing fb layer
(**) RADEON(0): Setting up accel memmap
(II) RADEON(0): Memory manager initialized to (0,0) (832,8191)
(II) RADEON(0): Reserved area from (0,600) to (832,610)
(II) RADEON(0): Largest offscreen area available: 832 x 7581
(**) RADEON(0): Initializing backing store
(==) RADEON(0): Backing store disabled
(WW) RADEON(0): Direct rendering disabled
(**) RADEON(0): Setting up final surfaces
(**) RADEON(0): Initializing Acceleration
(II) RADEON(0): Render acceleration disabled
(**) RADEON(0): EngineInit (32/32)
(**) RADEON(0): Pitch for acceleration = 104
(**) RADEON(0): EngineRestore (32/32)
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
Indirect CPU to Screen color expansion
Solid Lines
Dashed Lines
Scanline Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
32 128x128 slots
28 256x256 slots
13 512x512 slots
(II) RADEON(0): Acceleration enabled
(**) RADEON(0): Initializing DPMS
(**) RADEON(0): Initializing Cursor
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 610)
(II) RADEON(0): Largest offscreen area available: 832 x 7576
(**) RADEON(0): Initializing color map
(**) RADEON(0): Initializing DGA
(**) RADEON(0): Initializing Xv
(II) RADEON(0): No video input capabilities detected and no
information is provided - disabling multimedia i2c
(II) Loading sub module theatre_detect
(II) LoadModule: theatre_detect
(II) Loading /usr/lib64/xorg/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor=X.Org Foundation
compiled for 7.1.1, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.0
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(**) RADEON(0): RADEONScreenInit finished
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing

[CentOS] CentOS 5.7 gives me a blank screen after bootup

2011-11-02 Thread Rudi Ahlers
Hi all,

I have an odd problem, for which I couldn't find any suggestions on google.

A CentOS 5.7x64 gives me a blank screen on bootup, both to the 17 LCD
monitor connected to the VGA port, and to the KVMOVIP device
built-into the server,

I can see the GRUB boot loader, and everything booting up, upto the
point where it says Waiting for driver initialization., then it goes
blank - both on the LCD and the KVM.


Does anyone know how to fix this?

It does the same whether I boot into the CentOS, or XEN kernel, or in
single user mode.

First few lines of /etc/grub.conf:


#  initrd /initrd-version.img
#boot=/dev/md0
default 0

timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-274.7.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-274.7.1.el5 dom0_mem=786M
module /vmlinuz-2.6.18-274.7.1.el5xen ro root=/dev/LVM01/root nofb
module /initrd-2.6.18-274.7.1.el5xen.img
title CentOS (2.6.18-274.7.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-274.7.1.el5 ro root=/dev/LVM01/root nofb
initrd /initrd-2.6.18-274.7.1.el5.img



root@zaxen02:[~]$ uname -a
Linux zaxen02 2.6.18-274.7.1.el5xen #1 SMP Thu Oct 20 17:06:34 EDT
2011 x86_64 x86_64 x86_64 GNU/Linux
root@zaxen02:[~]$ cat /etc/redhat-release
CentOS release 5.7 (Final)




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.7 gives me a blank screen after bootup

2011-11-02 Thread Rudi Ahlers
On Wed, Nov 2, 2011 at 8:29 PM, Scott Robbins scot...@nyc.rr.com wrote:
 On Wed, Nov 02, 2011 at 08:14:17PM +0200, Rudi Ahlers wrote:
 Hi all,

 I have an odd problem, for which I couldn't find any suggestions on google.

 A CentOS 5.7x64 gives me a blank screen on bootup, both to the 17 LCD
 monitor connected to the VGA port, and to the KVMOVIP device
 built-into the server,

 This sometimes seems to happen when it goes into framebuffer.

 Sometimes, it's an NVidia card trying to use nouveau, sometimes, the fb
 module is missing, but it's never something I've investigated that
 thoroughly.


 I see from your menu that you're running a xen kernel. I'm afraid I'm
 not at all familiar with them.  However, you might try (no guarantee)
 using nomodeset in the places where you have nofb.




Thank you Scott, but that didn't seem to help much, unfortunately.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh reverse DNS failure

2011-09-26 Thread Rudi Ahlers
On Sun, Sep 25, 2011 at 2:13 PM, Timothy Murphy gayle...@eircom.net wrote:
 I use dyndns's (free) service to access a remote machine
 with a dynamic IP address.
 The machine is running under CentOS-6.0.

 I can ssh into the address given me by dyndns (*.homelinux.com),
 but when I do this I get the warning
 reverse mapping checking getaddrinfo for *
  failed - POSSIBLE BREAK-IN ATTEMPT!

 This doesn't really matter,
 as I normally use OpenVPN for accessing this site -
 the dyndns method is a safety precaution in case openvpn doesn't work.

 But I'm wondering if it is possible to stop the warning?
 I've tried various recipes google gave me,
 eg adding UseDNS no to /etc/ssh/sshd_config on the remote machine
 (and re-starting sshd),
 but none of them has worked,


 --

Add the DynDNS hostnane to the localmachine, i.e:


192.168.0.10 mybox.homelinux.net


and see if that helps?



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to update CentOS 5.4 to 5.6?

2011-09-23 Thread Rudi Ahlers
On Thu, Sep 22, 2011 at 12:37 PM, John R Pierce pie...@hogranch.com wrote:
 On 09/22/11 3:08 AM, Sebastian Schubert wrote:
 Am 22.09.11 11:59, schrieb John R Pierce:
   On 09/22/11 2:13 AM, John Doe wrote:
   If you want to take the risk anyway, the following (untested) might 
  work:
   Modify your /etc/yum.repos.d/CentOS-Base.repo
   try to replace the baseurl's $releasever with 5.6...
 
   no, as the 5.6 specific files are removed when 5.7 is released. you'd
   have to get a clone of the vault's 5.6 directory and set that up as a
   local repository instead, then point the repo file to that.
 crap ... the 5.6 files are still there .. just change the baseurl like
 john doe wrote and you'll get an update to 5.6

 no, they aren't.

 http://mirror.centos.org/centos/5.6/

 empty.  except a readme file telling you to look in /5/ instead, which
 has the 5.7 stuff in it.




Why would the 5.6 stuff have been removed?

Apart from the 5.7 is more secure answer, or even we're running out
of disk space, what is the actual reason behind this?

surely a few versions of the OS won't take up that much space? 1TB 
2TB HDD's these day cost a few dollars so I don't think that's the
real reason. And it can't be bandwidth either since the files are
mirrored to many other servers around the globe.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT Test

2011-09-23 Thread Rudi Ahlers
Test received :)

On Fri, Sep 23, 2011 at 3:56 PM, Phil Savoie psavoie1...@rogers.com wrote:
 This is a test

 sorry for the noise.

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




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Vitualization and Partitioning

2011-09-13 Thread Rudi Ahlers
On Tue, Sep 13, 2011 at 1:52 AM, Thomas Dukes tdu...@sc.rr.com wrote:


 -Original Message-
 From: centos-boun...@centos.org
 [mailto:centos-boun...@centos.org] On Behalf Of ken
 Sent: Monday, September 12, 2011 12:36 AM
 To: CentOS mailing list
 Subject: Re: [CentOS] Vitualization and Partitioning

 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.

 I'm new to this but I would think you would want a separate LV for each
 guest. Seems I read somewhere, that you need one core per guest as well.
 That's why I'm opting for the Xeon processor rather than the iCore(x). Four
 cores v. two. More options.

 Can't believe this thread hasn't stirred more response. Maybe we all are in
 the learning phase.

 Eddie

 ___

We use LVM on all our virtual hosting servers since it's much easier to manage.


You basically setup a PV volume spanning the whole drive(s), and then
a 10GB (or larger if you need to) LVM volume for /root, 10GB for /var,
2GB for /tmp  5GB for /home.


Then for any VM's just add LVM volumes as needed, for example:

/dev/Volume001/vm1_root  - 10GB
/dev/Volume001/vm1_swap - 1GB


Another tip: Don't use the default LVM volume naming scheme, but
instead name the LVM volumes according to your server name, i.e.
server01  server02. This way if server01's HDD crashes and you need
to mount it on server002 for recovery purposes, you won't have
conflicting LVM volumes


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Emulate RHEV On CentOS

2011-09-07 Thread Rudi Ahlers
On Wed, Sep 7, 2011 at 3:24 PM, Gene Poole gene.po...@macys.com wrote:
 Anyone familiar with RHEV (Red Hat Enterprise Virtualization)?  Any ideas on
 how to emulate this on CentOS?

 Thanks,
 Gene Poole

 ___


You simply need to install the Virtualizartion Group with yum to get it :)


How good is it?
That will depend on what you prefer to use, between XEN  KVM and what
you have used in the past.

Red Hat (and thus CentOS) has native XEN support but dropped XEN in
favor of KVM (which is not as mature yet) in RH 6.

I think the only real difference between Red Hat's Enterprise
Virtualization and CentOS Virtualization Group could be that Red Hat
has a few commercial management tools included. But the underlying
core functionality would be the same. I don't use RH, so I don't know
exactly, this is just an assumtion.


But, be careful of mentioning anything other than actual CentOS
related software on this list. Some people here don't like it and will
get hostile toward you for mentioning it.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Emulate RHEV On CentOS - A note on Xen v. KVM

2011-09-07 Thread Rudi Ahlers
On Wed, Sep 7, 2011 at 3:51 PM, Digimer li...@alteeve.com wrote:
 On 09/07/2011 09:34 AM, Rudi Ahlers wrote:
 Red Hat (and thus CentOS) has native XEN support but dropped XEN in
 favor of KVM (which is not as mature yet) in RH 6.

 This deserves clarification...

 Red Hat is a business, and made a simple business decision. Maintaining
 Xen support would have meant maintaining a very large set of patches.
 They made the decision that the effort (and money) needed to maintain
 Xen outside of the mainline kernel was not worth it.


Well, I merely stated the facts of what the Red Hat Virtualization
package offers in the 2 different Red Hat releases, 5  6.


 KVM was not chosen over Xen so much as KVM was a much less expensive
 hypervisor to support. As for it being mature or not; Well, put on your
 kevlar pants because that is a matter of opinion.

I'm sure many people will argue against this perception since XEN has
been around much longer than KVM and, up to recently,just worked
every time. So the amount of effot they (or any other Linux distro)
had to put in to support it is minimal.
At the same time, in a different camp, there are those who speculate
that XEN was dropped since it's the defacto standard for Novell Suse /
OpenSuse and it's direct competition for Red Hat.


 As a follow-up, Xen dom0 support began getting into the mainline kernel
 at 2.6.33 (EL6 is based on 2.6.32). It is very likely that we will see
 Xen dom0 support returned in the next major release.

That would be nice and I'm sure Red Hat would gain some ground again
but if you look on the trend on the web many people stopped using Red
Hat (and derivatives of it, like CentOS) because of this very reason.



 --
 Digimer
 E-Mail:              digi...@alteeve.com
 Freenode handle:     digimer
 Papers and Projects: http://alteeve.com
 Node Assassin:       http://nodeassassin.org
 At what point did we forget that the Space Shuttle was, essentially,
 a program that strapped human beings to an explosion and tried to stab
 through the sky with fire and math?
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 + XEN problem

2011-09-06 Thread Rudi Ahlers
On Sun, Sep 4, 2011 at 3:12 PM, Pasi Kärkkäinen pa...@iki.fi wrote:

 Did you try using mayoung's xendom0 kernel rpms? They're based on actual 
 rhel 6.0/6.1 kernels..
 (the kernel you're using now sounds like upstream kernel - not rhel6 kernel).

 xen hypervisor/tools rpms: http://xenbits.xen.org/people/mayoung/EL6.xen/
 xendom0 kernel for el6: http://xenbits.xen.org/people/mayoung/testing/


How stable are those kernels? I couldn't find much info about mayoung
on the internet, so I don't know how trustworthy he, or his work is.



 And: http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial


I read that tutorial but it seems very specific to Red Hat and since I
work on CentOS some of the options there don't apply, but I don't know
if it could cause any problems.

Has anyone applied those steps to a CentOS system?


 -- Pasi

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




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS 6 + XEN problem

2011-09-02 Thread Rudi Ahlers
Hi,

Does anyone know what version of XEN works fine with CentOS 6?

I installed XEN on a CentOS 6 server, as per these instructions:
http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/


And the server now gives this error on reboot: PANIC: early exception


0e rip 10:0 error 10 cr2 0





These are the packages that was installed:


Installed:
  kernel-xen.x86_64 0:2.6.32.45-1 xen.x86_64
0:4.1.1-3.1

Dependency Installed:
  PyXML.x86_64 0:0.8.4-19.el6   SDL.x86_64
0:1.2.14-2.el6 kpartx.x86_64 0:0.4.9-31.el6_0.3
  libXdamage.x86_64 0:1.1.2-1.el6   libXfixes.x86_64
0:4.0.4-1.el6libXxf86vm.x86_64 0:1.1.0-1.el6
  mesa-dri-drivers.x86_64 0:7.7-2.el6   mesa-libGL.x86_64
0:7.7-2.el6 xen-hypervisor.x86_64 0:4.1.1-3.1
  xen-libs.x86_64 0:4.1.1-3.1   xen-licenses.x86_64
0:4.1.1-3.1   xen-runtime.x86_64 0:4.1.1-3.1



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 + XEN problem

2011-09-02 Thread Rudi Ahlers
On Fri, Sep 2, 2011 at 3:49 PM, R P Herrold herr...@owlriver.com wrote:

 On Fri, 2 Sep 2011, Rudi Ahlers wrote:

  Does anyone know what version of XEN works fine with CentOS 6?
 
  I installed XEN on a CentOS 6 server, as per these instructions:
  http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/

 and this issue about a third party writeup is not asked first
 in that venue, because ?

 and this issue about a virtualization issue is not asked on
 the specific virtualization list that Centos offers, because ?

 and this invasive, non-shipped and competing virtualization
 method (at the 6 level) and non-shipped and non-supported
 kernel is asked here, because ?

 Every time the ten or so people who treat this list like an
 'anything goes' sewer post, tens of thousands of uses have to
 wade through the dross

 Every time the few here who cannot distinquish email and run
 untrimmed one line reply emails back and forth, over and over
 again, rather than using the CentOS provided IRC channels,
 tens of thousands of uses have to wade through the dross

 _Please_ be considerate, use the proper venue, brush and floss
 after meals, and research before posting ;)

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



Russ because everyone else has the same I don't care, take it elsewhere
attitude as you.


but don't worry, I'm leaving this childish list as well. have fun




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 + XEN problem

2011-09-02 Thread Rudi Ahlers
On Fri, Sep 2, 2011 at 6:02 PM, R - elists list...@abbacomm.net wrote:



 
  Can we discontinue this and return to tranquillity please ?
 
  Paul.
 

 Paul,

 with all humility  due respect, if I was given authority within CentOS and
 on this list, you would be one of the first we would discipline...

  - rh

 ___


Russ why don't you just discipline everyone? Cause no-one can stick to
CentOS-only conversations in your righteous eyes.



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 6 Partitioning Help

2011-09-01 Thread Rudi Ahlers
On Thu, Sep 1, 2011 at 3:14 PM, Lamar Owen lo...@pari.edu wrote:
 On Wednesday, August 31, 2011 10:07:01 PM Always Learning wrote:
 I assume your machine is a single user machine. If so, I would suggest

 He stated clearly in his request that this was for a server, by definition a 
 multi-user machine (each server process should, after all, run as a unique 
 user) serving requests to many users.

 Advice for a single-user desktop won't help him.
 ___


just goes to show how well people actually read anything on the
internet these days. and then they can't understand why the original
poster gets irritated when he's told to use a hammer to hit the nail
into the wall, when asked what color your car is.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] PANIC: early exception 0e rip 10:0 error 10 cr2 0

2011-09-01 Thread Rudi Ahlers
Hi all,

I installed XEN on a CentOS 6 server, as per these instructions:
http://www.crc.id.au/xen-on-rhel6-scientific-linux-6-centos-6-howto/


And the server now gives this error on reboot: PANIC: early exception
0e rip 10:0 error 10 cr2 0
These are the packages that were installed before the reboot:



Total download size: 33 M
Installed size: 116 M
Is this ok [y/N]: y
Downloading Packages:
(1/14): PyXML-0.8.4-19.el6.x86_64.rpm
   | 892 kB 00:00
(2/14): SDL-1.2.14-2.el6.x86_64.rpm
   | 193 kB 00:00
(3/14): kernel-xen-2.6.32.45-1.x86_64.rpm
   |  20 MB 00:12
(4/14): kpartx-0.4.9-31.el6_0.3.x86_64.rpm
   |  37 kB 00:00
(5/14): libXdamage-1.1.2-1.el6.x86_64.rpm
   |  16 kB 00:00
(6/14): libXfixes-4.0.4-1.el6.x86_64.rpm
   |  19 kB 00:00
(7/14): libXxf86vm-1.1.0-1.el6.x86_64.rpm
   |  18 kB 00:00
(8/14): mesa-dri-drivers-7.7-2.el6.x86_64.rpm
   | 1.5 MB 00:00
(9/14): mesa-libGL-7.7-2.el6.x86_64.rpm
   | 144 kB 00:00
(10/14): xen-4.1.1-3.1.x86_64.rpm
   | 1.0 MB 00:00
(11/14): xen-hypervisor-4.1.1-3.1.x86_64.rpm
   | 3.8 MB 00:01
(12/14): xen-libs-4.1.1-3.1.x86_64.rpm
   | 309 kB 00:00
(13/14): xen-licenses-4.1.1-3.1.x86_64.rpm
   |  63 kB 00:00
(14/14): xen-runtime-4.1.1-3.1.x86_64.rpm
   | 4.9 MB 00:02
-
Total
  1.7 MB/s |  33 MB 00:20
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : libXfixes-4.0.4-1.el6.x86_64
 1/14
  Installing : libXdamage-1.1.2-1.el6.x86_64
 2/14
  Installing : SDL-1.2.14-2.el6.x86_64
 3/14
  Installing : kpartx-0.4.9-31.el6_0.3.x86_64
 4/14
  Installing : mesa-dri-drivers-7.7-2.el6.x86_64
 5/14
  Installing : PyXML-0.8.4-19.el6.x86_64
 6/14
  Installing : libXxf86vm-1.1.0-1.el6.x86_64
 7/14
  Installing : xen-licenses-4.1.1-3.1.x86_64
 8/14
  Installing : xen-libs-4.1.1-3.1.x86_64
 9/14
  Installing : mesa-libGL-7.7-2.el6.x86_64
10/14
  Installing : xen-hypervisor-4.1.1-3.1.x86_64
11/14
  Installing : xen-runtime-4.1.1-3.1.x86_64
12/14
  Installing : xen-4.1.1-3.1.x86_64
13/14
  Installing : kernel-xen-2.6.32.45-1.x86_64
14/14
Added 'installonlypkgs' line to /etc/yum.conf!

Installed:
  kernel-xen.x86_64 0:2.6.32.45-1
xen.x86_64 0:4.1.1-3.1

Dependency Installed:
  PyXML.x86_64 0:0.8.4-19.el6   SDL.x86_64 0:1.2.14-2.el6
   kpartx.x86_64 0:0.4.9-31.el6_0.3
  libXdamage.x86_64 0:1.1.2-1.el6   libXfixes.x86_64
0:4.0.4-1.el6libXxf86vm.x86_64 0:1.1.0-1.el6
  mesa-dri-drivers.x86_64 0:7.7-2.el6   mesa-libGL.x86_64
0:7.7-2.el6 xen-hypervisor.x86_64 0:4.1.1-3.1
  xen-libs.x86_64 0:4.1.1-3.1   xen-licenses.x86_64
0:4.1.1-3.1   xen-runtime.x86_64 0:4.1.1-3.1




Has anyone seen this?

the server is in a DC in America so I need todo everything over the
internet from South Africa and the KVM is a bit slow.





-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache warns Web server admins of DoS attack tool

2011-08-26 Thread Rudi Ahlers
On Fri, Aug 26, 2011 at 9:45 AM, Kenneth Porter sh...@sewingwitch.com wrote:
 I don't see any mention of this in the CentOS announcements forum. I'd
 consider dropping the mailing list and switching to forums if this kind of
 warning appeared there.

 https://www.centos.org/modules/newbb/viewforum.php?forum=53
 ___



The CentOS forum is pretty useless IMO

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Off topic list for centos please?

2011-08-25 Thread Rudi Ahlers
On Thu, Aug 25, 2011 at 12:53 PM, Karanbir Singh mail-li...@karan.org wrote:
 On 08/25/2011 11:00 AM, Keith Roberts wrote:
 Could we have a centos-offtopic list please, so anything
 that would be considered OT can be posted there?

 an offtopic list would need to come with a lot more moderation here then.

 - KB
 ___


areed, and the OT list would probably abused so much that it may be
closed altogether.


My suggestion:
Why not use mailman topics feature for this, and then the guys who
feel everything where the word CentOS isn't exclusively mentioned is
OT, can un-subscribe from those topics?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] UPS issues with PFC PSU

2011-08-24 Thread Rudi Ahlers
How exactly is it OT if he needs the UPS to talk to CentOS??


please stop being so stuckup

On Wed, Aug 24, 2011 at 9:26 AM, Kai Schaetzl mailli...@conactive.com wrote:
 Sorry to be mean. But there are things off-topic and there are things
 ooo-tooocc. And this one belongs in the
 second category. Really, please take this elsewhere. Thanks.

 Kai


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




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] UPS issues with PFC PSU

2011-08-24 Thread Rudi Ahlers
On Thu, Aug 25, 2011 at 1:18 AM, John R. Dennison j...@gerdesas.com wrote:
 On Thu, Aug 25, 2011 at 01:04:59AM +0200, Rudi Ahlers wrote:
 How exactly is it OT if he needs the UPS to talk to CentOS??

 Please don't top-post.

 Because the original post made no mention of CentOS at all.  At least
 that's my guess and that's also the first impression I had about the
 post.


well, where else would he connect the UPS to? His fish tank?
Surely if someone has a PC, and is subscribed to a Linux mailing linux
and asks for advice on a hardware device then it would be related to
compatibility as well.

Someone running Windows probably wouldn't even know if there are other
brands available than what he can get from his local PC shop. And just
about every single piece of hardware, which can be purchased from any
shop will always work on Windows. So why would he bother asking if it
would work?


 please stop being so stuckup

 Please understand that this list has been filled with off-topic garbage
 over the past year or so and many of us are getting more than a little
 frustrated with it.  Many people that have been here for years have
 unsub'd and many more continue to mention that as a possibility.  Add to
 that the fact that some of the centos team themselves are no longer on
 this list and that should tell you something.  While this thread turned
 out to have a centos connection the same can not be said for many of the
 others over the past year.


EVEN if that's the case (staff leaving and people getting irretated),
it's still no reason to be rude with someone without knowing all the
facts to his question first.

Many people would rather trust the advice given on a list like this
than the advice given by a sales rep. Just cause you're a genius and
don't need any help with anything ever, doesn't mean the next guy is
as clever as you.








                                                        John
 --
 As Americans we must always remember that we all have a common enemy, an
 enemy that is dangerous, powerful and relentless.  I refer, of course, to
 the federal government.

 -- Dave Barry (3 July 1947-), Pulitzer Prize-winning American author and
   columnist, Knight Ridder syndicate, New York Daily News, 12 December
   2004

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





-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 4:13 AM, Craig White craigwh...@azapple.com wrote:
 On Wed, 2011-08-17 at 21:50 +0200, Rudi Ahlers wrote:
 Hi,

 I'm looking for a firewall (preferably on Linux / UNIX) that could
 automatically block bandwidth abusers as soon as a connection goes
 over a certain speed, or limit - i.e. either more than say 3Mb/s or
 10GB in a giving period (like weekly / monthly).

 But, I need it to block the IP to, or where the traffic comes from, or
 goes to. i.e. a user logs into a web server and upload a LOT of data,
 then the firewall should block him, but not other people.

 Or, someone uploads a small bit of data but downloads a lot of data
 and then get's blocked.
 But I need to set thresholds
 And I should be able to exclude certain IP's / domains from the limits.

 Does this make sense?

 Can this be done with iptables? If so, how?

 If not, what else could I use for this?


 A normal DDOS prevention firewall doesn't really work since it only
 blocks traffic coming in. But I need to limit traffic going out as
 well.

 The servers behind the firewall will serve mail, http, ftp, sql and SSH
 
 http://tinyurl.com/3n5yn8u

 Craig


We already monitor traffic usage on the switches with cacti via SNMP.


But, I need to block traffic abusers automatically. from any IP
address, to any IP address.

The firewalls we have, and have tested all need a set of IP addresses
to throttle, which won't work in this case.
A user can login from any IP address on the internet, and either
upload or download exsesively and we need to block that IP address as
soon as it's reaches a certain (pre-set by us) threshold


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] using posfix on the local LAN, with internet FQDN

2011-08-18 Thread Rudi Ahlers
Hi all,

I hope someone can help me with this please.


One of our clients has an in-house Postfix mailserver which basically
downloads mail for the individual users from our mail server hosted on
the web using fetchmail.
They use our SMTP server to send mail. Their email clients are then
setup to get  send mail from the server, on 192.168.2.254 (for POP3 
SMTP).  All mail between them on the local LAN gets send to each other
via the server, and not the internet.

This works quite well, but as soon as someone sends mail from the
Linux server directly (it has webmin + usermin installed and has a
basic webmail interface for when they're out of the office) it sends
mail using the local machine name, instead of the domain name.
for example, mail comes from esther@ser001.rewards.local.

How do I tell Postfix to automaticlly send mail from
user@theirdomain.com instead?


Sorry for asking this, but I don't know Postfix very well and don't
know what to call to, to search on google.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] using posfix on the local LAN, with internet FQDN

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 3:00 PM, Leen de Braal l...@braha.nl wrote:
 myhostname = mail.braha.nl
 myorigin = $mydomain

 Think the second one is what you need.


 L. de Braal
 BraHa Systems
 NL - Terneuzen
 T +31 115 649333
 F +31 115 649444

 ___


I actually had theirdomain.com in both otions, but changed the
second option to $mydomain and that didn't make any difference
either.



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
Let's try again:


I need to automatically block any user who abuses bandwidth, either
incoming or outgoing. I should be able to set the limits, in either
rate/s or usage/s: 1Mb/s or 10GB/h, for example.

Then, any users, connecting from anywhere, on any IP should be blocked
- either if he uploads or downloads (i.e ingres  outgres) for a
specific amount of time.


My research:

The firewalls which we've tried (both normal Linux iptables and
hardware based firewalls) can do this, as long as I can specify the
IP's to block - this is standard for an office-type firewall.
BUT, I don't have a range of IP's to specify since these particular
servers are on the internet, thus any possible IP on the net could
connect to the server.


I also need to exclude certain IP's from this rule (i.e. for backup
servers which actually need to transfer a lot of traffic).

To some degree this would mean traffic accounting, but that just
keeps a log of traffic usage. And we already measure traffic use with
cacti  SNMP. Cacti can send us an email if a certain amount of
bandwidth is used up, but it doesn't tell the firewall to block the
offending IP address.

DDOS protection type firewalls doesn't help much either since they
only block incoming attacks, but not really normal uploads. They
also don't block outgoing traffic once the condition is met.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:09 PM, Always Learning cen...@u61.u22.net wrote:

 On Thu, 2011-08-18 at 21:01 +0200, Rudi Ahlers wrote:

 I need to automatically block any user who abuses bandwidth, either
 incoming or outgoing. I should be able to set the limits, in either
 rate/s or usage/s: 1Mb/s or 10GB/h, for example.

 First question is:

 (a) how can you get the IP address ?

I don't fully understand your question?
How do you get any IP address from any machine that connects to a
server on the internet? netstat shows the IP's,
/var/log/http/access.log shows the IP's and I'm sure it's listed in
other places as well.

We currently use ntop to monitor the server's usage, but there's no
way to automatically block an abusive IP.



 (b) how can you introduce a, or use an existing, system to record and
 store the data amounts (bandwidth) and IP addresses ?

What do you mean?



 (c) how long will this information be retained before being discarded ?

How long will what information be retained? And what for? I don't
understand the nature of this question?


 (d) how can you monitor on every change to the data amount ?

Again, I don't understand what you mean?



 (e) will it do both IP4 and IP6 ?

Does it matter? IPV6 is already being used on a wide scale. iptables
support both


 (f) what mechanism can you use to block the IP address ... IP Tables via
 simple BASH command ?

if that will do the trick, yes. Any way to block the IP would be fine.
iptables would probably be easiest.


Ideally I would like to get a dedicated firewall, or dedicated Linux /
UNIX firewall appliance for this purpose as it needs to monitor and
protect a whole bunch of servers



 Its an interesting requirement.




 --
 With best regards,

 Paul.
 England,
 EU.








-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:21 PM, Les Mikesell lesmikes...@gmail.com wrote:
 On 8/18/2011 2:01 PM, Rudi Ahlers wrote:
 Let's try again:


 I need to automatically block any user who abuses bandwidth, either
 incoming or outgoing. I should be able to set the limits, in either
 rate/s or usage/s: 1Mb/s or 10GB/h, for example.

 Then, any users, connecting from anywhere, on any IP should be blocked
 - either if he uploads or downloads (i.e ingres  outgres) for a
 specific amount of time.

 Those requirements don't mesh very well with the real world.  That is,
 people use use a network that they've been provided or paid for aren't
 necessarily 'abusing' anything, and blocking access at times when the
 network isn't fully loaded doesn't help anyone.  What's the big picture
 here?  Don't you really need QOS to throttle certain things at peak
 times only?

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

 ___


Les, it's not really about blocking people who paid.

the servers in question provide a free service and no money is
generated from it, but the client still pays for bandwidth so we'd
like to cap heavy users a bit to avoid expensive bills.


I know the requirements are strange, but I'm really hoping I could
find something that could do this for us.
Right now they have someone who monitors ntop and block IP's that way
around, but it's inefficient and a salary which could have been spent
elsewhere.

Bandwidth in our country is exuberantly expensive, probably about 20x
the price of bandwidth in the USA



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:25 PM, Mike m...@microdel.org wrote:
 On Thu, 18 Aug 2011, Rudi Ahlers wrote:

 Let's try again:


 I need to automatically block any user who abuses bandwidth, either
 incoming or outgoing. I should be able to set the limits, in either
 rate/s or usage/s: 1Mb/s or 10GB/h, for example.

 Then, any users, connecting from anywhere, on any IP should be blocked
 - either if he uploads or downloads (i.e ingres  outgres) for a
 specific amount of time.


 As one might imagine there is at least one commercial product that seems
 to fit the bill.

 http://www.aspirantinfotech.com/downloads/Cyberoam/pdf/Managing-bandwidth-the-User-based-approach.pdf

 I mention this as I thought it was well written and thorough.  After
 reading the pdf seems to me there ought to be something open source based
 upon perhaps this:  http://lartc.org/lartc.html

 Anyway maybe some food for thought.
 ___



Thanx. We already tried the cyberoams, but they didn't work as
expected since they manage bandwidth on a per-user basis, and our
users come from the world-wide-web.


I have read through that document link on
http://lartc.org/lartc.html#AEN1393 and the closest I could get is
rate limiting, but that doesn't actually block the IP if it goes over
a certain threshold, it just slows everything down.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:29 PM, Les Mikesell lesmikes...@gmail.com wrote:
 On 8/18/2011 2:15 PM, Rudi Ahlers wrote:
 On Thu, Aug 18, 2011 at 9:09 PM, Always Learningcen...@u61.u22.net  wrote:

 On Thu, 2011-08-18 at 21:01 +0200, Rudi Ahlers wrote:

 I need to automatically block any user who abuses bandwidth, either
 incoming or outgoing. I should be able to set the limits, in either
 rate/s or usage/s: 1Mb/s or 10GB/h, for example.

 First question is:

 (a) how can you get the IP address ?

 I don't fully understand your question?
 How do you get any IP address from any machine that connects to a
 server on the internet? netstat shows the IP's,

 You said 'user' which may or may not map to a consistent, single, IP
 address.

well, a 'user' is anyone accessing the server from the internet, so
the IP's will change the whole time.


 /var/log/http/access.log shows the IP's and I'm sure it's listed in
 other places as well.

 Are these web browser clients, locally attached PCs, or what?


web / SQL / SMTP / POP3 clients, connecting from the internet.


 We currently use ntop to monitor the server's usage, but there's no
 way to automatically block an abusive IP.

 What's 'abusive'?  If they are using a web app, let the app monitor the
 connection of a logged in user and handle them appropriately.

yes, but no monitor can block their IP, that I'm aware of.



 Ideally I would like to get a dedicated firewall, or dedicated Linux /
 UNIX firewall appliance for this purpose as it needs to monitor and
 protect a whole bunch of servers

 A separate box won't know what is going on.  Suppose you have a remote
 mail server relaying in or out for a large number of users.  The
 intermediate box will see a lot of smtp traffic to/from one IP, but it
 will correspond to a lot of users.  Likewise for web users behind a
 company proxy.

For this very reason I need to exclude certain IP's from the limits.



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




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:38 PM, Mike m...@microdel.org wrote:

 I have read through that document link on
 http://lartc.org/lartc.html#AEN1393 and the closest I could get is
 rate limiting, but that doesn't actually block the IP if it goes over
 a certain threshold, it just slows everything down.

 So I'm not sure I fully understand your requirements.  Why isn't slowing
 the user to zero or at least near zero sufficient?

How do I slow one user down, without affecting the others?
The way I understand rate limiting is that you rate limit a certain
protocol / port, or IP / IP range.

So, how would I automatically slow down someone (on any IP address,
and accessing any protocol) once he hits a certain threshold / limit?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:38 PM, Les Mikesell lesmikes...@gmail.com wrote:

 Are you paying for bandwidth by total bits transferred or by peak or
 95th percentile rate?


We pay per MB and the servers are connected to a 100MB/s port.



 You should be able to automate what you are doing with ntop.  Or use a
 netflow collector to centralize the traffic counting and translate your
 rules into iptables settings.


Really? That would be great.

But, I'm not a programmer, so I don't know where to start. And, I need
to protect a whole bunch of servers, so ideally this should be done
either on a central gateway which connects on the other side of the
switch, or a firewall appliance.

Any suggestions?


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




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Thu, Aug 18, 2011 at 9:52 PM, Mike m...@microdel.org wrote:
 On Thu, 18 Aug 2011, Rudi Ahlers wrote:

 On Thu, Aug 18, 2011 at 9:38 PM, Mike m...@microdel.org wrote:

 I have read through that document link on
 http://lartc.org/lartc.html#AEN1393 and the closest I could get is
 rate limiting, but that doesn't actually block the IP if it goes over
 a certain threshold, it just slows everything down.

 So I'm not sure I fully understand your requirements.  Why isn't slowing
 the user to zero or at least near zero sufficient?

 How do I slow one user down, without affecting the others?
 The way I understand rate limiting is that you rate limit a certain
 protocol / port, or IP / IP range.

 So, how would I automatically slow down someone (on any IP address,
 and accessing any protocol) once he hits a certain threshold / limit?


 I think I understand now and the short answer is that you can't!  In other
 words you're saying that say Steve is using a ton of bandwidth so you want
 to block him.  But Fred and 10 other users that may be at the same IP
 address are fine and you don't want to block them.  I mean you could
 conceptually at least block the IP/Source port that Steve is coming from
 right now.  But the source port (and perhaps IP) will eventually change and
 your block is now useless.

 ___



No, not quite.


Steve will have a different IP from Fred. I don't care so much about
the users as such, but rather the IP where the connection is from, and
to.
i.e. I don't need to know what the user's name is, nor match him to a
DB like LDAP or something. I purely need to block an abusive IP.

BUT, if Steve changes his IP to circumvent the block, then his new IP
should be blocked as well.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] which firewall to automatically block bandwidth abusers?

2011-08-18 Thread Rudi Ahlers
On Fri, Aug 19, 2011 at 12:57 AM, Always Learning cen...@u61.u22.net wrote:

 On Thu, 2011-08-18 at 21:56 +0200, Rudi Ahlers wrote:

 BUT, if Steve changes his IP to circumvent the block, then his new IP
 should be blocked as well.

 How will you know Steve has successfully circumvented your block until
 until the same Steve, with IP2, eventually exceeds the 'quota' ?

 And if Steve gets away with that, he can probably try again with IP3 and
 IP4 etc. - making a mockery of your bandwidth restriction.


 --



The point it, it doesn't matter who the user is. As soon as an IP, any
IP exceeds the limit, it should get blocked.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SAS storage arrays, C6, and SES lights

2011-08-17 Thread Rudi Ahlers
On Wed, Aug 17, 2011 at 8:26 AM, Christopher Chan
christopher.c...@bradbury.edu.hk wrote:
 OpenIndiana has all that builtin...

 /me ducks.
 - Original Message -

Yes, and so does many commercial NAS appliances that run on Linux -
but do you think they'll tell us how they got it working?



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Web Site centos.org is down

2011-08-17 Thread Rudi Ahlers
On Wed, Aug 17, 2011 at 7:59 PM, Paul Heinlein heinl...@madboa.com wrote:
 On Wed, 17 Aug 2011, Always Learning wrote:

 Can not http, ping or traceroute centos.org, www.centos.org or
 72.232.194.162 (the IP address for both)

 Tried from two places in England on different unrelated networks.

 As others have said, it works fine from the US.

 But one of our engineers is in Spain at the moment and he's having
 some routing trouble to US sites.

 --


It works fine from South Africa as well.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] which firewall to automatically block bandwidth abusers?

2011-08-17 Thread Rudi Ahlers
Hi,

I'm looking for a firewall (preferably on Linux / UNIX) that could
automatically block bandwidth abusers as soon as a connection goes
over a certain speed, or limit - i.e. either more than say 3Mb/s or
10GB in a giving period (like weekly / monthly).

But, I need it to block the IP to, or where the traffic comes from, or
goes to. i.e. a user logs into a web server and upload a LOT of data,
then the firewall should block him, but not other people.

Or, someone uploads a small bit of data but downloads a lot of data
and then get's blocked.
But I need to set thresholds
And I should be able to exclude certain IP's / domains from the limits.

Does this make sense?

Can this be done with iptables? If so, how?

If not, what else could I use for this?


A normal DDOS prevention firewall doesn't really work since it only
blocks traffic coming in. But I need to limit traffic going out as
well.

The servers behind the firewall will serve mail, http, ftp, sql and SSH

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SAS storage arrays, C6, and SES lights

2011-08-16 Thread Rudi Ahlers
On Tue, Aug 16, 2011 at 4:03 PM, John R Pierce pie...@hogranch.com wrote:
 On 08/16/11 12:59 AM, Pasi Kärkkäinen wrote:
 ie. you need a daemon/tool that monitors status of disks,
 and keeps the Linux disk-  ses slot mapping up-to-date.

 i'm amazed this doesn't exist.   isn't this a really common problem with
 storage arrays?



 --
 john r pierce                            N 37, W 122
 santa cruz ca                         mid-left coast



yup.

I inquired about it a while ago (something about switching LED's on)
and didn't get very far either.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can two machines in the same network have the same hostname with different IPs?

2011-08-09 Thread Rudi Ahlers
On Tue, Aug 9, 2011 at 12:03 PM, Indunil Jayasooriya
induni...@gmail.com wrote:


 On Tue, Aug 9, 2011 at 3:13 PM, Diego Sanchez dieg...@gmail.com wrote:

 Are you trying to use Round Robin DNS?
 Yes, you can

 But, remember.. If you use same hostname, the client will access to
 them in random

 thanks for the quick answer. NOT to use Round robin DNS.


 on one server, under /etc/sysconfig/network hostname field

 HOSTNAME=mail.example.com


 and /etc/sysconfig/network-scripts/ifcfg-eth0 file

 IPADDR=192.168.0.1



 on the other server, under /etc/sysconfig/network hostname field also

  HOSTNAME=mail.example.com


 and /etc/sysconfig/network-scripts/ifcfg-eth0 file

 IPADDR=192.168.0.2


 is it possible? is it recommend?


 my task is to have 2 zimbra servers with mail.example.com with 2 ips

 192.168.0.1 is the primary, I want to rsync /opt of this server to the other
 server 192.168.0.2.


 then, primary fails, I have a backup on the other server. no data lost


 This is what I want to achieve. but, NOT for any kind of ROUND ribbon DNS
 stuff..


 is it possible? is it recommend?


 Pls answer?



Diego actually already answered you.

And yes it can be done.
And, yes, it's generally used for round robin DNS, whether you
actually want to use round robin DNS or not.


P.S. Please don't top-post.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] setting up bare minimal CentOS VM

2011-08-09 Thread Rudi Ahlers
Hi all,

I need to setup a real bare minimum CentOS Virtual Machine, but with
normal internet / network access. i.e. I need SSH, Mutt, Links, lynx,
ping, tracert, dig, iptables, etc.

Does anyone know where (if?) I can get a list of applications which
gets installed with CentOS 6 if every option is deselected in the
installer so that I can see what I can remove which isn't really
necessary once installed?



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] setting up bare minimal CentOS VM

2011-08-09 Thread Rudi Ahlers
On Wed, Aug 10, 2011 at 12:16 AM, Scott Silva ssi...@sgvwater.com wrote:
 on 8/9/2011 3:10 PM Rudi Ahlers spake the following:
 Hi all,

 I need to setup a real bare minimum CentOS Virtual Machine, but with
 normal internet / network access. i.e. I need SSH, Mutt, Links, lynx,
 ping, tracert, dig, iptables, etc.

 Does anyone know where (if?) I can get a list of applications which
 gets installed with CentOS 6 if every option is deselected in the
 installer so that I can see what I can remove which isn't really
 necessary once installed?



 I think they are creating a minimal install CD image, if they haven't already
 released it.

 ___


Well, I setup CentOS 6 using the netinstall ISO, but want to know if
there are still packages which I don't need and can remove


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] setting up bare minimal CentOS VM

2011-08-09 Thread Rudi Ahlers
On Wed, Aug 10, 2011 at 12:23 AM, Craig White craig.wh...@ttiltd.com wrote:

 On Aug 9, 2011, at 3:10 PM, Rudi Ahlers wrote:

 Hi all,

 I need to setup a real bare minimum CentOS Virtual Machine, but with
 normal internet / network access. i.e. I need SSH, Mutt, Links, lynx,
 ping, tracert, dig, iptables, etc.

 Does anyone know where (if?) I can get a list of applications which
 gets installed with CentOS 6 if every option is deselected in the
 installer so that I can see what I can remove which isn't really
 necessary once installed?
 
 do you mean as in /root/anaconda-ks.cfg ?

 Craig
 ___



Craig, yes, and no. I am actually looking for a list of software
packages that can be removed without breaking the running OS. like for
example bluez-libs or cronie-anacron which isn't necessarily needed
for a bare-minimum system to run.

I honestly don't just want to delete stuff that I don't know if it
could break something, so I was hoping maybe someone knows of a list
(on a wiki / blog / etc) that has a really bare minimum list of
software that needs to be on a server to function.

I could install anything else later on if I need to though.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] setting up bare minimal CentOS VM

2011-08-09 Thread Rudi Ahlers
On Wed, Aug 10, 2011 at 12:41 AM, Scott Silva ssi...@sgvwater.com wrote:
 snip


 Craig, yes, and no. I am actually looking for a list of software
 packages that can be removed without breaking the running OS. like for
 example bluez-libs or cronie-anacron which isn't necessarily needed
 for a bare-minimum system to run.

 I honestly don't just want to delete stuff that I don't know if it
 could break something, so I was hoping maybe someone knows of a list
 (on a wiki / blog / etc) that has a really bare minimum list of
 software that needs to be on a server to function.

 I could install anything else later on if I need to though.



 I really think the minimal CD would be about as lean as you would want to go.
 You could maybe trim a few megs, but is it worth the extra work?

 ___



Hi Scott,

I didn't know about the minimal CD until now.

And it's not really about trimming a few extra megs, but rather
about removing, and disabling services which users generally won't use
but gets installed and often cause security issues down the road cause
it was never disabled



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Looking for ntop alternative

2011-07-29 Thread Rudi Ahlers
Hi,

Can anyone please recomment an ntop alternative for me, which is more
stable as well? I need to monitor all connections to and from a CentOS
5 server and ntop does it fairly well, but seems to crash at random
times, and thus looses all the date prior to the crash.


Cacti / MRTG only gives complete bandwidth usage on the given
interface, but I need to know how much bandwidth goes where, and comes
from where on which protocol etc.




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6 xen

2011-07-28 Thread Rudi Ahlers
On Thu, Jul 28, 2011 at 11:23 AM, Peter Peltonen
peter.pelto...@gmail.com wrote:
 Hi,

 A few more questions :)

 On Thu, Jul 28, 2011 at 11:56 AM, John R. Dennison j...@gerdesas.com wrote:
 On Thu, Jul 28, 2011 at 10:53:23AM +0200, Juergen Gotteswinter wrote:

 i think i am not the only one who wants to stay with with xen :)

 Far from it.  Xen still has a place as a dom0.

 What are the reasons for people staying with Xen as dom0, just the
 learning curve? Or are there some technical considerations as well?


KVM is not as mature as XEN. yet? And if you want to use a so
called Enterprise Operating System like CentOS, then you'd probably
expect a stable and enterprise grade virtualization kernel as well.

KVM, IMO (and others as well ) is not enterprise ready yet.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Adding the [SOLVED] Tag to break threads

2011-07-28 Thread Rudi Ahlers
On Thu, Jul 28, 2011 at 3:19 PM, Keith Roberts ke...@karsites.net wrote:

 Is that why it's frowned upon to use a current thread to
 start a new one? Like doing a 'reply to' and then changing
 the subject line?

 Kind Regards,

 Keith Roberts

 -


Yup. Even if you change the subject, the email headers still remain
and many email clients use the email headers to group the mails
relevant to that conversation

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to remove Microsoft soft raid?

2011-07-21 Thread Rudi Ahlers
On Thu, Jul 21, 2011 at 1:24 PM, David McGuffey
davidmcguf...@verizon.net wrote:
 Have a quad core workstation that was running WinXP_64 that I want to
 blow away and install CentOS 6.  C6 install process finds raid metadata
 associated with sda and sdb, and then excludes them from the rest of the
 installation process.

 There doesn't appear to be an option for disassembling the raid as part
 of the install process.  I think there should be.

 Any tricks to removing/by-passing the soft raid left over from the
 previous OS?

 Dave M


 ___


Can you see the 2 HDD's in the console, when you run fdisk -l?

If so, then simply use fdisk to remove all the partitions, then use
the installer to partition and format them

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ext4 in CentOS 5.6?

2011-07-17 Thread Rudi Ahlers
On Wed, Jul 6, 2011 at 6:17 AM, John R Pierce pie...@hogranch.com wrote:
 On 07/05/11 9:04 PM, Charles Polisher wrote:
 The PostgreSQL wiki seems to say that database tables are
 allocated in 1GB extents. In workloads with which I am
 familiar, with an RDBMS the extents don't bounce
 around all that much, i.e. the vast majority of writes do
 not result in a change to the underlying database's storage
 allocation. Once in a while a new extent is allocated.
 http://www.postgresql.org/docs/current/static/storage-file-layout.html
 I suppose there could be exceptions, but I haven't run
 across one personally.

 you misread that.

    When a table or index exceeds 1 GB, it is divided into
    gigabyte-sized/segments/. The first segment's file name is the same
    as the filenode; subsequent segments are named filenode.1,
    filenode.2, etc. This arrangement avoids problems on platforms that
    have file size limitations. ...


 Each file is no larger than 1GB (by default), but its written and
 expanded as needed, not in any fixed size increment.


 The WAL files you refer to are apparently database
 transaction logs. According to the wiki, these too
 are allocated in extents (WAL segments) of 16MB each.

 The wal logs are 16M files, also written sequentially as needed, and
 nearly continuously on a insert/update intensive database.  they are not
 reused, rather, old wal files are deleted (unless you're archiving), and
 new ones are created continuously.


 --
 john r pierce                            N 37, W 122
 santa cruz ca                         mid-left coast

 ___



Hi Everyone,

I just tried to install EXT4 onto a CentOS 5 machine but it failed.
Does anyone know in which repository it is?



root@usaxen01:[~]$ cat /etc/redhat-release
CentOS release 5 (Final)

root@usaxen01:[~]$ uname -a
Linux usaxen01 2.6.18-8.1.15.el5xen #1 SMP Mon Oct 22 09:01:12 EDT
2007 x86_64 x86_64 x86_64 GNU/Linux


root@usaxen01:[~]$ yum -y install e4fsprogs
Loading installonlyn plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS-6 firewall how to open a port

2011-07-17 Thread Rudi Ahlers
On Sun, Jul 17, 2011 at 6:05 PM, david da...@daku.org wrote:
 At 08:53 AM 7/17/2011, you wrote:
Timothy Murphy wrote:
  I'm running CentOS-6 on an HP MicroServer (since this morning)
  and I'd like to open an non-standard port,
  for use on a laptop  attached to the internet through the server.
 

 (snip)


  Any advice or suggestions gratefully received.
 

Use System - Administration - Firewall from GUI.
Or /usr/bin/system-config-firewall from SSH/console TUI.

Ljubomir


 I loaded my system with text-install and network, and find no file
 named /usr/bin/system-config-firewall.  My guess is that it comes
 with a package that I haven't installed.  Can you identify that package?

 Thanks
 David

 ___



yum install system-config-network


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-16 Thread Rudi Ahlers
On Sat, Jul 16, 2011 at 1:18 PM, Fajar Priyanto fajar...@arinet.org wrote:
 On Sat, Jul 16, 2011 at 6:47 PM, Ljubomir Ljubojevic off...@plnet.rs wrote:
 You might be interested in shorewall[1]. It has config file and
 extensive documentation. You tell it what you want and all iptables are
 automatically set. It also has webmin module. There are rpm's for CentOS
  5 but I think they would be OK also on the CentOS 6.

 [1]: http://www.shorewall.net/

 Hadi,
 With all the suggestions, I believe it's enough to get you going.
 iptables, shorewall, webmin.

 All you have got to do know is to google around using those keywords,
 and start learning by yourself.
 Google has everything.
 ___



But, sadly google can't teach someone to start making their own
choices or to think for themselves


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-16 Thread Rudi Ahlers
On Sat, Jul 16, 2011 at 1:46 PM, Ljubomir Ljubojevic off...@plnet.rs wrote:
 Fajar Priyanto wrote:
 Do this:
 1. Make sure your Centos has two network card. One connected to
 internet, one to local lan. Make sure the Centos can already browsing
 internet.
 Example internet: eth0 192.168.1.1
 local: eth1 192.168.2.1

 Just as a FYI, shorewall does support single NIC systems,
 and it also supports Multiple Internet connection scenarios.

 That being said, one should *never* create firewall with only one NIC!
 It is highly unsafe.

 Ljubomir



How exactly is it unsafe?



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-16 Thread Rudi Ahlers
On Sat, Jul 16, 2011 at 2:01 PM, Drew drew@gmail.com wrote:
 That being said, one should *never* create firewall with only one NIC!
 It is highly unsafe.

 So I shouldn't run a firewall on any of my hundreds of single nic
 instances?

 I think he's referring to the standard router/firewall scenario where
 the server is an internet gateway for a network. There I'd consider a
 single interface system as inherently insecure.


 --
 Drew

 Nothing in life is to be feared. It is only to be understood.
 --Marie Curie
 ___



well there's no real reason why a single NIC firewall should be
insecure. We're all referring a normal PC (or even server) with CentOS
installed on it, not a commercial firewall.

If you setup different IP subnets on the same NIC and routing between
them, the same way as between 2 NIC's then you'll still have the same
level of firewalling. And I'm sure you could setup VLAN's on the
switch for the different IP subnets to make it more secure as well.

The one place where this is commonly used is with a PPPoE ADSL switch
where the ADSL firewall establishes the PPPoE connection and then
shares the internet to the LAN as well using the same ADSL modem's
wifi connection.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-16 Thread Rudi Ahlers
On Sat, Jul 16, 2011 at 2:20 PM, Ljubomir Ljubojevic off...@plnet.rs wrote:
 Keith Roberts wrote:
 So I guess I could configure my single NIC Centos 5.6
 machine connected to a 4 port ADSL router to act as the
 external Gateway for other machine on the LAN side of the
 router, possibly using NAPT on the Centos box?

 Yes, you can do that. You can also use it as a proxy server.

 When I said firewall, I meant as firewall for the network, facing
 outside of the local network. There were people who would bring public
 (or semi-public, from ISP) IP to the switch and then hook up all PC's to
 that switch and use 2 subnets, one that ISP provided and one for the
 local LAN, all on the same switch, to save on hardware. That is not safe
  and not wise.

Sure, if the 2 subnets were just NAT'ed then it wouldn't be very safe.
But if you have propper firewall rules in place to block incoming
traffic from the public IP going to the private IP then it's very
safe.



 Ljubomir
 ___



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-16 Thread Rudi Ahlers
On Sat, Jul 16, 2011 at 2:44 PM, Ljubomir Ljubojevic off...@plnet.rs wrote:

 But if you have public network passing through local area switch, then
 there is possibility o hackers using lower network layers to access
 unprotected PC's on that local network. Not long-distance hackers, but
 in case of physical presence outside of your network they could assign
 virtual IP to the MAC addresses of your PC's and access it directly that
 way, not to mention danger of PC's bypassing your one-NIC firewall and
 unsafely connecting to the outside.

 Ljubomir
 ___




local hackers is a matter all on it's own :) I have seen many cases
on clients networks where they use an expensive commercial firewall
(brand doesn't matter here, but let's say for example Cyberoam, Cisco,
HP etc) and still have problems with hackers on the local LAN cause
they didn't think of setting up propper security on the LAN as well.



The fact is, you can use a Linux firwall with a single NIC, as long as
you use different IP subnets and strong iptables rules to filter
traffic properly between the 2 subnets.

another scenarion where this is used more and more these days is with
virtualization, where you won't have different NIC's for each virtual
server on the same physical server. The only way to firewall that
traffic is to use iptables and VLAN's.
And many many hosting companies use virtual hosting for their clients.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] firewall?

2011-07-16 Thread Rudi Ahlers
On Sat, Jul 16, 2011 at 2:56 PM, Drew drew@gmail.com wrote:
 not to mention danger of PC's bypassing your one-NIC firewall and
 unsafely connecting to the outside.

 That I think is the biggest danger with a one NIC setup.

 Linux boxen may be safe(r) (then windows) from being infected or
 hacked but just one malicious machine can bypass the security in place
 if you don't logically *and* physically separate your subnets.


 --
 Drew



You can have the same problem with a multi-NIC firewall, by the way.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] really large file systems with centos

2011-07-15 Thread Rudi Ahlers
On Fri, Jul 15, 2011 at 12:35 AM, Don Krause dkra...@optivus.com wrote:
 On Jul 14, 2011, at 12:56 PM, Pasi Kärkkäinen wrote:

 On Thu, Jul 14, 2011 at 04:53:11PM +0300, Pasi Kärkkäinen wrote:
 On Wed, Jul 13, 2011 at 11:32:14PM -0700, John R Pierce wrote:
 I've been asked for ideas on building a rather large archival storage
 system for inhouse use, on the order of 100-400TB. Probably using CentOS
 6.    The existing system this would replace is using Solaris 10 and
 ZFS, but I want to explore using Linux instead.

 We have our own tomcat based archiving software that would run on this
 storage server, along with NFS client and server.   Its a write once,
 read almost never kind of application, storing compressed batches of
 archive files for a year or two.   400TB written over 2 years translates
 to about 200TB/year or about 7MB/second average write speed.   The very
 rare and occasional read accesses are done by batches where a client
 makes a webservice call to get a specific set of files, then they are
 pushed as a batch to staging storage where the user can then browse
 them, this can take minutes without any problems.

 My general idea is a 2U server with 1-4 SAS cards connected to strings
 of about 48 SATA disks (4 x 12 or 3 x 16), all configured as JBOD, so
 there would potentially be 48 or 96 or 192 drives on this one server.
 I'm thinking they should be laid as as 4 or 8 or 16 seperate RAID6 sets
 of 10 disks each, then use LVM to put those into a larger volume.
 About 10% of the disks would be reserved as global hot spares.

 So, my questions...

 D) anything important I've neglected?


 Remember Solaris ZFS does checksumming for all data, so with weekly/monthly 
 ZFS scrubbing it can detect silent data/disk corruption automatically and 
 fix it. With a lot of data, that might get pretty important..


 Oh, and one more thing.. if you're going to use that many JBODs,
 pay attention to SES chassis management chips/drivers and software,
 so that you get the error/fault LEDs working on disk failure!

 -- Pasi


 And make sure the assembler wires it all up correctly, I have a JBOD box, 16 
 drives in a supermicro chassis,
 where the drives are numbered left to right, but the error lights assume top 
 to bottom.

 The first time we had a drive fail, I opened the RAID management software, 
 clicked Blink Light on the failed drive,
 pulled the unit that was flashing, and toasted the array. (Of course, NOW 
 it's RAID6 with hot spare so that won't happen anymore..)

 --
 Don Krause
 This message represents the official view of the voices in my head.



Which is why nobody should use RAID5 for anything other than test purposes :)



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-14 Thread Rudi Ahlers
On Wed, Jul 13, 2011 at 9:10 PM, James B. Byrne byrn...@harte-lyne.ca wrote:

 On Wed Jul 13 15:03:40 EDT 2011, Michael Best mbest at pendragon.org
  wrote:
 Like this:

 MAILTO=testaddr at harte-lyne.ca
 30 2 * * * echo this should be mailed

 That sets MAILTO for the entire crontab does it not?  I want to set
 MAILTO differently for specific crontab entries.  Is that possible?
 How is it done?  Or do I have to pipe stuff to /usr/bin/mail
 explicitly?




Easy:


MAILTO=root
30 2 * * * echo this should be mailed to root
MAILTO=james@harte.x.x
30 4 * * * echo this should be mailed to James
MAILTO=bob
30 5 * * * echo this should be mailed to Bob
MAILTO=
30 6 * * * echo this should be mailed to no-one


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] use of MAILTO variable in crontab

2011-07-14 Thread Rudi Ahlers
On Thu, Jul 14, 2011 at 7:28 PM, Mike Burger mbur...@bubbanfriends.org wrote:

 On Wed, Jul 13, 2011 at 9:10 PM, James B. Byrne byrn...@harte-lyne.ca
 wrote:

 On Wed Jul 13 15:03:40 EDT 2011, Michael Best mbest at pendragon.org
  wrote:
 Like this:

 MAILTO=testaddr at harte-lyne.ca
 30 2 * * * echo this should be mailed

 That sets MAILTO for the entire crontab does it not?  I want to set
 MAILTO differently for specific crontab entries.  Is that possible?
 How is it done?  Or do I have to pipe stuff to /usr/bin/mail
 explicitly?




 Easy:


 MAILTO=root
 30 2 * * * echo this should be mailed to root
 MAILTO=james@harte.x.x
 30 4 * * * echo this should be mailed to James
 MAILTO=bob
 30 5 * * * echo this should be mailed to Bob
 MAILTO=
 30 6 * * * echo this should be mailed to no-one

 Why not simply do one of the following:

 30 6 * * * /path/to/job 21 | mail -s job name output user at domain
 .com

 Or

 Within the script that runs the job, send the output of the to a file,
 then cat the contents of the file through

 mail -s job name output user at domain.com
 --
 Mike Burger
 http://www.bubbanfriends.org



I suppose it depends on which option you prefer :)


But, I think if your crontab has many lines then it's a bit easier to
use the method I suggested.


For example:

MAILTO=root
line1
line2
line3
.
.
line9


MAILTO=support-dept
line10
line11
line12
..
..
line13
line14



MAILTO=
line15
line16
etc

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] 6.0 text-mode installer broken?

2011-07-12 Thread Rudi Ahlers
On Tue, Jul 12, 2011 at 11:36 AM, Andy Holt centos-l...@orgdotuk.org.uk wrote:
  Someone posted that you can use VNC to install CentOS 6.

 and this has WHAT to do with low ram installs?

 It means you get to do a graphical install, which you otherwise can't if you 
 don't have enough RAM i.e. less than 652MB.

 hth Andy

 ___



Surely Russ would have known that, if he followed the link to the
RHEL6 documentation on THIS VERY MATTER.

Russ, there's no need to be rude to someone who's trying to help.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 Server has no GUI

2011-07-12 Thread Rudi Ahlers
On Tue, Jul 12, 2011 at 6:31 PM, Keith Roberts ke...@karsites.net wrote:
 On Tue, 12 Jul 2011, Lamar Owen wrote:

 To: CentOS mailing list centos@centos.org
 From: Lamar Owen lo...@pari.edu
 Subject: Re: [CentOS] Centos 6 Server has no GUI

 On Tuesday, July 12, 2011 08:44:00 AM Keith Roberts wrote:
 How can Linux _not_ have run levels. I thought that was a
 central part of the design of Linux?

 No, it's a central part of the design of the old System V Init.  C6, SL6,  
 and upstream EL6 use upstart instead of SysVInit.

 EL7, if the direction of Fedora is any indication, won't have classic 
 runlevels, but will use systemd.

 The Linux kernel knows nothing of runlevels; runlevels are userspace and 
 have been since SysVInit was first used (and even before).  All the kernel 
 cares about is that it hands execution off to a userspace process that then 
 takes care of further boot.  That process can be /bin/sh or anything else, 
 the kernel doesn't care.

 OK, thanks for pointing that out Lamar. So I take it we can
 still choose which services we want running at boot time on
 C6?

 Keith

 -


Yes, look here: http://upstart.ubuntu.com/


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6 Server has no GUI

2011-07-11 Thread Rudi Ahlers
On Mon, Jul 11, 2011 at 5:40 PM, Scott Robbins scot...@nyc.rr.com wrote:
 On Mon, Jul 11, 2011 at 11:33:10PM +0800, Emmanuel Noobadmin wrote:
 On 7/11/11, Keith Beeby k.be...@albion.co.uk wrote:
  Hi,
 


  So first daft question with Centos 6 (someone had to be first!) I've setup
  Centos 6 as a Server but as with Centos 5 it used to boot into the GUI but
  v6 doesn't do this, startx etc doesn't seem to work to launch the GUI

 If I'm not mistaken, the Server option does not include the GUI so
 you'll have to install the GUI group manually as others have
 suggested.

 If I'm not mistaken, (not making fun of Emmanuel, just the same caveat),
 neither server nor web server have a GUI by default.  IMLTHO (less than
 humble) this is something they should have done a long time ago, (though
 I would like to see either flux or openbox available as alternative--on
 the other hand, that's purely personal preference, and can be safely
 ignored--just, if I do, for whatever reason, want a GUI on a server, I'd
 much prefer a *box (or other--twm is available actually, but I don't
 like it), I'd like something light.


 --



I have to agree with Scott.

A lightweight server option is a
long-awaited-and-much-deserved-feature but it would be nice if we
could still get a very lightweight X - even if it doesn't run
automatically. I often need to use X for odd stuff which only works on
X - like using Firefox to check if a specific feature on a website,
hosted on the server works fine. Or like using gparted to get the
extra features which fdisk doesn't offer.

Just a thought...



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Celebrating Centos 6.0 Day World-wide

2011-07-10 Thread Rudi Ahlers
On Sat, Jul 9, 2011 at 10:59 PM, Always Learning cen...@u6.u22.net wrote:


 Hoi Rudi,


  CentOS is great as a server OS, but it won't replace our accountant's
  Windows 7 desktop - the amount of technical compatibilies issues we're
  going to sit with is just not worth it.
 
  Don't use a jack hammer to drive in a nail :)

 Centos 5.5 works well for my non-computer literate friends who use a
 computer for Facebook and web browsing.



I never said CentOS won't work great for this.


But, try and convert someone who uses Pastel Accounting, Quickbooks,
Lightroom, AutoCAD, Adobe Premier, etc, to name but a few.

The point I'm making is that it won't suit everyone's needs.


And yes, I know where you're coming from. Many years ago my mother used to
work on a DOS based application in the hospital and when it came to
converting their system to Windows 98 (which then used a mouse) it took many
months to try and get her to use a mouse.
My mother-in-law is not computer literate at all. She has a PC to facebook
and play games on. And now matter how many times I've tried to show her how
to cut an MP3 CD, she simply can't remember todo it. Now for me to convert
her desktop to Linux would be an absolute nightmare.

I remember some years ago I converted a guy who used to study MCSE with me
(yes, I know.) to Linux. He absolutely LOVED it. I gave him a Suse Live
CD - this was about 8 or 9 years ago I think, and then he decided to install
it on his PC. Big mistake. He didn't know that to format your Hard Drive
means it will completely wipe everything from it. So he lost all his data.
We had some words and he wanted to sue me for ruining his business. And yes,
the mistake I made, was that I didn't sit next to him 24/7 and spoon fed
him. I thought he would be somewhat technically competent to understand what
he's going todo with his PC. BUT, he wanted to save money
on Microsoft licensing.


P.S. Have you every tried to convert a MAC user, specifically a 3D graphic
designer to anything other than MAC?
Different people have different needs and different applications (and
Operating Systems) exist for that exact reason :)


I run Windows 7 on on both my laptop and my Desktop cause we have some
business applications which won't run on Linux.
Yet some of the developers in the office use either Debian, Slackware or
CentOS.
All our servers though run CentOS, FreeBSD and Solaris. Even my media player
and 12TB NAS (my wife is a photographer) at home runs CentOS.




 I use Centos 5.6 on servers, desktops, home server/desktop, laptop,
 notebook/netbook and would never willingly return to ghastly M$ Windoze.


 --
 With best regards,

 Paul.
 England,
 EU.

 1 June 2010 Exclusively Centos  Gnome. Liberated from M$ Windoze.


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




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Where can I download centos 6

2011-07-10 Thread Rudi Ahlers
On Sun, Jul 10, 2011 at 3:14 PM, Patrick Lists 
centos-l...@puzzled.xs4all.nl wrote:

 On 07/10/2011 03:10 PM, Hal Davison wrote:
  What innovations will Cent 6 bring to the
  party in your opinion?

 http://www.redhat.com/about/news/prarchive/2010/new-standard.html

 Regards,
 Patrick




It's interesting how that article was released in November 2010 ..


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Celebrating Centos 6.0 Day World-wide

2011-07-09 Thread Rudi Ahlers
On Sat, Jul 9, 2011 at 8:04 PM, Always Learning cen...@u6.u22.net wrote:


 May I suggest that all us very grateful users of Centos make 6 copies of
 Centos  6.0 (either i386 or/and X64) and hand then out to friends,
 colleagues or strangers (unknown members of the public) who might be
 interested in trying Centos ?


This is a great and noble idea but you're going to cause unwanted problems
for some people. And often times those people would rather pay the 100pounds
extra for Windows than have to try and actually become computer fundies.

My mother, father, in-laws, some friends and many of our client could
benefit from the cost saving that Linux has to offer. But they won't change
over, no matter you convinsing your story about computer liberty is, cause
Linux simmply cannot replave Windows. Not for them at least. Linux doesn't
work for everyone.

CentOS is great as a server OS, but it won't replace our accountant's
Windows 7 desktop - the amount of technical compatibilies issues we're going
to sit with is just not worth it.

Don't use a jack hammer to drive in a nail :)


 A modification of this idea could be to distribute Live versions of
 Centos that can run without altering a computer's hard disk(s).

 Wasn't, or isn't there a Live distro already?



 --
 With best regards,

 Paul.
 England,
 EU.

 1 June 2010 Exclusively Centos  Gnome. Liberated from M$ Windoze.


 ___






-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to enable Flow Control on CentOS?

2011-07-07 Thread Rudi Ahlers
Hi,

I have an interesting situation with one of our switches. It's a
D-Link DGS-3100, 24 port 10/100/1000 Layer 2 Managed switch with some
CentOS servers connected to it. On many of the servers I need to
disable Flow Control on the switch's ports otherwise the CentOS
server's doesn't connect to the switch. i.e. the Switch indicates that
the LAN cable is unplugged and CentOS can simply not connect to any
host on the LAN.

As soon as I disable Flow Control, CentOS breaks.

Does anyone know why this would happen, or how / if I can enable Flow
Control in CentOS as well?



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to get data from syslog for a specific date range?

2011-07-07 Thread Rudi Ahlers
Hi all,

Can someone please tell me, or point me in the right direction ( I
have googled, with little luck) on how to get data from
/var/logs/messages (and other log files) for a specified fe days (i.e
19 - 30 June 2011) ?

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to enable Flow Control on CentOS?

2011-07-07 Thread Rudi Ahlers
On Thu, Jul 7, 2011 at 2:31 PM, Digimer li...@alteeve.com wrote:
 On 07/07/2011 07:46 AM, Rudi Ahlers wrote:
 Hi,

 I have an interesting situation with one of our switches. It's a
 D-Link DGS-3100, 24 port 10/100/1000 Layer 2 Managed switch with some
 CentOS servers connected to it. On many of the servers I need to
 disable Flow Control on the switch's ports otherwise the CentOS
 server's doesn't connect to the switch. i.e. the Switch indicates that
 the LAN cable is unplugged and CentOS can simply not connect to any
 host on the LAN.

 As soon as I disable Flow Control, CentOS breaks.

 Does anyone know why this would happen, or how / if I can enable Flow
 Control in CentOS as well?

 I've got many CentOS machines connected to a few DGS-3100 (24 and 48
 port versions) and I've not seen this problem before. I can't suggest
 what might be the problem, but I am going to guess that it's server side.




Yes, I figured that much, but I don't know what to look for.

Some of the servers are Intel and other are SuperMicro, all using
onboard NIC's. The Dell Windows servers connected to the same switch
doesn't have this issue though





-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to enable Flow Control on CentOS?

2011-07-07 Thread Rudi Ahlers
On Thu, Jul 7, 2011 at 3:22 PM, R - elists list...@abbacomm.net wrote:
 rudi

 when migrating some rackmount HP servers running Centos4 from hard coded 100
 meg fdx to auto gigE that we had to

 1) remove this from our ifcfg-ethX files

 ETHTOOL_OPTS=speed 100 duplex full autoneg off

I don't see those options listed:

root@zaxen01:[~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82566DC Gigabit Network Connection
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
HWADDR=00:1c:c0:75:19:ee
TYPE=Ethernet
IPADDR=196.34.x.x
NETMASK=255.255.255.224
GATEWAY=196.34.x.x






 2) proper CAT6 wiring

already done :)


 3) plug into the copper gigE switchport

already done :)



 4) reboot

tried that already


 using Cisco though...

I can't change a switch just for this. The other (Dell + Windows)
servers on the exact same switch doesn't give me this problem.


 did not find a decent plug n play solution

 i.e., did not waste a lot of time looking for solutions other than the
 obvious cisco and centos config or network down and up interface commands

  - rh

 ___






-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to get data from syslog for a specific date range?

2011-07-07 Thread Rudi Ahlers
On Thu, Jul 7, 2011 at 3:28 PM, Owen Beckley ow...@foxriver.com wrote:

 -Original Message-
 From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On
 Behalf Of Rudi Ahlers
 Sent: Thursday, July 07, 2011 7:04 AM
 To: CentOS mailing list
 Subject: [CentOS] how to get data from syslog for a specific date
 range?

 Hi all,

 Can someone please tell me, or point me in the right direction ( I
 have googled, with little luck) on how to get data from
 /var/logs/messages (and other log files) for a specified fe days (i.e
 19 - 30 June 2011) ?


 Give this a try:

 grep -E '^Jun (19|2[0-9]|30) ' /var/log/messages

 And to explain the argument following -E see:

 man grep

 --
 Owen Beckley

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


Thanx Owen, that's probably what I needed, but it seems there's
something wrong with the logs on this server since it only has this
month's data in /var/log/messages and /var/log/message.1 - 4 doesn't
have much either. I'll have to investigate this first to see what's
up.

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to enable Flow Control on CentOS?

2011-07-07 Thread Rudi Ahlers
On Thu, Jul 7, 2011 at 3:43 PM, Nicolas Thierry-Mieg
nicolas.thierry-m...@imag.fr wrote:
 Rudi Ahlers wrote:
 On Thu, Jul 7, 2011 at 3:22 PM, R - elistslist...@abbacomm.net  wrote:
 rudi

 when migrating some rackmount HP servers running Centos4 from hard coded 100
 meg fdx to auto gigE that we had to

 1) remove this from our ifcfg-ethX files

 ETHTOOL_OPTS=speed 100 duplex full autoneg off

 I don't see those options listed:

 root@zaxen01:[~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0

 you're not looking in the right place, look in TFM:
 /usr/share/doc/initscripts-*/sysconfig.txt
 ___



Interesting. It *almost* looks like a plain text (i.e. instructions /
manual) file to me and there's 2 lines with the option you specified:

 ETHTOOL_OPTS=...
  Any device-specific options supported by ethtool. For example,
  if you wanted to force 100Mb full duplex:
ETHTOOL_OPTS=speed 100 duplex full autoneg off



The NIC is connected @ 1GB, as per the switch interface, but I can't
seem to verify it on CentOS directly, and I would prefer not to change
this file since it shows as 100MB (if that 2nd line with ETHTOOL_OPTS
is an actual configuration option, and not just comment) but there's
no mention of Flow Control in that file. I don't know what impact this
could have, if any at all.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS on the HP MicroServer

2011-07-06 Thread Rudi Ahlers
On Wed, Jul 6, 2011 at 5:48 AM, John R Pierce pie...@hogranch.com wrote:

 indeed, it ships with the 4 drive trays.  Note they are not advertised
 as hot swap, I believe this is probably because there is no SES
 (enclosure services) and Windows in particular is not happy about
 hotswapping disks without one.   afaik, if you go to the trouble of
 using the mdadm commands on linux to take the drive offline before
 removing it, you should be able to 'warm swap' as there's nothing in the
 hardware preventing it, and the SATA connector is inherently
 electrically safe for hotswap.

 --
 john r pierce                            N 37, W 122
 santa cruz ca                         mid-left coast

 ___



I thought this was particularly dependent on the BIOS to support AHCI,
and not necessarily so much on SES alone?

Many desktop grade motherboard can hot swap a SATA HDD and they don't
have SES, only AHCI in the BIOS. Or is HP just trying to stay on the
safe side with not advertising hot swap, incase someone with Windows
has issues with it?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Power-outage

2011-07-06 Thread Rudi Ahlers
On Wed, Jul 6, 2011 at 6:24 PM, John R Pierce pie...@hogranch.com wrote:
 On 07/06/11 5:44 AM, Lamar Owen wrote:
 Sure; we have a couple of small units like that for some solar-powered 
 things we're doing here; however, the max I've seen for those plug-in type 
 small ATX/ITX power supplies has been in the ~200W range (the specific one 
 you linked to is only 160W), and my reply was specifically directed at the 
 idea that lower than 48 VDC input was limited in power handling..  
 PowerStream has a 500W 12VDC input unit, which is quite a bit more power 
 than I've seen in the mini-ITX plugin supply categories.

 500 watts at 12VDC is 41 amps.   that requires some hefty wiring, and if
 you have to run it any distances, either the wire is ridiculously heavy
 (and expensive) or you suffer from voltage drop under load.

 500 watts at 120V is only 4 amps, and can easily be run 100s of feet
 through simple lamp cord sized wiring.

 --
 john r pierce                            N 37, W 122
 santa cruz ca                         mid-left coast

 ___



Which is why it's generally better to use 48V for these kinds of applications :)



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP Smart Array B110i SATA RAID Controller Driver

2011-07-06 Thread Rudi Ahlers
On Wed, Jul 6, 2011 at 8:10 PM, Kaushal Shriyan
kaushalshri...@gmail.com wrote:
 Hi Simon,

 Thanks for the explanation. Please help me understand why do Hardware
 Vendors provide onboard storage raid controller chipset on the
 motherboard (fakeraid if its a software raid.).  Is it a marketing
 term for selling servers. Since it does not add value at all strictly
 speaking due to the fact that the OS is unable to determine the
 Logical drives.

 Awaiting your earnest reply.

 Regards

 Kaushal
 ___


Frankly, that's something you'd need to ask the vendors directly.
Everyone else can just give you speculation, or their idea of what
they think the real reason behind this is.

That said, many onboard RAID chipsets work fine with various Linux
distributions, and all of them work fine with Windows. In the case of
Windows you also need to install the drivers while installing Windows.
And this is cause the OS developers, whether Linux, UNIX or Windows
don't always have the drivers readily available to include in the
installation files but instead rely on the hardware developers to
supply the drivers on disk, or on the internet.


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   3   4   5   6   7   8   9   >