Re: [CentOS] i would like to add asterix to my centos

2008-10-23 Thread Tim Verhoeven
On Thu, Oct 23, 2008 at 1:32 AM, david fritz <[EMAIL PROTECTED]> wrote:
> I want to add a server of VoIP under my server, but I don't have de
> doawnload and i don't have the tutotrial. please help me

As already said, you can get prebuild packages using the Atrpms
repository. I'm using those on a CentOS system and it is working fine.
I'm also maintaining the Asterisk and related packages for Atrpms.

Regards,
Tim

-- 
Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] OT: Setting a CentOS to gateway a private IP address

2008-10-23 Thread John
behalf of; James B. Byrne [EMAIL PROTECTED]

router rip
  network eth0  <--- is this correct?
  network 192.168.219.0/24
#
JohnStanley Writes:
Did you bother to check the documentation?

http://www.quagga.net/docs/docs-info.php#SEC40

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


[CentOS] Creating a controlled local repo

2008-10-23 Thread Sorin Srbu
Hi all,

I've been thinking about creating a local repo for our to-be CentOS-park
(we're currently in the process of migrating from RHEL3 to CentOS5). 
As we need to control all updates being applied (think WUS, Windows
Update Server) because of special software being run on servers and clients,
we must check first that our molecular modeling software doesn't bite the
grass should eg X, the kernel (and breaking the proprietary nvidia gfx-drivers
in the process) etc be updated in a "non-approved" way.

Therefore I've planned to create a local repo on one of our servers, share
/var/cache/yum, set keepcache to 1 on that server and have it reposync
periodically (like once a week) with CentOS Base, Extras, rpmforge and so on.

On the clients I'd disable all standard repos, and only have the clients yum
update from the aforementioned local repo server.

Would this work? Or is there a cleaner/nicer/better/simpler way to do this?
Gotchas' maybe? Any feedback is appreciated.

Thx in advance.
-- 
BW,
Sorin
---
# Sorin Srbu[Sysadmin]
# Dept of Medicinal Chemistry,  Phone: +46 (0)18-4714482 >3 signals> GSM
# Div of Org Pharm Chem,Mobile: +46 (0)701-718023
# Box 574, Uppsala University,  Fax: +46 (0)18-4714482
# SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b
#   Web: http://www.orgfarm.uu.se
---
# ()  ASCII ribbon campaign - Against html E-mail 
# /\
#
# MotD follows:
# Wit levels low. Attempting to compensate.



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


Re: [CentOS] Creating a controlled local repo

2008-10-23 Thread Mogens Kjaer
Sorin Srbu wrote:
...
> Therefore I've planned to create a local repo on one of our servers, share
> /var/cache/yum, set keepcache to 1 on that server and have it reposync
> periodically (like once a week) with CentOS Base, Extras, rpmforge and so on.

Why not make a "real" mirror using rsync, test new updates on a test
test machine, and run "yum update" on the clients when the test
machine is ok?

You could risk getting into trouble updating via a shared
/var/cache/yum when CentOS 5.3, 5.4, etc. comes out.

Use nvidia-x11-drv from rpmforge to get updated nvidia drivers.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] KIVIO

2008-10-23 Thread Gopinath Achari
Hi all,

I need Koffice-kivio package for centos 5.2 (i386)
I downloaded this package from kde.org site. when i installed. It
generated lots of dependency errors even though the dependency packages
are installed
please Help me out . I need kivio ( Equivalent to Visio)

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


[CentOS] compare directories

2008-10-23 Thread David Hláčik
Hello guys,

I have two mirrors. I need to compare files and directories on both mirrors
and as a result print list of those which are missing on mirror 2

What i did

find /data > find.mirror1

find /data > find.mirror2

Now i need to get list of those directories which are missing in mirror1.

Thanks in advance!

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


RE: [CentOS] Creating a controlled local repo

2008-10-23 Thread Sorin Srbu
Mogens Kjaer <> scribbled on Thursday, October 23, 2008 10:32 AM:

>> Therefore I've planned to create a local repo on one of our servers, share
>> /var/cache/yum, set keepcache to 1 on that server and have it reposync
>> periodically (like once a week) with CentOS Base, Extras, rpmforge and so
>> on. 
> 
> Why not make a "real" mirror using rsync, test new updates on a test
> test machine, and run "yum update" on the clients when the test
> machine is ok?

Ok, that's a point I guess. Although, I don't quite see why this is different
from the setup I mentioned though, could you elaborate a bit? What would the
advantage be with your suggestion?

Also, how can I let all the clients automatically update from the server, when
the updates have been okayed? Yum-nightly maybe?


> You could risk getting into trouble updating via a shared
> /var/cache/yum when CentOS 5.3, 5.4, etc. comes out.

I'd use repomanage to weed out old stuff, maybe with a cronjob, and only keep
the latest versions. Also, there's always some hub-bub on this list, so I can
preemtively disable the reposync, until the new version's been tested. 


> Use nvidia-x11-drv from rpmforge to get updated nvidia drivers.

Are they any good? I inherited this linux-farm from the previous *nixadmin,
and the way it's setup assumes we use the proprietary drivers from nvidia, as
that's what the molecular modeling software company says'll work. We need the
fancy 3D-stuff and whatnot.

TIA.

/S


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


Re: [CentOS] Redhat enterprise rpm

2008-10-23 Thread Spike Turner
ann kok wrote:

> We are difficult to get rpm in our system running redhat
> enterpirse 
> 
> Can you use the centos rpm to install in redhat
> eneterprise?
> 

What rpm are you trying to install? Care to give more details?
There could be an rpm for RHEL/CentOS in one of the 3rd party 
repos.

> ARe they compatible?
> 
> Thank you
> 

CentOS is basically RHEL without the trademarks so it is
compatible. 

Spike.


  

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


Re: [CentOS] Creating a controlled local repo

2008-10-23 Thread Mogens Kjaer
Sorin Srbu wrote:
...
>> Use nvidia-x11-drv from rpmforge to get updated nvidia drivers.
> 
> Are they any good? I inherited this linux-farm from the previous *nixadmin,
> and the way it's setup assumes we use the proprietary drivers from nvidia, as
> that's what the molecular modeling software company says'll work. We need the
> fancy 3D-stuff and whatnot.

nvidia-x11-drv is the proprietary drivers from Nvidia, just packaged
so that you (normally) don't have to worry about kernel upgrades.

We use this on a CentOS machine running molecular modelling software
without problems.

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] compare directories

2008-10-23 Thread Luciano Rocha
On Thu, Oct 23, 2008 at 11:53:20AM +0200, David Hláčik wrote:
> Hello guys,
> 
> I have two mirrors. I need to compare files and directories on both mirrors
> and as a result print list of those which are missing on mirror 2
> 
> What i did
> 
> find /data > find.mirror1
> 
> find /data > find.mirror2
> 
> Now i need to get list of those directories which are missing in mirror1.
> 
> Thanks in advance!

I use this bash function:
dirdiff ()
{
local src="$1" dst;
dst="${2:-.}";
if [ -z "$src" ]; then
err "missing original directory";
return 1;
fi;
if ! [ -d "$src" ]; then
err "$src: not a directory";
return 1;
fi;
if ! [ -d "$dst" ]; then
err "$dst: not a directory";
return 1;
fi;
diff -u <(cd "$src" && find . | LC_ALL=C sort |
  sed -e 's/^..//') <(cd "$dst" && find . | LC_ALL=C sort |
  sed -e 's/^..//')
}

-- 
lfr
0/0


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


Re: [CentOS] compare directories

2008-10-23 Thread Mogens Kjaer
David Hláčik wrote:
> Hello guys,
> 
> I have two mirrors. I need to compare files and directories on both mirrors
> and as a result print list of those which are missing on mirror 2

Can you use rsync with the -n switch (dryrun) to mirror from
mirror 1 to mirror 2 and see what would be transferred?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
Email: [EMAIL PROTECTED] Homepage: http://www.crc.dk
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Spike Turner
Ralph Angenendt  wrote:

> Spike Turner wrote:
> > Perhaps with the release of the CentOS 4.7 Server CD
> > the frontpage at www.centos.org could be updated to
> > reflect this new development rather than 4.4?
> 
> In cases like this - could you open a bug at
> ?
> 
> I'll take this further, though, thanks.
> 

This is one of the things I don't understand at the
totalitarian republic of CentOS. I believe an announcement
was made also to distrowatch and when people come looking
they find out of date information.

Bugs/bugzilla should be for reporting bugs at least that
is the way it is elsewhere.

Spike.


  

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


Re: [CentOS] CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Ralph Angenendt
Spike Turner wrote:
> Ralph Angenendt  wrote:
> 
> > Spike Turner wrote:
> > > Perhaps with the release of the CentOS 4.7 Server CD
> > > the frontpage at www.centos.org could be updated to
> > > reflect this new development rather than 4.4?
> > 
> > In cases like this - could you open a bug at
> > ?
> > 
> > I'll take this further, though, thanks.
> 
> This is one of the things I don't understand at the
> totalitarian republic of CentOS. I believe an announcement
> was made also to distrowatch and when people come looking
> they find out of date information.

Let us call it an oversight?

> Bugs/bugzilla should be for reporting bugs at least that
> is the way it is elsewhere.

And presenting out of date information is not a bug in your opinion?

Ralph


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


RE: [CentOS] Creating a controlled local repo

2008-10-23 Thread Sorin Srbu
Mogens Kjaer <> scribbled on Thursday, October 23, 2008 12:13 PM:

>>> Use nvidia-x11-drv from rpmforge to get updated nvidia drivers.
>> 
>> Are they any good? I inherited this linux-farm from the previous *nixadmin,
>> and the way it's setup assumes we use the proprietary drivers from nvidia,
>> as that's what the molecular modeling software company says'll work. We
>> need the fancy 3D-stuff and whatnot.
> 
> nvidia-x11-drv is the proprietary drivers from Nvidia, just packaged
> so that you (normally) don't have to worry about kernel upgrades.
> 
> We use this on a CentOS machine running molecular modelling software
> without problems.

That's good info, I'll look into this. Thx!


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


Re: [CentOS] KIVIO

2008-10-23 Thread Spike Turner
Gopinath Achari  wrote:

> Hi all,
> 
> I need Koffice-kivio package for centos
> 5.2 (i386)
> I downloaded this package from kde.org site. when i
> installed. It
> generated lots of dependency errors even though the
> dependency packages
> are installed
> please Help me out . I need kivio ( Equivalent to Visio)
> 

Talk to the kde.org people. Did you first check to see 
the package was not in any 3rd party repos? When you
do what you have done and break your system you get
to keep the pieces.

Spike.


  

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


Re: [CentOS] strict memory

2008-10-23 Thread Mag Gam
ulimit is good for per process. What about for total usage? If a user
has 5 processing -- each taking up 10G, will account for 50G. Is there
a way to avoid this? Or have the VM be sensative, once its swapping we
want to start killing the processing that take the most memory?

TIA

On Wed, Oct 22, 2008 at 1:58 AM, Amos Shapira <[EMAIL PROTECTED]> wrote:
> 2008/10/17 Mag Gam <[EMAIL PROTECTED]>:
>> Hi John:
>>
>> Well, we run a lot of statistical analysis and our code loads a lot of
>> data into a vector for fast calculations. I am not sure how else to do
>> these calculations fast without loading it into memory. Thats why we
>> have to do it this way.
>
> About 15 years ago I changed an application on SGI IRIX from using
> text files scanf(3)'ed into memory
> (with floating point numbers in them) to binary files mmap(2)'ed into
> memory. Processing time was cut down by over 95% and did much more in
> the 5% left (e.g. allow interactive real-time viewing of different
> "frames" of data).
>
> Using mmap'ed files means that the system will know that these pages
> are backed by blocks on the file system and therefore it won't take up
> so much "buffer" space which needs to be writen out into the swap
> partition whenever the memory buffer is needed for something else,
> only disk cache space which can be just freed if the buffer was only
> read. You can also benefit if multiple processes access same file -
> they'll share the buffer in memory too.
>
> It's not a silver bullet, there are still issues with too random
> access causing the system the thrash, but at least it won't take up so
> much swappable memory, it'll save lots of copying (file->kernel->user
> when reading and the other way around when writing), system calls etc.
>
> If you can process data in sequential order and possibly with help of
> madvise(2) you can probably squeeze out even more from this option.
>
> --Amos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] device driver useage

2008-10-23 Thread Geoff Galitz



Under Centos 5.X, how can I determine with 100% certainty what driver is
associated with a given device other than referencing dmesg?  For example,
what tool can I use to tell for sure what driver is attached to my eth0
device?  


I have searched the web, but could not find anything that answered my
question.

Geoff Galitz
Blankenheim NRW, Deutschland
http://www.galitz.org


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


[CentOS] Export restrictions on CentOS 5

2008-10-23 Thread Michael Madden
What are the export restrictions on CentOS 5.x?  Since it's a rebuild of 
RHEL I'd suspect it has similar restrictions to what Red Hat has 
outlined at the following page:


http://www.redhat.com/licenses/export/

Is this correct? Thanks in advance.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: KIVIO

2008-10-23 Thread Rex Dieter
Gopinath Achari wrote:

> I need Koffice-kivio package for centos 5.2 (i386)
> I downloaded this package from kde.org site. when i installed. It
> generated lots of dependency errors even though the dependency packages
> are installed
> please Help me out . I need kivio ( Equivalent to Visio)

It has been built for EPEL, but hasn't been pushed yet.  
KBS-Extras?

In the meantime, you can try rebuilding from source:
http://kdeforge.unl.edu/apt/kde-redhat/all/SRPMS.stable/koffice-1.6.3-16.src.rpm

rpmbuild -bb --define "rhel 5" koffice*.src.rpm
(all necessary build deps are in EPEL already)

-- Rex

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


Re: [CentOS] compare directories

2008-10-23 Thread Les Mikesell

David Hlác(ik wrote:

Hello guys,

I have two mirrors. I need to compare files and directories on both mirrors
and as a result print list of those which are missing on mirror 2

What i did

find /data > find.mirror1

find /data > find.mirror2

Now i need to get list of those directories which are missing in mirror1.


You can run diff with the two files, but why not just use rsync to fix 
it in a single step?


To compare directories with rsync, cd into one of them and:
rsync -avn .  /target/path
The -n option says to not actually copy files, but with the -v option 
this will list the files that are missing or different.  Because the -a 
option also sets the owner and modes, this may list files where those 
are the only differences.  Omit the -n option to make the changes.


The target path may be on a different host if you use the form 
[EMAIL PROTECTED]:/path/to/target.  With older versions of rsync you might have 
to add -essh to the arguments but that is the default now.  If you would 
like any extra files in the target copy to be deleted, you can add the 
--delete option, but be sure you know  what you are doing first.


--
  Les Mikesell
   [EMAIL PROTECTED]


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


[CentOS] iptables local forwarding

2008-10-23 Thread Tom Brown

Hi

I am trying to forward port 80 to 8080 locally using iptables with the 
following


/sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT 
--to-port 8080


However this does not get put into the iptables configuration even after 
running iptables-save


Have i missed something along the way?

thanks

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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Filipe Brandenburger
Hi,

On Thu, Oct 23, 2008 at 09:15, Tom Brown <[EMAIL PROTECTED]> wrote:
> However this does not get put into the iptables configuration even after
> running iptables-save

iptables-save will only output the rules in a way that
iptables-restore will be able to rebuild the rules from.

If what you want is for these rules to be up when you boot the
machine, what you want is probably "service iptables save", which will
use iptables-save to record these rules to /etc/sysconfig/iptables,
and a script automatically calls iptables-restore to read that file
upon boot.

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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Max Hetrick

Tom Brown wrote:

I am trying to forward port 80 to 8080 locally using iptables with the 
following


/sbin/iptables -t nat -I PREROUTING -p tcp --dport 80 -j REDIRECT 
--to-port 8080


However this does not get put into the iptables configuration even after 
running iptables-save


Have i missed something along the way?


Try adding it manually to the iptables config.

# vim /etc/sysconfig/iptables

And then restart iptables.

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


RE: [CentOS] compare directories

2008-10-23 Thread Bowie Bailey
David Hlácik wrote:
> Hello guys,
> 
> I have two mirrors. I need to compare files and directories on both
> mirrors and as a result print list of those which are missing on
> mirror 2  
> 
> What i did
> 
> find /data > find.mirror1
> 
> find /data > find.mirror2
> 
> Now i need to get list of those directories which are missing in
> mirror1. 

find /data | sort > find.mirror1

find /data | sort > find.mirror2

diff find.mirror1 find.mirror2

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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Chan Chung Hang Christopher



Try adding it manually to the iptables config.

# vim /etc/sysconfig/iptables

And then restart iptables.

Not recommended. Do 'service iptables save' as Filipe posted.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Tom Brown



iptables-save will only output the rules in a way that
iptables-restore will be able to rebuild the rules from.

If what you want is for these rules to be up when you boot the
machine, what you want is probably "service iptables save", which will
use iptables-save to record these rules to /etc/sysconfig/iptables,
and a script automatically calls iptables-restore to read that file
upon boot.


  


thanks - once added do i need to do anything to make these 'live' ? I 
imagine that a iptables restart will cut off current connections ? Is 
there not a 'reload' or similar?


thanks


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


Re: [CentOS] Centos/Fedora core won't talk to an Epson Workforce 600 printer

2008-10-23 Thread Charles Campbell

Akemi Yagi wrote:

On Wed, Oct 22, 2008 at 9:38 AM, Charles Campbell
<[EMAIL PROTECTED]> wrote:
  

Charles Campbell wrote:



  

Has anyone had any luck getting CUPS to talk to an Epson Workforce 600
printer?  I got pipslite and eklite.ppd extracted (and modified it to use
Letter instead of A4) but I can't seem to get CUPS to talk succesfully with
the printer.  The printer configuration under Gnome widget does show that
CUPS detected something (pipslite:...) but when I try to use it I get a
wrapper error.  The wrapper itself is in binary so there's not much I can
make of it.  This was done with the Workforce600 in wireless mode.

I've had no luck with various combinations so far with direct ethernet,
wireless ethernet, http:, ipp:, lpd, socket: attempts.
  


Well... according to the OpenPrinting database, it's not looking good:

http://www.openprinting.org/show_printer.cgi?recnum=Epson-Workforce_600
  

Thank you for looking.

Whew!  Finally found a method that worked -- had to buy a $40 USB cable, 
but with it I got the printer working under both WinXP and Linux.


Regards,
Chip Campbell

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


Re: [CentOS] compare directories

2008-10-23 Thread William L. Maltby

On Thu, 2008-10-23 at 11:53 +0200, David Hláčik wrote:
> Hello guys,
> 
> I have two mirrors. I need to compare files and directories on both
> mirrors and as a result print list of those which are missing on
> mirror 2
> 
> What i did
> 
> find /data > find.mirror1
> 
> find /data > find.mirror2
> 
> Now i need to get list of those directories which are missing in
> mirror1.

diff --brief --recursive /dir1 /dir2 &> /tmp/dir1vsdir2 # good enough?

$ mkdir dir1 dir2
$ mkdir dir1/{a,b,c,d} dir2/{b,d}
$ diff --recursive --brief dir1 dir2
Only in dir1: a
Only in dir1: c
$

> 
> Thanks in advance!
> 
> David
> 

HTH
-- 
Bill

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


Re: [CentOS] device driver useage

2008-10-23 Thread Scott McClanahan
On Thu, 2008-10-23 at 13:22 +0200, Geoff Galitz wrote:
> 
> 
> Under Centos 5.X, how can I determine with 100% certainty what driver is
> associated with a given device other than referencing dmesg?  For example,
> what tool can I use to tell for sure what driver is attached to my eth0
> device?  
> 

One way is to crawl the sys file system.  On one of my systems the
driver can be seen by viewing the target in
the /sys/class/net/eth0/driver link.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Chan Chung Hang Christopher

Tom Brown wrote:


thanks - once added do i need to do anything to make these 'live' ? I 
imagine that a iptables restart will cut off current connections ? Is 
there not a 'reload' or similar?


The moment you run iptables to add a rule, that rule becomes live.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Filipe Brandenburger
Hi,

On Thu, Oct 23, 2008 at 10:01, Tom Brown <[EMAIL PROTECTED]> wrote:
> thanks - once added do i need to do anything to make these 'live' ? I
> imagine that a iptables restart will cut off current connections ? Is there
> not a 'reload' or similar?

AFAIK, "service iptables restart" does not cut off current
connections. The stateful connections are kept by the conntrack
module, which I believe will not be cleared on a restart of iptables,
and "service iptables restart" also uses iptables-restore, which does
the changes atomically instead of one by one.

However, don't blindly follow what I'm saying here, this is all from
memory and I might be wrong. If you really need to know it, verify it
on a test environment before you do it on the production one.

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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Tom Brown



AFAIK, "service iptables restart" does not cut off current
connections. The stateful connections are kept by the conntrack
module, which I believe will not be cleared on a restart of iptables,
and "service iptables restart" also uses iptables-restore, which does
the changes atomically instead of one by one.

However, don't blindly follow what I'm saying here, this is all from
memory and I might be wrong. If you really need to know it, verify it
on a test environment before you do it on the production one.


  


yes of course - thanks for all assistance


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


[CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Scott Silva
on 10-23-2008 3:34 AM Spike Turner spake the following:
> Ralph Angenendt  wrote:
> 
>> Spike Turner wrote:
>>> Perhaps with the release of the CentOS 4.7 Server CD
>>> the frontpage at www.centos.org could be updated to
>>> reflect this new development rather than 4.4?
>> In cases like this - could you open a bug at
>> ?
>>
>> I'll take this further, though, thanks.
>>
> 
> This is one of the things I don't understand at the
> totalitarian republic of CentOS. I believe an announcement
> was made also to distrowatch and when people come looking
> they find out of date information.
> 
> Bugs/bugzilla should be for reporting bugs at least that
> is the way it is elsewhere.
> 
> Spike.
I think the problem is that the volunteer that created the CD and announced it
isn't the same volunteer that updates the website.

Volunteers usually have varying amounts of free time.

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



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


[CentOS] rsync mirroring

2008-10-23 Thread David Hláčik
Hello guys,

we have a production server named prod-server
we have a mirror server named storage-server .


I want to mirror a downloadsite on production server to a mirror
server , but i want to keep all files from production server on mirror
server .

More explicitly.

If i will have a file named "myproduct.exe" on production server ,
which is allready mirrored on mirror server , and i will delete it on
production server,  i want to have an original file renamed to
myproduct.exe_DATE_OF_DELETION and then new myproduct.exe normally
mirrored as before.
Basically - I want to backup all changes

I am syncing using

rsync -avz .

Should i add --backup --suffix = $(date) and thats it?

Thanks in advance!

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


[CentOS] Re: Export restrictions on CentOS 5

2008-10-23 Thread Scott Silva
on 10-23-2008 4:53 AM Michael Madden spake the following:
> What are the export restrictions on CentOS 5.x?  Since it's a rebuild of
> RHEL I'd suspect it has similar restrictions to what Red Hat has
> outlined at the following page:
> 
> http://www.redhat.com/licenses/export/
> 
> Is this correct? Thanks in advance.
I don't think CentOS is a U.S. Entity, so the export restrictions are probably
different, if they exist at all.

Besides, how do you restrict something that is freely downloadable from the
internet worldwide?

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



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


Re: [CentOS] compare directories

2008-10-23 Thread Bill Campbell
On Thu, Oct 23, 2008, Bowie Bailey wrote:
>David Hlácik wrote:
>> Hello guys,
>> 
>> I have two mirrors. I need to compare files and directories on both
>> mirrors and as a result print list of those which are missing on
>> mirror 2  
>> 
>> What i did
>> 
>> find /data > find.mirror1
>> 
>> find /data > find.mirror2
>> 
>> Now i need to get list of those directories which are missing in
>> mirror1. 
>
>find /data | sort > find.mirror1
>
>find /data | sort > find.mirror2
>
>diff find.mirror1 find.mirror2

A somewhat cleaner way of doing this is to use the ``comm''
command as it generates a straight list as opposed to diff which
requires parsing the output.

cd /dir1
find . | sort > /tmp/find.mirror1
cd /dir2
find . | sort > /tmp/find.mirror2

# This will give a list of lines in mirror2 not in mirror1
comm -13 /tmp/find.mirror1 /tmp/find.mirror2 > /tmp/missingfrom1

# This will give a list of files in mirror1 not in mirror2
comm -23 /tmp/find.mirror1 /tmp/find.mirror2 > /tmp/missingfrom2

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

Democracy must be sometihng more than two wolves and a sheep voting on what
to have for dinner -- James Bovard
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos/Fedora core won't talk to an Epson Workforce 600 printer

2008-10-23 Thread MHR
On Thu, Oct 23, 2008 at 7:15 AM, Charles Campbell
<[EMAIL PROTECTED]> wrote:
>
> Thank you for looking.
>
> Whew!  Finally found a method that worked -- had to buy a $40 USB cable, but
> with it I got the printer working under both WinXP and Linux.
>

What kind of USB cable costs $40?  Is this one of those milspec things?

Just curious.

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread MHR
On Thu, Oct 23, 2008 at 9:11 AM, Scott Silva <[EMAIL PROTECTED]> wrote:
>
> I think the problem is that the volunteer that created the CD and announced it
> isn't the same volunteer that updates the website.
>
> Volunteers usually have varying amounts of free time.
>

This is obviously a bug that should be fixed

;^)

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


Re: [CentOS] Centos/Fedora core won't talk to an Epson Workforce 600 printer

2008-10-23 Thread Charles E Campbell Jr

MHR wrote:

On Thu, Oct 23, 2008 at 7:15 AM, Charles Campbell
<[EMAIL PROTECTED]> wrote:
  

Thank you for looking.

Whew!  Finally found a method that worked -- had to buy a $40 USB cable, but
with it I got the printer working under both WinXP and Linux.




What kind of USB cable costs $40?  Is this one of those milspec things?
  

Its a ten-foot USB cable from Best Buy.

Regards,
Chip Campbell

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


Re: [CentOS] compare directories

2008-10-23 Thread MHR
On Thu, Oct 23, 2008 at 10:15 AM, Bill Campbell <[EMAIL PROTECTED]> wrote:
>
> A somewhat cleaner way of doing this is to use the ``comm''
> command as it generates a straight list as opposed to diff which
> requires parsing the output.
>

But comm also "requires" that the data be sorted.  Otherwise you can
get spurious output because lines that are actually the same but do
not appear in order will show up as differences.

I'd go with the rsync solutions already posted, but that's just me.

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


Re: [CentOS] compare directories

2008-10-23 Thread Bill Campbell
On Thu, Oct 23, 2008, MHR wrote:
>On Thu, Oct 23, 2008 at 10:15 AM, Bill Campbell <[EMAIL PROTECTED]> wrote:
>>
>> A somewhat cleaner way of doing this is to use the ``comm''
>> command as it generates a straight list as opposed to diff which
>> requires parsing the output.
>>
>
>But comm also "requires" that the data be sorted.  Otherwise you can
>get spurious output because lines that are actually the same but do
>not appear in order will show up as differences.

That's certainly true, which is why my solution, and the one with
diff both sorted the find output before the comparison.

I use the ``comm'' solution quite frequently for this, and to do
things like compare ``rpm -ql packagename'' with ``rpm -qpl'' to
be sure that modifications I have made to a package have not
added or lost something compared to the installed version.

I find ``comm'' to be a very useful program that people may not
know of, and I use it in Linux/Unix classes I teach to show
people how CLI programs may make things much easier than GUIs.

>I'd go with the rsync solutions already posted, but that's just me.

Bill
-- 
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
Voice:  (206) 236-1676  Mercer Island, WA 98040-0820
Fax:(206) 232-9186

One of the common failings among honorable people is a failure to
appreciate how thoroughly dishonorable some other people can be, and how
dangerous it is to trust them.
- Thomas Sowell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Re: Centos/Fedora core won't talk to an Epson Workforce 600 printer

2008-10-23 Thread Scott Silva
on 10-23-2008 10:44 AM MHR spake the following:
> On Thu, Oct 23, 2008 at 7:15 AM, Charles Campbell
> <[EMAIL PROTECTED]> wrote:
>> Thank you for looking.
>>
>> Whew!  Finally found a method that worked -- had to buy a $40 USB cable, but
>> with it I got the printer working under both WinXP and Linux.
>>
> 
> What kind of USB cable costs $40?  Is this one of those milspec things?
> 
> Just curious.
The Gold plated Retail ones that the Circuit City or Best Buy geeks try to
sell you because they get commission.

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



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


[CentOS] Re: CentOS Digest, Vol 45, Issue 23

2008-10-23 Thread James B. Byrne

>
> Message: 24
> Date: Thu, 23 Oct 2008 03:53:55 -0400
> From: "John" <[EMAIL PROTECTED]>
> Subject: RE: [CentOS] OT: Setting a CentOS to gateway a private IP
>   address
> To: "'CentOS mailing list'" 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> behalf of; James B. Byrne [EMAIL PROTECTED]
>
> router rip
>   network eth0  <--- is this correct?
>   network 192.168.219.0/24
> #
> JohnStanley Writes:
> Did you bother to check the documentation?
>
> http://www.quagga.net/docs/docs-info.php#SEC40
>

As always, yes I did, albeit the pdf version.  Like much documentation, it
is possibly a wonderful aide memoire for somebody who knows the subject
intimately but it is a little terse and somewhat sparse for someone with
no prior knowledge and little time.

The difficulty that I need to address is what ripd configuration provides
rip info regarding 192.168.219.0/24 connected via eth1 out to all networks
connected via 2xx.yyy.zzz.0/24 on eth0.

Must I configure a virtual IP from 192.168.219.0/24 on eth0 as well as
eth1 or not?  Do I just set ripd.conf to:

router rip
  network 192.168.219.0/24


Is that all that is required?

Recall that the purpose of this exercise is to simultaneously provide
interim public and private ipv4 address connectivity on the same physical
lan behind our Internet router.  The long term objective is to remove the
public address space from the lan.  At that point this finessing becomes
unnecessary.

For example:


INET Router:
eth0
 IP 2xx.yyy.bbb.64

eth1
 IP 2xx.yyy.zzz.1
 IP 192.168.71.1
 ip 10.0.0.1

 network 2xx.yyy.zzz.0/24
 network 192.168.0.0/16
 network 10.0.0.0/8

host1:
eth0
 IP 2xx.yyy.zzz.22

host2:
eth0
 IP 2xx.yyy.zzz.23
eth1
 IP 192.168.219.1

host3:
eth0
 IP 192.168.219.102

host4:
eth0
 IP 192.168.71.65


INET Router <<>> SWITCH

host1/eth0 <<->> SWITCH

host2/eth0 <<->> SWITCH
host2/eth1 <<->> HUB

host3/eth0 <<->> HUB

host4/eth0 <<->> SWITCH


How do I set up ripd on host2 so that host4 (192.168.71.65) reaches host3
(192.168.219.102) via host2 (2xx.yyy.zzz.23)?  Clearly the ripd info for
192.168.219.0/24 must go out 216.185.71.23 but I am unclear as to what
ripd.conf configuration settings accomplish this.


-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:[EMAIL PROTECTED]
Harte & Lyne Limited  http://www.harte-lyne.ca
9 Brockley Drive  vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada  L8E 3C3

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


RE: [CentOS] Re: Centos/Fedora core won't talk to an Epson Workforce600 printer

2008-10-23 Thread RobertH
 

> The Gold plated Retail ones that the Circuit City or Best Buy 
> geeks try to sell you because they get commission.
> 


beware of geeks cause cause sometimes ya get freaks!

;->

http://www.cbc.ca/mrl3/8752/marketplace/geeks.wmv

 - rh


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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread John Hinton

MHR wrote:

On Thu, Oct 23, 2008 at 9:11 AM, Scott Silva <[EMAIL PROTECTED]> wrote:
  

I think the problem is that the volunteer that created the CD and announced it
isn't the same volunteer that updates the website.

Volunteers usually have varying amounts of free time.




This is obviously a bug that should be fixed

;^)

mhr
  
I think all Server CD downloads and links should be permanently removed 
from the website to avoid these issues in the future. Perhaps all of the 
other volunteered 'free' stuff as well. This issue has created a nasty 
tone on this list and we don't want any nasty tones on this list. In 
order to better align all members of this list, please remove all 
packages from the repository which might be used for a graphical 
interface and revert back to the old package selection tool from RH 5.2. 
This way we will all be on pure server installs and not further be 
divided. To this end, we will no longer need the Server CD as one will 
be able to totally control an install at which point we should all be 
united and happy again.

:p

Whew!!! Everyone's systems must really be running nicely these days!

What happened to the good old threads... like on what particular date 
will you release Centos 7.3?

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Spike Turner
Scott Silva wrote:

> I think the problem is that the volunteer that created the
> CD and announced it
> isn't the same volunteer that updates the website.
> 
> Volunteers usually have varying amounts of free time.
> 

I would have thought that updating the website, wikis etc
should be delegated to several individuals in case one person
is too busy. Isn't open source and community participation
more than an individual?

The success of the Fedora Project is not about the muscle
of Red Hat Inc but the participation of many volunteers and
the community at large. That is why for the example the Fedora
Forum or Fedora website are relevant because of continued
updates. (Even If Toracat from the CentOS forum disagrees).

Spike.


  

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Ralph Angenendt
Scott Silva wrote:
> I think the problem is that the volunteer that created the CD and
> announced it isn't the same volunteer that updates the website.
>
> Volunteers usually have varying amounts of free time.

Well, it is an "official" CentOS product. As said - oversight (and not
fixed yet).

Cheers,

Ralph

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Ralph Angenendt
Spike Turner wrote:
> I would have thought that updating the website, wikis etc
> should be delegated to several individuals in case one person
> is too busy.

And now what happens if the website guy doesn't is too busy while the guy
releasing the Server CD isn't? >:)

Cheers,

Ralph

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


[CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Scott Silva
on 10-23-2008 11:57 AM John Hinton spake the following:
> MHR wrote:
>> On Thu, Oct 23, 2008 at 9:11 AM, Scott Silva
>> <[EMAIL PROTECTED]> wrote:
>>  
>>> I think the problem is that the volunteer that created the CD and
>>> announced it
>>> isn't the same volunteer that updates the website.
>>>
>>> Volunteers usually have varying amounts of free time.
>>>
>>> 
>>
>> This is obviously a bug that should be fixed
>>
>> ;^)
>>
>> mhr
>>   
> I think all Server CD downloads and links should be permanently removed
> from the website to avoid these issues in the future. Perhaps all of the
> other volunteered 'free' stuff as well. This issue has created a nasty
> tone on this list and we don't want any nasty tones on this list. In
> order to better align all members of this list, please remove all
> packages from the repository which might be used for a graphical
> interface and revert back to the old package selection tool from RH 5.2.
> This way we will all be on pure server installs and not further be
> divided. To this end, we will no longer need the Server CD as one will
> be able to totally control an install at which point we should all be
> united and happy again.
> :p
> 
> Whew!!! Everyone's systems must really be running nicely these days!
> 
> What happened to the good old threads... like on what particular date
> will you release Centos 7.3?
> John Hinton
I wasn't bashing, I just assumed that different people in the CentOS chain had
much different schedules as to what gets done when.

I don't expect up to the minute changes here, because ... frankly... You get
what you pay for. And since most users of CentOS aren't paying, the developers
have to keep day jobs for those luxuries like food and heat, a roof over their
heads, etc...

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



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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Akemi Yagi
On Thu, Oct 23, 2008 at 11:58 AM, Spike Turner <[EMAIL PROTECTED]> wrote:

> The success of the Fedora Project is not about the muscle
> of Red Hat Inc but the participation of many volunteers and
> the community at large. That is why for the example the Fedora
> Forum or Fedora website are relevant because of continued
> updates. (Even If Toracat from the CentOS forum disagrees).
>
> Spike.

Eh?  If you are saying that the Fedora forum is a success and the
CentOS forums are a failure, then I would certainly disagree.

I would like to point out that, although I am helping the CentOS
project as one of the forum moderators, I have been participating in
several CentOS mailing lists as well.  I know how both venues work and
address different audience.  And I can say both are serving their
purposes very well in the CentOS community, often complimenting each
other.

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Spike Turner
Akemi Yagi  wrote:

> Eh?  If you are saying that the Fedora forum is a success
> and the
> CentOS forums are a failure, then I would certainly
> disagree.
> 
> I would like to point out that, although I am helping the
> CentOS
> project as one of the forum moderators, I have been
> participating in
> several CentOS mailing lists as well.  I know how both
> venues work and
> address different audience.  And I can say both are serving
> their
> purposes very well in the CentOS community, often
> complimenting each
> other.
> 

