[CentOS] Wake On LAN
Hey Listees I can not work out how to get my Dell NF500 III server to use wake on LAN using the on board Broadcom NetExtreme II BCM5708 NIC card? I'm running Cent OS 5.3 final (i386). Basically, If I had windows server 2k3 installed I know that the cards & mobo etc support WOL I would just have to tick a little box under the NIC card properties saying "allow wake on LAN" (or words to that affect). How can I enable WOL for my NIC card? I have two identical servers so I have tried putting one to sleep (via either setting the hibernate time down to 5 mins and waiting for it to time out and hibernate or by running the following as root: echo shutdown > /sys/power/disk; echo disk > /sys/power/state) and waking it up with ether-wake and WOL (an rpm package) but neither worked, also with a windows WOL client from a windows server which I know works as it is regularly in use but the system didn't come up. The light is glowing green on the mobo just next to the two on board NIC's (both are the same BCM5708's); the light is on but nobodies home? What setting might I be missing within CentOS its self to keep the cards alive when the power is out? Any help is greatly appreciated. Regards, James ;) -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT/MU/U dpu s: a--> C++>$ U+> L++> B-> P+> E?> W+++>$ N K W++ O M++>$ V- PS+++ PE++ Y+ PGP t 5 X+ R- tv+ b+> DI D+++ G+ e(+) h--(++) r++ z++ --END GEEK CODE BLOCK-- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Wake On LAN
In article <3c857e1c0904270112v48abf0feh18611f66fec11...@mail.gmail.com>, James Bensley wrote: > > I can not work out how to get my Dell NF500 III server to use wake on > LAN using the on board Broadcom NetExtreme II BCM5708 NIC card? I'm > running Cent OS 5.3 final (i386). > > Basically, If I had windows server 2k3 installed I know that the cards > & mobo etc support WOL I would just have to tick a little box under > the NIC card properties saying "allow wake on LAN" (or words to that > affect). How can I enable WOL for my NIC card? > > I have two identical servers so I have tried putting one to sleep (via > either setting the hibernate time down to 5 mins and waiting for it to > time out and hibernate or by running the following as root: echo > shutdown > /sys/power/disk; echo disk > /sys/power/state) and waking > it up with ether-wake and WOL (an rpm package) but neither worked, > also with a windows WOL client from a windows server which I know > works as it is regularly in use but the system didn't come up. The > light is glowing green on the mobo just next to the two on board NIC's > (both are the same BCM5708's); the light is on but nobodies home? > > What setting might I be missing within CentOS its self to keep the > cards alive when the power is out? Any help is greatly appreciated. I don't know about your Dell, but on my HP ML110 servers, I had to add a line to ifcfg-eth0 to make ethtool tell the LAN port to enable the wake-on-lan function: ETHTOOL_OPTS="wol g" You will need to take the interface down and up after adding the line. Cheers Tony -- Tony Mountifield Work: t...@softins.co.uk - http://www.softins.co.uk Play: t...@mountifield.org - http://tony.mountifield.org ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] ata_piix
Hi all I am using cents 5.3 on a gigabyte motherboard MA78GM-US2H. When installing centos using kickstart I get prompted to load a driver. I select the ata_piix driver and everything continues as normal. Is there a way in kickstart or the boot command prompt line to specify loading the ata_piix module automatically? Why isnt the kernel loading it automatically? I dont recall having to ever do that before in 5.2 Thanks, Jerry ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] repository for mod_security
Anthony Kamau wrote: > > -Original Message- > > From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] > > On Behalf Of Bowie Bailey Sent: Saturday, 25 April 2009 6:27 AM > > To: CentOS mailing list (E-mail) > > Subject: [CentOS] repository for mod_security > > > > I want to add mod_security to my Apache server running CentOS 5.3 > > and am trying to find a repository to get it from. I found it in > > EPEL, but they have version 2.1.7, which is over a year old > > according to what I found on the modsecurity.org website. Is there > > a repository which is keeping this up to date? Or should I just > > build it from source? > > Interesting that you are finding version 2.1.7 - just did a quick > check and I see version 2.5.9 on epel: > > Name : mod_security > Arch : i386 > Version: 2.5.9 > Release: 1.el5 > Size : 933 k > Repo : epel That is very strange. I checked this morning and I see 2.5.9 in epel, but I'll swear that I saw 2.1.7 on Friday. I didn't change anything, I just did another "yum info mod_security". I guess I'll use epel. Thanks, -- Bowie ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Port Forwarding woes
I'm having some port forwarding issues issues with iptables. We are using iptables as a firewall with 2 nics and on ip alias. I'm trying to port forward on the alias ip eth0 = 65.x.x.1 eth0:1 = 65.x.x.2 eth1 = 192.168.x.x I'm wanting to forward certain ports(80,5071...etc) that makes request on eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup the following rules but I must be doing something wrong. iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j DNAT --to-destination 192.168.x.x:80 iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j DNAT --to-destination 192.168.x.x:5071 iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT Any help would be greatly appreciated. Thanks -- Bo Lynch ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Reset audio controller w/o rebooting?
As I mentioned on a thread about flash-plugin a few days ago, I'm having trouble with my sound device getting "stuck" and thereby causing problems for anything that accesses it, like video playback. Rebooting the machine "fixes" it for a while, but it's unpredictable for how long -- sometimes months go by without it recurring, sometimes it happens every couple of days. Right now I'm in one of the latter phases. Any suggestions on how I could reset the controller without having to reboot? (Or suggestions for where else I might ask this question?) Below is output from "lshw" for the audio controller, and "lsmod" for the sound modules that are loaded. This is CentOS 4.7. *-multimedia UNCLAIMED description: Multimedia audio controller product: CK804 AC'97 Audio Controller vendor: nVidia Corporation physical id: d bus info: p...@:00:0d.0 version: a2 width: 32 bits clock: 66MHz capabilities: pm bus_master cap_list configuration: latency=0 maxlatency=5 mingnt=2 resources: ioport:d400(size=256) ioport:d000(size=256) memory:ff6fd000-ff6fdfff snd_intel8x0 36237 3 snd_ac97_codec 65425 1 snd_intel8x0 snd_pcm_oss52857 0 snd_mixer_oss 22081 2 snd_pcm_oss snd_pcm92613 3 snd_intel8x0,snd_pcm_oss snd_timer 28357 1 snd_pcm snd_page_alloc 14541 2 snd_intel8x0,snd_pcm gameport8641 1 snd_intel8x0 snd_mpu401_uart11457 1 snd_intel8x0 snd_rawmidi28133 1 snd_mpu401_uart snd_seq_device 12105 1 snd_rawmidi snd58149 12 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device soundcore 13345 2 snd ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, 2009-04-27 at 08:05 -0700, Bart Schaefer wrote: > As I mentioned on a thread about flash-plugin a few days ago, I'm > having trouble with my sound device getting "stuck" and thereby > causing problems for anything that accesses it, like video playback. > > Rebooting the machine "fixes" it for a while, but it's unpredictable > for how long -- sometimes months go by without it recurring, sometimes > it happens every couple of days. Right now I'm in one of the latter > phases. - You do not have to reboot the machine every time it happens! Use the System Monitor Gnome Applet to kill what ever is using it. Further more this really seems like a Bug in the way Applications handle killing processes. Why? I have a Client this happens to often. Exactly the way you describe. One idea why it affects my clients machine is it is running 4.7 and is dog dead slow. Wait 5 minutes and the processes finally exits. In theory it should exit when the app is closed. johnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] E-Mail Serving Options
Hi All, What are my e-mail serving options? I need to host POP, IMAP and SMTP. I must admit that non-windows e-mail hosting has always been a chore for me. I remember QMail and QPopper IIRC. -Jason ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
Quoting Bart Schaefer : > As I mentioned on a thread about flash-plugin a few days ago, I'm > having trouble with my sound device getting "stuck" and thereby > causing problems for anything that accesses it, like video playback. > > Rebooting the machine "fixes" it for a while, but it's unpredictable > for how long -- sometimes months go by without it recurring, sometimes > it happens every couple of days. Right now I'm in one of the latter > phases. > > Any suggestions on how I could reset the controller without having to > reboot? (Or suggestions for where else I might ask this question?) > Below is output from "lshw" for the audio controller, and "lsmod" for > the sound modules that are loaded. This is CentOS 4.7. I have similar problems in CentOS 5. I disable and enable the flash plugin in firefox, and it seems to be corrected. My problem may be slightly different, but this is how I 'fix' the problem. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, Apr 27, 2009 at 8:27 AM, JohnS wrote: > > You do not have to reboot the machine every time it happens! Use the > System Monitor Gnome Applet to kill what ever is using it. Unfortunately that doesn't help. Once the machine is in this state, then even after using "lsof" to track down all processes that are using the sound device, and killing all of them, the *next* thing to access the sound will play for a few seconds and then lock up. I once got it to clear up by unloading and reloading all the sound-related kernel modules, but that doesn't repeatably work either. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E-Mail Serving Options
On 27-Apr-09, at 8:41 AM, Jason Todd Slack-Moehrle wrote: > Hi All, > > What are my e-mail serving options? I need to host POP, IMAP and SMTP. > I must admit that non-windows e-mail hosting has always been a chore > for me. I remember QMail and QPopper IIRC. > > -Jason postfix is out of the box on centos. As is sendmail. But postfix is the easier of the two to grasp IMHO. d ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E-Mail Serving Options
dnk wrote: > > > > > On 27-Apr-09, at 8:41 AM, Jason Todd Slack-Moehrle wrote: > >> Hi All, >> >> What are my e-mail serving options? I need to host POP, IMAP and SMTP. >> I must admit that non-windows e-mail hosting has always been a chore >> for me. I remember QMail and QPopper IIRC. >> >> -Jason > postfix is out of the box on centos. As is sendmail. But postfix is > the easier of the two to grasp IMHO. > And there's documentation aimed at beginners here on the Wiki for Postfix/dovecot: http://wiki.centos.org/HowTos#head-0facb50d5796bee0bd394636c32ffa9a997a6ab5 Not your only choice by any means. Hope that helps. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E-Mail Serving Options
Jason Todd Slack-Moehrle wrote: > Hi All, > > What are my e-mail serving options? I need to host POP, IMAP and SMTP. > I must admit that non-windows e-mail hosting has always been a chore > for me. I remember QMail and QPopper IIRC. > The wiki has a nice setup: http://wiki.centos.org/HowTos#head-0facb50d5796bee0bd394636c32ffa9a997a6ab5 -- tkb ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
Bo Lynch wrote: > I'm having some port forwarding issues issues with iptables. > We are using iptables as a firewall with 2 nics and on ip alias. > I'm trying to port forward on the alias ip > eth0 = 65.x.x.1 > eth0:1 = 65.x.x.2 > eth1 = 192.168.x.x > > I'm wanting to forward certain ports(80,5071...etc) that makes request on > eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup the > following rules but I must be doing something wrong. > iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j > DNAT --to-destination 192.168.x.x:80 > iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j > DNAT --to-destination 192.168.x.x:5071 > iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT > iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT > > Any help would be greatly appreciated. > Thanks > Try iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j ACCEPT iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j ACCEPT ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] kickstart problems...
Hi, I am creating CentOS install usb keys and, apart from a few problems, it mostly works... 1. OT: My server HP does not seem to want to boot on it if I set the write protection on. 2. Anaconda tries to fetch the ks.cfg too early... It detects sda, then detects the RAID adapter, then re-detects sda with a "waiting for device to settle before scanning". Anaconda tries to access the ks.cfg file in the middle of this waiting. If, once the detection is over (just 2-3 seconds later), I retry, it works. 3. Error message "cannot mount read/write, will mount read-only" (I like to write protect) 4. OT: fs corruption ont he USB keys... I copy the iso file on the key (no error message), then compare it to the original and some random differences appear. I noticed in the logs: "ext2_new_block: Allocating block in system zone - block = 65536" "ext2_free_blocks: bit already cleared for block 88678" "ext2_free_blocks: Freeing blocks not in datazone - block = 3003818537, count = 1" Any idea how to fix 2. and 3. ? Thx, JD ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > Bo Lynch wrote: >> I'm having some port forwarding issues issues with iptables. >> We are using iptables as a firewall with 2 nics and on ip alias. >> I'm trying to port forward on the alias ip >> eth0 = 65.x.x.1 >> eth0:1 = 65.x.x.2 >> eth1 = 192.168.x.x >> >> I'm wanting to forward certain ports(80,5071...etc) that makes request >> on >> eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup >> the >> following rules but I must be doing something wrong. >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j >> DNAT --to-destination 192.168.x.x:80 >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j >> DNAT --to-destination 192.168.x.x:5071 >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT >> >> Any help would be greatly appreciated. >> Thanks >> > Try > > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j > ACCEPT > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j > ACCEPT > > > Tried that with no luck. Here is what my NAT looks like. [r...@localhost ~]# iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination DNAT tcp -- anywhere 65.161.127.70 tcp dpt:http to:192.168.1.3:80 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:powerschool to:192.168.1.3:5071 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:timbuktu to:192.168.1.3:407 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:timbuktu-srv1 to:192.168.1.3:1417 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:timbuktu-srv2 to:192.168.1.3:1418 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:timbuktu-srv3 to:192.168.1.3:1419 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:timbuktu-srv4 to:192.168.1.3:1420 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:7880 to:192.168.1.3:7880 DNAT tcp -- anywhere 65.161.127.70 tcp dpt:https to:192.168.1.3:443 DNAT udp -- anywhere 65.161.127.70 udp dpt:timbuktu to:192.168.1.3:407 DNAT udp -- anywhere 65.161.127.70 udp dpt:timbuktu-srv1 to:192.168.1.3:1417 DNAT udp -- anywhere 65.161.127.70 udp dpt:timbuktu-srv2 to:192.168.1.3:1418 DNAT udp -- anywhere 65.161.127.70 udp dpt:timbuktu-srv3 to:192.168.1.3:1419 DNAT udp -- anywhere 65.161.127.70 udp dpt:timbuktu-srv4 to:192.168.1.3:1420 DNAT udp -- anywhere 65.161.127.70 udp dpt:7880 to:192.168.1.3:7880 To me it looks like it should work. When I try and do a telnet on the port number I get a connection refused. Is using an alias a problem? Bo Lynch ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E-Mail Serving Options
Jason Todd Slack-Moehrle wrote: > Hi All, > > What are my e-mail serving options? I need to host POP, IMAP and SMTP. > I must admit that non-windows e-mail hosting has always been a chore > for me. I remember QMail and QPopper IIRC. > For some reasonably small number of users you might like the appliance-like SME server distribution from http://www.contribs.org. It is pretty much 'just-add-users' out of the box. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
2009/4/28 Bo Lynch > On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > > Bo Lynch wrote: > >> I'm having some port forwarding issues issues with iptables. > >> We are using iptables as a firewall with 2 nics and on ip alias. > >> I'm trying to port forward on the alias ip > >> eth0 = 65.x.x.1 > >> eth0:1 = 65.x.x.2 > >> eth1 = 192.168.x.x > >> > >> I'm wanting to forward certain ports(80,5071...etc) that makes request > >> on > >> eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup > >> the > >> following rules but I must be doing something wrong. > >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j > >> DNAT --to-destination 192.168.x.x:80 > >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j > >> DNAT --to-destination 192.168.x.x:5071 > >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT > >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT > >> > >> Any help would be greatly appreciated. > >> Thanks > >> > > Try > > > > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j > > ACCEPT > > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j > > ACCEPT > > > > > > > Tried that with no luck. Here is what my NAT looks like. > [r...@localhost ~]# iptables -t nat -L > Chain PREROUTING (policy ACCEPT) > target prot opt source destination > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:http > to:192.168.1.3:80 > > To me it looks like it should work. When I try and do a telnet on the port > number I get a connection refused. Is using an alias a problem? > It should, and does, work, even with an alias... The fact you are getting connection refused suggests that the traffic is going somewhere and responses are getting back, rather than disappearing into a hole, which is good... Are you sure traffic to that address is getting to your eth0 interface and not going to another device or being blocked by your router? Capturing traffic using tcpdump while testing would confirm this, i.e. tcpdump -i any -n port 5071 would show packets coming in on eth0 and going out on eth1 if everything is working, or only coming in on eth0 if something within this box is preventing forwarding, or nothing at all which would show that the traffic wasn't even making it to your machine... d ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, 2009-04-27 at 08:45 -0700, Bart Schaefer wrote: > On Mon, Apr 27, 2009 at 8:27 AM, JohnS wrote: > > > > You do not have to reboot the machine every time it happens! Use the > > System Monitor Gnome Applet to kill what ever is using it. > > Unfortunately that doesn't help. Once the machine is in this state, > then even after using "lsof" to track down all processes that are > using the sound device, and killing all of them, the *next* thing to > access the sound will play for a few seconds and then lock up. > > I once got it to clear up by unloading and reloading all the > sound-related kernel modules, but that doesn't repeatably work either. --- Ok then just a question to solve my thinking. What type of machine is this as in Brand. The one I'm see the problem on is a HP 400Mhz Celeron 254MB of ram. My thinking for my clients problem is it is a real slow machine and the processes are taking a long time to exit. But you have to reboot the whole machine. What is the mixer your using? You may can try looking at the Sound Preferences Devices Tab to change the options there to see if that will help. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
Quoting Bo Lynch : > On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > > Bo Lynch wrote: > >> I'm having some port forwarding issues issues with iptables. > >> We are using iptables as a firewall with 2 nics and on ip alias. > >> I'm trying to port forward on the alias ip > >> eth0 = 65.x.x.1 > >> eth0:1 = 65.x.x.2 > >> eth1 = 192.168.x.x > >> > >> I'm wanting to forward certain ports(80,5071...etc) that makes request > >> on > >> eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup > >> the > >> following rules but I must be doing something wrong. > >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j > >> DNAT --to-destination 192.168.x.x:80 > >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j > >> DNAT --to-destination 192.168.x.x:5071 > >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT > >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT > >> > >> Any help would be greatly appreciated. > >> Thanks > >> > > Try > > > > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j > > ACCEPT > > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j > > ACCEPT > > > > > > > Tried that with no luck. Here is what my NAT looks like. > [r...@localhost ~]# iptables -t nat -L > Chain PREROUTING (policy ACCEPT) > target prot opt source destination > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:http > to:192.168.1.3:80 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:powerschool to:192.168.1.3:5071 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu to:192.168.1.3:407 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv1 to:192.168.1.3:1417 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv2 to:192.168.1.3:1418 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv3 to:192.168.1.3:1419 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv4 to:192.168.1.3:1420 > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:7880 > to:192.168.1.3:7880 > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:https > to:192.168.1.3:443 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu to:192.168.1.3:407 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv1 to:192.168.1.3:1417 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv2 to:192.168.1.3:1418 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv3 to:192.168.1.3:1419 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv4 to:192.168.1.3:1420 > DNAT udp -- anywhere 65.161.127.70 udp dpt:7880 > to:192.168.1.3:7880 > > To me it looks like it should work. When I try and do a telnet on the port > number I get a connection refused. Is using an alias a problem? Do you have ip forwarding enabled? Does 'cat /proc/sys/net/ipv4/ip_forward' show 1 or 0? Is there a service listening on the port you are forwarding to, and can you get to this service from a machine on the internal network? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] kickstart problems...
John Doe wrote: > Hi, > > I am creating CentOS install usb keys and, apart from a few problems, it > mostly works... > 1. OT: My server HP does not seem to want to boot on it if I set the write > protection on. > 2. Anaconda tries to fetch the ks.cfg too early... It detects sda, then > detects the >RAID adapter, then re-detects sda with a "waiting for device to settle > before scanning". >Anaconda tries to access the ks.cfg file in the middle of this waiting. >If, once the detection is over (just 2-3 seconds later), I retry, it works. > 3. Error message "cannot mount read/write, will mount read-only" (I like to > write protect) > 4. OT: fs corruption ont he USB keys... >I copy the iso file on the key (no error message), then compare it to the > original and >some random differences appear. I noticed in the logs: >"ext2_new_block: Allocating block in system zone - block = 65536" >"ext2_free_blocks: bit already cleared for block 88678" >"ext2_free_blocks: Freeing blocks not in datazone - block = 3003818537, > count = 1" > Any idea how to fix 2. and 3. ? > Is there a particular reason why you don't/can't use pxe boot and fetching the ks files over the network ? -- -- Fabian Arrotin idea=`grep -i clue /dev/brain` test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer.sh ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
Bo Lynch wrote: > On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > >> Bo Lynch wrote: >> >>> I'm having some port forwarding issues issues with iptables. >>> We are using iptables as a firewall with 2 nics and on ip alias. >>> I'm trying to port forward on the alias ip >>> eth0 = 65.x.x.1 >>> eth0:1 = 65.x.x.2 >>> eth1 = 192.168.x.x >>> >>> I'm wanting to forward certain ports(80,5071...etc) that makes request >>> on >>> eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have setup >>> the >>> following rules but I must be doing something wrong. >>> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 -j >>> DNAT --to-destination 192.168.x.x:80 >>> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 -j >>> DNAT --to-destination 192.168.x.x:5071 >>> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j ACCEPT >>> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j ACCEPT >>> >>> Any help would be greatly appreciated. >>> Thanks >>> >>> >> Try >> >> iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 -j >> ACCEPT >> iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 -j >> ACCEPT >> >> >> >> > Tried that with no luck. Here is what my NAT looks like. > [r...@localhost ~]# iptables -t nat -L > Chain PREROUTING (policy ACCEPT) > target prot opt source destination > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:http > to:192.168.1.3:80 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:powerschool to:192.168.1.3:5071 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu to:192.168.1.3:407 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv1 to:192.168.1.3:1417 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv2 to:192.168.1.3:1418 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv3 to:192.168.1.3:1419 > DNAT tcp -- anywhere 65.161.127.70 tcp > dpt:timbuktu-srv4 to:192.168.1.3:1420 > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:7880 > to:192.168.1.3:7880 > DNAT tcp -- anywhere 65.161.127.70 tcp dpt:https > to:192.168.1.3:443 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu to:192.168.1.3:407 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv1 to:192.168.1.3:1417 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv2 to:192.168.1.3:1418 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv3 to:192.168.1.3:1419 > DNAT udp -- anywhere 65.161.127.70 udp > dpt:timbuktu-srv4 to:192.168.1.3:1420 > DNAT udp -- anywhere 65.161.127.70 udp dpt:7880 > to:192.168.1.3:7880 > > To me it looks like it should work. When I try and do a telnet on the port > number I get a connection refused. Is using an alias a problem? > Bo Lynch > > > It will work and does for me here. Try putting this at the beginning of your script. echo "1" > /proc/sys/net/ipv4/ip_forward IPTABLES=/sbin/iptables $IPTABLES -F $IPTABLES -F INPUT $IPTABLES -F OUTPUT $IPTABLES -F FORWARD $IPTABLES -F -t mangle $IPTABLES -F -t nat $IPTABLES -X Verify the alias is setup correctly with ifconfig. Dan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E-Mail Serving Options
Jason Todd Slack-Moehrle wrote: > Hi All, > > What are my e-mail serving options? I need to host POP, IMAP and SMTP. > I must admit that non-windows e-mail hosting has always been a chore > for me. I remember QMail and QPopper IIRC. > 'nix systems seperate email into two seperate functions, A) the message transfer agent or MTA, of which sendmail and postfix are the two main solutions, qmail is deprecated in most circles. exim is yet another option, and B) the IMAP/POP services for clients to read mail, of which dovecot and cyrus are the two main choices nowdays, qpopper is quite hoary and old and deprecated. of the two main MTAs, sendmail is considered something of a legacy, and if you're not already intimately familiar with it, I'd skip it entirely. postfix is preferred by most everyone who's switched to it, and for new installs. dovecot is probably simpler to setup and use as an imap/pop system, while cyrus is more flexible and complex (for instance, cyrus can use a SQL database for its backing store and for virtual mail users, rather than requiring unix accounts and flat files). of course, as soon as you open a mail server up to incoming internet mail, you need to configure spam filtering or you'll be swamped. there's many different approaches to this, and most people end up using a combination of several. razor, spamassassin, mailscanner, an antivirus scan if you have windows users, an RBL like zen.spamhaus.net to block well known spam sources, etc etc etc. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] 5.3 on an EeePC??
I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on which I've installed CentOS on the hard-drive-plus-card. But it can't even use my eth0. Some one on a local LUG, where I had mentioned that other OSs did fine with all the same exact hardware, suggested that CentOS, being designed for stability rather than the bleeding edge, likely lacks drivers; so I need to get some. Anybody know what drivers (for wireless as well as ethernet cable) I need, and how/where to get ones to fit CentOS?? -- Beartooth Staffwright, PhD, Neo-Redneck Linux Convert Remember I know precious little of what I am talking about. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
Beartooth wrote: > > I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on > which I've installed CentOS on the hard-drive-plus-card. But it can't > even use my eth0. > >Some one on a local LUG, where I had mentioned that other OSs did fine > with all the same exact hardware, suggested that CentOS, being designed > for stability rather than the bleeding edge, likely lacks drivers; so I > need to get some. > >Anybody know what drivers (for wireless as well as ethernet cable) I > need, and how/where to get ones to fit CentOS?? Why do you want CentOS on an EeePC ? It's not really intended for that purpose, if your having to ask where to get the drivers for it your probably not suited for running CentOS on the EeePC. Your better off with Fedora, or Ubuntu or something that has broader hardware support. I installed Ubuntu 9.04 netbook remix on my EeePC 2G surf yesterday(onto a 4G SD card), it was pretty painless although the general UI has too much eye candy, so it is choppy. The wiki says future kernel updates should address some of the sluggishness. nate ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, Apr 27, 2009 at 9:55 AM, JohnS wrote: > > Ok then just a question to solve my thinking. What type of machine is > this as in Brand. It's a custom-built desktop tower from Monarch Computer Systems, who seems to have gone out of business almost exactly two years ago. I'd forgotten how long I've had this box. > The one I'm see the problem on is a HP 400Mhz Celeron > 254MB of ram. P4 @ 3GHz w/ 2GB here. > What is the mixer your using? /usr/libexec/mixer_applet2 from gnome-applets-2.8.0-9.el4 > You may can > try looking at the Sound Preferences Devices Tab to change the options > there to see if that will help. I'm on CentOS 4. There is no "Devices" tab on Sound Preferences. System Settings -> Soundcard Detection locks up on the test sound, just like any other app ... ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] adding packages from cd
HI ALL, Ive recently installed Cent OS 5.2 , and now want to update a few more packages , how can i do that with the installation CDs. pls help.. cheers, Sumit ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
On Mon, April 27, 2009 12:50 pm, D Tucny wrote: > 2009/4/28 Bo Lynch > >> On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: >> > Bo Lynch wrote: >> >> I'm having some port forwarding issues issues with iptables. >> >> We are using iptables as a firewall with 2 nics and on ip alias. >> >> I'm trying to port forward on the alias ip >> >> eth0 = 65.x.x.1 >> >> eth0:1 = 65.x.x.2 >> >> eth1 = 192.168.x.x >> >> >> >> I'm wanting to forward certain ports(80,5071...etc) that makes >> request >> >> on >> >> eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have >> setup >> >> the >> >> following rules but I must be doing something wrong. >> >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 >> -j >> >> DNAT --to-destination 192.168.x.x:80 >> >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 >> -j >> >> DNAT --to-destination 192.168.x.x:5071 >> >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j >> ACCEPT >> >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j >> ACCEPT >> >> >> >> Any help would be greatly appreciated. >> >> Thanks >> >> >> > Try >> > >> > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 >> -j >> > ACCEPT >> > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 >> -j >> > ACCEPT >> > >> > >> > >> Tried that with no luck. Here is what my NAT looks like. >> [r...@localhost ~]# iptables -t nat -L >> Chain PREROUTING (policy ACCEPT) >> target prot opt source destination >> DNAT tcp -- anywhere 65.161.127.70 tcp >> dpt:http >> to:192.168.1.3:80 >> > > > > >> To me it looks like it should work. When I try and do a telnet on the >> port >> number I get a connection refused. Is using an alias a problem? >> > > It should, and does, work, even with an alias... > > The fact you are getting connection refused suggests that the traffic is > going somewhere and responses are getting back, rather than disappearing > into a hole, which is good... > Are you sure traffic to that address is getting to your eth0 interface and > not going to another device or being blocked by your router? > Capturing traffic using tcpdump while testing would confirm this, i.e. > tcpdump -i any -n port 5071 would show packets coming in on eth0 and going > out on eth1 if everything is working, or only coming in on eth0 if > something > within this box is preventing forwarding, or nothing at all which would > show > that the traffic wasn't even making it to your machine... > > d > ___ I think I found the culprit but not sure if by taking this out it will be a risk. When I remove this statement things work iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP If I drop the NEW it works. Should I be concerned from I security stand point? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] adding packages from cd
sumit agarwal wrote: > > HI ALL, > > Ive recently installed Cent OS 5.2 , and now want to update a few more > packages , how can i do that with the installation CDs. > pls help.. yum --enablerepo=c5-media install somepackagename but, you really should just go ahead and use the yum repository servers as they will have any and all updates. yum install somepackagename ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
On Mon, 27 Apr 2009 12:24:57 -0700, nate wrote: > Beartooth wrote: >> >> I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on >> which I've installed CentOS on the hard-drive-plus-card. But it can't >> even use my eth0. >> >>Some one on a local LUG, where I had mentioned that other OSs did >>fine >> with all the same exact hardware, suggested that CentOS, being designed >> for stability rather than the bleeding edge, likely lacks drivers; so I >> need to get some. >> >>Anybody know what drivers (for wireless as well as ethernet cable) I >> need, and how/where to get ones to fit CentOS?? > > Why do you want CentOS on an EeePC ? It's not really intended for that > purpose, if your having to ask where to get the drivers for it your > probably not suited for running CentOS on the EeePC. Your better off > with Fedora, or Ubuntu or something that has broader hardware support. I have a strong if perhaps irrational preference for the .rpm family; I have indeed installed and run F8, F9, F10, and Eeedora on this machine. Unfortunately, until I can afford to replace it with a somewhat larger netbook, what's left of my eyeballs and fingers limits me to using it in waiting rooms, and not much of anywhere else. Given that limitation, speed of boot becomes a major criterion. F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, real sixty-second minutes; it's not a typo -- just to boot. And then had to find wifi. > I installed Ubuntu 9.04 netbook remix on my EeePC 2G surf yesterday(onto > a 4G SD card), it was pretty painless although the general UI has too > much eye candy, so it is choppy. The wiki says future kernel updates > should address some of the sluggishness. I've also been trying plain Ubuntu, Eeebuntu, Crunchbang, DreamLinux, and a couple more. I'll run an OS of that ilk if I have to. But for fifty-odd years, the Baby Boomers have trodden my heels, doing all I do a few years later. Some of them, even more than I, will be wanting a mature RedHat-type OS, well back from the bleeding edge, to enable them to check their email, etc., rather than thumb antediluvian magazines in waiting rooms. What's more, CentOS will be able to oblige them, once it gets up to something like present Fedora kernels. Why not a little sooner? And just in case, do please tell me where to get this ultra- exemplary netbook remix, which I have somehow failed to encounter. (I think all my Ubuntoid OSs so far are 8-based.) -- Beartooth Staffwright, PhD, Neo-Redneck Linux Convert Remember I know precious little of what I am talking about. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Beartooth wrote: > I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on > which I've installed CentOS on the hard-drive-plus-card. But it can't > even use my eth0. > >Some one on a local LUG, where I had mentioned that other OSs did fine > with all the same exact hardware, suggested that CentOS, being designed > for stability rather than the bleeding edge, likely lacks drivers; so I > need to get some. > >Anybody know what drivers (for wireless as well as ethernet cable) I > need, and how/where to get ones to fit CentOS?? > I'm sure it's possible, but unless you plan not to use X, you won't have that much space left to work with! And CentOS needs a bit of RAM to perform well anyway. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn2Ev0ACgkQe0Ain3PYkIbKOgCfeBdeAvUcPbmeLvro8buCZ2ku TxAAn0UNBP31jYEb/c+tXf7GB0CwTgNz =7XQx -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] E-Mail Serving Options
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jason Todd Slack-Moehrle wrote: > Hi All, > > What are my e-mail serving options? I need to host POP, IMAP and > SMTP. I must admit that non-windows e-mail hosting has always been > a chore for me. I remember QMail and QPopper IIRC. > > -Jason ___ CentOS > mailing list CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > Dovecot and Postfix are my favorite. If you want webmail, I would use RoundCube Webmail. All combined make a pretty nice and simple mail solution. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn2EzIACgkQe0Ain3PYkIYWTgCfb0rtdISQHVmK3cGTLlgUhKzn ijgAn3cRDm5JRIQa+PFqxeuvWUSf+vdX =KGuj -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
On Mon, Apr 27, 2009 at 3:15 PM, Beartooth wrote: > On Mon, 27 Apr 2009 12:24:57 -0700, nate wrote: > > > Beartooth wrote: > >> > >> I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on > >> which I've installed CentOS on the hard-drive-plus-card. But it can't > >> even use my eth0. > >> > >>Some one on a local LUG, where I had mentioned that other OSs did > >>fine > >> with all the same exact hardware, suggested that CentOS, being designed > >> for stability rather than the bleeding edge, likely lacks drivers; so I > >> need to get some. > >> > >>Anybody know what drivers (for wireless as well as ethernet cable) I > >> need, and how/where to get ones to fit CentOS?? > > > > Why do you want CentOS on an EeePC ? It's not really intended for that > > purpose, if your having to ask where to get the drivers for it your > > probably not suited for running CentOS on the EeePC. Your better off > > with Fedora, or Ubuntu or something that has broader hardware support. > >I have a strong if perhaps irrational preference for the .rpm > family; I have indeed installed and run F8, F9, F10, and Eeedora on this > machine. Unfortunately, until I can afford to replace it with a somewhat > larger netbook, what's left of my eyeballs and fingers limits me to using > it in waiting rooms, and not much of anywhere else. > >Given that limitation, speed of boot becomes a major criterion. > F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, > real sixty-second minutes; it's not a typo -- just to boot. And then had > to find wifi. > > > I installed Ubuntu 9.04 netbook remix on my EeePC 2G surf yesterday(onto > > a 4G SD card), it was pretty painless although the general UI has too > > much eye candy, so it is choppy. The wiki says future kernel updates > > should address some of the sluggishness. > >I've also been trying plain Ubuntu, Eeebuntu, Crunchbang, > DreamLinux, and a couple more. > >I'll run an OS of that ilk if I have to. > >But for fifty-odd years, the Baby Boomers have trodden my heels, > doing all I do a few years later. Some of them, even more than I, will be > wanting a mature RedHat-type OS, well back from the bleeding edge, to > enable them to check their email, etc., rather than thumb antediluvian > magazines in waiting rooms. > >What's more, CentOS will be able to oblige them, once it gets up > to something like present Fedora kernels. Why not a little sooner? > >And just in case, do please tell me where to get this ultra- > exemplary netbook remix, which I have somehow failed to encounter. (I > think all my Ubuntoid OSs so far are 8-based.) > I like CentOS better than Debian also but, apparently, the new Ubuntu 9.04 works really well on netbooks. It's here: http://www.ubuntu.com/getubuntu/download-netbook -- RonB -- Using CentOS 5.3 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
Quoting Bo Lynch : > On Mon, April 27, 2009 12:50 pm, D Tucny wrote: > > 2009/4/28 Bo Lynch > > > >> On Mon, April 27, 2009 12:01 pm, Dan Carl wrote: > >> > Bo Lynch wrote: > >> >> I'm having some port forwarding issues issues with iptables. > >> >> We are using iptables as a firewall with 2 nics and on ip alias. > >> >> I'm trying to port forward on the alias ip > >> >> eth0 = 65.x.x.1 > >> >> eth0:1 = 65.x.x.2 > >> >> eth1 = 192.168.x.x > >> >> > >> >> I'm wanting to forward certain ports(80,5071...etc) that makes > >> request > >> >> on > >> >> eth0:1 IP 65.x.x.2 to forward to internal IP 192.168.x.x. I have > >> setup > >> >> the > >> >> following rules but I must be doing something wrong. > >> >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 80 > >> -j > >> >> DNAT --to-destination 192.168.x.x:80 > >> >> iptables -t nat -A PREROUTING -p tcp -i eth0 -d 65.x.x.2 --dport 5071 > >> -j > >> >> DNAT --to-destination 192.168.x.x:5071 > >> >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 80 -j > >> ACCEPT > >> >> iptables -A FORWARD -p tcp -i eth0 -d 192.168.x.x --dport 5071 -j > >> ACCEPT > >> >> > >> >> Any help would be greatly appreciated. > >> >> Thanks > >> >> > >> > Try > >> > > >> > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 80 > >> -j > >> > ACCEPT > >> > iptables -A FORWARD -p tcp -i eth0 -o eth1 -d 192.168.x.x --dport 5071 > >> -j > >> > ACCEPT > >> > > >> > > >> > > >> Tried that with no luck. Here is what my NAT looks like. > >> [r...@localhost ~]# iptables -t nat -L > >> Chain PREROUTING (policy ACCEPT) > >> target prot opt source destination > >> DNAT tcp -- anywhere 65.161.127.70 tcp > >> dpt:http > >> to:192.168.1.3:80 > >> > > > > > > > > > >> To me it looks like it should work. When I try and do a telnet on the > >> port > >> number I get a connection refused. Is using an alias a problem? > >> > > > > It should, and does, work, even with an alias... > > > > The fact you are getting connection refused suggests that the traffic is > > going somewhere and responses are getting back, rather than disappearing > > into a hole, which is good... > > Are you sure traffic to that address is getting to your eth0 interface and > > not going to another device or being blocked by your router? > > Capturing traffic using tcpdump while testing would confirm this, i.e. > > tcpdump -i any -n port 5071 would show packets coming in on eth0 and going > > out on eth1 if everything is working, or only coming in on eth0 if > > something > > within this box is preventing forwarding, or nothing at all which would > > show > > that the traffic wasn't even making it to your machine... > > > > d > > ___ > I think I found the culprit but not sure if by taking this out it will be > a risk. When I remove this statement things work > iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP > > If I drop the NEW it works. Should I be concerned from I security stand > point? If you don't drop the NEW, it won't work. It is fine to drop INVALID traffic. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One for the Cisco experts...
Les Mikesell wrote: > Rainer Duffner wrote: > I found this pdf with a much nicer overview: http://www.google.com/url?sa=U&start=2&q=http://www.ukuug.org/events/spring2009/programme/introduction-to-opennms.pdf&ei=jNvvSd3xDtTelQfphIDZDA&sig2=7vpdGBzMcZoATeczKIZh7g&usg=AFQjCNEy6gnHrSgQOneREKleuRvgAssmHw >>> >>> downloaded and will check it out after coffee/breakfast - thanks >>> >>> >> Hm. >> Now, I'm in for an off-topic question ;-) >> >> Can OpenNMS delegate the administration of certain groups of hosts to >> different users/groups? >> (While still allowing everybody a "view" right). > > No, you basically have write access or you don't. Different > users/groups can receive different notifications, though. You can have a > passwordless user with read access if you want to make it easier to > embed graphs in other web pages or export data through the web > interface. You can also create logins that get a 'dashboard only' view > that is basically a grid of machines selected by a pair of attributes > (like location and server type) where the grid shows the number total > number of nodes and the count of nodes with services down, and > underneath the grid you can select views with more details for any of > the servers in the group. You can't make any changes from the dashboard > only logins, though. The about to be released 1.7.3 (unstable branch) version is supposed to add per-user acls to control what devices you can see. If you want to help test this feature, grab a copy in a few days or build from the source trunk. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
If Puppy linux is taking a long time to boot, I'm not sure how you think CentOS is going to fare better. What sort of drive does this thing have? You may need to look into replacing that if you want faster bootup speeds and not the OS. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
Beartooth wrote: > > Given that limitation, speed of boot becomes a major criterion. > F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, > real sixty-second minutes; it's not a typo -- just to boot. And then had > to find wifi. I think you really want something that does suspend/wakeup right on a netbook - or even a normal laptop. -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
On Mon, Apr 27, 2009 at 11:55 AM, Beartooth wrote: > > I have an ASUS EeePC 701 (with 2GB of RAM and an 8 GB card), on > which I've installed CentOS on the hard-drive-plus-card. But it can't > even use my eth0. > > Anybody know what drivers (for wireless as well as ethernet cable) I > need, and how/where to get ones to fit CentOS?? Run /sbin/lspci and find the hardware info for your wired / wireless device. Then search the CentOS wiki. For example, if you see "AR5007EG", there is a wiki page for that: http://wiki.centos.org/HowTos/Laptops/WirelessAR5007EG If you also see "Atheros", there is a good chance that you can find the latest driver that is available as the kernel module at the ElRepo repository ( http://elrepo.org ). For example, if your device requires the atl2 driver, you can install it by (after installing the repo): yum --enablerepo=elrepo install kmod-atl2 Hope this helps, Akemi ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] One for the Cisco experts...
Am 27.04.2009 um 22:24 schrieb Les Mikesell: > > The about to be released 1.7.3 (unstable branch) version is supposed > to > add per-user acls to control what devices you can see. If you want to > help test this feature, grab a copy in a few days or build from the > source trunk. I will have to check this, thanks. Problem is: I don't decide about go or no-go. Currently, we use "IP-Monitor", which is really a PITA to use and I get mad everytime I have to use it to add another host. Best Regards, Rainer ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Port Forwarding woes
Hi, On Mon, Apr 27, 2009 at 16:01, Bo Lynch wrote: > I think I found the culprit but not sure if by taking this out it will be > a risk. When I remove this statement things work > iptables -A FORWARD -i eth0 -m state --state NEW, INVALID -j DROP > > If I drop the NEW it works. Should I be concerned from I security stand > point? The point of that rule is to drop anything you did not handle before. That rule is supposed to be the last one in the list of rules. The best solution in your case is probably to move your other rules above that one. HTH, Filipe ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
On Mon, 2009-04-27 at 15:35 -0500, Les Mikesell wrote: > Beartooth wrote: > > > > Given that limitation, speed of boot becomes a major criterion. > > F10 (and also, believe it or not, Pupeee) took *over* ten minutes -- yes, > > real sixty-second minutes; it's not a typo -- just to boot. And then had > > to find wifi. > > I think you really want something that does suspend/wakeup right on a > netbook - or even a normal laptop. Fedora 10 suspends/wakes properly on my Acer Aspire One I have done much with that and posted some useful stuff on the FedoraProject wiki page on Aspire One. I currently have Fedora 11 (testing) installed on it and it rocks. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.3 on an EeePC??
Les Mikesell wrote: > I think you really want something that does suspend/wakeup right on a > netbook - or even a normal laptop. CentOS does indeed do all that and is a usable platform on the eeepc, with a few edits. -- Karanbir Singh : http://www.karan.org/ : 2522...@icq ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Reset audio controller w/o rebooting?
On Mon, 2009-04-27 at 12:43 -0700, Bart Schaefer wrote: > On Mon, Apr 27, 2009 at 9:55 AM, JohnS wrote: > > > > Ok then just a question to solve my thinking. What type of machine is > > this as in Brand. > > It's a custom-built desktop tower from Monarch Computer Systems, who > seems to have gone out of business almost exactly two years ago. I'd > forgotten how long I've had this box. > > > The one I'm see the problem on is a HP 400Mhz Celeron > > 254MB of ram. > > P4 @ 3GHz w/ 2GB here. Well that solves my wonders. Yours is way faster than my clients. > > What is the mixer your using? > > /usr/libexec/mixer_applet2 from gnome-applets-2.8.0-9.el4 > > > You may can > > try looking at the Sound Preferences Devices Tab to change the options > > there to see if that will help. > > I'm on CentOS 4. There is no "Devices" tab on Sound Preferences. > System Settings -> Soundcard Detection locks up on the test sound, > just like any other app ... Ahh.. Hmm If it helps my client has 4.7 and when he/she run mplayer that's when the same problem starts. It happens with and app that plays audio. Let me look tonight to see what exact mixer/driver my clients is using so I don't tell you a tail. JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] php-mcrypt from c5-testing is the wrong version
Hello all, I am using the c5-testing repo to fetch PHP 5.2.6 and related libraries, required for the LAMP apps that I want to use. php-mcrypt still seems to come from the extras repo and is version 5.1.6 and the php binary doesn't load this module. Any ideas on howto get php-mcrypt 5.2.6? Thanks. -- "The secret impresses no-one, the trick you use it for is everything" - Alfred Borden (The Prestiege) ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Dell mirror raid boot problems
Everyone, I was recently given a Dell raid 386 server that had drives that had gone bad. I replaced the drives with a couple terrabyte sata Seagate drives, and set up the bios for a mirrored raid configuration. I was able to install Centos 5.2 without difficulty, but when it was time to perform the 1st boot it went to grub instead of booting off of one of the mirrored drives. I could not figure out how to boot through grub, so I changed the bios to look at both drives unmirrored. At that point I was able to boot to one of the drives, and the second drive was not mounted. The raid logic is within the bios and mother board of the Dell machine. Can any of you point me to some literature about making this system work as a mirrored raid system. Thanks, -- Greg Ennis ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
Gregory P. Ennis wrote: > Everyone, > > I was recently given a Dell raid 386 server that had drives that had > gone bad. I replaced the drives with a couple terrabyte sata Seagate > drives, and set up the bios for a mirrored raid configuration. > > I was able to install Centos 5.2 without difficulty, but when it was > time to perform the 1st boot it went to grub instead of booting off of > one of the mirrored drives. > > I could not figure out how to boot through grub, so I changed the bios > to look at both drives unmirrored. At that point I was able to boot to > one of the drives, and the second drive was not mounted. > > The raid logic is within the bios and mother board of the Dell machine. > Can any of you point me to some literature about making this system work > as a mirrored raid system. > What model Dell server is this? Surely, this isn't a 386 (16 to 40mhz from circa 1989?!?) What Dell RAID controller model does it have? They are pretty much all called PERC something, but there are many generations. Is this a true raid (controller based, with a battery backed write cache), or a bogus soft (fake) raid setup? if its the latter, I'd set it up with linux native raid, and not use the BIOS raid at all ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John R Pierce wrote: > Gregory P. Ennis wrote: >> Everyone, >> >> I was recently given a Dell raid 386 server that had drives that >> had gone bad. I replaced the drives with a couple terrabyte sata >> Seagate drives, and set up the bios for a mirrored raid >> configuration. >> >> I was able to install Centos 5.2 without difficulty, but when it >> was time to perform the 1st boot it went to grub instead of >> booting off of one of the mirrored drives. >> >> I could not figure out how to boot through grub, so I changed the >> bios to look at both drives unmirrored. At that point I was able >> to boot to one of the drives, and the second drive was not >> mounted. >> >> The raid logic is within the bios and mother board of the Dell >> machine. Can any of you point me to some literature about making >> this system work as a mirrored raid system. >> > > What model Dell server is this? Surely, this isn't a 386 (16 to > 40mhz from circa 1989?!?) What Dell RAID controller model does > it have? They are pretty much all called PERC something, but there > are many generations. Is this a true raid (controller based, > with a battery backed write cache), or a bogus soft (fake) raid > setup? if its the latter, I'd set it up with linux native raid, > and not use the BIOS raid at all > > > ___ CentOS mailing list > CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos If you are using PERC, it is simply not compatible with Linux, and should never be. It is a terrible piece of hardware. I would recommend using dmraid. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn2Xb4ACgkQe0Ain3PYkIZ1DQCfbgStHfKvFWomot4adeiFLc6p IuYAoI/5sODJBICm/ak1IzfB5U9uCdGB =Q51i -END PGP SIGNATURE- ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
David M Lemcoe Jr. wrote: > If you are using PERC, it is simply not compatible with Linux, and > should never be. It is a terrible piece of hardware. I would recommend > using dmraid say huh? Admittedly I'm not up on the newer PERCs, but the older ones I've used were mostly LSI Logic/AMI Megaraid hardware, with Dell firmware, and seemed pretty damn solid to me. These were ultra320 scsi systems, with hotswap drive bays, and battery backed caches. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
On 4/27/09 6:44 PM, "John R Pierce" wrote: > David M Lemcoe Jr. wrote: >> If you are using PERC, it is simply not compatible with Linux, and >> should never be. It is a terrible piece of hardware. I would recommend >> using dmraid > > say huh? > > Admittedly I'm not up on the newer PERCs, but the older ones I've used > were mostly LSI Logic/AMI Megaraid hardware, with Dell firmware, and > seemed pretty damn solid to me. These were ultra320 scsi systems, with > hotswap drive bays, and battery backed caches. PERCs work just fine under Linux (new and old). There are more than a few people on this list using Dell servers (which a vast majority use PERC controllers.) They are tested and certified against RHEL, so I can't see a reason that they wouldn't "just work". ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] MP4
you can use mplayer to view this type of files On Saturday 25 April 2009 21:00, fo...@lemcoe.com wrote: > You can open the stream in a program called VLC. > --Original Message-- > From: cen...@911networks.com > Sender: centos-boun...@centos.org > To: CentOS Mailing list > ReplyTo: CentOS Mailing list > Subject: [CentOS] MP4 > Sent: Apr 25, 2009 11:27 > > Hi, > > How do get to view MP4 video streams? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] php-mcrypt from c5-testing is the wrong version
> I am using the c5-testing repo to fetch PHP 5.2.6 and related > libraries, required for the LAMP apps that I want to use. php-mcrypt > still seems to come from the extras repo and is version 5.1.6 and the > php binary doesn't load this module. > > Any ideas on howto get php-mcrypt 5.2.6? as i was waiting for the c5-testing repo to catch up with redhat, i went ahead and built my own. i had to take the php-extras rpm and merge the php changes between 5.1.6 and 5.2.6 into it. and to get mock to be happy i had to add the normal extras repo into the mock config so that the mcrypt libraries were there. i hesitate to make my repo public, but i know it is possible to make a new php-mcrypt based on the upstream code. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
On Mon, 2009-04-27 at 21:37 -0400, David M Lemcoe Jr. wrote: > > If you are using PERC, it is simply not compatible with Linux, and > should never be. It is a terrible piece of hardware. I would recommend > using dmraid. What? That's a big fib. You need to have a look at linux.dell.com! JohnStanley ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
JohnS wrote: > On Mon, 2009-04-27 at 21:37 -0400, David M Lemcoe Jr. wrote: > > > >> If you are using PERC, it is simply not compatible with Linux, and >> should never be. It is a terrible piece of hardware. I would recommend >> using dmraid. >> > > What? That's a big fib. You need to have a look at linux.dell.com! > > ahhh, and at the bottom of that page, the SATA "CERC" raids are fake-raid and should be configured as JBOD and use linux md, ditto the precision workstations with various Intel ICH*R sata controllers. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Dell mirror raid boot problems
On Mon, 2009-04-27 at 22:52 -0700, John R Pierce wrote: > JohnS wrote: > > On Mon, 2009-04-27 at 21:37 -0400, David M Lemcoe Jr. wrote: > > > > > > > >> If you are using PERC, it is simply not compatible with Linux, and > >> should never be. It is a terrible piece of hardware. I would recommend > >> using dmraid. > >> > > > > What? That's a big fib. You need to have a look at linux.dell.com! > > > > > > ahhh, and at the bottom of that page, the SATA "CERC" raids are > fake-raid and should be configured as JBOD and use linux md, ditto the > precision workstations with various Intel ICH*R sata controllers. --- Yes that is true. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos