Re: [CentOS] Laptop for CentOS-5

2010-01-10 Thread Michael A. Peters
Robert Heller wrote:

> 
> Just about all of the low-end Dell boxes (laptops or desktops) tend to
> be low-quality boxes -- you gets what you pay for.  Higher end Dells
> seem to be OK (eg 'Workstations', servers, etc.). 

In October I found a discard Dell Optiplex GX50 - older low-end dell. 
Found it in an illegal dump pile in a field.

Replaced dead hard drive, re-attached heat sink to CPU (had become 
detached, probably when dumped - perhaps a blessing, whoever built it 
had used way too much thermal paste).

It's been running CentOS 5.x 24/7 since without a hitch.
But for laptops I think you are correct, and my found computer did have 
a problem (dead drive) when found.

-=-

Back to laptop question - I have always preferred the Thinkpad T20 
series over anything else. I would suggest running Ubuntu on it, I have 
moved all my desktop stuff to Ubuntu.

Most laptop vendors that I have seen that pre-install Ubuntu install the 
32-bit version. I use 64-bit and have no regrets, so I would recommend 
burning the 64-bit iso and installing that.

Two notes though with 64bit -

1) Don't use the Ubuntu packaged flash plugin. It is 32-bit and will 
pull in a bunch of 32-bit plugins. Get the "alpha" 64-bit plugin for 
Linux from Adobe. Works very well for me (in Ubuntu and CentOS) - and is 
more stable than the 32-bit plugin running in a wrapper.

2) I have no clue about installing a native 64-bit Java plugin. I don't 
have one and don't want one. Maybe icedtea is working for 64-bit better 
now? I got sick and tired of Java media in web pages being generally 
crappy and problematic, so I refuse to install a Java plugin anymore, 
but if you need Java plugin (IE for your work) check to make sure 64-bit 
browser plugin exists before going 64-bit (though 32-bit may work via 
wrappers)

General Desktop Note - CentOS or Ubuntu or Fedora -

1) Give Google Chrome and Midori a try. I really like both, Chrome is a 
little more polished but not open source, Midori is open source but has 
some bugs still with HTML5 multimedia (IE it won't play them if they are 
not set to autostart, but also won't revert to fallback)

2) If you don't mind using software that isn't FOSS, spend the money on 
the fluendo codec package -

http://www.fluendo.com/shop/product/complete-set-of-playback-plugins/

It handles h.264/WMV/DivX/etc. extremely well, "just works", and comes 
packaged in both RPM and .deb (as well as tarball). It does not provide 
AC3 decoding, that's my only gripe, but it does just about everything 
else much better in my experience than the "free" gstreamer plugins.

I haven't tried the fluendo DVD player (which does do AC3 decoding) but 
reviews I've seen on it are not very good, stick with something like VLC 
or Xine (my choice) for DVD playback seems to be better.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Raising ftp priority?

2010-01-10 Thread hadi motamedi
Dear All
I need to ftp all of the files & folders of CentOS 5 server through WS_FTP .
But it just lets for /home/www user login , but not root user . As I want to
see and have all of  files , can you please let me know how can I raise the
ftp priority such that WS_FTP can login as root user .
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread John R Pierce
hadi motamedi wrote:
> Dear All
> I need to ftp all of the files & folders of CentOS 5 server through 
> WS_FTP . But it just lets for /home/www user login , but not root user 
> . As I want to see and have all of  files , can you please let me know 
> how can I raise the ftp priority such that WS_FTP can login as root user .

prsuably that would be through the configuration fo whatever FTP server 
your CentOS host is running...   probably vsftpd


...but you do realize, FTP uses plaintext passwords on the network, and 
anyone who can sniff any link between you and your server gets your root 
password?


much better to use something liike SCP/SFTP/RSYNC for your authenticated 
file transfers.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Laptop for CentOS-5