I'm not saying "failure" - but community participation.
For example the fedora forum contains relevant news and
http://fedoraproject.org/ is a goldmine compared to the 
centos website. There is even a fedora weekly news.

I was reading the comments on Slashdot of the Wikipedia guy 
who migrated his servers from Red Hat 9/Fedora to CentOS 
and he asked who "uses CentOS as a desktop"?. 
Why didn't he ask the same of Fedora or Ubuntu?

Spike.


  

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Ralph Angenendt
Spike Turner wrote:
> I was reading the comments on Slashdot of the Wikipedia guy 
> who migrated his servers from Red Hat 9/Fedora to CentOS 
> and he asked who "uses CentOS as a desktop"?. 
> Why didn't he ask the same of Fedora or Ubuntu?

I don't know, do you?

I am trying to understand what you are trying to troll for here - if you think
that there's a lack of community participation, then just say so. Fedora 
Weekly news was put into life by someone loosely attached to the Fedora 
Project - a community member, so to say. If you are missing something like
that, you are free to enhance the work you do in the community.

If you just came here to complain about how other people don't help in the
community and that that lowers your CentOS experience - well, tough luck.

Ralph

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


Re: [CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Spike Turner
Scott Silva wrote:
 
> I don't expect up to the minute changes here, because
> ... frankly... You get
> what you pay for. And since most users of CentOS aren't
> paying, the developers
> have to keep day jobs for those luxuries like food and
> heat, a roof over their
> heads, etc...
> 

Interesting. Yet volunteer-run projects like Debian run
without the same hiccups? How so may I ask?

Spike.


  

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


Re: [CentOS] compare directories

2008-10-23 Thread MHR
On Thu, Oct 23, 2008 at 11:13 AM, Bill Campbell <[EMAIL PROTECTED]> wrote:
>
> That's certainly true, which is why my solution, and the one with
> diff both sorted the find output before the comparison.
>

Oh, I thought I was just seeing double again.

Oops!  :-)

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


[CentOS] freeradius DNIS

2008-10-23 Thread Paul A
Not sure if this is off topic but I installed freeradius with yum on centos
5 and I'm hoping someone has some advice on getting DNIS proxy working


In the acct_users file I have 

DEFAULT Called-Station-Id == "5500", Proxy-To-Realm := "xxx"
Fall-Through = yes


In the proxy file I have 

realm xxx {
   type= radius
   authhost= :1645
   accthost= :1646
   secret  = something
}


But when I test it never seems to trigger the DNIS proxy setup. This is what
I get below, also named realms are working.

rad_recv: Access-Request packet from host 209.213.66.12:1650, id=114,
length=94
User-Name = "ectest"
User-Password = "test123"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1
Called-Station-Id = "5500"
Proxy-State =
0x471e493f7f010495
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
rlm_realm: No '@' in User-Name = "ectest", looking up realm NULL
rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 0
  modcall[authorize]: module "files" returns notfound for request 0
modcall: leaving group authorize (returns ok) for request 0
auth: No authenticate method (Auth-Type) configuration found for the
request: Rejecting the user
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---



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


[CentOS] Re: CentOS 4.7 Server CD - update frontpage

2008-10-23 Thread Scott Silva
on 10-23-2008 1:12 PM Spike Turner spake the following:
> Scott Silva wrote:
>  
>> I don't expect up to the minute changes here, because
>> ... frankly... You get
>> what you pay for. And since most users of CentOS aren't
>> paying, the developers
>> have to keep day jobs for those luxuries like food and
>> heat, a roof over their
>> heads, etc...
>>
> 
> Interesting. Yet volunteer-run projects like Debian run
> without the same hiccups? How so may I ask?
> 
> Spike.
Probably a lot more Debian volunteers.
http://www.debian.org/devel/people  = Hundreds of people

The CentOS team lists 12 ( No direct link)


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



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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Robert Spangler
On Thursday 23 October 2008 09:53, Chan Chung Hang Christopher wrote:

>  > Try adding it manually to the iptables config.
>  >
>  > # vim /etc/sysconfig/iptables
>  >
>  > And then restart iptables.
>
>  Not recommended. Do 'service iptables save' as Filipe posted.

You will need to explain why this is 'Not recommended'.
I do this all the time without issues.
In fact this is how I build my tables.  No GUI or save options.


-- 

Regards
Robert

It is not just an adventure.
It is my job!!

Linux User #296285
http://counter.li.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Max Hetrick

Chan Chung Hang Christopher wrote:


Not recommended. Do 'service iptables save' as Filipe posted.


I've never had any issues doing so. I know Johnny has recommended that 
several times on the list as well. If he says it works, then I would say 
it can't hurt. ;)


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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Christopher Chan

Robert Spangler wrote:

On Thursday 23 October 2008 09:53, Chan Chung Hang Christopher wrote:


 > Try adding it manually to the iptables config.
 >
 > # vim /etc/sysconfig/iptables
 >
 > And then restart iptables.

 Not recommended. Do 'service iptables save' as Filipe posted.


You will need to explain why this is 'Not recommended'.


Never had typos?


I do this all the time without issues.


Good for you.


In fact this is how I build my tables.  No GUI or save options.




Heh. /me chops down RH-Firewall-1 on sight.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Christopher Chan

Max Hetrick wrote:

Chan Chung Hang Christopher wrote:


Not recommended. Do 'service iptables save' as Filipe posted.


I've never had any issues doing so. I know Johnny has recommended that 
several times on the list as well. If he says it works, then I would say 
it can't hurt. ;)


YMMV. I prefer to build one via iptables, save it, then copy the file 
across to all other hosts that use the same rules.

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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Mihai T. Lazarescu
On Fri, Oct 24, 2008 at 08:25:40AM +0800, Christopher Chan wrote:

> Robert Spangler wrote:
>> On Thursday 23 October 2008 09:53, Chan Chung Hang Christopher wrote:
>>
>>>  > Try adding it manually to the iptables config.
>>>  >
>>>  > # vim /etc/sysconfig/iptables
>>>  >
>>>  > And then restart iptables.
>>>
>>>  Not recommended. Do 'service iptables save' as Filipe posted.
>>
>> You will need to explain why this is 'Not recommended'.
>
> Never had typos?

What's your point?  Typos can happen whenever the keyboard is
used for typing. :) That is regardless if the typing goes into
a GUI, a command line, or file editing.

