Re: [CentOS] Routing issue between 2 LANs
Hello Jose, from the picture you provided the situation looks pretty simple. - you have enabled IP forwarding on router, I recommend you to put it into /etc/sysctl.conf for persistence. - you have configured firewall rules on router to allow forwarding traffic from left to right subnet. You can also try to set up ACCEPT policy just for testing. - the default gateway for left subnet is 192.168.1.1 (you mentioned router for Internet access). Correct me if I'm wrong. - the default gateway for right subnet I assume is 192.168.236.74. You don't have to do anything with routing here. Every host in right subnet knows where to send replies. - the problem seems to be missing routing information in left subnet. Hosts don't know anything about the right subnet and thus send requests to the default gateway 192.168.1.1. - modifying routing table on every host in left subnet can be solution in case, if there is only a few hosts which need to access right subnet - if you need to have fully accessible subnets, put the static route to default gateway 192.168.1.1 to redirect requests to proper gateway. If it is Linux gateway, try something like this [r...@default-gw]# ip route add 192.168.236.0/24 via 192.168.236.74 Regards Andrej Jose Maria Terry Jimenez wrote: I have a CentOS 5.5 machine with 2 nics each one configured to work in one of the nets. The CentOS also uses a router for Internet access that is 192.168.1.1. 192.168.1.0/24 -192.168.1.100--[CentOS Machine]--192.168.236.74 192.168.236.0/24 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] sysctl and gnome desktop
Hi all, I use CentOS 5.5 x86_64 on my laptop. I have couple of entries in /etc/sysctl.conf entries according to the recommendations http://www.lesswatts.org/projects/powertop/ When Gnome Desktop starts something resets them to defaults. For example 'vm.dirty_writeback_centisecs = 1500' resets back to 30. Does anybody have any idea how to workaround this? Thanks. Andrej. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] rsyslog as default syslog daemon?
James Pearson wrote: I think your problem is that you did 'chkconfig --del syslog' - as the man page states: --del name The service is removed from chkconfig management, and any sym- bolic links in /etc/rc[0-6].d which pertain to it are removed. Note that future package installs for this service may run chk- config --add, which will re-add such links. To disable a ser- vice, run chkconfig name off. I believe you should have done 'chkconfig syslog off' instead. We use rsyslog instead of sysklogd and don't get this problem. Thank you James, you are right, 'chkconfig syslog off; chkconfig rsyslog on' solved this problem. Andrej ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] rsyslog as default syslog daemon?
Hi all! Is anybody here using rsyslog? I am looking for the right solution how to use rsyslog in CentOS 5 as the default logging daemon. We use it because of filtering using regular expressions. I switched from sysklogd to rsyslog simply using chkconfig --del syslog chkconfig --add rsyslog chkconfig rsyslog on service syslog stop service rsyslog start but this seems not to be bullet-proof solution - when yum automaticaly install updates, sysklogd rpm package runs postinstall scriptlet which unfortunately returns sysklogd back to game (and breaks logging based on regex). # rpm -q --scripts sysklogd postinstall scriptlet (using /bin/sh): if [ $1 -ge 1 ]; then /sbin/chkconfig --add syslogHERE for n in /var/log/{messages,secure,maillog,spooler} do [ -f $n ] continue touch $n chmod 600 $n done /sbin/service syslog condrestart /dev/null 21 fi exit 0 ... # chkconfig --list syslog syslog 0:off 1:off 2:on3:on4:on5:on6:off Meanwhile, automatic update of rsyslog package results (thanks to postinstall scriptlet) into disabled rsyslog :-/ ... # rpm -q --scripts rsyslog postinstall scriptlet (using /bin/sh): /sbin/chkconfig --add rsyslog HERE for n in /var/log/{messages,secure,maillog,spooler} do [ -f $n ] continue umask 066 touch $n done ... # chkconfig --list rsyslog rsyslog 0:off 1:off 2:off 3:off 4:off 5:off 6:off - uninstalling sysklogd package will not solve the problem of disabling rsyslog after yum update. Or should I uninstall it and simply change '# chkconfig:' part of rsyslog rc script? - I don't want to disable automatic updates of sysklogd and rsyslog packages using /etc/yum.conf:exclude=... bacause of security reasons. - I think about using 'alternatives', but I am not sure if it is the appropriate solution. - should I report to Red Hat's bugzilla? Maybe I overlooked something in documentation. Thank you for any advice and patience. Andrej ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firefox slower on GMail since update to CentOS 5.5
Usualy I am not the first who hit a bug, but ok, I can fill the bug report to CentOS bugzilla. Or do you think it would be better to report it to Nvidia support? Bye, Andrej chaohac...@non-serviam.com wrote: I couldn't find anything about this on the web. Firefox downgrade didn't help, but finaly I realized that I upgraded nvidia driver too - problem disapeared right after downgrade to nvidia driver NVIDIA-Linux-x86_64-180.22-pkg2.run. Do you think this worth filing a bug report against? On Wed, Jun 02, 2010 at 10:29:03PM +0200, Andrej Moravcik wrote: Hi Mathieu, I had the same problem with Firefox since I upgraded to CentOS 5.5. I noticed very slow (almost unusable) Oracle Enterprise Manager 10g (Database Control, Grid Control and Application Server Control) and MS SharePoint pages, high X.org cpu usage and noisy fans activity. I couldn't find anything about this on the web. Firefox downgrade didn't help, but finaly I realized that I upgraded nvidia driver too - problem disapeared right after downgrade to nvidia driver NVIDIA-Linux-x86_64-180.22-pkg2.run. There are alse other versions between, but this one is the last one IMHO where PowerMizer works as expected (at least on my laptop). My configuration is CentOS 5.5 x86_64 @ Dell Latitude D830, Nvidia Quadro NVS 140M. Bye, Andrej Mathieu Baudier wrote: Hello, since I upgraded from CentOS x86_64 5.4 to 5.5, I noticed that Firefox has become significantly slower on GMail (or Google Apps Mail). The page becomes slow to scroll as soon as there are more than a few mails in a conversation (like in a typical CentOS mailing list thread). Did anyone else notice that as well? (I guess that I'm not the only GMail user around) Could I have missed something / do something wrong? More details: - I did a fresh install from the 5.5 install DVD, keeping only the home directories - I'm using the Nvidia driver from elrepo (but I had the pb also with the default driver) Cheers, Mathieu ___ 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 mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Firefox slower on GMail since update to CentOS 5.5
Hi Mathieu, I had the same problem with Firefox since I upgraded to CentOS 5.5. I noticed very slow (almost unusable) Oracle Enterprise Manager 10g (Database Control, Grid Control and Application Server Control) and MS SharePoint pages, high X.org cpu usage and noisy fans activity. I couldn't find anything about this on the web. Firefox downgrade didn't help, but finaly I realized that I upgraded nvidia driver too - problem disapeared right after downgrade to nvidia driver NVIDIA-Linux-x86_64-180.22-pkg2.run. There are alse other versions between, but this one is the last one IMHO where PowerMizer works as expected (at least on my laptop). My configuration is CentOS 5.5 x86_64 @ Dell Latitude D830, Nvidia Quadro NVS 140M. Bye, Andrej Mathieu Baudier wrote: Hello, since I upgraded from CentOS x86_64 5.4 to 5.5, I noticed that Firefox has become significantly slower on GMail (or Google Apps Mail). The page becomes slow to scroll as soon as there are more than a few mails in a conversation (like in a typical CentOS mailing list thread). Did anyone else notice that as well? (I guess that I'm not the only GMail user around) Could I have missed something / do something wrong? More details: - I did a fresh install from the 5.5 install DVD, keeping only the home directories - I'm using the Nvidia driver from elrepo (but I had the pb also with the default driver) Cheers, Mathieu ___ 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] xorg and backlight
Hi all, I have found one problem after upgrading to CentOS 5.2 x86 on my HP Compaq nx7010 laptop. When I close and open lid, backlight is not turned on again. I can see my desktop, but the only thing I can do is press CTRL+ALT+BACKSPACE to restart X11. Then the backlight is restored. xorg.conf is generic, created by installation process. I use ATI proprietary driver 8.28.08 (the last which support Mobility Radeon 9200). I would appreciate any hint or help. Andrej -- 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