2010-01-10 Thread Michael A. Peters
Les Mikesell wrote:
> On 1/8/2010 3:06 PM, Christoph Maser wrote:
>> Am Freitag, den 08.01.2010, 16:35 +0100 schrieb Eero Volotinen:
>>> Well, centos is not optimal system for laptop due to old drivers and
>>> so on.
>>>
>>> Personally I prefer ubuntu, fedora or opensuse on laptops.. or OSX.
>>>
>> Well that is really what the OP asked for NOT. There have been good
>> answers so far, why do Apple-junkies always tend to advertise apple
>> stuff even to other long time apple users?
> 
> Assuming you wanted an answer... For one thing the powerbooks got 'close 
> lid, sleep, open lid wake up, grab a fresh network connection and 
> continue' right about a decade ago

but they still only have one mouse button, making them a PITA for 
anything other than OS X.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Laptop for CentOS-5

2010-01-10 Thread Michael A. Peters
Michael A. Peters wrote:

> 
> Back to laptop question - I have always preferred the Thinkpad T20 
> series

should read "T Series" - T20 is quite deprecated now ;)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Cloned Centos Boxes - First Run to run again?

2010-01-10 Thread Mr Gabriel
I need to build a bank of 12 centos boxes, for an experiment I'm doing. 
I don't want to install centos 12 times, I'm using virtual box across 
three machines, how can I get the first run scripts to run again to that 
the box is reconfigured on it's next boot.

I want each box to appear like a fresh unique install.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cloned Centos Boxes - First Run to run again?

2010-01-10 Thread Christoph Maser
Am Sonntag, den 10.01.2010, 12:26 +0100 schrieb Mr Gabriel:
> I need to build a bank of 12 centos boxes, for an experiment I'm doing.
> I don't want to install centos 12 times, I'm using virtual box across
> three machines, how can I get the first run scripts to run again to that
> the box is reconfigured on it's next boot.
>
> I want each box to appear like a fresh unique install.

Network install via kickstart is the standard solution. It only requires
a tfpt-server and a CentOS mirror.

Chris


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | 
Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | 
Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. 
Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID 
number/St.Nr.: DE205 370 553
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cloned Centos Boxes - First Run to run again?

2010-01-10 Thread Daniel Bird
Mr Gabriel wrote:
>
> I want each box to appear like a fresh unique install.
man sys-unconfig



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


Re: [CentOS] Setup multiple bridges for use with KVM

2010-01-10 Thread Kai Schaetzl
Jacob Hydeman wrote on Sat, 9 Jan 2010 18:15:14 -0800:

> BOOTPROTO=dhcp

I'm using the same setup for multiple bridges for Xen, no problem. But I 
use static IP addresses. You *have* to use IP numbers from different 
subnets.

> I've read somewhere that STP needs to be enabled when using multiple
> bridges

No.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



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


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread Kai Schaetzl
Frankly, you should not administer a server at all with this knowledge 
level. Pragmatically spoken, you want to use WinSCP.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com



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


[CentOS] SNAT

2010-01-10 Thread David Hláčik
Hello I will briefly draw the situation

Router with one interface eth0 , to local network 10.123.0.0/16

on a local network ADSL modem with IP  10.123.10.11

I want to use 10.123.10.11 as a connection to internet .

Because of that I have created default route "ip route add default via
10.123.10.11 dev eth0"

I do not want my ADSL modem to do NATing , since it shows to be slow.
I have configured static route on ADSL modem "10.123.0.0/16 via
10.123.10.11" which ensures traffic comming from internet will ge to
my router.

Now i want to configure NATTING. My concern is, how to create iptables
rule which will match only the traffic going via 10.123.10.11 and only
for this will make SNAT.
If I will do iptables -A POSTROUTING -o eth0 --j SNAT --to-source
213.194.242.198 this will not work . I need to add there a magic words
that only traffic going via 10.123.10.11 should be SNATted.

Please help,

Thank you in advance.

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


Re: [CentOS] SNAT

2010-01-10 Thread David Hláčik
*** Sorry for mistake

I have configured static route on ADSL modem "10.123.0.0/16 via
> 10.123.10.1" which ensures traffic comming from internet will ge to
> my router

10.123.10.1 is address of eth0 on my router.

On Sun, Jan 10, 2010 at 3:33 PM, David Hláčik  wrote:
> Hello I will briefly draw the situation
>
> Router with one interface eth0 , to local network 10.123.0.0/16
>
> on a local network ADSL modem with IP  10.123.10.11
>
> I want to use 10.123.10.11 as a connection to internet .
>
> Because of that I have created default route "ip route add default via
> 10.123.10.11 dev eth0"
>
> I do not want my ADSL modem to do NATing , since it shows to be slow.
> I have configured static route on ADSL modem "10.123.0.0/16 via
> 10.123.10.11" which ensures traffic comming from internet will ge to
> my router.
>
> Now i want to configure NATTING. My concern is, how to create iptables
> rule which will match only the traffic going via 10.123.10.11 and only
> for this will make SNAT.
> If I will do iptables -A POSTROUTING -o eth0 --j SNAT --to-source
> 213.194.242.198 this will not work . I need to add there a magic words
> that only traffic going via 10.123.10.11 should be SNATted.
>
> Please help,
>
> Thank you in advance.
>
> David
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread Jim Perrin
On Sun, Jan 10, 2010 at 4:04 AM, hadi motamedi  wrote:
> Dear All
> I need to ftp all of the files & folders of CentOS 5 server through WS_FTP .
> But it just lets for /home/www user login , but not root user . As I want to
> see and have all of  files , can you please let me know how can I raise the
> ftp priority such that WS_FTP can login as root user .
> Thank you

Aside from the other points that have been or will be made in this
thread, you might consider this:

Not all files on a centos system are actually files. For instance if
you try to ftp/scp the '/' dir, you will undoubtedly encounter /dev,
/sys, and /proc. Any of which would cause your ftp session to run
forever or until you filled the machine on the other end, because the
files located within these directories are not really files, but
operations and data sources (hard drives, random data, constant
streams of data, etc). You really need to re-think and better explain
what it is that you're trying to do.

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Vmware server 2.0.2 and Centos 5.4

2010-01-10 Thread Tom Bishop
I know of the issue using vmware server 2.0.2 and centos 5.4, but is their
any reason not to use the .rpm install of  for centos?  I have always used
the .tar file but this time used the rpm and it appeared to install and not
crash.  I went ahead and did the glib correction but I was wondering if
using the rpm was not the rght thing to do, Thanks.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SNAT

2010-01-10 Thread Alexander Dalloz
Am 10.01.2010 15:33, schrieb David Hláčik:

> Hello I will briefly draw the situation

[ ... ]

> Please help,
> 
> Thank you in advance.
> 
> David

The router runs CentOS or Fedora? Because you are sending your mails to
both mailing lists.

Alexander

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


Re: [CentOS] SNAT

2010-01-10 Thread David Hláčik
Hello,

CentOS 5.4, but I believe there will be no difference.

Best,
David



On Sun, Jan 10, 2010 at 4:07 PM, Alexander Dalloz  wrote:
> Am 10.01.2010 15:33, schrieb David Hláčik:
>
>> Hello I will briefly draw the situation
>
> [ ... ]
>
>> Please help,
>>
>> Thank you in advance.
>>
>> David
>
> The router runs CentOS or Fedora? Because you are sending your mails to
> both mailing lists.
>
> Alexander
>
> ___
> 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] ADSL ppp0, persist

2010-01-10 Thread David Hláčik
Hello guys,

I have two ISP's connected to my router. One via eth2, second one via
ADSL modem, with ppoe doing on my Centos 5 .

The problem I have is, that when ADSL fails , interface ppp0 is
removed. This also removes my static routes configured for this
interface. I do not want that, as I have load balancing configured and
default route is removed when ppp0 interface disapears.

This is my ifcfg-ppp0 config :

USERCTL=yes
BOOTPROTO=dialup
NAME=DSLppp0
DEVICE=ppp0
TYPE=xDSL
ONBOOT=yes
PIDFILE=/var/run/pppoe-adsl.pid
FIREWALL=NONE
PING=.
PPPOE_TIMEOUT=80
LCP_FAILURE=3
LCP_INTERVAL=20
CLAMPMSS=1412
CONNECT_POLL=6
CONNECT_TIMEOUT=60
DEFROUTE=no
SYNCHRONOUS=no
ETH=eth0
PROVIDER=DSLppp0
USER=O2
PEERDNS=no
DEMAND=no
PERSIST=yes

