Re: [CentOS] Broadcom Failure: Chg CentOS 6.0 to 5.7

2011-09-24 Thread Michael D. Berger
On Wed, 21 Sep 2011 20:25:09 +, Michael D. Berger wrote: > After following various advice I received on other threads to get the > Broadcom wlan0 on my laptop to work I have still not succeeded. > Therefore I am changing from CentOS 6.0 to 5.7 . I think that I'll first &g

[CentOS] CentOS 5.7: stop level 3 beep

2011-09-21 Thread Michael D. Berger
In my CentOS 5.7 laptop, I boot to level 3, and do startx to get KDE if I need it. I stopped the beeps at level 5, but how do I stop them at level 3? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/cento

[CentOS] CentOS 5.7: disable automatic updates

2011-09-21 Thread Michael D. Berger
In CentOS 5.7, how do I disable automatic update checking? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Broadcom Failure: Chg CentOS 6.0 to 5.7

2011-09-21 Thread Michael D. Berger
After following various advice I received on other threads to get the Broadcom wlan0 on my laptop to work I have still not succeeded. Therefore I am changing from CentOS 6.0 to 5.7 . I think that I'll first try the fix at: http://elrepo.org/tiki/wl-kmod on 5.7 . Anyone have a reason why I shou

Re: [CentOS] CentOS 6: "ip link" ignores wlan0

2011-09-13 Thread Michael D. Berger
On Tue, 13 Sep 2011 01:50:41 +, Michael D. Berger wrote: > On Mon, 12 Sep 2011 21:01:50 +0000, Michael D. Berger wrote: > [...] > > This has been repaired by installing another driver. > > Mike. But wlan0 still doesn't work. Please see my thread: "CentO

Re: [CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Michael D. Berger
On Mon, 12 Sep 2011 19:22:24 +, Michael D. Berger wrote: > On Mon, 12 Sep 2011 16:11:49 +0200, Nicolas Thierry-Mieg wrote: > >> Michael D. Berger wrote: >>> This is a continuation of my previous thread: >>> "Broadcom Wifi Problem" >> >

Re: [CentOS] CentOS 6: "ip link" ignores wlan0

2011-09-12 Thread Michael D. Berger
On Mon, 12 Sep 2011 21:01:50 +, Michael D. Berger wrote: > On my CentOS 6 laptop, in which the wireless hardware is known to be > functional (because it works in the WinXP partition): ># ip link > shows lo and eth0, but nothing else. > > Why might this be? > > T

[CentOS] CentOS 6: "ip link" ignores wlan0

2011-09-12 Thread Michael D. Berger
On my CentOS 6 laptop, in which the wireless hardware is known to be functional (because it works in the WinXP partition): # ip link shows lo and eth0, but nothing else. Why might this be? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http

Re: [CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Michael D. Berger
On Mon, 12 Sep 2011 16:11:49 +0200, Nicolas Thierry-Mieg wrote: > Michael D. Berger wrote: >> This is a continuation of my previous thread: >> "Broadcom Wifi Problem" > > I didn't follow the whole thread, but have you tried building the nosrc > rpm prov

[CentOS] CentOS 6, Broadcom, missing wlan0

2011-09-12 Thread Michael D. Berger
This is a continuation of my previous thread: "Broadcom Wifi Problem" Following a post from "James A. Peltier", who said: You can use the rpmforge version or compile it yourself. I've used this one with success using the details described earlier. http://www.broadcom.com/support/

Re: [CentOS] CentOS 6: ethernet "ifconfig up" failure

2011-09-11 Thread Michael D. Berger
On Sun, 11 Sep 2011 20:21:21 -0400, Robert Spangler wrote: > On Sunday 11 September 2011 14:57, the following was written: > >> So why is "ifconfig eth0 up" not connecting? > > Have you tried 'ifup eth0'? I have now, it works fine. Thanks, Mike. __

[CentOS] CentOS 6: ethernet "ifconfig up" failure

2011-09-11 Thread Michael D. Berger
On my CentOS 6 partition of my laptop: First note that for this test, NetworkManager is not running because I did: chkconfig --del NetworkManager and then rebooted. Here is my ifcfg-eth0: DEVICE="eth0" NM_CONTROLLED="no" ONBOOT=no HWADDR=xx:xx:xx:xx:xx:xx TYPE=Ethernet BOOTPROTO=none IPADDR=1

Re: [CentOS] CentOS 6: Making KDE Default

2011-09-07 Thread Michael D. Berger
On Wed, 07 Sep 2011 14:02:17 -0400, Scot P. Floess wrote: > Sorry for .xsession, I mean when you are in runlevel 3 and type > startx... However, in looking at my home directory, I see I have > .xsession symbolically linked to .xinitrc > > I think you want a ~/.xinitrc that looks like what I descr

Re: [CentOS] CentOS 6: Making KDE Default

2011-09-07 Thread Michael D. Berger
On Wed, 07 Sep 2011 13:25:50 -0400, Scot P. Floess wrote: > In my ~/.xsession I have: > > #!/bin/bash > startkde > > > I think .xsession needs execute permission...can't remember (but thats > what I have mine set as)... > > Additionally, I believe that once you select KDE and login (under > ru

[CentOS] CentOS 6: Making KDE Default

2011-09-07 Thread Michael D. Berger
I learned from Anne that if I boot to level 5, after I enter the username, can select Gnome or KDE. I note that the default is always Gnome. How can I make the default KDE? How can I get KDE with startx after booting to level 3? Thanks, Mike. _

[CentOS] pan reader and gmime

2011-09-06 Thread Michael D. Berger
Running: yum list available | grep -i gmime shows results for CentOS 5, but not for CentOS 6. It seems to be needed by my pan. What should I do? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Broadcom Wifi Problem

2011-09-06 Thread Michael D. Berger
On Tue, 06 Sep 2011 00:49:11 +0200, Milos Blazevic wrote: [...] > Mike, > > from what I can see in one of your earlier e-mails, you appear to be > dealing with BCM4311, which is in my experience one of least problematic > - worked out of the box on CentOS 6, however, ymmv. Anyway, it would be > us

[CentOS] Centos6 : Pan newsreader

2011-09-06 Thread Michael D. Berger
Where can I get the latest pan newsreader that would work with KDE 4? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Broadcom Wifi Problem

2011-09-06 Thread Michael D. Berger
On Tue, 06 Sep 2011 08:10:51 -0700, James A. Peltier wrote: > - Original Message - > | On Tue, 06 Sep 2011 02:28:03 -0700, James A. Peltier wrote: | > | > I didn't read the whole thread but you should make sure you | > > blacklist > | > the b43, bcm43xx and ssb drivers > | > > | > vi /etc/

Re: [CentOS] Broadcom Wifi Problem

2011-09-06 Thread Michael D. Berger
On Tue, 06 Sep 2011 02:28:03 -0700, James A. Peltier wrote: > I didn't read the whole thread but you should make sure you blacklist > the b43, bcm43xx and ssb drivers > > vi /etc/modprobe.d/broadcom-wl.conf > > blacklist b43 > blacklist bcm43xx > blacklist ssb > > and also add intel_iommu=off t

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Tue, 06 Sep 2011 00:49:11 +0200, Milos Blazevic wrote: > Michael D. Berger wrote: >> On Mon, 05 Sep 2011 16:54:59 -0400, b.j. mcclure wrote: [...] >> >>> Your firmware appears to be installed and the wl driver you compiled >>> appears to be loaded. If the d

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 16:54:59 -0400, b.j. mcclure wrote: [...] > Your firmware appears to be installed and the wl driver you compiled > appears to be loaded. If the driver and firmware are compatible then I > would check that Network Manager is running and Networking and Wireless > Networking are e

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 20:22:23 +, Michael D. Berger wrote: > [...] > > I note that instructions indicated that I should modify > >/etc/modprobe.conf > > to contain: > >alias eth1 wl > > Since I don't have that file, I grepped around and deci

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
[...] I note that instructions indicated that I should modify /etc/modprobe.conf to contain: alias eth1 wl Since I don't have that file, I grepped around and decided that the file to use is probably: /etc/modprobe.d/dist.conf So in that file I put: alias wlan0 With regard to th

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 19:55:40 +, Michael D. Berger wrote: > [...] > > I note that if I do: >/etc/init.d/network restart > wlan0 is does not appear in the output. > > Mike. But if I modify ifcfg-wlan0 so that wlan0 should start on boot, /etc/init.d/netwo

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
[...] I note that if I do: /etc/init.d/network restart wlan0 is does not appear in the output. Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 20:39:48 +0200, Nicolas Thierry-Mieg wrote: [...] > > maybe here: > http://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom?action=show > > good luck Thanks, but no luck so far. Mike. ___ CentOS mailing list CentOS@centos.org htt

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 14:59:28 -0400, b.j. mcclure wrote: > On Mon, 2011-09-05 at 18:26 +0000, Michael D. Berger wrote: >> On Mon, 05 Sep 2011 14:11:21 -0400, b.j. mcclure wrote: >> >> [...] >> > >> > I would start with native packages in CentOS 6 and if ope

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 14:11:21 -0400, b.j. mcclure wrote: [...] > > I would start with native packages in CentOS 6 and if operation is > unsatisfactory then seek another solution. Yes, the native packages didn't work and I am mow seeking "another solution". They did show the presence of wlan0, bu

Re: [CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
On Mon, 05 Sep 2011 13:47:43 -0400, b.j. mcclure wrote: [...] > > Maybe you need to install the firmware? My laptop still uses the b43 > driver but not entirely w/o issue. > > # yum search b43 > [...] The instructions mentioned above include removing b43 and replacing it with something downlo

[CentOS] Broadcom Wifi Problem

2011-09-05 Thread Michael D. Berger
I have a Broadcom 802.11b/g hardware on my dual-boot laptop. Note first that in the WinXP partition, the wifi makes DHCP connections to my router with no problem. Since this was not working in my new CentOS 6 partition, and remembering that there was a driver problem with the old Fedora partition

Re: [CentOS] Centos 6, KDE 4: canot manage network

2011-09-01 Thread Michael D. Berger
On Fri, 02 Sep 2011 01:04:14 +, Michael D. Berger wrote: [...] > > It is a laptop. I have not been able to get it to work on the command > line. Perhaps it would help if I remove NetworkManager? Also, there is > probably not enough in my ifcfg-wlan0. I can see what is my ifcfg

Re: [CentOS] Centos 6, KDE 4: canot manage network

2011-09-01 Thread Michael D. Berger
On Thu, 01 Sep 2011 16:03:35 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: >> On Thu, 01 Sep 2011 14:33:16 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw >> wrote: [...] >>> >>> ACK! Hedwig is about 10 years old. History: RH 1,2,3,4,5 (where I >

Re: [CentOS] Centos 6, KDE 4: canot manage network

2011-09-01 Thread Michael D. Berger
On Thu, 01 Sep 2011 14:33:16 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: [...] > > ACK! Hedwig is about 10 years old. History: RH 1,2,3,4,5 (where I > started using RH), 5.2,6 (Hedwig),7,7.1,7.2,7.3,8,9 (Shrike), > RHEL1?2?,RHEL 3,RHEL 4, RHEL 5, and just this year, RHEL 6. > > Something's wrong

Re: [CentOS] Centos 6, KDE 4: canot manage network

2011-09-01 Thread Michael D. Berger
On Thu, 01 Sep 2011 13:03:07 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: >> In KDE 4, I click: >> >> Kickoff > System Settings > Network & Connectivity > >>Network Settings > Network Settings >> >> I get a po

[CentOS] Centos 6, KDE 4: canot manage network

2011-09-01 Thread Michael D. Berger
In KDE 4, I click: Kickoff > System Settings > Network & Connectivity > Network Settings > Network Settings I get a popup informing me that my system is not supported. (This did not happen before.) I am offered choices. I choose RedHat 6.0 (Is this wrong? I also tried RedHat 9.0.). I select

Re: [CentOS] CentOS 6, KDE 4: bad DNS traffic

2011-09-01 Thread Michael D. Berger
On Wed, 31 Aug 2011 18:22:42 +, Michael D. Berger wrote: > On my new CentOS 6, KDE 4, running WireShark I see what appears to be > frequent nonsensical DNS queries, for example: >"settings-personal.desktop" and "settings-system.desktop". > The DNS respon

Re: [CentOS] CentOS 6, KDE 4: bad DNS traffic

2011-08-31 Thread Michael D. Berger
On Wed, 31 Aug 2011 18:22:42 +, Michael D. Berger wrote: > On my new CentOS 6, KDE 4, running WireShark I see what appears to be > frequent nonsensical DNS queries, for example: >"settings-personal.desktop" and "settings-system.desktop". > The DNS respon

Re: [CentOS] CentOS 6, KDE 4: bad DNS traffic

2011-08-31 Thread Michael D. Berger
On Wed, 31 Aug 2011 16:19:05 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: >> On Wed, 31 Aug 2011 20:02:09 +0100, John Hodrien wrote: >>> On Wed, 31 Aug 2011, Michael D. Berger wrote: >>> >>>> On my new CentOS 6, KDE 4, run

Re: [CentOS] CentOS 6, KDE 4: bad DNS traffic

2011-08-31 Thread Michael D. Berger
On Wed, 31 Aug 2011 20:02:09 +0100, John Hodrien wrote: > On Wed, 31 Aug 2011, Michael D. Berger wrote: > >> On my new CentOS 6, KDE 4, running WireShark I see what appears to be >> frequent nonsensical DNS queries, for example: >> "settings-personal.desktop&

[CentOS] CentOS 6, KDE 4: bad DNS traffic

2011-08-31 Thread Michael D. Berger
On my new CentOS 6, KDE 4, running WireShark I see what appears to be frequent nonsensical DNS queries, for example: "settings-personal.desktop" and "settings-system.desktop". The DNS response is always:"No such name". Do tell! These appear especially when I click on things on the KDE menus. O

[CentOS] selinux & iptables

2011-08-30 Thread Michael D. Berger
In setting up my new CentOS 6 laptop, I replaced /etc/sysconfig/iptables with my own, very restrictive version. I then tried to restart the iptables daemon, but it reported that my new iptables was unreadable. On a guess, I disabled selinux, and my problem was solved. Later, I re-enabled selinux

Re: [CentOS] Upstart file format

2011-08-29 Thread Michael D. Berger
On Tue, 30 Aug 2011 09:57:22 +0800, Christopher Chan wrote: > On Tuesday, August 30, 2011 09:51 AM, Michael D. Berger wrote: >> Where can I find documentation on the new format of the files in >> /etc/init.d/? > > You mean /etc/event.d? Upstart...I thought Centos 6 uses sys

[CentOS] Upstart file format

2011-08-29 Thread Michael D. Berger
Where can I find documentation on the new format of the files in /etc/init.d/? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] CentOS 6: wpa_supplicant, unexpected behavior

2011-08-29 Thread Michael D. Berger
On Mon, 29 Aug 2011 19:36:13 -0400, Scott Robbins wrote: > On Mon, Aug 29, 2011 at 10:35:18PM +0000, Michael D. Berger wrote: >> On my CentOS 6: >>chkconfig --list wpa_supplicant >> shows off at all levels, which is confirmed by examination of: >>/etc/init.d/w

[CentOS] CentOS 6: wpa_supplicant, unexpected behavior

2011-08-29 Thread Michael D. Berger
On my CentOS 6: chkconfig --list wpa_supplicant shows off at all levels, which is confirmed by examination of: /etc/init.d/wpa_supplicant but ps -ef shows the process running. Furthermore, repeated cd /etc/init.d/ ./wpa_supplicant stop appears to succeed, but the process continues to ru

[CentOS] CentOS 6: bootup display

2011-08-29 Thread Michael D. Berger
On my old CentOS 5, when it boots up (to level 3) it displays a line for each of the things it is starting as it does it. I found that quite useful. On my new CentOS 6, while it is booting up, it displays a useless CentOS trademark picture. Is there a way to get the old kind of display in CentOS

[CentOS] CentOS 6: add icon to desktop

2011-08-26 Thread Michael D. Berger
On my old CentOS 5 KDE, if I add a link to ~/Desktop, it appears on the desktop as an icon. But on my new CentOS 6 KDE, this does not work. How can I make it work? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman

[CentOS] CentOS 6, KDE: panel appearance

2011-08-25 Thread Michael D. Berger
On CentOS 6.0 KDE is there a way to change the Panel appearance (color, pattern, etc.)? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] Centos 6: howto install and run KDE

2011-08-25 Thread Michael D. Berger
On my laptop, I have not been able to get KDE to run; I always get gnome. I installed selecting KDE, and I tried yum groupinstall, which appeared to work, but I still get gnome running. BTW, I boot to level 3, and run startx. Thanks for your suggestions. Mike. __

Re: [CentOS] CentOS 6 KDE: remove default icons

2011-08-25 Thread Michael D. Berger
On Thu, 25 Aug 2011 08:57:50 -0700, John Doe wrote: [...] > > Since you seem to be using Gnome and not KDE, you can google for "gnome > hide dekstop icons", and the first answer will tell you how to hide > those system icons (gconf-editor). But first reinstall nautilus. > > JD With the help of:

Re: [CentOS] CentOS 6 KDE: remove default icons

2011-08-25 Thread Michael D. Berger
On Thu, 25 Aug 2011 08:00:16 -0700, John Doe wrote: > From: Michael D. Berger > > >> On my newly installed CentOS 6 I am running KDE (I think; I selected it >> in the setup, but how would I know?). > > Only God would know... > >> It has three default icons:

[CentOS] level 3 font size

2011-08-25 Thread Michael D. Berger
On my laptop, I boot CentOS 6 to level 3and find the font is quite small. Is there a way to change the font size at level 3? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] CentOS 6 KDE: remove default icons

2011-08-25 Thread Michael D. Berger
On my newly installed CentOS 6 I am running KDE (I think; I selected it in the setup, but how would I know?). It has three default icons: Computer; Root's Home; Trash. I do not see them in /root/Desktop. How can I remove them? Thanks, Mike. ___ Cent

[CentOS] random roundoff?

2011-04-23 Thread Michael D. Berger
On my CentOS 5 box, in a C++ program that does much arithmetic, including numerous matrix multiplications, I have a situation in in which the result depends on the nature of nearby I/O. Thus, with all arithmetic done with type double, and where values are mostly in the range [-1.0e0,+1.0e0] or ne

Re: [CentOS] repeated local ephemeral to 80

2011-04-01 Thread Michael D. Berger
On Fri, 01 Apr 2011 22:10:58 +0200, Markus Falb wrote: [...] >> Mar 29 17:27:20 mbrc20 kernel: IPT-DROP IN= OUT=lo SRC=192.168.9.20 >> DST=192.168.9.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=46910 DF PROTO=TCP >> SPT=56624 DPT=80 WINDOW=32792 RES=0x00 SYN URGP=0 OPT >> (0204400C0402080A4A26F7A500

Re: [CentOS] repeated local ephemeral to 80

2011-04-01 Thread Michael D. Berger
On Fri, 01 Apr 2011 17:55:37 +0200, Nicolas Thierry-Mieg wrote: [...] > > you might be able to see the process with netstat when it's happening. I tried that; so far without success. Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.

Re: [CentOS] repeated local ephemeral to 80

2011-04-01 Thread Michael D. Berger
On Fri, 01 Apr 2011 11:32:16 -0400, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: [...] > > Not great on this, but *if* I understand it, it's saying that the IP > address of your server is 192.168.9.20, and it's talking to itself, at > destination por

[CentOS] repeated local ephemeral to 80

2011-04-01 Thread Michael D. Berger
On my CentOS box that I use mainly as a web server, I have iptables set to log and reject anything that I don't expect. So lately, I have getting things like this: Mar 29 17:27:20 mbrc20 kernel: IPT-DROP IN= OUT=lo SRC=192.168.9.20 DST=192.168.9.20 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=46910 DF P

Re: [CentOS] top and allocation issues

2011-03-03 Thread Michael D. Berger
On Thu, 03 Mar 2011 15:03:34 -0500, Stephen Harris wrote: > On Thu, Mar 03, 2011 at 07:55:57PM +0000, Michael D. Berger wrote: [...] > > /proc/sys/vm/overcommit_memory > (or sysctl vm.overcommit_memory) > >>From the kernel Documentation: > > This value contains

Re: [CentOS] top and allocation issues

2011-03-03 Thread Michael D. Berger
On Thu, 03 Mar 2011 15:03:34 -0500, Stephen Harris wrote: > > /proc/sys/vm/overcommit_memory > (or sysctl vm.overcommit_memory) > >>From the kernel Documentation: > > This value contains a flag that enables memory overcommitment. > > When this flag is 0, the kernel attempts to estimate the am

Re: [CentOS] top and allocation issues

2011-03-03 Thread Michael D. Berger
On Thu, 03 Mar 2011 14:38:52 -0500, Brunner, Brian T. wrote: [...] > > Holy RAMbo, batman! How many GB of RAM do you intend to allocate? Once > you allocate 2GB like you did, you MUST be running a bigmem or x64 > kernel to allocate another 2GB. > > You won't see 'new'd memory as "taken" in top(

Re: [CentOS] top and allocation issues

2011-03-03 Thread Michael D. Berger
On Thu, 03 Mar 2011 14:34:13 -0500, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: >> In a context where exceptions are caught, I ran the fragment: >> >>cerr << "allocating" << endl; >>char*arr[100]; >>for (in

Re: [CentOS] fast processing and buffering

2011-03-03 Thread Michael D. Berger
On Wed, 02 Mar 2011 22:24:00 -0800, Charles Polisher wrote: > Kwan Lowe wrote: [...] > > You might explore what vmstat says about disk activity during an initial > vs follow-on run. Also, I wonder what "top" shows in the WCHAN and nFLT > columns. The problem is OBE since I added some real proce

[CentOS] top and allocation issues

2011-03-03 Thread Michael D. Berger
In a context where exceptions are caught, I ran the fragment: cerr << "allocating" << endl; char*arr[100]; for (int jj = 0; jj < 10; ++jj) { cerr << "jj = " << jj << endl; arr[jj] = new char[20]; sleep (30); } sleep (10); for (int jj = 0; jj < 10;

[CentOS] fast processing and buffering

2011-03-02 Thread Michael D. Berger
I have a C++ program that opens, gets a little data from, and closes about 5000 files. Now if I run the program when I first boot up, the running time is from about 10 seconds to a minute. Subsequently, the program runs in well inter one second. Buffering -- right? So I changed a parameter, so

Re: [CentOS] Unicode in C++

2011-02-23 Thread Michael D. Berger
On Wed, 23 Feb 2011 17:01:37 +0100, Mihai T. Lazarescu wrote: [...] Thanks, I did a slightly different search and I didn't get such good results. Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Unicode in C++

2011-02-23 Thread Michael D. Berger
On Tue, 22 Feb 2011 23:53:20 +0100, Nicolas Thierry-Mieg wrote: > Michael D. Berger wrote: >> On my CentOS box, in C++ programs, is there a way to print Unicode >> characters? > > google knows... I haven't found it. Please see the other response I just sent for cl

Re: [CentOS] Unicode in C++

2011-02-23 Thread Michael D. Berger
On Tue, 22 Feb 2011 19:51:38 -0500, Nico Kadel-Garcia wrote: > On Tue, Feb 22, 2011 at 5:37 PM, Michael D. Berger > wrote: >> On my CentOS box, in C++ programs, is there a way to print Unicode >> characters? >> >> Thanks, >> Mike. > > Why do you want t

[CentOS] Unicode in C++

2011-02-22 Thread Michael D. Berger
On my CentOS box, in C++ programs, is there a way to print Unicode characters? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

[CentOS] TrueCrypt WD External Drive

2011-01-20 Thread Michael D. Berger
I have a WD Elements 2TB USB hard drive. I would like to encrypt the whole drive with TrueCrypt on my CentOS box. Could someone direct me to a tutorial on how to do this? Ideally, I would also like to access it with my WinXP box, but this part is optional. Thanks for your help. Mike. _

Re: [CentOS] nvidia failure with new kernel

2011-01-17 Thread Michael D. Berger
On Mon, 17 Jan 2011 19:07:03 +, Ned Slider wrote: > On 17/01/11 18:44, Jason Brown wrote: >> The kernel modules are only for that kernel, so anytime you update it >> you also have to reinstall the nvidia drivers. >> >> > Alternatively, you could use the nvidia driver packages from elrepo.org:

[CentOS] nvidia failure with new kernel

2011-01-17 Thread Michael D. Berger
I installed TrueCrypt and when I ran it, it informed me that I needed a new kernel. So I ran "yum update". I boot to level 3, and when I ran startx, I got: -- ... (==) Using config file: "/etc/X11/xorg.conf" FATAL: Module nvidia not found. (EE) NVIDIA: Failed to load the NVIDIA kernel module. P

[CentOS] problem mounting external drive

2011-01-17 Thread Michael D. Berger
On my Centos box with: uname -r 2.6.18-164.6.1.el5 I tried to mount my 2T external drive with: mount -t ntfs /dev/sdg1 /mnt/wd and I get: mount: unknown filesystem type 'ntfs' Thanks in advance for your help. Mike. ___ CentOS mailing list Ce

Re: [CentOS] # chkconfig: kill at run level 3

2010-12-06 Thread Michael D. Berger
On Mon, 06 Dec 2010 11:38:49 -0500, Brunner, Brian T. wrote: [... > The number after the S and K determine the order in which they're run. > S01 starts things which S02-S99 might require; S02 might depend on S01 > and provide service the S03-S99 stuff requires. And, so on. The K > scripts *gener

Re: [CentOS] # chkconfig: kill at run level 3

2010-12-06 Thread Michael D. Berger
On Mon, 06 Dec 2010 01:30:12 -0500, Nico Kadel-Garcia wrote: > On Sun, Dec 5, 2010 at 10:46 PM, Michael D. Berger > wrote: >> On Sun, 05 Dec 2010 10:50:53 -0500, Robert Spangler wrote: >> >>> On Friday 03 December 2010 19:30, Michael D. Berger wrote: >>> &g

Re: [CentOS] # chkconfig: kill at run level 3

2010-12-05 Thread Michael D. Berger
On Sun, 05 Dec 2010 10:50:53 -0500, Robert Spangler wrote: > On Friday 03 December 2010 19:30, Michael D. Berger wrote: > [...] > > Check /etc/rc.d/rc6.d and insure that you have K??yourscriptname in > there. It looks like your script demon was setup to be run but was > never

Re: [CentOS] linux boot process (was# chkconfig: kill at run level 3)

2010-12-04 Thread Michael D. Berger
On Sat, 04 Dec 2010 15:58:10 +, Cia Watson wrote: [...] 04 Dec 2010 15:25:47 +, Keith Roberts wrote: >> [...] > > I'm not a boot-loader expert, but CentOS uses grub and the first thing I > notice about the attached article is that it talks about LILO. From what > I've gathered LILO is a

Re: [CentOS] # chkconfig: kill at run level 3

2010-12-04 Thread Michael D. Berger
On Sat, 04 Dec 2010 15:25:47 +, Keith Roberts wrote: [...] > > Please see this old SuSE documentation for a good description of the > Linux boot process: > > http://linuxmafia.com/linux/suse-linux-internals/part2.html > [...] Will this SuSE documentation be correct for CentOS, which is Red

[CentOS] # chkconfig: kill at run level 3

2010-12-03 Thread Michael D. Berger
In the control script of my daemon in /etc/init.d?, I have # chkconfig: 35 97 3 The result of this is that I have links: /etc/rc.d/rc1.d/K03... /etc/rc.d/rc3.d/S97... /etc/rc.d/rc5.d/S97... As mentioned in a previous thread, my complex daemon throws an exception when I shutdown. Perh

Re: [CentOS] shutdown script

2010-12-03 Thread Michael D. Berger
On Fri, 03 Dec 2010 23:20:17 +, Keith Roberts wrote: > On Fri, 3 Dec 2010, m.r...@5-cent.us > wrote: > [...] > Is this any good? > > #! /bin/bash > > # Bash script to perform a gracefull shutdown of apache web server # > called from /root/root-admin-scripts/databases/fedora-8-mysql/ # > bac

Re: [CentOS] shutdown script

2010-12-03 Thread Michael D. Berger
On Fri, 03 Dec 2010 15:43:10 -0500, m.roth-x6lchVBUigD1P9xLtpHBDw wrote: > Michael D. Berger wrote: >> I have a daemon that throws an exception whenever I shutdown or reboot. >> However, stopping it with kill -15, or calling the stop command in its >> start stop script (in

[CentOS] shutdown script

2010-12-03 Thread Michael D. Berger
I have a daemon that throws an exception whenever I shutdown or reboot. However, stopping it with kill -15, or calling the stop command in its start stop script (in /etc/init.d/) results in correct termination. Therefore, might it be that shutdown or reboot call an initial script in which I can s

Re: [CentOS] Fail Transfer of Large Files

2010-11-21 Thread Michael D. Berger
On Sun, 21 Nov 2010 11:49:29 -0500, Nico Kadel-Garcia wrote: [...] > > Good question. I don't have a hard rule of thumb, but I'd estimate that > any one file that takes more than 10 minutes to transfer is too big. So > transferring CD images over a high bandwidth local connection at 1 > MByte/sec

Re: [CentOS] Fail Transfer of Large Files

2010-11-21 Thread Michael D. Berger
On Sun, 21 Nov 2010 06:47:04 -0500, Nico Kadel-Garcia wrote: > On Sat, Nov 20, 2010 at 10:28 PM, Michael D. Berger > wrote: [...] > >>From decades of experience in many environments, I can tell you that > reliable transfer of large files with protocols that require > unin

Re: [CentOS] Fail Transfer of Large Files

2010-11-20 Thread Michael D. Berger
On Sat, 20 Nov 2010 18:17:23 -0600, Jay Leafey wrote: > Les Mikesell wrote: [...] > This does ring a bell, but the circumstances were a bit different. In > our case we were transferring large files between "home" and a remote > site. SFTP/SCP transfers were stalling part-way through in an > unpr

[CentOS] Fail Transfer of Large Files

2010-11-19 Thread Michael D. Berger
On my intranet, I sometimes transfer large files, about 4G, to an CentOS old box that I use for a web server. I transfer with ftp or sftp. Usually, before the file is complete, the transfer "stalls". At that point, ping from the destination box to the router fails. I then deactivate the net int

[CentOS] ls -lrt reversal

2010-06-09 Thread Michael D. Berger
My CentOS box with: $ uname -r 2.6.18-164.6.1.el5 gets the file order wrong with: ls -lrt * . Two files that were last modified in the same second are shown in order that is the reverse of the order in which they were actually last modified. Note also that the later file was first created

Re: [CentOS] socket: write vs send

2010-04-06 Thread Michael D. Berger
On Tue, 06 Apr 2010 15:57:28 -0500, Les Mikesell wrote: [...] I added the handler and its working well now. Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] socket: write vs send

2010-04-06 Thread Michael D. Berger
On Tue, 06 Apr 2010 14:53:45 -0500, Les Mikesell wrote: [...] > > They should be equivalent - if the other end closes first, you'll get a > SIGPIPE, which by default will kill the process. If you want to keep > running you have to handle or ignore the signal. How about if I use MSG_NOSIGNAL in

Re: [CentOS] socket: write vs send

2010-04-06 Thread Michael D. Berger
On Tue, 06 Apr 2010 14:37:27 -0500, Les Mikesell wrote: > On 4/6/2010 2:16 PM, Michael D. Berger wrote: >> On CentOS 5.4, >> Linux 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 >> i686 i686 i386 GNU/Linux >> >> In man 2 send I find: >> >>

[CentOS] socket: write vs send

2010-04-06 Thread Michael D. Berger
On CentOS 5.4, Linux 2.6.18-164.6.1.el5 #1 SMP Tue Nov 3 16:18:27 EST 2009 i686 i686 i386 GNU/Linux In man 2 send I find: The send() call may be used only when the socket is in a connected state (so that the intended recipient is known). The only difference between send() and w