We are however supposed to test our doings.  Then most errors
get revealed, be them dumb typos or the more astute kind.

BTW, I also prefer a nicely commented rules file instead of
the dry list dumped by iptables-save.

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


Re: [CentOS] Re: Export restrictions on CentOS 5

2008-10-23 Thread Lanny Marcus
2008/10/23 Scott Silva <[EMAIL PROTECTED]>:
> on 10-23-2008 4:53 AM Michael Madden spake the following:
>> What are the export restrictions on CentOS 5.x?  Since it's a rebuild of
>> RHEL I'd suspect it has similar restrictions to what Red Hat has
>> outlined at the following page:
>>
>> http://www.redhat.com/licenses/export/
>>
>> Is this correct? Thanks in advance.
> I don't think CentOS is a U.S. Entity, so the export restrictions are probably
> different, if they exist at all.
>
> Besides, how do you restrict something that is freely downloadable from the
> internet worldwide?

The URL Michael included in his post includes this data:

>Embargoed Destinations

>Red Hat's software and/or technical data may NOT be exported/reexported, 
>either >directly or indirectly, to the following U.S. embargoed or restricted 
>destinations:

>Cuba, Iran, Iraq, North Korea, Sudan or Syria

Michael: The U.S. regulations for  export restrictions probably only
involve the Encryption utilities. As Scott pointed out, you can
probably DL CentOS worldwide, and I know there is at least one person
in Cuba who posts to this mailing list. If you are not in a country
that is in the above list (and I suspect Iraq is OK now), there should
not be a problem. Possibly Venezuela has been added to the above list,
or will be, in the future. The list involves state sponsors of
terrorism. North Korea may also be coming off the list.   Lanny
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Help with custom udev rule

2008-10-23 Thread Clint Dilks

Hi,

I am trying create a custom udev rule to change the group and 
permissions on  /dev/net/tun.
Some research indicated that rather than directly editing the rule in 
/etc/udev/rules.d/50-udev.rules that I should create my own local rules 
file something like 10-local.rules  which contains

KERNEL=="tun", NAME="net/%k", OWNER="root", GROUP="vboxusers", MODE="0660"

But unfortunately when I reboot the permissions are still

0 crw--- 1 root root 10, 200 Oct 24 14:09 /dev/net/tun

Can anyone tell me what I'm doing wrong?  Or point me to some clear 
documentation about creating custom udev rules.


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


Re: [CentOS] Export restrictions on CentOS 5

2008-10-23 Thread Johnny Hughes
Michael Madden wrote:
> What are the export restrictions on CentOS 5.x?  Since it's a rebuild of
> RHEL I'd suspect it has similar restrictions to what Red Hat has
> outlined at the following page:
> 
> http://www.redhat.com/licenses/export/
> 
> Is this correct? Thanks in advance.

Export restrictions are only for people exporting the software.  If you
are going to export CentOS to a country on the export list ... DON'T :D

CentOS does not export our software, however if you are asking how you
can export it, the CentOS project thinks that since we do not sell the
software that it more closely resembles the Fedora Matrix:

http://fedoraproject.org/wiki/Legal/Export

The major difference between the RHEL and Fedora is that Fedora is not a
commercial product (and neither is CentOS). As such, we feel CentOS
falls under the TSU exemption WRT licensing.  CentOS should not be
exported to any countries on the exempt list.

I also want to again stress that if YOU (a company) are going to export
CentOS then YOU (said company) have to determine the licensing
requirements with respect to the way YOU (said company) are using and
exporting CentOS.  If you are distributing it with commercial software
(for example) then it would probably NOT fall under the TSU exemption.

We think that all versions of CentOS fall under the 5D002 ECCN.

Thanks,
Johnny Hughes



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


Re: [CentOS] iptables local forwarding

2008-10-23 Thread Max Hetrick

Christopher Chan wrote:


YMMV. I prefer to build one via iptables, save it, then copy the file 
across to all other hosts that use the same rules.


Your preferred method and mine might be different, but the end result is 
the same, so what does it really matter? That's rhetorical by the way, 
because we both answered his question.


Let this thread die now since the question was answered.

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


Re: [CentOS] Help with custom udev rule

2008-10-23 Thread Filipe Brandenburger
Hi,

On Thu, Oct 23, 2008 at 21:28, Clint Dilks <[EMAIL PROTECTED]> wrote:
> something like 10-local.rules  which contains
> KERNEL=="tun", NAME="net/%k", OWNER="root", GROUP="vboxusers", MODE="0660"
> But unfortunately when I reboot the permissions are still
> 0 crw--- 1 root root 10, 200 Oct 24 14:09 /dev/net/tun
>
> Can anyone tell me what I'm doing wrong?  Or point me to some clear
> documentation about creating custom udev rules.

I'm not 100% sure of why this is happening, but I believe that the
rule to create /dev/net/tun in 50-udev.rules is overriding the one you
created. Did you try to create it as 99-local.rules? What about
creating a device with another name so that they do not conflict?

But in general I agree with you that udev is a little tricky and
documentation could be improved...

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


Re: [CentOS] Help with custom udev rule

2008-10-23 Thread Filipe Brandenburger
Hi,

A google search led me to:
http://reactivated.net/writing_udev_rules.html

There it states that you generally will want your rules before the
system default rules, but in any case it should apply all the rules,
not only the first match, so putting your rule after the defaults
could have some effect.

Also, it seems that the default permissions should be 0660, but for
some reason /dev/net/tun is created with 0600, even though there is
not setting for that in 50-udev.rules... still don't know why.

One other way that might go around this is to use the "last_rule"
option. Apparently, if you add OPTIONS+="last_rule" to the rule it
won't process the further down rules, so this might be one way to fix
your specific problem.

Another useful information from that webpage is the reference to the
"udevtest" command, that I believe could be used to trace exactly what
is happening on your case.

Anyway, I still haven't tried any of those. If you do and find out
what is happening, please share with us your results!

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


Re: [CentOS] Help with custom udev rule

2008-10-23 Thread Filipe Brandenburger
Hi,

Found another interesting detail. net/tun is listed in
/etc/udev/makedev.d/50-udev.nodes, which starts with this comment:
# These device have to be created manually

I just didn't find who/what actually creates those, and using which
permissions. Anyway, another clue in your puzzle.

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