As you can see, I have PERSIST=yes , which according to documentation
should keep ppp0 interface ON. Well it does but only for a couple of
seconds. I suspect this to be other parameters problem
(CONNECT_TIMEOUT or PPPOE_TIMEOUT).

Can you please help me with this?

Thank you in advance!

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


Re: [CentOS] 8-15 TB storage: any recommendations?

2010-01-10 Thread JohnS

On Sat, 2010-01-09 at 07:14 -0800, nate wrote:
> JohnS wrote:
> 
> > Interesting link for info  there.  I found [1] and at the bottom of the
> > page there is like tidbits of info in PDFs of the different models.  Any
> > idea where I could get more info than that, like data sheets and case
> > studies.
> 
> Not online at least, note the "Confidential" stuff at the bottom of
> every page I believe that data isn't supposed to be online, I have copies
> myself but don't post them directly.
> 
> They are more than happy to give this information to you directly
> though, not sure why they sort of try to protect it from public view,
> but it's a common practice, I can't recall ever seeing a data sheet on
> any storage array that showed it's performance numbers, unlike network
> gear which often is filled with performance related information.
> 
> If your referring to the E and S series arrays they are roughly half
> the performance of the F and T series. I don't believe E and S are
> being sold anymore as new systems, when the T came out for example it
> was only about 10-15% more than the S, and you get a ton more in
> performance, addressable capacity, and features than the S(or E),
> making it fairly pointless to go with an S or an E. I also suggest against
> the F200 as well, their systems are at their best when you have more
> than two controllers, any system can run on only two, so the extra
> online scalability comes at a small premium and gives good peace of
> mind, even if you never add the extra controllers.
> 
> > My main problem is bandwidth and workload.  Another problem is I am
> > being told there is such a thing as Triple Disk Mirroring.  Then I am
> > being told that there is not and all it is only Raid 1 with just
> > Replication to another Volume Set, sorta like a LVM Snapshot so to
> > speak.  Last thing is I am told GE is just rebranded Brocade.  Thanks
> > for the info & link.
> 
> There absolutely is triple mirroring, and probably quadruple as well,
> but most systems don't support it. Synchronous(and/or/both asynchronous)
> replication is of course available as well. Triple mirroring really
> is a waste of resources when your performing RAID at a sub-disk
> level like they(and some others IBM XIV, Compellent, Xiotech) do. True
> data availability would come from synchronous replication(up to 130
> miles away I think is the limit, latency is the reason, ~1.3ms is max)
> to another system.
> 
> I'm not sure what "GE"(makes me think of General Electric) is but there
> are quite a few re branded Brocade switches out there, and probably
> Qlogic as well.
> 
> Their latest code release 2.3.1 just went GA yesterday, been shipping
> on new boxes for a few weeks, largest software update in the company's
> 10 year history, some pretty impressive new things, some of which I
> can't talk about just yet but they're more than happy to tell you in
> person.
> 
> I've been waiting for over a year for it myself so am pretty
> excited, upgrading next weekend.
> 
> Getting kind of OT though if you want more info email me off-list,
> always happy to talk about this kind of stuff I love fancy technology.
> 
> 
> nate
---
Sure, will later on in the day.

Thanks,

John

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


[CentOS] interfaces start-up order

2010-01-10 Thread David Hláčik
Hello guys,

On my Centos5 interfaces start in this order :

eth0,eth1,eth2,ppp0

I believe it goes by alpabethical order.
Is there a possibility to change this order? I want to start
interfaces which connects to internet first , i.e. in order
eth0,ppp0,eth1,eth2.
Can I just rename ifcfg-* scripts in etc/sysconfig/network-scripts and
change alphabetical order?

Thank you and Best Regards,
David
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ADSL ppp0, persist

2010-01-10 Thread JohnS

On Sun, 2010-01-10 at 16:54 +0100, David Hláčik wrote:
> Hello guys,
> 
> I have two ISP's connected to my router. One via eth2, second one via
> ADSL modem, with ppoe doing on my Centos 5 .
> 
> The problem I have is, that when ADSL fails , interface ppp0 is
> removed. This also removes my static routes configured for this
> interface. I do not want that, as I have load balancing configured and
> default route is removed when ppp0 interface disapears.
> 
> This is my ifcfg-ppp0 config :
> 
> USERCTL=yes
> BOOTPROTO=dialup
> NAME=DSLppp0
> DEVICE=ppp0
> TYPE=xDSL
> ONBOOT=yes
> PIDFILE=/var/run/pppoe-adsl.pid
> FIREWALL=NONE
> PING=.
> PPPOE_TIMEOUT=80
> LCP_FAILURE=3
> LCP_INTERVAL=20
> CLAMPMSS=1412
> CONNECT_POLL=6
> CONNECT_TIMEOUT=60
> DEFROUTE=no
> SYNCHRONOUS=no
> ETH=eth0
> PROVIDER=DSLppp0
> USER=O2
> PEERDNS=no
> DEMAND=no
> PERSIST=yes
> 
> As you can see, I have PERSIST=yes , which according to documentation
> should keep ppp0 interface ON. Well it does but only for a couple of
> seconds. I suspect this to be other parameters problem
> (CONNECT_TIMEOUT or PPPOE_TIMEOUT).
> 
> Can you please help me with this?
> 
> Thank you in advance!
> 
> David
---
Maybe not really that since you have it set to "yes".
Check /var/log/messages for Authentication Problems, like CHAP, MSCHAP
or Tokin ID Session.  I would really get a router to do the balancing
not the OS it self.

John

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


Re: [CentOS] interfaces start-up order

2010-01-10 Thread JohnS

On Sun, 2010-01-10 at 17:43 +0100, David Hláčik wrote:
> Hello guys,
> 
> On my Centos5 interfaces start in this order :
> 
> eth0,eth1,eth2,ppp0
> 
> I believe it goes by alpabethical order.
> Is there a possibility to change this order? I want to start
> interfaces which connects to internet first , i.e. in order
> eth0,ppp0,eth1,eth2.
> Can I just rename ifcfg-* scripts in etc/sysconfig/network-scripts and
> change alphabetical order?
> 
> Thank you and Best Regards,
> David
Look in your /etc/rc.* directories.  To be honest your doing the reverse
of what every linux admin has asked for. (NIC Boot Ordering).

John

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


Re: [CentOS] Laptop for CentOS-5

2010-01-10 Thread Mathieu Baudier
> but they still only have one mouse button, making them a PITA for
> anything other than OS X.

On Fedora 12 you have the middle and right button with the trackpad
(with resp two and three fingers, along with two fingers scrolling
etc.). It works very well.
Even before I regularly used Linux on Macs (used to be PPC) and I had
keyboard shortcuts to simulate clicks (which is what Mac OS users had
to do as well)

On CentOS this is indeed the biggest problem.
(I did not succeed in simulating the buttons as I used to do on
Fedora! any hints/ideas would be welcome...).
This is probably a showstopper if you want only CentOS (as I said
previously I combine it with Fedora 12) and are not often in a
situation where you can use an USB mouse.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cloned Centos Boxes - First Run to run again?

2010-01-10 Thread Vnpenguin
In my case I installed & configured one box. Make a image with
Clonezilla & deploy to another boxes.


On Sun, Jan 10, 2010 at 12:26, Mr Gabriel  wrote:
> I need to build a bank of 12 centos boxes, for an experiment I'm doing.
> I don't want to install centos 12 times, I'm using virtual box across
> three machines, how can I get the first run scripts to run again to that
> the box is reconfigured on it's next boot.
>
> I want each box to appear like a fresh unique install.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



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


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread John R. Dennison
On Sun, Jan 10, 2010 at 01:31:37PM +0100, Kai Schaetzl wrote:
> Frankly, you should not administer a server at all with this knowledge 
> level. Pragmatically spoken, you want to use WinSCP.

Administer?  You are giving him far too much credit.  For
the past few months all he has ever done was leech here and
expect everyone to do his consulting job for him so he can
bill the client for the work list members do for him.

And people continue to feed him :(




John
-- 
Only puny secrets need protection.
Big discoveries are protected by public incredulity.

-- Marshall McLuhan


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


Re: [CentOS] Cloned Centos Boxes - First Run to run again?

2010-01-10 Thread Mr Gabriel
On 10/01/2010 12:10, Daniel Bird wrote:
> Mr Gabriel wrote:
>
>> I want each box to appear like a fresh unique install.
>>  
> man sys-unconfig
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
PERFECT!!! Awesome! I didn't even realise that this existed.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Setup multiple bridges for use with KVM

2010-01-10 Thread Eduardo Grosclaude
On Sat, Jan 9, 2010 at 11:15 PM, Jacob Hydeman  wrote:
> Running CentOS 5.4 x64.
>
> Have successfully bridged eth2 with br2 by following the instructions here:
> http://wiki.libvirt.org/page/Networking (under the RHEL section)
>
> Have been running several KVM VMs successfully via this bridge.
>
> I am now trying to bridge additional interfaces by using the same routine.
> Each bridge is named to correspond with the ethX device its bridged with.
>
> Example of ifcfg-eth0 script:
> DEVICE=eth0
> HWADDR=00:16:76:D6:C9:45
> ONBOOT=yes
> BRIDGE=br0
>
> then of ifcfg-br0 script:
> DEVICE=br0
> TYPE=Bridge
> BOOTPROTO=dhcp
> ONBOOT=yes
> DELAY=0
>
> This is repeated 3 times for eth0-eth2 and br0-br2.
>
> I've read somewhere that STP needs to be enabled when using multiple
> bridges. I've tried adding STP=on to the ifcfg-brX scripts but with the same
> result. Yes, brctl shows that STP is on.
>
> The original bridge eth2-br2 continues to work but I can't get any traffic
> across any other bridge. Either by dhcp or static ips.
>
> Is multiple bridges a possibility?
>
> Previous to moving to KVM I was running Xen Server on the same hardware. I
> am just trying to recreate the network setup I had. I believe Xen Server
> runs on top of a linux platform so such a thing should be possible.

I am curious as to what exactly is your topology and which is its
intended use. I have found no issues wrt STP but you seemingly need to
assign different vlans to your VM interfaces, depending on which
bridge they are attached to (i.e. roughly 1 bridge = 1 vlan).
I am confused about what interfaces are attached to which bridge in
your setup, would like to see the scripts you are using to start your
VMs...
Thank you in advance

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


Re: [CentOS] SNAT

2010-01-10 Thread Agile Aspect
On Sun, Jan 10, 2010 at 6:33 AM, David Hláčik  wrote:
> Hello I will briefly draw the situation
>
> Router with one interface eth0 , to local network 10.123.0.0/16
>
> on a local network ADSL modem with IP  10.123.10.11
>
> I want to use 10.123.10.11 as a connection to internet .
>
> Because of that I have created default route "ip route add default via
> 10.123.10.11 dev eth0"
>
> I do not want my ADSL modem to do NATing , since it shows to be slow.
> I have configured static route on ADSL modem "10.123.0.0/16 via
> 10.123.10.11" which ensures traffic comming from internet will ge to
> my router.
>
> Now i want to configure NATTING. My concern is, how to create iptables
> rule which will match only the traffic going via 10.123.10.11 and only
> for this will make SNAT.
> If I will do iptables -A POSTROUTING -o eth0 --j SNAT --to-source
> 213.194.242.198 this will not work . I need to add there a magic words
> that only traffic going via 10.123.10.11 should be SNATted.

Unless the machine running iptables has a NIC with a IP address of
213.194.242.198 I don't believe it's possible with ipchains.

The MODEM is the interface between 213.x  and 10.y networks.

If you created a DMZ by moving your LAN to say the 192.z network (or a
different 10.y network) then you should be able to get it work with 2
NICS in the ipchain machine.

In this case, you would route between the 10 network and the 192
network with 2 NICs and SNAT the 10 network.

The WAN would be the 213.x network, the DMZ would be 10.y, and the LAN
would be the 192.z network.

-- 
  Enjoy global warming while it lasts.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cloned Centos Boxes - First Run to run again?

2010-01-10 Thread Clive Hills
In /etc/sysconfig/firstboot change
   RUN_FIRSTBOOT=NO
to
   RUN_FIRSTBOOT=YES


Clive


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


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread hadi motamedi
On Sun, Jan 10, 2010 at 2:55 PM, Jim Perrin  wrote:

>  On Sun, Jan 10, 2010 at 4:04 AM, hadi motamedi 
> wrote:
> > Dear All
> > I need to ftp all of the files & folders of CentOS 5 server through
> WS_FTP .
> > But it just lets for /home/www user login , but not root user . As I want
> to
> > see and have all of  files , can you please let me know how can I raise
> the
> > ftp priority such that WS_FTP can login as root user .
> > Thank you
>
> Aside from the other points that have been or will be made in this
> thread, you might consider this:
>
> Not all files on a centos system are actually files. For instance if
> you try to ftp/scp the '/' dir, you will undoubtedly encounter /dev,
> /sys, and /proc. Any of which would cause your ftp session to run
> forever or until you filled the machine on the other end, because the
> files located within these directories are not really files, but
> operations and data sources (hard drives, random data, constant
> streams of data, etc). You really need to re-think and better explain
> what it is that you're trying to do.
>
> --
> During times of universal deceit, telling the truth becomes a revolutionary
> act.
> George Orwell
>  ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thank you very much for your reply . I actually wanted to copy my CentOS
server into an client in the LAB for further test & investigation . Can I
have a copy of it up and running by ftp all of the files & folders on "/" ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread John R Pierce
hadi motamedi wrote:
> Thank you very much for your reply . I actually wanted to copy my 
> CentOS server into an client in the LAB for further test & 
> investigation . Can I have a copy of it up and running by ftp all of 
> the files & folders on "/" ?
>  

no.  

permissions, links, special files will not copy correctly over FTP.




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


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread hadi motamedi
On Mon, Jan 11, 2010 at 6:02 AM, John R Pierce  wrote:

> hadi motamedi wrote:
> > Thank you very much for your reply . I actually wanted to copy my
> > CentOS server into an client in the LAB for further test &
> > investigation . Can I have a copy of it up and running by ftp all of
> > the files & folders on "/" ?
> >
>
> no.
>
> permissions, links, special files will not copy correctly over FTP.
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


Thank you for your reply . So the only way is cloning his hard disk . Am I
right?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread John R Pierce
hadi motamedi wrote:
> Thank you for your reply . So the only way is cloning his hard disk . 
> Am I right?

I'd consider using dump to dump each ext3fs file system, then use 
'restore' to restore each of these dumps to appropriately sized file 
systems for the new target system.   the source system should be shut 
down to single user mode, and all file systems umounted except / when 
you do this.  you can pipe the output of the dump to a ssh command 
to write the dump to drive on a remote system. for instance...

# dump -0uv /dev/sda2 | ssh r...@target -c "restore -rf -  /mnt/var"

where /dev/sda2 is the /var file system on the local system, and 
/mnt/var is the temporary home of the new disk, freshly formatted, with 
the new /usr mounted as /mnt/usr

of course, you repeat this for each file system on the source system.  
See the man pages for dump and restore.  Don't forget to install the 
grub boot loader on this new disk, then move it to the target hardware, 
which presumably is near identical to the original system.


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


Re: [CentOS] Raising ftp priority?

2010-01-10 Thread John R Pierce
John R Pierce wrote:
> # dump -0uv /dev/sda2 | ssh r...@target -c "restore -rf -  /mnt/var"
>   

eeek.  slight modification here...


# dump -0uvf - /dev/sda2 | ssh r...@target -c "restore -rf -  /mnt/var"

the -f -  tells dump to write the dumpfile to stdout, much as the f - in 
the 'restore' command says to read the dump from stdin


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