RE: Finding CPU Utilization %
Cat /proc/stat -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary Cote Sent: 200366 2:52 To: [EMAIL PROTECTED] Subject: RE: Finding CPU Utilization % This might be splitting hairs, but the load average, as I understand it, is not exactly CPU utilization. Rather, it is a count of the number of runnable processes. This suffices as a crude measure of system activity 98% of the time. But how would you query actual CPU occupancy? Something like measured number of jiffies / jiffies per second * n -- Gary Cote [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tony Nugent Sent: Thursday, June 05, 2003 5:38 AM To: RedHat Development Mailing List Subject: Re: Finding CPU Utilization % On Thu Jun 05 2003 at 06:12, girish sondur wrote: I want to find out the CPU Utilization of the Linux Machine. I dont want to use TOP since it is in itself CPU intensive. Please suggest the best way to do so? $ cat /proc/loadavg Cheers Tony ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-devel-list ___ Redhat-devel-list mailing list [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-devel-list
C question
Sorry if this is as dumb as I feel, but I haven't been successful at digging out an answer. I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. I have tried calls to setvbuf specifying _IONBF, hoping that it would alter the workings of fgetc(stdin), but it didn't seem to help. I tried copying the unbuffered getchar routine (which uses read(0,c,1)) from KR, but it waits for me to press ENTER, too. The only success I've had involved guessing at how to use Curses. Unfortunately, although the man pages for individual curses routines (like it's getch) say 'see also curses(3x)' there apparently is no such page on my system, so I really don't know if I am misusing things or not. (Second question: is there an overview of Curses available somewhere ?). Could somebody point me in the right direction ? Thanks, Buz Davis -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Aug 2003 19:36:17 -0500, Otto Haliburton wrote: Is your configuration a SCSI? If it is then there is a explanation That wouldn't access the harddisk drives as /dev/hda and /dev/hdb, respectively. Btw, it would be great if you could trim your quotes. There's no need in quoting list footers and superfluous things. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K2ie0iMVcrivHFQRAqV/AJ4z41SxMKRnYTzo/JGOHaOv1RfvrgCfVr7C bdY0YAUR8Q3njzv7VO4t0V0= =o+v2 -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB failure
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Aug 2003 19:47:47 -0400, Kenneth Goodwin wrote: Anyone know for certain who is printing out the INitial GRUB message? The MBR or phase two piece. MBR (stage1) prints only GRUB because of space constraints. It has only very few and short error messages. The next code (stage 1.5) is still loaded directly from harddisk, but after that GRUB is able to access the ext2 file-system and load stage2 and other files. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K3OP0iMVcrivHFQRAlmSAJsHpc5Cflh8QAKQQwdLR2sB3ojmKACePGFL mlDPw65Adctvdcrs0lbSEn8= =hKPX -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: GRUB Failure
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Aug 2003 19:40:49 -0500, Otto Haliburton wrote: There is also a explanation if the volumes are LVM or RAID. No. LVM is not available before the initrd is loaded and the kernel is started. Same for Software-RAID. You boot from a physical device, not a logical one. With Hardware-RAID, the two drives would not appear as individual drives hda and hdb. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K3Ql0iMVcrivHFQRAiMJAJsGF5HbdJvuHdxDg+d4o3wnrGbFeACfb7EH 1ea25xkELlxijz59z0GM6Rs= =HadU -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 2 Aug 2003 03:19:07 -0400, Buz Davis wrote: I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. It requires quite a bit more than calling a single function. Find a program that does it and read its source code. From the top of my head, I know that sidplay2 http://sf.net/projects/sidplay2 does it, for instance. Unfortunately, although the man pages for individual curses routines (like it's getch) say 'see also curses(3x)' there apparently is no such page on my system, so I really don't know if I am misusing things or not. (Second question: is there an overview of Curses available somewhere ?). In the ncurses-devel package you get all manual pages for ncurses, including ncurses(3x). - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K3XI0iMVcrivHFQRAvs+AJ9r9ltjE57RGuD01Y93NNE7bp32+QCeOwh4 3+TfRUxe3RqdXElbdycDRW0= =KH8/ -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
usb mouse not working after recompiling kernel
I have the same problem, but I think I know why (but can't fix it though). I recompiled RH9 on my laptop and the USB mouse worked, but I recompiled RH9 on my server and that failed, the only difference between the 2 lsmod results are that on the laptop, input is: input [mousedev keybdev hid] while the server lacks the hid module under input. My take on this is that the OS doesn't look to the hid devices for input, but I don't know how to load hid as part of the input group. My USB and and input config trees under the kernel tree build spec are identical on the laptop and the server. I can't just take my working laptop kernel config file over to the server and recompile though because of the server being smp and shock full of scsi devices In case you're wondering, a cat of /proc/bus/usb/devices correctly shows my mouse (if it's plugged in) on the server, it's just not under the input module tree. Anyone have a suggestion?? Thanks in any case- Olivier -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
On Sat, 2 Aug 2003, Buz Davis wrote: I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. Okay, this is going to be an unorthodox answer, but it may get you where you need to go... If your program is only going to run on PC's, you can always go to the BIOS memory. I can't remember the exact address (though I'll look it up when I get home, if you like) but the BIOS has a keyboard buffer and two pointers. When I was writing a video game way back in '91-'92, we took control of the buffer and buffer pointers with C pointers, and it worked great! Of course, you'd have no portability Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
man getch Looks like it's found in curses.h Jon On Sat, 2 Aug 2003, Benjamin J. Weiss wrote: On Sat, 2 Aug 2003, Buz Davis wrote: I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. Okay, this is going to be an unorthodox answer, but it may get you where you need to go... If your program is only going to run on PC's, you can always go to the BIOS memory. I can't remember the exact address (though I'll look it up when I get home, if you like) but the BIOS has a keyboard buffer and two pointers. When I was writing a video game way back in '91-'92, we took control of the buffer and buffer pointers with C pointers, and it worked great! Of course, you'd have no portability Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: GRUB failure
This is a test message to see the format. Do not respond to this message. It has already been sent. HIII ISSSAAATTTEE T. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Michael Schwendt Sent: Saturday, August 02, 2003 2:31 AM To: [EMAIL PROTECTED] Subject: Re: GRUB failure -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Aug 2003 19:36:17 -0500, Otto Haliburton wrote: Is your configuration a SCSI? If it is then there is a explanation That wouldn't access the harddisk drives as /dev/hda and /dev/hdb, respectively. Btw, it would be great if you could trim your quotes. There's no need in quoting list footers and superfluous things. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K2ie0iMVcrivHFQRAqV/AJ4z41SxMKRnYTzo/JGOHaOv1RfvrgCfVr7C bdY0YAUR8Q3njzv7VO4t0V0= =o+v2 -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
On Saturday 02 August 2003 02:19, Buz Davis wrote: Sorry if this is as dumb as I feel, but I haven't been successful at digging out an answer. I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. I have tried calls to setvbuf specifying _IONBF, hoping that it would alter the workings of fgetc(stdin), but it didn't seem to help. I tried copying the unbuffered getchar routine (which uses read(0,c,1)) from KR, but it waits for me to press ENTER, too. The only success I've had involved guessing at how to use Curses. Unfortunately, although the man pages for individual curses routines (like it's getch) say 'see also curses(3x)' there apparently is no such page on my system, so I really don't know if I am misusing things or not. (Second question: is there an overview of Curses available somewhere ?). Could somebody point me in the right direction ? Thanks, Buz Davis A quick google search shows many links about this The comp.lang.c 'C' FAQ section 19.2 list some advice about this: http://www.eskimo.com/~scs/C-faq/s19.html -- man 3 termios and the following routine senting up termios that seems to be what you're after: http://groups.google.com/groups?q=getch+linuxhl=enlr=ie=UTF-8oe=UTF-8selm=8243-244521904%40townsq.comrnum=4 -- As you noted, other respondents recommend the ncurses library but I understand there may be some differences between this and MSDOS operation. man curs_getch - if you haven't tried this variation of the man page Regards, Mike Klinke -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Pre-make 'configure' program can't find mysql libraries?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 01 August 2003 10:07 am, Benjamin J. Weiss wrote: [...] I'm runnning RedHat 8.0, with everything up2date. I hadn't had mysql-devel installed, so I installed that with up2date, cleared the config cache and tried it again. Again, configure isn't finding the libraries. The configure program said to check the ld.so.conf file for entries for the libraries. It looks right to me (file shown at the bottom of the post). So, I ran ldconfig and then cleared the cache again, and still no dice. I have the following RedHat RPMs installed: mysql-devel-3.23.56-1.80 mysql-3.23.56-1.80 mysql-server-3.23.56-1.80 my /etc/ld.so.conf looks like: /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.0.5/lib /usr/lib/sane /usr/lib/mysql /usr/include/mysql The mysql directory above looks suspect. It should be the path to the mysql libraries, not to the mysql include directory. Try replacing /usr/include/mysql with /usr/lib/mysql Then run ldconfig again. Hope that helps, - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/ - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/K9Gmn/07WoAb/SsRAhoPAJ433IMTZdOqx3Z9Ow7KuLLjU6GzOACeK9f1 skjv5/Ax7AoKykanGePIIzs= =8PLH -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Suport for cedilha
Hi Bret, I am facing the same problem. I can use all accent characters but even with KDe configured the and ç dows not work under Redhat 9. Unfortunately no one in this list or redhat seems to have experience with that or interest of solving it. Valeu - rt Hi, I've been an end user of Mandrake Linux for a number of years now, but recently decided to give Red Hat 9 a try. I've had two big problems so far. The second problem has to do with keying in the c cedilha. I use a US keyboard with dead keys to key in accented letters and the c cedilha. In the bash shell and in emacs, Red Hat is acting the same as Mandrake when I type in the usual '-c combination -- an accented c. That is not what I want but is acceptable, since I normally don't use accented letters in bash or emacs. However, in several other programs in which I do, Ximian Evolution and Lyx, in particular, the key combination gives completely useless results. In Evolution, the combination produces an underscore while in Lyx it isn't even recognized. I am using the us_intl keymap, as I did in Mandrake, and I think I've tried every possible keyboard type that's within reason, but nothing works. So what's going on? If XFree86 isn't taking care of the keyboard, what is? Best regards, Brett Carlson __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: usb mouse not working after recompiling kernel
On Sat, 02 Aug 2003 07:51:09 -0400 Olivier Vanderstraeten [EMAIL PROTECTED] wrote: I have the same problem, but I think I know why (but can't fix it though). I recompiled RH9 on my laptop and the USB mouse worked, but I recompiled RH9 on my server and that failed, the only difference between the 2 lsmod results are that on the laptop, input is: input [mousedev keybdev hid] while the server lacks the hid module under input. My take on this is that the OS doesn't look to the hid devices for input, but I don't know how to load hid as part of the input group. My USB and and input config trees under the kernel tree build spec are identical on the laptop and the server. I can't just take my working laptop kernel config file over to the server and recompile though because of the server being smp and shock full of scsi devices In case you're wondering, a cat of /proc/bus/usb/devices correctly shows my mouse (if it's plugged in) on the server, it's just not under the input module tree. Anyone have a suggestion?? Not the kind of suggestion that's going to make you happy. I use both USB mouse and keyboard. To date not a single kernel I've compiled has seen USB work.As an experiment, I turned everything on, turned off the obvious things I didn't need that also had zero to do with USB (like some of the firewalling and networking, some of the radio stuff, etc) and compiled. Still no USB. I read a complaint of a similar nature on one of the Redhat lists I was subscribed to at the time, and I later saw a question concerning the same subject by someone else on this list. Who knows how many exist that I either missed, haven't said anything about it or just don't subscribe to any lists I read. But it's apparent to me that USB compiling has some oddities and uncertainties. There may be some unusual qualities to the devices themselves. In my own case, though, that would also mean I had to coincidentally own 2 such keyboards and 2 such mice that just happened to be made by different manufacturers on 3 separate machines with 3 different motherboard manufacturers. So my suggestion is, go back to something that works (pre-compiled) or use something non-USB devices. Sorry. I can't think of any other alternative since I can't tell you what's causing it. -- It's a shame Linux has such difficulty running some of the more popular Windows applications: Nimda, CodeRed, Klez, ILOVEYOU, WPA. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: GRUB failure
This is a test message to see the format. Do not respond to this message. It has already been sent. HIII ISSSAAATTTEE T. HIII ISSSAAATTTEET. On Sat, 2003-08-02 at 09:50, Otto Haliburton wrote: This is a test message to see the format. Do not respond to this message. It has already been sent. HIII ISSSAAATTTEE T. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Michael Schwendt Sent: Saturday, August 02, 2003 2:31 AM To: [EMAIL PROTECTED] Subject: Re: GRUB failure -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Aug 2003 19:36:17 -0500, Otto Haliburton wrote: Is your configuration a SCSI? If it is then there is a explanation That wouldn't access the harddisk drives as /dev/hda and /dev/hdb, respectively. Btw, it would be great if you could trim your quotes. There's no need in quoting list footers and superfluous things. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K2ie0iMVcrivHFQRAqV/AJ4z41SxMKRnYTzo/JGOHaOv1RfvrgCfVr7C bdY0YAUR8Q3njzv7VO4t0V0= =o+v2 -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Pre-make 'configure' program can't find mysql libraries?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Saturday 02 August 2003 10:58 am, Michael Fratoni wrote: On Friday 01 August 2003 10:07 am, Benjamin J. Weiss wrote: my /etc/ld.so.conf looks like: /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.0.5/lib /usr/lib/sane /usr/lib/mysql /usr/include/mysql The mysql directory above looks suspect. It should be the path to the mysql libraries, not to the mysql include directory. Try replacing /usr/include/mysql with /usr/lib/mysql Then run ldconfig again. Oops, pre coffee answer, sorry. I missed the /usr/lib/mysql line that is already there. - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/ - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/K9LDn/07WoAb/SsRAnkDAJ0a7KzTji3p2bi/2/WIqbSJ+GjUtQCcCqlV 7pkSa8T0kQ2EnuqwNDxurAs= =1iqY -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
On Sat, Aug 02, 2003 at 09:20:35AM -0500, Benjamin J. Weiss wrote: On Sat, 2 Aug 2003, Buz Davis wrote: I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. ... Okay, this is going to be an unorthodox answer, but it may get you where you need to go... BIOS read recommended ... Of course, you'd have no portability To put it mildly... You're interacting with the stdio library. Use 'getc'--do man getc--for single-character input. Since terminal input is line buffered, you will have to make a call to 'setbuf'. HOWEVER, if you're on Unix/Linux, you'll also have to turn off buffering in the tty driver. This involves a call to tcgetattr, clearing at least ICANON, in the c_lflag element, and then a call to tcsetattr. (This will still show the input character being echoed; you'll have to separately turn that off.) Man 'termios' for all this. It sounds uglier than it is--the following really stupid example shows how to do it. You should--as I don't here--check return values, etc. (FOR THE NITPICKERS: I REPEAT, IT IS A QUICK AND DIRTY EXAMPLE. DON'T POST OR MAIL TO TELL ME IT SHOULD BE MORE ROBUST...) #include stdio.h #include termios.h #include unistd.h int main(int argc, char **argv) { char foo; struct termios krod; setvbuf(stdin,NULL,_IONBF,0); tcgetattr(fileno(stdin),krod); krod.c_lflag ^= (ICANON|ECHO); tcsetattr(fileno(stdin),TCSANOW,krod); for(;;) { foo = getc(stdin); printf(Got %c\n, foo); if ( foo == 'x' ) break; } } Cheers, -- Dave Ihnat [EMAIL PROTECTED] -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: GRUB failure
This is a test message to see the format. Do not respond to this message. It has already been sent. HIII ISSSAAATTTEE T. HIII ISSSAAATTTEE T. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Otto Haliburton Sent: Saturday, August 02, 2003 10:02 AM To: [EMAIL PROTECTED] Subject: RE: GRUB failure This is a test message to see the format. Do not respond to this message. It has already been sent. HIII ISSSAAATTTEE T. HIII ISSSAAATTTEE T. On Sat, 2003-08-02 at 09:50, Otto Haliburton wrote: This is a test message to see the format. Do not respond to this message. It has already been sent. HIII ISSSAAATTTEE T. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Michael Schwendt Sent: Saturday, August 02, 2003 2:31 AM To: [EMAIL PROTECTED] Subject: Re: GRUB failure -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 1 Aug 2003 19:36:17 -0500, Otto Haliburton wrote: Is your configuration a SCSI? If it is then there is a explanation That wouldn't access the harddisk drives as /dev/hda and /dev/hdb, respectively. Btw, it would be great if you could trim your quotes. There's no need in quoting list footers and superfluous things. - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/K2ie0iMVcrivHFQRAqV/AJ4z41SxMKRnYTzo/JGOHaOv1RfvrgCfVr7C bdY0YAUR8Q3njzv7VO4t0V0= =o+v2 -END PGP SIGNATURE- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Sound driver latency
An update on this issue... the Xmms output driver has a setting that controls the latency. I set this to 30ms (it was 3000ms, matching the latency I was experiencing). I also set the aRtsd latency to 30ms via the control panel. I also set realtime scheduling and made sure artsdwrapper was SUID root. However, Xmms still has a latency of 3s, making it nearly unusable. Interestingly, Xmms using OSS does NOT show the latency, nor does the noatun player using aRtsd server. Interesting. So I decided it was something specific to the Xmms aRtsd output plugin and posted a bug to bugs.xmms.org. -- Greg Bell -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Comcast Routing
Hardware Scenario: 2 PCs connected to a hub/switch and the hub/switch is connected to a Comcast cable modem that is then connected to the Comcast Cable Internet system. Main Question: Is it possible to route things in a manner that enables the 2 PCs to send data (via FTP or whatever) to each other at LAN speed (10/100mbps)? What happens now is that the data transfer is limited to Comcast's upstream limit (256kbps) because the packets are going out to the internet and coming back to the other PC. How would I set this up so that the packets to go directly through the hub/switch to the other PC resulting in a much faster transfer rate? Side note: I noticed that 2 PCs running Windows w/ Netbeui and file sharing, the data transfer is that of LAN speed. So what is Netbeui Windows File Sharing doing that is allowing the LAN speed connection between the 2 PCs and how can I get my 2 Linux boxes to ftp to each other at LAN speed given the hardware scenario? Thanks, Sevatio -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
On Sat, Aug 02, 2003 at 08:22:52AM -0700, Sevatio wrote: Hardware Scenario: 2 PCs connected to a hub/switch and the hub/switch is connected to a Comcast cable modem that is then connected to the Comcast Cable Internet system. Main Question: Is it possible to route things in a manner that enables the 2 PCs to send data (via FTP or whatever) to each other at LAN speed (10/100mbps)? Absolutely yes, LAN speeds is what most people who have this arrangement are getting. How did you get it setup so that all the packets have to go out to the internet instead of going directly to the other PC? Are your PC's running Linux? Have you run tcpdump to see what the packets are doing ? What happens now is that the data transfer is limited to Comcast's upstream limit (256kbps) because the packets are going out to the internet and coming back to the other PC. How would I set this up so that the packets to go directly through the hub/switch to the other PC resulting in a much faster transfer rate? Side note: I noticed that 2 PCs running Windows w/ Netbeui and file sharing, the data transfer is that of LAN speed. So what is Netbeui Windows File Sharing doing that is allowing the LAN speed connection between the 2 PCs and how can I get my 2 Linux boxes to ftp to each other at LAN speed given the hardware scenario? Thanks, Sevatio -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. [EMAIL PROTECTED] copyright 2003. Use is restricted. Any use is an acceptance of the offer at http://www.kinz.org/policy.html. Don't forget to change your password often. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
-Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Sevatio Sent: Saturday, August 02, 2003 10:23 AM To: [EMAIL PROTECTED] Subject: Comcast Routing Hardware Scenario: 2 PCs connected to a hub/switch and the hub/switch is connected to a Comcast cable modem that is then connected to the Comcast Cable Internet system. Main Question: Is it possible to route things in a manner that enables the 2 PCs to send data (via FTP or whatever) to each other at LAN speed (10/100mbps)? What happens now is that the data transfer is limited to Comcast's upstream limit (256kbps) because the packets are going out to the internet and coming back to the other PC. How would I set this up so that the packets to go directly through the hub/switch to the other PC resulting in a much faster transfer rate? Side note: I noticed that 2 PCs running Windows w/ Netbeui and file sharing, the data transfer is that of LAN speed. So what is Netbeui Windows File Sharing doing that is allowing the LAN speed connection between the 2 PCs and how can I get my 2 Linux boxes to ftp to each other at LAN speed given the hardware scenario? Thanks, Sevatio -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list Are you connected through a hub or a router. In any case if your computers are networked together, why do you need to use ftp at all. Setup the systems as nfs or if they are windows map the drives and you should not need ftp because you can access the files directly. The answer to your question is routing. If you are using a hub then you will not have the problem as long as the two computers have a common protocol to use (windows are using netbeui). -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
Sevatio wrote: Hardware Scenario: 2 PCs connected to a hub/switch and the hub/switch is connected to a Comcast cable modem that is then connected to the Comcast Cable Internet system. Main Question: Is it possible to route things in a manner that enables the 2 PCs to send data (via FTP or whatever) to each other at LAN speed (10/100mbps)? What happens now is that the data transfer is limited to Comcast's upstream limit (256kbps) because the packets are going out to the internet and coming back to the other PC. How would I set this up so that the packets to go directly through the hub/switch to the other PC resulting in a much faster transfer rate? 1) please show your route tables. i.e. netstat -rn 2) Are the PC's that are connecting to Comacast PPPoE based? groan In other words... a /32 bit mask? Side note: I noticed that 2 PCs running Windows w/ Netbeui and file sharing, the data transfer is that of LAN speed. NetBeui is a non routable protocol. So what is Netbeui Windows File Sharing doing that is allowing the LAN speed connection between the 2 PCs and how can I get my 2 Linux boxes to ftp to each other at LAN speed given the hardware scenario? NetBeui does not ride on top of TCP/IP (like netbios). In fact, netbeui does not require TCP/IP to even be loaded. If your PC's connection to Comcast is PPPoE based, your only solution (that I'm aware of) is to install a firewall that makes the PPPoE connection to Comcast on a separate interface (eth0) and then configure your PC's to use an rfc1918 based network behind the firewall. i.e. eth0 of firewall connects to comcast, eth1 of firewall connects to hub or switch. Steve Cowles -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Wireless card problem
Gentleman, i already spent about week trying to solve this ... but so far not many positive results. I don't want to post all details here. Just please take a quick look here: ttp://www.linuxquestions.org/questions/showthread.php?s=threadid=68526perpage=30pagenumber=1 my login name there is DBabo. any ideas would help me a lot -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
Buz Davis wrote: I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. look up getc and relatives in a C manual - it's very do-able. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Pre-make 'configure' program can't find mysql libraries?
snip my /etc/ld.so.conf looks like: /usr/kerberos/lib /usr/X11R6/lib /usr/lib/qt-3.0.5/lib /usr/lib/sane /usr/lib/mysql /usr/include/mysql The mysql directory above looks suspect. It should be the path to the mysql libraries, not to the mysql include directory. Try replacing /usr/include/mysql with /usr/lib/mysql Then run ldconfig again. Um../usr/lib/mysql is the second from the bottom line. Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
Dave Ihnat wrote: HOWEVER, if you're on Unix/Linux, you'll also have to turn off buffering in the tty driver. This involves a call to tcgetattr, clearing at least ICANON, in the c_lflag element, and then a call to tcsetattr. (This will still show the input character being echoed; you'll have to separately turn that off.) Man 'termios' for all this. Don't really need to do this unless there's a 'real time' element, or some reason that buffered chars can't be used. James -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
Otto Haliburton wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Sevatio Sent: Saturday, August 02, 2003 10:23 AM To: [EMAIL PROTECTED] Subject: Comcast Routing Hardware Scenario: 2 PCs connected to a hub/switch and the hub/switch is connected to a Comcast cable modem that is then connected to the Comcast Cable Internet system. Main Question: Is it possible to route things in a manner that enables the 2 PCs to send data (via FTP or whatever) to each other at LAN speed (10/100mbps)? What happens now is that the data transfer is limited to Comcast's upstream limit (256kbps) because the packets are going out to the internet and coming back to the other PC. How would I set this up so that the packets to go directly through the hub/switch to the other PC resulting in a much faster transfer rate? Side note: I noticed that 2 PCs running Windows w/ Netbeui and file sharing, the data transfer is that of LAN speed. So what is Netbeui Windows File Sharing doing that is allowing the LAN speed connection between the 2 PCs and how can I get my 2 Linux boxes to ftp to each other at LAN speed given the hardware scenario? Thanks, Sevatio -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list Are you connected through a hub or a router. In any case if your computers are networked together, why do you need to use ftp at all. Setup the systems as nfs or if they are windows map the drives and you should not need ftp because you can access the files directly. The answer to your question is routing. If you are using a hub then you will not have the problem as long as the two computers have a common protocol to use (windows are using netbeui). So, you're saying that it makes a difference whether I use a hub or a router? I have both but I've noticed no difference between the two because I still can't send packets directly from one pc to another through the hub/switch via ftp. Also, the netbeui thing was an experiment. I prefer not using netbeui and Windows. Thanks -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C question
On Sat, 2003-08-02 at 02:19, Buz Davis wrote: Sorry if this is as dumb as I feel, but I haven't been successful at digging out an answer. I would like a routine to read the keyboard and report the single key pressed, and give me control back without waiting for ENTER to be pressed. Under MSDOS (where all of my c experience has been) there was a c routine called getch() that would do just this. I can't seem to find one under Linux. I have tried calls to setvbuf specifying _IONBF, hoping that it would alter the workings of fgetc(stdin), but it didn't seem to help. I tried copying the unbuffered getchar routine (which uses read(0,c,1)) from KR, but it waits for me to press ENTER, too. The only success I've had involved guessing at how to use Curses. Unfortunately, although the man pages for individual curses routines (like it's getch) say 'see also curses(3x)' there apparently is no such page on my system, so I really don't know if I am misusing things or not. (Second question: is there an overview of Curses available somewhere ?). Could somebody point me in the right direction ? you might want to read the infopage of (g)libc on Terminal Modes. But maybe it would be easier to take a look at ncurses (which i never had), I have heard there are a routines to dealt with those sort of problems. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
-Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Sevatio Sent: Saturday, August 02, 2003 11:16 AM To: [EMAIL PROTECTED] Subject: Re: Comcast Routing Otto Haliburton wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Sevatio Sent: Saturday, August 02, 2003 10:23 AM To: [EMAIL PROTECTED] Subject: Comcast Routing Hardware Scenario: 2 PCs connected to a hub/switch and the hub/switch is connected to a Comcast cable modem that is then connected to the Comcast Cable Internet system. Main Question: Is it possible to route things in a manner that enables the 2 PCs to send data (via FTP or whatever) to each other at LAN speed (10/100mbps)? What happens now is that the data transfer is limited to Comcast's upstream limit (256kbps) because the packets are going out to the internet and coming back to the other PC. How would I set this up so that the packets to go directly through the hub/switch to the other PC resulting in a much faster transfer rate? Side note: I noticed that 2 PCs running Windows w/ Netbeui and file sharing, the data transfer is that of LAN speed. So what is Netbeui Windows File Sharing doing that is allowing the LAN speed connection between the 2 PCs and how can I get my 2 Linux boxes to ftp to each other at LAN speed given the hardware scenario? Thanks, Sevatio -- redhat-list mailing list unsubscribe mailto:redhat-list- [EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list Are you connected through a hub or a router. In any case if your computers are networked together, why do you need to use ftp at all. Setup the systems as nfs or if they are windows map the drives and you should not need ftp because you can access the files directly. The answer to your question is routing. If you are using a hub then you will not have the problem as long as the two computers have a common protocol to use (windows are using netbeui). So, you're saying that it makes a difference whether I use a hub or a router? I have both but I've noticed no difference between the two because I still can't send packets directly from one pc to another through the hub/switch via ftp. Also, the netbeui thing was an experiment. I prefer not using netbeui and Windows. Thanks -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list That's why because you have a hub and a router. You are using the router to have direct access to the internet from both system as well as probably to have a firewall also. I am not sure why you have the hub also. But here we go, everything (I think) that's being sent from any PC is being routed through the ISP and then getting routed back to the other computer because the router is dynamically assigning the IP addresses for each of the PC's, but it should be able route traffic between the PC's without using the ISP so you need to find out how to do that. If you were using the hub only then you would lose the firewall but everything that was going through the hub would be on the LAN. You would hook the ISP to the hub and the computers through the hub and then select one computer to connect to internet and all others would talk to the internet via proxy to that computer so that you don't have to pay for extra IP addresses. You will need a software firewall. There are some that are free. You should at that point be able to see all the computer on the LAN from each of the computers. Now I am sure that you can setup the router and hub together to stop routing through the ISP but you need to look at your documentation for the router to figure out how to do it. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Suport for cedilha
On Sat, 2 Aug 2003 07:59:51 -0700 (PDT) Robert Mena [EMAIL PROTECTED] wrote: Hi Bret, I am facing the same problem. I can use all accent characters but even with KDe configured the and _ dows not work under Redhat 9. Unfortunately no one in this list or redhat seems to have experience with that or interest of solving it. Valeu - rt Hi, I've been an end user of Mandrake Linux for a number of years now, but recently decided to give Red Hat 9 a try. I've had two big problems so far. The second problem has to do with keying in the c cedilha. I use a US keyboard with dead keys to key in accented letters and the c cedilha. In the bash shell and in emacs, Red Hat is acting the same as Mandrake when I type in the usual '-c combination -- an accented c. That is not what I want but is acceptable, since I normally don't use accented letters in bash or emacs. However, in several other programs in which I do, Ximian Evolution and Lyx, in particular, the key combination gives completely useless results. In Evolution, the combination produces an underscore while in Lyx it isn't even recognized. I am using the us_intl keymap, as I did in Mandrake, and I think I've tried every possible keyboard type that's within reason, but nothing works. So what's going on? If XFree86 isn't taking care of the keyboard, what is? Check out: http://randell.myby.co.uk/jim/tips-compose.html I used it to get ¾ and ° mapped. Also works with ç. Best, Tom -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
C Source Code Formatter
Hi all, I've googled looking for the above and got a bunch of hits. I wanted to hear recommendations from anyone on the list who may be using a C source code formatter. Open Source would be a plus. Thanks, Mike -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C Source Code Formatter
Is 'cb' (C beautify ) not good enough for you ? - Original Message - From: Mike McMullen [EMAIL PROTECTED] To: [EMAIL PROTECTED] I wanted to hear recommendations from anyone on the list who may be using a C source code formatter. Open Source would be a plus. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Pre-make 'configure' program can't find mysql libraries?
All, snip I set out to recompile Nagios with MySQL support. The first step is to run ./configure --with-mysql-xdata, but it's not finding the mysql libraries. Never used any of the software you mentioned, but did you check all the configuration option? Usually there is a configure option to let you tell it where to find the mysql lib. If that doesn't work, then probably you get better luck asking at the software (Nagio) mailing list, if such exists. HTH RDB Well, I used the manual switches to tell the configure program where to find the MySQL libraries. I still don't know it couldn't find them via the ld.so.conf file. That bugs me, but I don't know much about the c programming side of linux yet. *sigh* Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Book recommendation request: Programming in C for Linux
All, I haven't done any serious work in C for about ten years, and that was with Borland C products on MS-DOS platforms. The programming I've done in Linux has basically been having some fun with perl and java. Well, I'd like to try some programming in C on my RedHat box. I am very interested in learning the linux-specific stuff. How do I set up the configure utility properly? How do I set up the make stuff properly? How do I use /etc/ld.so.conf? I want to make sure that I learn all the correct habits for creating proper code in this new environment. I still have my C reference books (assuming that the language hasn't changed significantly in the last 10 years) and am *not* interested in C++. What I'm looking for is a good reference (in paper or online) that will help me through all of the proper steps. Any recommendations? Thanks! Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C Source Code Formatter
From: Tao Chen [EMAIL PROTECTED] Subject: Re: C Source Code Formatter Is 'cb' (C beautify ) not good enough for you ? I looked for it on my 7.3 system but didn't see it. I'll look for it. Thanks, Mike -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Book recommendation request: Programming in C for Linux
Try going to www.gnu.org. And look for documentation on the gnu compiler (gcc) and you should get way more than you want or need. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Benjamin J. Weiss Sent: Saturday, August 02, 2003 2:40 PM To: Redhat List Subject: Book recommendation request: Programming in C for Linux All, I haven't done any serious work in C for about ten years, and that was with Borland C products on MS-DOS platforms. The programming I've done in Linux has basically been having some fun with perl and java. Well, I'd like to try some programming in C on my RedHat box. I am very interested in learning the linux-specific stuff. How do I set up the configure utility properly? How do I set up the make stuff properly? How do I use /etc/ld.so.conf? I want to make sure that I learn all the correct habits for creating proper code in this new environment. I still have my C reference books (assuming that the language hasn't changed significantly in the last 10 years) and am *not* interested in C++. What I'm looking for is a good reference (in paper or online) that will help me through all of the proper steps. Any recommendations? Thanks! Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Book recommendation request: Programming in C for Linux
BTW the gcc compiler under linux works for java, C/C++, fortran and etc. and is ansi c compatible and has fixed all of the problems with Microsoft c and Borland c. and make comes with the package and debuggers and etc... -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Benjamin J. Weiss Sent: Saturday, August 02, 2003 2:40 PM To: Redhat List Subject: Book recommendation request: Programming in C for Linux All, I haven't done any serious work in C for about ten years, and that was with Borland C products on MS-DOS platforms. The programming I've done in Linux has basically been having some fun with perl and java. Well, I'd like to try some programming in C on my RedHat box. I am very interested in learning the linux-specific stuff. How do I set up the configure utility properly? How do I set up the make stuff properly? How do I use /etc/ld.so.conf? I want to make sure that I learn all the correct habits for creating proper code in this new environment. I still have my C reference books (assuming that the language hasn't changed significantly in the last 10 years) and am *not* interested in C++. What I'm looking for is a good reference (in paper or online) that will help me through all of the proper steps. Any recommendations? Thanks! Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
I will soon have a similar situation... I have two computers at home. One is the one I'm using now which is currently dual boot RH9/Windows 98. It's connected to the Internet via cable modem (RCA) and has a static IP address. What I would like to do is install RH9 on a second computer, have a private LAN with the two machines, so that files/printers can be shared. I would also like them to share my Internet connection without having to obtain a second static IP address from my ISP. I am not a network guru by any means, so I've been reading up on the subject, and it seems there are several different ways this could be done. What I am thinking would be the simplest way is this: 1) Establish the LAN using private IP addresses and a hub. 2) Connect the hub to the cable modem. 3) Connect to the Internet directly from the Linux box, then configure the Windoze box to use the Linux box as a proxy server so I can surf the web from the Windoze box (all my email etc. will go to the Linux box). Is this workable? Is it the simplest way to do what I want or is there a better way? Also, if I want to share my printer between the two machines, in you guys' experience is it better/simpler to hang the printer off the Windows box or the Linux box? Thanks, Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Book recommendation request: Programming in C for Linux
I recommend the following three from memory. C Primer Plus C - The Complete Reference C Unleashed All three have been very useful to me. Mike To: Redhat List Subject: Book recommendation request: Programming in C for Linux All, I haven't done any serious work in C for about ten years, and that was with Borland C products on MS-DOS platforms. The programming I've done in Linux has basically been having some fun with perl and java. Well, I'd like to try some programming in C on my RedHat box. I am very interested in learning the linux-specific stuff. How do I set up the configure utility properly? How do I set up the make stuff properly? How do I use /etc/ld.so.conf? I want to make sure that I learn all the correct habits for creating proper code in this new environment. I still have my C reference books (assuming that the language hasn't changed significantly in the last 10 years) and am *not* interested in C++. What I'm looking for is a good reference (in paper or online) that will help me through all of the proper steps. Any recommendations? Thanks! Ben -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
Yes, what you are wanting to do is doable, but remember that in general you will not get support from Comcast for linux, so if you can't get by on your own I would do the reverse until you are up to speed on how the network stuff works. Also look into getting SAMBA to work and NFS etc. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Lee Flier Sent: Saturday, August 02, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: Re: Comcast Routing I will soon have a similar situation... I have two computers at home. One is the one I'm using now which is currently dual boot RH9/Windows 98. It's connected to the Internet via cable modem (RCA) and has a static IP address. What I would like to do is install RH9 on a second computer, have a private LAN with the two machines, so that files/printers can be shared. I would also like them to share my Internet connection without having to obtain a second static IP address from my ISP. I am not a network guru by any means, so I've been reading up on the subject, and it seems there are several different ways this could be done. What I am thinking would be the simplest way is this: 1) Establish the LAN using private IP addresses and a hub. 2) Connect the hub to the cable modem. 3) Connect to the Internet directly from the Linux box, then configure the Windoze box to use the Linux box as a proxy server so I can surf the web from the Windoze box (all my email etc. will go to the Linux box). Is this workable? Is it the simplest way to do what I want or is there a better way? Also, if I want to share my printer between the two machines, in you guys' experience is it better/simpler to hang the printer off the Windows box or the Linux box? Thanks, Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C Source Code Formatter
Ok I give. Can someone tell me where to get cb. I remember it being on the system in 7.0 but I can't track it down in 7.3. Any help appreciated, Mike - Original Message - From: Mike McMullen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, August 02, 2003 12:44 PM Subject: Re: C Source Code Formatter From: Tao Chen [EMAIL PROTECTED] Subject: Re: C Source Code Formatter Is 'cb' (C beautify ) not good enough for you ? I looked for it on my 7.3 system but didn't see it. I'll look for it. Thanks, Mike -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
Otto Haliburton wrote: Yes, what you are wanting to do is doable, but remember that in general you will not get support from Comcast for linux, Yes, I'm aware of that. :-) I already have it working fine with Linux on my dual boot machine, it's just making the two private IP's work with the one static/public IP that I'm a little hazy on. so if you can't get by on your own I would do the reverse until you are up to speed on how the network stuff works. How do you mean do the reverse? Also look into getting SAMBA to work and NFS etc. Yes, I think I'm getting a grip on all that, though I may have questions when I get into it! Thanks, Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
Do the windoze to get support from Comcast and setup proxy account with linux and it doesn't matter where you get your email from or browse the internet. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Lee Flier Sent: Saturday, August 02, 2003 4:00 PM To: [EMAIL PROTECTED] Subject: Re: Comcast Routing Otto Haliburton wrote: Yes, what you are wanting to do is doable, but remember that in general you will not get support from Comcast for linux, Yes, I'm aware of that. :-) I already have it working fine with Linux on my dual boot machine, it's just making the two private IP's work with the one static/public IP that I'm a little hazy on. so if you can't get by on your own I would do the reverse until you are up to speed on how the network stuff works. How do you mean do the reverse? Also look into getting SAMBA to work and NFS etc. Yes, I think I'm getting a grip on all that, though I may have questions when I get into it! Thanks, Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
I hope this isn't being sent as HTML... if so, I'm sorry, there is no option in this web interface to turn it off. You almost have it. Two things: First, some magic has to happen to allow both machines to share a single IP address. Recent Windows calls it Connection Sharing, IIRC, and in Linux circles it's called NAT (Network address translation) or IP Masquerading. So you will need some sort of device, either a computer or a network device plugged in between your LAN and the Internet to perform NAT. The *simplest* solution is to but a cheap network device. My Linksys device cost about $120, IIRC, and has a 4-port dual speed hub, acts as a wireless access point, runs a DHCP server, is a DHCP client, and has a pretty good web-based interface for configuration. A linux box could easily do NAT and the DHCP stuff. I did this usng RH for a long time, then replaced it with a LEAF (Linux router; leaf.sourceforge.net) box, then bought the Linksys box for the wireless access. DHCP, in case you're not familiar, relieves you from having to manually assign static internal network addresses... not a big deal for two computers but a nice feature sometimes. My laptop appreciates it, for example. Why do you have a static IP? If you expect any in-bound traffic (e.g., you want to host games like Unreal Tournament or you're running a web- or mail server) then it will be important to be able to expose internal ports externally. The LEAF Linux distribution and the Linksys (and surely other dedicated devices/distros) have special ways to make this easy. I would say that the Linksys device is much simpler to configure but far more limited than the LEAF distro. Second, maybe this is just semantics, but you do not need a proxy server. (did you mean connection sharing?) A proxy catches web requests and checks to see if it already has the page in its cache. This will speed up web access in some situations enormously but I've never thought the it was worthwhile for one or two people. If the Windows is one of the old DOS flavors, forget it. If it's a choice between a Windows NT flavor and Linux/Samba then it's more of a toss, up. I'd see which has been driver support. Support in RH 9 seems very good, click-click-click and I've set up printers that I could never make work properly using earlier versions. Linux will be more reliable than WIndows, IMHO. -Alan -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sat 8/2/2003 4:33 PM To: [EMAIL PROTECTED] Cc: Subject:Re: Comcast Routing I will soon have a similar situation... I have two computers at home. One is the one I'm using now which is currently dual boot RH9/Windows 98. It's connected to the Internet via cable modem (RCA) and has a static IP address. What I would like to do is install RH9 on a second computer, have a private LAN with the two machines, so that files/printers can be shared. I would also like them to share my Internet connection without having to obtain a second static IP address from my ISP. I am not a network guru by any means, so I've been reading up on the subject, and it seems there are several different ways this could be done. What I am thinking would be the simplest way is this: 1) Establish the LAN using private IP addresses and a hub. 2) Connect the hub to the cable modem. 3) Connect to the Internet directly from the Linux box, then configure the Windoze box to use the Linux box as a proxy server so I can surf the web from the Windoze box (all my email etc. will go to the Linux box). Is this workable? Is it the simplest way to do what I want or is there a better way? Also, if I want to share my printer between the two machines, in you guys' experience is it better/simpler to hang the printer off the Windows box or the Linux box? Thanks, Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
[OT] Probably the most original 404 error...
... in the history of the Net... :-) http://high5.net/mirrors/m0n0.ch/wall/cdrom-pb14r457.iso P.S. Don't worry, the download won't happen as the file doesn't exist...! -- Cheers, Zoran. Windows software isn't released, it's allowed to escape. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
The way I've done it is to have your linux box contain two NICs. Eth0 (NIC#1) connects to your cable modem. Eth1 (NIC#2) connects to your Windows Box's NIC via a cross-over cat5 cable. Then activate connection sharing in your Linux box by assigning Eth0 to your internet IP address and Eth1 to your local IP address (192.168.0.1) which will be the gateway for your Windows box. On your Windows box, set your ip address to 192.168.0.2 and your gateway address to 192.168.0.1 and netmask 255.255.255.0. For DNS, use the same settings as your Linux box. Also, connection sharing in your linux box might end up running a DHCPd in which case, you could just set your Windows box to DHCP. This path eliminates the need for a hub or switch. If down the road you want to get more PCs then you'll need that hub/switch. Lee Flier wrote: I will soon have a similar situation... I have two computers at home. One is the one I'm using now which is currently dual boot RH9/Windows 98. It's connected to the Internet via cable modem (RCA) and has a static IP address. What I would like to do is install RH9 on a second computer, have a private LAN with the two machines, so that files/printers can be shared. I would also like them to share my Internet connection without having to obtain a second static IP address from my ISP. I am not a network guru by any means, so I've been reading up on the subject, and it seems there are several different ways this could be done. What I am thinking would be the simplest way is this: 1) Establish the LAN using private IP addresses and a hub. 2) Connect the hub to the cable modem. 3) Connect to the Internet directly from the Linux box, then configure the Windoze box to use the Linux box as a proxy server so I can surf the web from the Windoze box (all my email etc. will go to the Linux box). Is this workable? Is it the simplest way to do what I want or is there a better way? Also, if I want to share my printer between the two machines, in you guys' experience is it better/simpler to hang the printer off the Windows box or the Linux box? Thanks, Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
[EMAIL PROTECTED] wrote: Second, maybe this is just semantics, but you do not need a proxy server. (did you mean connection sharing?) A proxy catches web requests and checks to see if it already has the page in its cache. This will speed up web access in some situations enormously but I've never thought the it was worthwhile for one or two people. Maybe I'm delusional, but I thought setting up a proxy server (like squid) and allowing access to my Windoze box would allow me to surf the web from the Windoze box without having to set up IP masquerading. Assuming I have the 2 machines plugged into a hub (I do already have a hub) and the uplink of the hub goes to the cable modem, and the 2 machines are via private IP LAN, I could configure my browser to retrieve web pages from the proxy server (the RH box), which would go out and get the web page off the Internet and send it to the Windoze browser. No? Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
RE: Comcast Routing
I believe that is correct, I also believe that connection sharing is a fancy way of using a proxy. I could be wrong but I don't think so. -Original Message- From: [EMAIL PROTECTED] [mailto:redhat-list- [EMAIL PROTECTED] On Behalf Of Lee Flier Sent: Saturday, August 02, 2003 5:17 PM To: [EMAIL PROTECTED] Subject: Re: Comcast Routing [EMAIL PROTECTED] wrote: Second, maybe this is just semantics, but you do not need a proxy server. (did you mean connection sharing?) A proxy catches web requests and checks to see if it already has the page in its cache. This will speed up web access in some situations enormously but I've never thought the it was worthwhile for one or two people. Maybe I'm delusional, but I thought setting up a proxy server (like squid) and allowing access to my Windoze box would allow me to surf the web from the Windoze box without having to set up IP masquerading. Assuming I have the 2 machines plugged into a hub (I do already have a hub) and the uplink of the hub goes to the cable modem, and the 2 machines are via private IP LAN, I could configure my browser to retrieve web pages from the proxy server (the RH box), which would go out and get the web page off the Internet and send it to the Windoze browser. No? Lee -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C Source Code Formatter
Ok I give. Can someone tell me where to get cb. I remember it being on the system in 7.0 but I can't track it down in 7.3. Turns out 'cb' is not available on Redhat ( I was working on AIX, sorry.) With a google search, you'll see two popular programs: 'bcpp' and 'indent' http://tldp.org/HOWTO/C-C++Beautifier-HOWTO/ http://dickey.his.com/bcpp/bcpp.html -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: C Source Code Formatter
Thanks! -Mike Ok I give. Can someone tell me where to get cb. I remember it being on the system in 7.0 but I can't track it down in 7.3. Turns out 'cb' is not available on Redhat ( I was working on AIX, sorry.) With a google search, you'll see two popular programs: 'bcpp' and 'indent' -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
basic bash shell ?
Hi, I am trying to learn a little more about the bash shell so I can figure out some of the script files that I see all the time. Is there a way to run bash scripts or a single line of a script in an interactive mode from the command line and echo the output back to the shell so I can work along with some of the commands? Hope this is not to dumb of a question to elicit a meaningful response. TIA Bob -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: basic bash shell ?
Hi, I am trying to learn a little more about the bash shell so I can figure out some of the script files that I see all the time. Is there a way to run bash scripts or a single line of a script in an interactive mode from the command line and echo the output back to the shell so I can work along with some of the commands? Try changing the top line to #!/bin/bash -x This puts script into debug mode Rgds Rus -- w: http://www.jvds.com | Linux + FreeBSD VDS's from $15/mo e: [EMAIL PROTECTED]| Totally Customizable Technology t: 07919 373537 | General FreeBSD Forums: 10% donation to FreeBSD | http://forums.jvds.com/viewforum.php?f=7 -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: Comcast Routing
On Sat, Aug 02, 2003 at 04:59:56PM -0400, Lee Flier wrote: Otto Haliburton wrote: Yes, what you are wanting to do is doable, but remember that in general you will not get support from Comcast for linux, Yes, I'm aware of that. :-) I already have it working fine with Linux on my dual boot machine, it's just making the two private IP's work with the one static/public IP that I'm a little hazy on. What I do is connect a Linksys router/firewall to the cable modem. In my case, it's got the dynamic address, but you can configure yours with the static IP. Then the systems connected to the firewall connect using a private IP address (192.168.0.x) and have their default gateway set to the router (which has two addresses - one facing in and one facing out - the one you want to point to is the internal one). Once you've solved the outgoing connections, just turn on port forwarding for the inbound connections for things like http or smtp. -- Ed Wilts, Mounds View, MN, USA mailto:[EMAIL PROTECTED] Member #1, Red Hat Community Ambassador Program -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Voice chat IM Server
Does anybody know if Jabber supports voice chat and if so, where can I get more info about this. I tried www.jabber.com adn jabberstudio but I could not find anything about this. Also maybe you can recomend me some other IM server with voice chat support if Jabber lacks this. Thanks for info! Alex -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: basic bash shell ?
Rus, Thanks! Bob Rus Foster wrote: Hi, I am trying to learn a little more about the bash shell so I can figure out some of the script files that I see all the time. Is there a way to run bash scripts or a single line of a script in an interactive mode from the command line and echo the output back to the shell so I can work along with some of the commands? Try changing the top line to #!/bin/bash -x This puts script into debug mode Rgds Rus -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [OT] Probably the most original 404 error...
Zoran's mailinglist account staggered into view and mumbled: http://high5.net/mirrors/m0n0.ch/wall/cdrom-pb14r457.iso Hmm. The file exists now. I had to edit the URL in order to see this very original error message. I do hope this server gets some professional help before it commits suicide or something. LOL! Lorenzo Prince happy Shrike user ;) -- The only intuitive interface is the nipple. After that, it's all learned. (Bruce Ediger, [EMAIL PROTECTED], in comp.os.linux.misc, on X interfaces.) -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Re: [OT] Probably the most original 404 error...
On Sat, 2003-08-02 at 23:50, Lorenzo Prince wrote: Zoran's mailinglist account staggered into view and mumbled: http://high5.net/mirrors/m0n0.ch/wall/cdrom-pb14r457.iso Hmm. The file exists now. I had to edit the URL in order to see this very original error message. I do hope this server gets some professional help before it commits suicide or something. LOL! I thought it was pretty good too. The things a poor server has to do to override the IE default 404 message probably adds to the depression :-) Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list
Where to install codecs
MPlayer works, but sometimes complains that wmvdmod.dll is not available. I installed the following packages: aalib-1.4rc5-fr2.i386.rpm alsa-lib-0.9.4-fr1.i386.rpm faad2-1.1-fr2.20030409.i386.rpm flac-1.1.0-fr3.i386.rpm lame-3.93.1-fr2.i386.rpm libdv-0.99-fr2.i386.rpm libdvdcss-1.2.7-fr1.i386.rpm libdvdread-0.9.4-fr3.i386.rpm libfame-0.9.0-fr2.i386.rpm libpostproc-0.90-fr2.i386.rpm lirc-0.6.6-fr1.i386.rpm lzo-1.08-fr2.i386.rpm mplayer-0.90-fr2.i386.rpm mplayer-fonts-1.0-fr1.noarch.rpm mplayer-skins-1.3-fr1.noarch.rpm xine-lib-1.0.0-fr0.beta12.1.i386.rpm xine-lib-devel-1.0.0-fr0.beta12.1.i386.rpm xvidcore-0.9.1-fr2.i386.rpm I then downloaded the codecs tar (extralite.tar.bz2). It contains drv3.so.6.0 sipr.so.6.0 vid_3ivX.xa ddnt.so.6.0 ir32_32.dll wma9dmod.dll wmv9dmod.dll QuickTimeEssentials.qtx drv4.so.6.0 tokf.so.6.0 atrc.so.6.0 dnet.so.6.0 ir41_32.dll wmadmod.dll wmvdmod.dllQuickTimeInternetExtras.qtx dspr.so.6.0 tokr.so.6.0 cook.so.6.0 drv2.so.6.0 ir50_32.dll wmspdmod.dll QuickTime.qts qtmlClient.dll However, it does not give me instructions on where to install them. Would someone please tell me how to install the codecs. -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list