Network question
I've had UNIX and/or Linux at home for a very long time, but always just one or two independent machines that didn't need to share anything. Then I broke down and got printer sharing working. Now I think I really need to share files. The question: What's easiest to set up? I have a 3-computer network (4 counting an occasional laptop), and I mostly want to do backups over the net by having the old clunky machine with the CD-RW directly copying files. It would be easiest if the subject machine didn't have to get too involved, and I'm not much worried about consistency here. I'm mostly worried about fire and/or dying disk drives, so a little bit of inconsistency is the least of my worries. There are several 36-GB drives involved, but the actual backup traffic will be lots smaller than that. So I'm thinking NFS or perhaps Samba. I'm not using Windoze much, but it does show up from time to time. So: where do I get information? How do I tell if the software's already on my machine? What solutions should I consider? ++ kevin -- Dr. Kevin O'Gorman (805) 756-2986 mailto:[EMAIL PROTECTED] Home Page: http://www.csc.calpoly.edu/~kogorman ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
RE: C++ and string
On Thu, 2 Oct 2003, Condon Thomas A KPWA wrote: I have a project I've been working on in RedHat 7.3, and it's just fine. I just tried migrating it to RedHat 9.0, and for some reason the g++ that's installed there does not know about the string class. Statements like string s1 = foo; report a syntax error before =. I haven't dealt with RedHat compilers, but shouldn't that be: String s1 = foo; Or perhaps I'm thinking of Java. Right, that's Java. The lowercase syntax is C++, and is working on the RedHat 7.3 system. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
C++ and string
I have a project I've been working on in RedHat 7.3, and it's just fine. I just tried migrating it to RedHat 9.0, and for some reason the g++ that's installed there does not know about the string class. Statements like string s1 = foo; report a syntax error before =. I seem to recall other problems with RH 9 compilers, and maybe somebody remembers how to fix them? ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://smtp.linux-sxs.org/mailman/listinfo/linux-users
KDevelop: using gdbm
I suppose I'm a jerk for trying to use this without extensive reading first, but I was hoping that KDevelop would be a reasonable environment for building a couple of projects I'm working on. Besides the awkwardness I've always had going from using the command line nearly exclusively for the last 40 years to using a GUI-based IDE, I find I cannot train this beast to let me link with -lgdbm. The Linker Options window does not have a checkbox for gdbm, and putting gdbm in the other spot leads to a failed dependency when make tries to make the target gdbm. I find automake Makefiles completely unreadable (I know, RTFM, but I was looking for easy, not for an education). So the question is this: is there an easy way? Failing that, does anyone find KDevelop to be a reasonable platform for C++ development? Should I just bag it and go back to the command-line? BTW, I was hoping to make this fairly portable, and put it on sourceforge, which is why I was thinking automake and tools like an IDE. Advice? ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: I've hosed my clock setup
On Sat, 23 Aug 2003, Kurt Wall wrote: Quoth Kevin O'Gorman: On Sat, 23 Aug 2003, Kurt Wall wrote: Quoth Kevin O'Gorman: I don't know what I did the last time I went to adjust my machine's clock, but it seems Linux no longer talks nice to the hardware clock. Every time I boot, the clock is off by 7 hours, and for my setup thats usually once a day (no fault of Linux, I just have to shut this off at night). Kevin, Did you ever get this straightened out? Kurt Sort of, but it's a hack. I found that the /var/log/messages stuff started having two different timestamps starting partway through the boot. That was really odd. Details: my RTC is set to local time because I occasionally boot to Windoze. Timestamps were all okay up to where /etc/rc.d/init.d/syslog gets run and tries to do the right thing with the clock, but from then on, the kernel reported times 7 hours off, presumably through klogd. Meanwhile other things continued to report the correct time, presumably through syslogd. All claimed to be PDT times. My hack was to put the line /sbin/hwclock -s --localtime# Local hack This sets the system time from the hardware clock. If you were tinkering with KDE's clock setting function, undo it. I've no idea _how_ to undo it, of course. Here at KurtWerks, I just point ntpd at some public stratum 2 time servers and let ntp do the grunt work. Then again, none of my machines ever boot Windows, so I can set my hardware clock to UTC without worry that Windows will helpfully reset it. I probably was, but I don't know how to undo it either. I cannot even reconstruct what I did (one of the reasons I'm only lukewarm about GUI sysadmin tools unless they do really good logging). I may have to live with the hack for now. in /etc/rc.d/init.d/syslog as the first line of the start() function. I don't understand how, but that fixed it. What's really odd is that as I read things, /etc/rc.d/rc.sysinit should have already executed exactly that command. Odd. Kurt ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: I've hosed my clock setup
On Sat, 23 Aug 2003, Ken Moffat wrote: Kurt Wall wrote: Quoth Kevin O'Gorman: I don't know what I did the last time I went to adjust my machine's clock, but it seems Linux no longer talks nice to the hardware clock. Every time I boot, the clock is off by 7 hours, and for my setup thats usually once a day (no fault of Linux, I just have to shut this off at night). Kevin, Did you ever get this straightened out? Kurt Maybe during install the incorrect hardware clock setting was chosen. Some distros ask which your hardware clock is set to, UTC or local. Seven hours is the difference between UTC and Pacific time (US). (or was this too obvious) It wasn't during install. Everything had been running okay for a time, then I got lost in trying to tweak something through the KDE panel thingies, and could never quite figure out what I had done, and couldn't undo it. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: I've hosed my clock setup
On Sat, 23 Aug 2003, Kurt Wall wrote: Quoth Kevin O'Gorman: I don't know what I did the last time I went to adjust my machine's clock, but it seems Linux no longer talks nice to the hardware clock. Every time I boot, the clock is off by 7 hours, and for my setup thats usually once a day (no fault of Linux, I just have to shut this off at night). Kevin, Did you ever get this straightened out? Kurt Sort of, but it's a hack. I found that the /var/log/messages stuff started having two different timestamps starting partway through the boot. That was really odd. Details: my RTC is set to local time because I occasionally boot to Windoze. Timestamps were all okay up to where /etc/rc.d/init.d/syslog gets run and tries to do the right thing with the clock, but from then on, the kernel reported times 7 hours off, presumably through klogd. Meanwhile other things continued to report the correct time, presumably through syslogd. All claimed to be PDT times. My hack was to put the line /sbin/hwclock -s --localtime# Local hack in /etc/rc.d/init.d/syslog as the first line of the start() function. I don't understand how, but that fixed it. What's really odd is that as I read things, /etc/rc.d/rc.sysinit should have already executed exactly that command. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
I've hosed my clock setup
I don't know what I did the last time I went to adjust my machine's clock, but it seems Linux no longer talks nice to the hardware clock. Every time I boot, the clock is off by 7 hours, and for my setup thats usually once a day (no fault of Linux, I just have to shut this off at night). The system is RH 7.3, and the contents of /etc/sysconfig/clock are ZONE=America/Los_Angeles UTC=false ARC=false I keep the hardware clock in local time because I dual-boot to other OS-es once in a while. Here's what it looks like: [EMAIL PROTECTED] rc.d]# /sbin/hwclock -r Fri 15 Aug 2003 07:53:56 AM PDT 0.849306 seconds [EMAIL PROTECTED] rc.d]# /sbin/hwclock -r --localtime Fri 15 Aug 2003 07:54:12 AM PDT 0.268908 seconds [EMAIL PROTECTED] rc.d]# /sbin/hwclock -r --utc Fri 15 Aug 2003 12:54:18 AM PDT 0.280746 seconds [EMAIL PROTECTED] rc.d]# However, on each reboot KDE's clock in the panel, and the 'date' program both report time as if I used UTC; in the above example that was 12:54 AM. I'm baffled and sleepless in California. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Java problem; is this Linux-related?
I've recently received the Java source code for an application I've been using for a while, and want to fix some of the glitches that have been bugging me. I've gotten most of them, but two are being obstinate. The original author was on a Mac, and did not have the problems I'm having. I wonder how to fix these, and wonder if I'm facing something inherent in recent versions of Java for Linux. I say recent, because the problems are not present in earlier JDKs or SDKs. Some things I've fixed because the original code wasn't quite doing the portable thing. Some I fixed by putting in preferences. These two remain unsolved. My Java is 1.4.1_02-b06, it says. Anyway, the problems: 1) The File Open dialogs now show files in the native order, unsorted. This makes it quite hard to find files in some of my directories with hundreds of files. 2) I'm having trouble making the GridBag thingy work. I've got one sub-window that's way narrow, and can only get it to widen a small amount, despite giving *500 weight to its constraint. The overall layout is like this: | 1| 4 | | | | |---| | | 2| | | | | |---| | | 3| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |--| | 5 | | | | | |--| My problems are the width of panel 4 and the height of panel 5. Panels 1 and 2 are single rows of buttons. Panel 3 has some scalable graphics but don't seem to be the problem, because they have a fixed aspect ratio and I can keep them narrow or short. Panels 4 and 5 are text. Panel 3 seems to suck up all the available space in spite of the contents remaining in that fixed aspect ratio. Anybody know where to get help with this, or even better, have a clue what the answer will be? ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: LPRng - one extra page
It is indeed a postscript printer. The problem happens on all files. There's nothing odd about the actual postscript code. I'm assuming that the problem is in the driver, but not sure which part of LPRNg is actually serving that function, and hoping someone can tell me a bit. ++ kevin On Fri, 13 Jun 2003, Joel Hammer wrote: Is this a postscript printer? If so, can you print it to a file and look at the code and see what nonsense has been added? Maybe the printer driver just isn't ending the job properly. Joel soThisOn Fri, Jun 13, 2003 at 05:13:46PM -0700, Kevin O'Gorman wrote: I've been putting up with this for a very long time -- I can't say exactly why. I'm using LPRNg-3.8.9-4.1 (stock for RH 7.3), and an HP Laserjet 4m printer. There's only one thing I don't like about the current setup: the driver doesn't cleanly end its output to the printer. When the last page has been printed, the Form Feed light stays on, indicating that there's data in the printer. Eventually it times out and prints an error page. If I force the printer to print what it has, I get a blank page. I suspect there's a single newline, or control-D, or some such protocol remnant, that is sent at the end. I can't figure out how to get rid of it. Print jobs start with an incantation that overrrides this, so the extra page only happens when the printer has waited for work for a few minutes. Otherwise it does not interfere. My current lpd.conf is all commented out (all defaults are used). My current printcap file is: # /etc/printcap # # DO NOT EDIT! MANUAL CHANGES WILL BE LOST! # This file is autogenerated by printconf-backend during lpd init. # # Hand edited changes can be put in /etc/printcap.local, and will be included. lp0:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/lp0:\ :af=/var/spool/lpd/lp0/lp0.acct:\ :sh:\ :lp=/dev/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_postscript_wrapper: ### ## Everything below here is included verbatim from /etc/printcap.local ## ### # printcap.local # # This file is included by printconf's generated printcap, # and can be used to specify custom hand edited printers. ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Webmin blocked by certificate problem
On Fri, 13 Jun 2003, Kurt Wall wrote: Quoth Kevin O'Gorman: I'm trying to make an old COL 3.1.1 workstation share a printer with my RH7.3 system, and for various reasons I'm not able to just change it up to a later distro. The problem is that when I point a browser at https://localhost:1 I get this dialog box that says Could not establish an encrypted connection because certificate presented by localhost is invalid or corrupted. Error Code -8182. What happens if you lose the s in the URI (http://localhost:1)? My understanding, albeit feeble, is that the secure session only works if you are running a secure server Kurt Then somehow the whole thing gets forwarded to netscape for an unresolved search. I think netscape browser is the culprit there; perhaps it traps some error responses into the netscape search engine. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
LPRng - one extra page
I've been putting up with this for a very long time -- I can't say exactly why. I'm using LPRNg-3.8.9-4.1 (stock for RH 7.3), and an HP Laserjet 4m printer. There's only one thing I don't like about the current setup: the driver doesn't cleanly end its output to the printer. When the last page has been printed, the Form Feed light stays on, indicating that there's data in the printer. Eventually it times out and prints an error page. If I force the printer to print what it has, I get a blank page. I suspect there's a single newline, or control-D, or some such protocol remnant, that is sent at the end. I can't figure out how to get rid of it. Print jobs start with an incantation that overrrides this, so the extra page only happens when the printer has waited for work for a few minutes. Otherwise it does not interfere. My current lpd.conf is all commented out (all defaults are used). My current printcap file is: # /etc/printcap # # DO NOT EDIT! MANUAL CHANGES WILL BE LOST! # This file is autogenerated by printconf-backend during lpd init. # # Hand edited changes can be put in /etc/printcap.local, and will be included. lp0:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/lp0:\ :af=/var/spool/lpd/lp0/lp0.acct:\ :sh:\ :lp=/dev/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_postscript_wrapper: ### ## Everything below here is included verbatim from /etc/printcap.local ## ### # printcap.local # # This file is included by printconf's generated printcap, # and can be used to specify custom hand edited printers. ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Webmin blocked by certificate problem
I'm trying to make an old COL 3.1.1 workstation share a printer with my RH7.3 system, and for various reasons I'm not able to just change it up to a later distro. The problem is that when I point a browser at https://localhost:1 I get this dialog box that says Could not establish an encrypted connection because certificate presented by localhost is invalid or corrupted. Error Code -8182. Now I know next to nothing about certificates, SSL, or webmin, and I don't really know where to start on this. Anyone with some experience with these things? As far as I know, Webmin is the only GUI tool around, and I was hoping to use it for this chore. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Bash scripting question
On Tue, 27 May 2003, David A. Bandel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 27 May 2003 16:24:02 -0400 (EDT) [EMAIL PROTECTED] wrote: David A. Bandel wrote, You cannot run a script SUID. Think about it a minute and you´ll see that you don´t ever want that capability. The script runs and calls other programs/built-ins. I can see the need to be cautious with SUID anything, but is a script really that much more dangerous than anything else running SUID? Yes. Consider: a script will run _anything_ you put in it. Now think of the worst stuff you could put in it. Want your users running that SUID? And even seemingly benign stuff, if it has a command that´s not fully pathed (oops), and as a user I create a similarly named malicious tool (and of course my PATH has $HOME/bin before the system paths) -- sounds like a wtfo (what the frell over?) to me. I miss the logic of this. An executable will also run _anything_ you put in it, and succeed if it has enough privilege. And they will run as a Trojan if they're in your searchpath. There must be something else that makes scripts more dangerous. ++ kevin ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: robots.txt
On Sun, 9 Feb 2003, Ken Moffat wrote: Anyone know the function of robots.txt? I have seen attempted access to it in my apache logs. Yes. That is where you can limit the browsing of well-behaved robots. For instance, I run a website with a database of millions of nearly- identical dynamic pages. There's no point in letting random webcrawlers try to index them all -- it wastes their time and my bandwidth, so I put stuff in there to limit their activity. Some crawlers have their own rules, some don't obey any, but robots.txt is pretty common, and fairly standard. ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Oz cops it again, fire!
On Mon, 20 Jan 2003, Net Llama! wrote: On Mon, 20 Jan 2003, stayler wrote: On Mon, 20 Jan 2003 17:49:07 +1000, Keith Antoine wrote: Greenies are being blamed for stopping of fire hazzard reduction and clearing of trees. Mind you people love to build houses nowadays in rural tree filled area The same things are being said in thge US. I tend to agree, the Greenies are way to intolerant of any ideas on how to manage the land, other than leaving it completely alone. And we can all see how nature manages itself... Nature manages itself just fine. All of the screwed up weather is occuring because of the greenhouse effect, which didn't get started by a few bears pooping in the woods. Depends on your standards for just fine. Nature has no problem with widespread death, or even extinction. People in general have a different, less dispassionate view. Nature's arranged that the entire planet will be sterilized eventually, but I expect people to complain at least and perhaps vacate the premises. And so on ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: what's the point of /etc/cron.d?
That's what I understand too. But it's more than a bit. There are things you might want to install or uninstall that have a cron task associated with them. With the cron.d directory, the RPM can just drop the required file into the directory and nothing else is needed. If you uninstall the RPM, the file gets deleted. Neat. Clean. Easy to maintain. ++ kevin On Wed, 15 Jan 2003, ronnie gauthier wrote: About all I can see there is like Llama said. You can keep things a bit more orderly. Also, crontab is a single file, you can throw as many files as you want into cron.d, I have not tried it but I think that you can probably throw a shell script in there too. On Wed, 15 Jan 2003 10:48:56 -0500 - Douglas J Hunley [EMAIL PROTECTED] wrote the following Re: Re: what's the point of /etc/cron.d? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ronnie gauthier spewed electrons into the ether that resembled: Its for cron jobs that dont fit into the periodic folders, say every five minutes or bi-weekly. Also you can use regular crontab syntax, the periodics should only contain shell scripts. You can add shell scripts to the periodics without having to worry about restarting cron. You also have a /var/spool/cron where cron stores users jobs done via crontab -e as /var/spool/cron/username. Distros handle the various calls with different scripts but the above holds true for linux and Unix AFAIK. yeah. I just found out that you can put crontab-like entries here, and they automatically get read in by crond. what's the point of using this instead of /etc/crontab? - -- Douglas J Hunley (doug at linux-sxs.org) - Linux User #174778 Admin: Linux StepByStep - http://www.linux-sxs.org and http://jobs.linux-sxs.org So these 3 guys walk into a bar. You'd think one of them would have ducked... -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+JYLo2MO5UukaubkRAq1aAKCMot1AaDSBFz7+a0iRid7ENXKLIgCfeLgW ymKH8KzEwl8prQArfBtIdQk= =Dj1I -END PGP SIGNATURE- ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: mozilla profile in use
This happens to me fairly frequently. The culprit seems to be leftover java processes from the last time you started Moz. Until these are killed off, Moz thinks that profile is still in use. Judicious use of 'ps -axlww' and 'kill' seem to do it for me. ++ kevin On Mon, 13 Jan 2003, Collins wrote: Mozilla expert wanted, please! I haven't made any changes since last reboot, and and shutdowns were normal, but... Now mozilla won't start. I get the profile dialog box, and mozilla says the default profile is in use. How do I fix this? Sure, I can create another profile, but why should I need to do this? ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Mozilla mystery
On Thu, 26 Dec 2002, Net Llama! wrote: On Thu, 26 Dec 2002, Tim Wunder wrote: On Thursday 26 December 2002 09:39 am, someone claiming to be Net Llama! wrote: On Thu, 26 Dec 2002, Collins wrote: snip It means does not start, mozilla screen never appears, no error messages in the console, nothing in XFree.. erors, etc., but it does build all the usual ~/.mozilla, ~/.netscape... directories. The only hint is 'mozilla ' in a terminal window eventually returns 'exit11'. BTW, no user has a .bashrc, etc. Only the standare /etc stuff are used in starting bash. No similar problems found on moz bugzilla. I'd suggest running it through strace. BTW, which version of mozilla is this? Are there any failed mozilla process running when you do a 'ps -ax'? oooh, good point, although mozilla traditionally gives some kind of warning when there is a pre-existing instance running. FWIW, all my users have a .netscape6 directory and a .mozilla directory, and Netscape 6 has *never* been installed. I'd copy over the .netscape6 dir to /home/new, change perms appropriately and see what happens. Better yet, 'rm -rf' the .mozilla directory and then try starting Moz again. Yea, i've got a .netscape6 dir too, however its paltry contents haven't been touched in over 8 months. I've noticed something like this not starting when there are leftover Java processes (usually a dozen or so). I'm not sure that the symptoms were identical, however. It may be worth looking in the results of 'ps -axlww' to see if there's something clogging the works. ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
CUPS woes
I've been making slow progress with CUPS on my local net, but things are still not right. I'll just mention the two systems that matter most. Right now, I have 1 system that can print on it's local printer using CUPS. We'll call this one system A. The other system has a local printer, but cannot use it. This doesn't matter much because it's a WinPrinter POS, and not working well in the best of times. But it troubles me that 'ls | lpr' reports lpr: error - not default destination available. when the CUPS admin page shows the attached printer /is/ the default. I'll call this one system B. More troubling is that system B is broadcasting printer info and system A is not. Accordingly, system A can see the printer on system B, although attempts to print on that printer remain stuck in the queue on system A indefinitely. What I really want, though, is to use the printer on system A from all other hosts; this isn't going to be possible if those hosts cannot see it. In cupsd.conf I've fooled with BrowserPoll and BrowseAddress to try to get both systems to talk nice on the local LAN. No soap. Tcpdump shows no broadcasts on either of the host's NICs. Please don't tell me to upgrade. I may do that but not yet. After all, if the daemon isn't broadcasting at all, it's not a version problem. If tcpdump shows broadcasting and it still doesn't work, I'll entertain the idea. Maybe. ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Server Distros
I'm thinking to go the same way; I already have RH 7.3, but until now I haven't been paying much attention to XFS. How do you get that installed? Is there a step-by-step? ++ kevin On Tue, 24 Dec 2002, Net Llama! wrote: On 12/24/02 08:36, Condon Thomas A KPWA wrote: Folks, I haven't had to worry about server software yet, but those days are past. I'll be using the week I have off at Christmas to install a server that will serve web and email for me. I'd be interested in what distros the folks on this list use for servers and why. All of my production servers are running one of the following: RH-7.2 (XFS) RH-7.3 (XFS) RHAS-2.1 When i have the choice, i install RH-7.3(XFS). -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Cups help?
I've got two systems running CUPS and I'm having trouble getting them to share a printer. Print server: RH7.3, printer is on parallel:/dev/lp0, called HPLJ4M, configured as HP LaserJet 4M, Foomatic + Postscript (because that's what it is). It works fine. CUPS: RedHat RPM, v 1.1.14 NICs: eth0) DSL connection eth1) internal LAN, 192.168.x.146 I think I have CUPS listening on both NICs, port 631 (ipp, right?). The CUPS log files confirm this. Print client: COL 3.1.1 WS. I have tried configuring in several ways, most recently as ipp://192.168.x.146:631/ipp/HPLJ4M, and notice that this URI is changed by replacing ipp: with http: in the admin display, although my input is the default the next time through 'modify'. It is reported as busy... CUPS: Caldera RPM, v 1.1.10-3 NICS: eth0) internal LAN, 192.168.x.150 Problem: I cannot find a configuration on the client that seems to connect to the server. I see nothing in the logs about attempts, but I may not know where to look. The client usually reports Printer is busy; will retry in 10 seconds. The printer is idle, and I see no print jobs on the server. Anybody with a clue? ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: KDE not displaying panel; erratic
Interesting idea. I'll try it if all else fails. I'm reluctant to ditch KDE, because I'm familiar with it and in most respects can provide support to my wife in its use. Besides, I personally use a couple of things that only KDE provides: kdevelop and six, and my wife really likes kpatience. ++ kevin On Wed, 18 Dec 2002, Brett I. Holcomb wrote: One thing KDE tries to do is to make Windows users feel at home and this is part of the windows emulation of KDE G. Seriously, this happens to many of those who use(d) KDE. I have never seen an explanation for it but I've fixed it by logging out, then back in as the same user. In rare cases I've had to reboot. KDE has many similarites to Windows - one is that it appears to get itself confused. In fact a standard fix for the KDE 2.x series appeared on the mailing list many, many times: 1. As root, from console with KDE NOT running rename the ~./kde2 directory to something else (i.e. kdesave). 2. Delete all files in /tmp 3. Restart KDE and it will create a new ~./kde2 directory - of course without your apps settings. To get them back you copy from the old kde directory (kdesave in our example) kdesave/share/config and kdesave/share/apps the rc files and other files that you need. This is one of the reasons I'm abandoning KDE. I got tired of it's bloat and these strange happenings. I run 2.2.1 right now but my new system is being built without KDE. I get enough wierd things happening on the Windows systems I have to use - I don't need my Linux becoming a Windows emulator. I've bamboozled my wife into using Linux (told her she'd have to do Windoze installation herself), and for a few months all has been well with Netscape and kpatience. Now, the panel has gone flaky for no reason I can think of. When she logs in, many times it's just not there, and she cannot operate without it. I've tried a variety of things to bring it back, but the thing that works best is simply to log out, log in as ANOTHER user, open an xterm and exit, then log out and go back in as herself. Go figure. The other user has a working panel. Always, at least so far. It's not clear why one has to open a window, but that does seem part of the magic. Does anyone have a clue, or a less painful way to deal with this (like a permanent solution, maybe?). All this is a stock COL 3.1.1. workstation install, except for the updated Netscape, and compiling and installing kdegames. ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: KDE not displaying panel; erratic
You can? I might get interested, if it's also got multiple desktops. Aside from those things, KDE doesn't do that much for me, and does do some things I don't care for. ++ kevin On Thu, 19 Dec 2002, Brett I. Holcomb wrote: Yes, but you can run these under xfce. Interesting idea. I'll try it if all else fails. I'm reluctant to ditch KDE, because I'm familiar with it and in most respects can provide support to my wife in its use. Besides, I personally use a couple of things that only KDE provides: kdevelop and six, and my wife really likes kpatience. ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
KDE not displaying panel; erratic
I've bamboozled my wife into using Linux (told her she'd have to do Windoze installation herself), and for a few months all has been well with Netscape and kpatience. Now, the panel has gone flaky for no reason I can think of. When she logs in, many times it's just not there, and she cannot operate without it. I've tried a variety of things to bring it back, but the thing that works best is simply to log out, log in as ANOTHER user, open an xterm and exit, then log out and go back in as herself. Go figure. The other user has a working panel. Always, at least so far. It's not clear why one has to open a window, but that does seem part of the magic. Does anyone have a clue, or a less painful way to deal with this (like a permanent solution, maybe?). All this is a stock COL 3.1.1. workstation install, except for the updated Netscape, and compiling and installing kdegames. ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
USB Cameras plea for help
Bob Raymond wrote: Ken Moffat wrote: How about those with digital usb cameras telling us which ones work easily in linux, and which do not? and which disto? Olympus C-4040Z works fine- just mount it as a FAT filesystem. I also have a Dazzle Smart Media Reader for it, which works just fine as a USB 2.0 device also mounted as a FAT filesystem. I haven't tried my father's Fujifilm, but he won't let me, though I sort of think it would work- the filesystem on the smart media card is FAT. I don't know how to mount my camera as anything, including FAT. I don't know where to look for a block device to mount. Where would that be? rant The single thing that's most annoying to me after almost 20 years with UNIX, and a half-dozen with Linux, all on my desktop at home, is that documentation neglects to say the simple things you need to get started. Accordingly it's only useful to folks who already know most of what they need to know. /rant I could use help getting my camera mounted. It's a Fuji that mounts as a removable drive when I plug it into a Windows USB port. ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:kevin;kosmanor.com Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:kogorman;umail.ucsb.edu Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Digital Camera on USB?
I'm really confused. Gphoto says some cameras just come up looking like a file system when you plug them into a USB port. Mine does this on machines running Windoze. So presumably I don't need gphoto. Or do I? All I can make of the docs on the USB hotplug stuff is that there's stuff in there. I get no clue about how to use it. I'm running Caldera 3.1.1 (kernel 2.4.13). I plug in my camera, and /proc/bus/usb/devices shows something that vaguely looks like it could be my camera. But nothing happens to the filesystem that I can see. I don't know how to get at my camera. I don't see a SxS for cameras at all. Help? ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:kevin;kosmanor.com Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:kogorman;umail.ucsb.edu Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: apache access log entry
I'm not a real expert, but nobody else has answered in a few hours, so here's my take on it. It seems somebody tried for your site's main page (GET /) and was refused access (400 - bad request). I do not know what to make of the - -. ++ kevin On Thu, 3 Oct 2002, Ken Moffat wrote: Anyone know what this line might mean in apache access.log? xxx.xxx.xxx.xx - - [02/Oct/2002:22:25:04 -0700] GET / HTTP/1.1 400 385 - - (Sorry about the wrap. The x's were an ip address) ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Mozilla plugins not obtainable
I'm running the Moz that came with RH 7.1 because that's what the department lab rats installed and left me with. It's fairly good, but when I need the Java pluging, the download attempt fails very quickly -- connection seems impossible. I suspect a firewall, but trying manual FTP works okay. The problem is I have no idea how to install the downloaded .xpi file. Any clue how I would get Java onto this beast? ++ kevin -- Kevin O'Gorman, PhD (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] Permanent e-mail forwarder mailto:[EMAIL PROTECTED] Web: http://kosmanor.com/~kevin/index.html ___ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc - http://www.linux-sxs.org/mailman/listinfo/linux-users
Re: Modules in RH7.x
On Tue, Jul 16, 2002 at 10:39:58AM -0400, Matthew Carpenter wrote: Hey Llama- Here's one up your alley. In COL, they have /etc/modules/default as a file to list modules to be loaded at startup. Is there such a thing in RH 7.[2-3]? This has been buggerin' me for a while. Today, someone asked me how to load the ipchains module be default. I know that it can be loaded from a firewall script or from rc.local, but it made me wonder yet again just how RedHat DOES module management in the 7.x series... I've heard that it's all probed at startup each time (which sounds scarily like plug-n-pray to me), but I don't know the details. Then I remembered that you maintain a lot of RH boxen so I thought you might know. Thanks. Matt ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. H. I'm not the llama, but I run RH 7.1 on a bunch of boxen. Maybe my $.02 is worth that much. The ipchains module seems to be loaded without any effort on my part. The ipchains user code is a separate RPM: mine is ipchains-1.3.10-7. I have ipchains rules in /etc/sysconfig/ipchains, but they were built at installation time, by lokkit-0.43-6. Finally, modules configuration is done in /etc/modules.conf. This is where I tell the kernel how to deal with my multiple NIC cards, as well as some stuff put there at installation. Mine looks like this: = cut here alias scsi_hostadapter aic7xxx alias parport_lowlevel parport_pc alias usb-controller usb-uhci alias eth0 wd options wd -o hubnet io=0x300 irq=5 alias eth1 8139too options 8139too -o winnet = cut here ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Out Of Memory
On Fri, Jul 12, 2002 at 12:41:30PM +0200, patrick Kapturkiewicz wrote: Lonni - Thank you, you help me a lot. I'll see and test your suggestions. But RH 7.1 was certified by oracle on Oracle 8i, it's why we choose it, and all is OK on Siemens Primergy for little databases. Another point of reference: I've been using 8i on RH 7.1 for quite a while in a research setting. The database is the TPC schema, at about 1GB of data and 2GB of index, sometimes on a single IDE disk, sometimes on 4 SCSI disks. This has worked well for me, and I expect to defend my PhD thesis based on this work next week. Oracle has given me no unusual problems with this setup since 7.1 came out. I switched to 7.1 after all my 6.2 systems had been overtaken by some sort of Linux worm, and I needed to get a system that was receiving current security updates. ++ kevin Rick - We sell specifics products on Microsoft System with SQL Server. My job is to create new distributions based on Linux and Oracle. I may construct a standard fixed base distribution for defined configurations. The database size depends of our future customers. I forgot to say I use Smart Array controlers with RAID 1 or RAID 5. The 18 Gb disk is a sample. I put a mail on OTN forum (JVM) but I had no response. I don't understand your question on permissions. Patrick (happy to hear an echo). --- Net Llama! [EMAIL PROTECTED] a écrit : Richard R. Sivernell wrote: On Thu, 11 Jul 2002 17:29:04 -0400 (EDT) Net Llama! [EMAIL PROTECTED] wrote: On Thu, 11 Jul 2002, [iso-8859-1] patrick Kapturkiewicz wrote: Hi, What happens ? Compaq Proliant ML370 G2 with HD 18 Gb, 256 Mb memory, RedHat 7.1, Oracle 8i, 512 Mb swap, JDK 1.1.8v3 hehehehehe...good old rh-7.1 with oracle no less. this has been the bane of my existence at work for the past month or so. The command dbassist based on jre freezes during the database creation on 1% value. with free or sar, I can see the occupied memory growing until 100%, then swap growing until 100%. At last, The processus jre is killed by system. Any idea ? yes, a few: 1) Oracle-8i is *NOT* qualified on anything after RH-6.2. Trying to run it on RH-7.1 will expectedly result in failure. I'm surprised you even got it to install cleanly. 2) the default kernel that comes with RH-7.1 is 2.4.2. not only is this kernel ancient, but its *extremely* buggy, and does a horrid job managing memory. RH provides a 2.4.9 kernel for RH-7.1 as an upgrade. i'd strongly urge you to use it, if you're not already. 3) *ONLY* Oracle-9iR1 is qualified by Oracle to run on RH-7.1, and it requires that you upgrade binutils in order to get all the libraries to properly build during the oracle install process. Don't even bother trying to install 9i unless you upgrade binutils first. After all of that, what size database are you creating on a 18 gig hd. Are you ofs compliant? How about permissions? Another excellent point. Oracle will run incredibly poorly on the hardware that you've got. 18GB is going to disapear really fast, and 256MB of memory is going to get sucked up within minutes, and i'd imagine just about all your swap will be gone within a few hours. Oracle needs at leat 1GB of physical memory to run decently. Oracle is the KDE of databases. Big, bloated, and loaded with 4300 features that no one ever asked for. ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Out Of Memory
Thank you. Thoughts and prayers are welcome, especially in the time frame 2:00 - 4:00 Pacific time, 17th July. :o) ++ kevin On Fri, Jul 12, 2002 at 05:55:45PM +0200, patrick Kapturkiewicz wrote: Hi Kevin, Next week, I shall have a thought for you :-) Patrick --- Kevin O'Gorman [EMAIL PROTECTED] a écrit : Another point of reference: I've been using 8i on RH 7.1 for quite a while in a research setting. The database is the TPC schema, at about 1GB of data and 2GB of index, sometimes on a single IDE disk, sometimes on 4 SCSI disks. This has worked well for me, and I expect to defend my PhD thesis based on this work next week. Oracle has given me no unusual problems with this setup since 7.1 came out. I switched to 7.1 after all my 6.2 systems had been overtaken by some sort of Linux worm, and I needed to get a system that was receiving current security updates. ++ kevin ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Out Of Memory
On Fri, Jul 12, 2002 at 01:20:41PM -0400, Net Llama! wrote: On Fri, 12 Jul 2002, [iso-8859-1] patrick Kapturkiewicz wrote Lonni - Thank you, you help me a lot. I'll see and test your suggestions. But RH 7.1 was certified by oracle on Oracle 8i, it's why we choose it, and all is OK on Siemens Primergy for little databases. Where did you see that RH-7.1 was qualified by oracle for 8i?? I for one am not sure about qualified, but my installation under 7.1 was done according to instructions on the Oracle web site, specific for 7.1. That's qualified enough for me. ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Switching fs-type from reiserfs to ext2/3
This may be too obvious, or taken care of already, but did you change the filesystem type in /etc/fstab? ++ kevin On Sun, Jun 30, 2002 at 07:27:02PM +0200, Hermann-Josef Beckers wrote: Hi Collins, thank you for your answer. Using -t does the trick, but can I trust my data on that partition. Or does anybody know how much i should wipe out? dd if=/dev/zero of=/partition bs=512 count=200 wasn't enough. The partition has 1 Gig. Mount keeps complaining, when I use the information from /etc/fstab, which simply contains /dev/hdc6 /backup ext2 1 2. Yours hjb ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Red Hat printing Problem
On Sat, Jun 29, 2002 at 10:22:32PM -0500, Mike Chambers wrote: - Original Message - From: Collins [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 29, 2002 4:39 PM Subject: Re: Red Hat printing Problem Does Redhat use CUPS or LPRng or what? In any case you may find some hints in /var/log/lpd (or some such) or /var/cups (or some such). If its LPRng, its probably something in printcap or the filters definded in printcap. As of 7.3 they use LPRng *and* CUPS. They include both and use the alternatives (from debian) to switch between them. Actually they do the same for sendmail and postfix now. Alternatives? What do you mean? ++ kevin Mike -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Still the best...
On Sun, Jun 23, 2002 at 07:10:52AM -0500, David A. Bandel wrote: On Sat, 22 Jun 2002 18:51:06 -0700 begin Kevin O'Gorman [EMAIL PROTECTED] spewed forth: [snip] In fact, I calculate (this the help of my local friendly Linux machine) that there are exactly 240 ways to do it. It's very simple to do; just try 0-4 quarters, then 0 to some number of dimes (depending on how many quarters), 0 to some number of nickels, and pennies to fill out the buck. Here's what it looks like in Python: #!/usr/bin/python w = 0 for q in range(0,5): for d in range(0,10): if q*25+d*10100: break for n in range (0,20): if q*25 + d*10 + n*5 100: break w = w + 1 print \ %2.2d quarters, %2.2d dimes, %2.2d nickels, %3.3d pennies: %d ways \ % (q, d, n, 100- q*25 - d*10 - n*5, w) Please grep your output for: 20 nickels 10 dimes and there´s a number of others missing. Last time I looked, the above 2 were legitimate ways to change a dollar. Just by inspection, 240 cannot be the correct number. The number will be odd. Oops, you're right. I don't use Python enough to rememeber reliably that range() needs to overshoot. I got it right for quarters, but forgot the other two. This however adds just two cases, the count is 242, still less than 293, and even. The new program is #!/usr/bin/python w = 0 for q in range(0,5): for d in range(0,11): if q*25+d*10100: break for n in range (0,21): if q*25 + d*10 + n*5 100: break w = w + 1 print \ %2.2d quarters, %2.2d dimes, %2.2d nickels, %3.3d pennies: %d ways \ % (q, d, n, 100- q*25 - d*10 - n*5, w) ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Still the best...
On Sat, Jun 22, 2002 at 07:41:58PM -0500, David A. Bandel wrote: On Sat, 22 Jun 2002 16:32:21 + begin Terence McCarthy [EMAIL PROTECTED] spewed forth: On Sat, 22 Jun 2002 10:12:15 -0400 Bruce Marshall [EMAIL PROTECTED] wrote: There are 293 ways to make change for a dollar. Go on, list them. Actually, there's a lot more than that. 4 quarters each quarter has 12 ways to make change for it, starting with 2 dimes and a nickel, 2 dimes and 5 pennies, then 1 dime and 4 different mixes of nickels and pennies, then all nickels, then mixes of nickels and pennies (3 more), then all pennies. since each $0.25 can have 13 different values, you actually have 13^4 (13*13*13*13), plus all dimes (not in the above mix anywhere). So listing _only_ 293 should be a piece of cake. Ciao, David A. Bandel Wow, David, that's the very first time I've caught you in a mistake! Not that I'm particularly trying to do that, but your remarks just didn't make sense. You can't combine the different ways to change a quarter that way; they're not independent. In fact, I calculate (this the help of my local friendly Linux machine) that there are exactly 240 ways to do it. It's very simple to do; just try 0-4 quarters, then 0 to some number of dimes (depending on how many quarters), 0 to some number of nickels, and pennies to fill out the buck. Here's what it looks like in Python: #!/usr/bin/python w = 0 for q in range(0,5): for d in range(0,10): if q*25+d*10100: break for n in range (0,20): if q*25 + d*10 + n*5 100: break w = w + 1 print \ %2.2d quarters, %2.2d dimes, %2.2d nickels, %3.3d pennies: %d ways \ % (q, d, n, 100- q*25 - d*10 - n*5, w) The head and tail of the output look like this: 00 quarters, 00 dimes, 00 nickels, 100 pennies: 1 ways 00 quarters, 00 dimes, 01 nickels, 095 pennies: 2 ways 00 quarters, 00 dimes, 02 nickels, 090 pennies: 3 ways 00 quarters, 00 dimes, 03 nickels, 085 pennies: 4 ways 00 quarters, 00 dimes, 04 nickels, 080 pennies: 5 ways 00 quarters, 00 dimes, 05 nickels, 075 pennies: 6 ways 00 quarters, 00 dimes, 06 nickels, 070 pennies: 7 ways 00 quarters, 00 dimes, 07 nickels, 065 pennies: 8 ways 00 quarters, 00 dimes, 08 nickels, 060 pennies: 9 ways 00 quarters, 00 dimes, 09 nickels, 055 pennies: 10 ways 03 quarters, 00 dimes, 02 nickels, 015 pennies: 230 ways 03 quarters, 00 dimes, 03 nickels, 010 pennies: 231 ways 03 quarters, 00 dimes, 04 nickels, 005 pennies: 232 ways 03 quarters, 00 dimes, 05 nickels, 000 pennies: 233 ways 03 quarters, 01 dimes, 00 nickels, 015 pennies: 234 ways 03 quarters, 01 dimes, 01 nickels, 010 pennies: 235 ways 03 quarters, 01 dimes, 02 nickels, 005 pennies: 236 ways 03 quarters, 01 dimes, 03 nickels, 000 pennies: 237 ways 03 quarters, 02 dimes, 00 nickels, 005 pennies: 238 ways 03 quarters, 02 dimes, 01 nickels, 000 pennies: 239 ways 04 quarters, 00 dimes, 00 nickels, 000 pennies: 240 ways I guess somebody needs to change their quotations. :o) ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail f rwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Clueless Network Prob
I too could be wrong, but here's my $.02. You can have more than one interface on a given net, but you're going to need special software to make effective use of them. Standard routing tables, for instance, will direct traffic to just one of them, putting that interface number as the return address, so return traffic will use that one too. You might be able to split your traffic according to the destination, but that is going to be useful only in very special circumstances. I have heard of such arrangements being used to improve bandwidth, but I'm not convinced that this would work in the most common cases. So the question becomes: what are you trying to achieve, and what is the environment like? ++ kevin On Sat, Jun 22, 2002 at 04:29:27PM -0400, Matthew Carpenter wrote: I could be wrong, but I'm pretty sure you can't. If you have two adaptors on one subnet, which will it use for origination? If you do subinterfaces on the SAME adaptor, at least the interface has a real address which it can use to originate and open connections. If I'm incorrect, please let me know... not that I'm sure why you would WANT two adaptors on one subnet, except to port-channel, and that's a different story altogether. begin Michael Hipp [EMAIL PROTECTED] (Fri, 21 Jun 2002 16:28:47 -0500) Matthew, Is it just an impossibility to have 2 adapters on 1 subnet? Thanks, Michael On Friday 21 June 2002 02:02 pm, Matthew Carpenter wrote: You, you fix this by having only one adaptor per subnet. If you really want to have the box dually-connected, plug each interface into a different subnet. On Fri, 21 Jun 2002 11:17:04 -0500 Michael Hipp [EMAIL PROTECTED] wrote: Thanks Net Llama! I corrected a problem of wrong gateway and now am down to this (route -n): Destination Gateway Genmask Flags Metric Ref UseIface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.0.0 0.0.0.0 255.255.255.0 U 0 00 eth1 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo 0.0.0.0 192.168.0.1 0.0.0.0 UG0 00 eth0 A nearby Red Hat box with only one eth looks like this: Destination Gateway Genmask Flags Metric Ref UseIface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 00 lo 0.0.0.0 192.168.0.1 0.0.0.0 UG0 0 0 eth0 Should there be 2 lines per eth? Do you fix it by doing 'route add' and 'route del'. Any help appreciated, Michael On Friday 21 June 2002 08:51 am, Net Llama! wrote: Look at your routing table (route -n). That is where all of the problems lie. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Matthew Carpenter [EMAIL PROTECTED] http://www.e-i-s.cc/ Enterprise Information Systems *Network Consulting, Integration Support *Web Development and E-Business ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Overriding SuSe Defaults.
If you don't mind a horrible hack, there's a fairly easy way to do this. Just go ahead and let Yast install whatever it wants. Then use rpm to find all the files it installed (rpm -ql whatever), and delete all those files. Do the deletion manually; do not do it through Yast or rpm. It's probably easiest to build a script from the output of 'rpm -ql'. Now install your tarball. Yast thinks it has the stuff it wants, because it believes its database rather than checking reality, and the reality is the way you want it. Just be mindful that the database and the reality no longer coincide. Forever. Being a hack, this approach can bite you later if you forget about it. ++ kevin On Fri, Jun 21, 2002 at 08:17:10AM -0500, Ben Duncan wrote: Is there anyway to override the Yast2 defaults on software dependencies? I have installed LPRng from pristine source and removed the standard RPM of LPR that Suse 8.0 ships. I did this because of some specific settings I need vs the way SuSe wants to control the printer. However, evertime I add/remove a package from the CD's, Yast wants to complain and install IT's PRINTING solutions (choice of install cups/lprng). IF you are not careful and go back un unmark it's selection it winds up putting it's version of lpr back out there. I need this PITA to go away and the SuSe 8.0 log (whatever/wherever) that may be, to think LPR has been installed. Thanks ... -- -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: LILO boot floppy
On Tue, Jun 18, 2002 at 10:21:27PM +, Anita Lewis wrote: On Mon, 17 Jun 2002 19:32:26 -0700, Kevin O'Gorman wrote: I used to build LILO boot floppies all the time. They had a very small filesystem, with /dev/*, /boot/* and /etc/lilo.conf, a kernel and sometimes an initrd. They were maintained, if I recall, by mounting them, them doing /sbin/lilo -r /mnt/floppy However, nowadays when I try that on RH 7.1, i get an error Fatal: open /dev/fd0: Permission denied I do this as root, of course, and so I have to ask what more permission do I need? The floppy contains /dev/fd0, identical to that on the real filesystem, with the same permissions. Anyone have a clue? Anyone have a SxS? ++ kevin The way I make a lilo boot floppy is to modify /etc/lilo.conf so that the top line is boot=/dev/fd0 instead of /dev/hdxx. Then I put a floppy in and run /sbin/lilo. The resulting floppy gives me a lilo prompt and boots the kernel on the hard drive. Is that what you are looking for? I usually then change /etc/lilo.conf back to what it was for when I next need to update LILO in the mbr. Not exactly what I'm after. It's okay for the LILO setup to point to things on the hard drive, but I want at least one kernel on the floppy. This is what saves me when I've deleted a partition, so that the partition numbers are all messed up, or worse yet have moved a partition so there's no kernel where the floppy thinks it should be. I do this a lot. It used to be handy: the floppy was it's own self-contained universe, and the running system would visit it briefly to re-run LILO in the chroot jail, so that the /etc/lilo.conf file could refer to things where they were in relation to the floppy. This worked on all Caldera systems where I tried it (from way back on CND). I don't remember if I've tried this on RedHat before. It's not too hard to build a secondary lilo.conf, which points to /dev/fd0, and knows about a kernel on /mnt/floppy, but it doesn't have the same feel to it. Sigh. I'll get over it. ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Need to move parition
On Tue, Jun 18, 2002 at 06:44:03PM -0700, Net Llama! wrote: Brett I. Holcomb wrote: Right now I really don't care about elegance - I just need to get the stuff off that disk and replace it G. A symlink it is then. yea, it will get the job done. Next problem is how to move the swap partition. I assume I can run without a swap for a period of time while I install a new disk and parition it. If so how do I disable it? Technically, you could run without swap permanently, but the performance would blow chunks if tried to use anything that was memory intensive. Anyway, the command 'swapoff' is prolly what you're seeking, if you don't wish to reboot. Otherwise, just remove it from fstab. Hmmm. I may be mixing my operating systems, but I thought there was a way to use a file for swapping. No? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Need to move parition
On Tue, Jun 18, 2002 at 08:30:40PM -0700, Net Llama! wrote: Kevin O'Gorman wrote: On Tue, Jun 18, 2002 at 06:44:03PM -0700, Net Llama! wrote: Brett I. Holcomb wrote: Right now I really don't care about elegance - I just need to get the stuff off that disk and replace it G. A symlink it is then. yea, it will get the job done. Next problem is how to move the swap partition. I assume I can run without a swap for a period of time while I install a new disk and parition it. If so how do I disable it? Technically, you could run without swap permanently, but the performance would blow chunks if tried to use anything that was memory intensive. Anyway, the command 'swapoff' is prolly what you're seeking, if you don't wish to reboot. Otherwise, just remove it from fstab. Hmmm. I may be mixing my operating systems, but I thought there was a way to use a file for swapping. No? You're correct, you can have a swap file in linux. But its not worth it if this is just for a few minutes while he shuffles some data about. Understood. However, his comment that he has no place to put it made me think that his need was going to be a bit longer than minutes. Perhaps at least long enough to acquire another hard drive; perhaps longer. The main thing is how does he do it? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Mozilla won't load plugin
I'm slowly moving one of my systems from RedHat 7.1 to 7.3, but having some trouble making everything work. The present problem is that when I started to use Mozilla, one of the first pages wanted me to download a plugin for Java2. Fine, I tried that. No joy. The download went for a long time, then failed. Three times now. Anybody else had or having such headaches? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
XFree 4 has lost resolution
I'm in the process of upgrading my RedHat 7.1 system to 7.3. This has a new X server major release, I understand. This has not been good news for me. Under 7.1, my monitor ran comfortably at 1280x1024 resolution. Under the new X (4.0 something, I think), it recognized the monitor okay, accepted my inputs about horizontal and vertical speeds, and refuses to go over 1024x768. I want that screen real estate back! I notice that the new XF86Config file does not have those pesky Modeline's in it. I wonder what else could be messed up? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: XFree 4 has lost resolution
I just noticed the presence of XF86Config-4, and that was indeed the problem. It sure is confusing when you're twiddling the wrong dial! :o) ++ kevin On Mon, Jun 03, 2002 at 06:01:50AM -0700, Ken Moffat wrote: Are you looking at /etc/X11/XF86Config-4 ? That's the one that counts, I think. On Mon, 3 Jun 2002 00:23:28 -0700 Kevin O'Gorman [EMAIL PROTECTED] wrote: I'm in the process of upgrading my RedHat 7.1 system to 7.3. This has a new X server major release, I understand. This has not been good news for me. Under 7.1, my monitor ran comfortably at 1280x1024 resolution. Under the new X (4.0 something, I think), it recognized the monitor okay, accepted my inputs about horizontal and vertical speeds, and refuses to go over 1024x768. I want that screen real estate back! I notice that the new XF86Config file does not have those pesky Modeline's in it. I wonder what else could be messed up? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
How to address this list (was Re: XFree 4 has lost resolution)
I have trouble typing that long an address, and frequently wind up doing it wrong (i.e. sending to the .com domain) so I'm using an alias in /etc/aliases. I'll stop if it's fouling things up, but maybe someone can tell me a better way? ++ kevin On Mon, Jun 03, 2002 at 06:37:15AM -0700, Nate Cole wrote: Kevin, Please use the '[EMAIL PROTECTED]' address to send your mail to the group. You are sending to '[EMAIL PROTECTED]' which is mangling peoples mail filters. Thanks, Nate --- Kevin O'Gorman [EMAIL PROTECTED] wrote: I'm in the process of upgrading my RedHat 7.1 system to 7.3. This has a new X server major release, I understand. This has not been good news for me. Under 7.1, my monitor ran comfortably at 1280x1024 resolution. Under the new X (4.0 something, I think), it recognized the monitor okay, accepted my inputs about horizontal and vertical speeds, and refuses to go over 1024x768. I want that screen real estate back! I notice that the new XF86Config file does not have those pesky Modeline's in it. I wonder what else could be messed up? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Configure NTP - should be a snap, but it isn't
On Fri, May 31, 2002 at 10:17:23PM -0400, Kurt Wall wrote: On Fri, 31 May 2002 17:26:36 -0700 Kevin O'Gorman [EMAIL PROTECTED] wrote: I configure NTP once every several years, so I cannot usually remember what's what. I've got a server that's been running NTP happily for years, seems to stay current, and I'm not going to mess with it. I've got another machine, glynnis, running RH7.1, and it has the NTP software, but I cannot get it to synchronize with my server. I've looked at my firewall rules, and it seems I have all traffic allowed between these machines, on local-only subnet: 192.168.1.0/24. Just in case, port 123 is open for tcp and udp traffic, correct, although I note from the docs that it only uses udp. NTP comes up on glynnis okay, but whenever I run 'ntpq -p' I get this, which tells me btrixie isn't being used, and that the local clock is being taken as the time source: (btrixie is an entry in my /etc/hosts file, equated to 192.168.1.148) [root@glynnis init.d]# ntpq -p remote refid st t when poll reach delay offset jitter == btrixie 0.0.0.0 16 u- 6400.0000.000 4000.00 LOCAL(0)LOCAL(0)10 u- 6400.0000.000 4000.00 Are you sure that glynnis can reach btrixie? Absolutely. I do it many times a day. They're both on my inner net (192.168.1.?) and listed in /etc/hosts. Both machines have firewalls, but they allow _all_ traffic on the inner net. - Trixie's running eD2.4, and has this in /etc/rc.d/rc.firewall (in part): - INTERNAL_INTERFACE=eth1 - /sbin/ipchains -A input -i $INTERNAL_INTERFACE -j ACCEPT - /sbin/ipchains -A output -i $INTERNAL_INTERFACE -j ACCEPT Glynnis is running RH7.1 (soon to be RH7.3), and has this in /etc/sysconfig/ipchains (in full): - # Firewall configuration written by lokkit - # Manual customization of this file is not recommended. - # Note: ifup-post will punch the current nameservers through the - # firewall; such entries will *not* be listed here. - :input ACCEPT - :forward ACCEPT - :output ACCEPT - # accept SSH connections - -A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT - # accept loopback traffic - -A input -s 0/0 -d 0/0 -i lo -j ACCEPT - # accept everything on the local net - -A input -s 0/0 -d 0/0 -i eth1 -j ACCEPT - # accept anything from trixie - -A input -s 63.194.39.148 53 -d 0/0 -p udp -j ACCEPT - # throw everything else away - -A input -s 0/0 -d 0/0 -p tcp -y -j REJECT - -A input -s 0/0 -d 0/0 -p udp -j REJECT Note that eth0, on both glynnis and trixie, connects to the outside world; eth1 is on the inner net, behind a Linksys router. I'm particularly fond of the ruleset for Glynnis; nothing comes in from the outside except DNS responses and SSH connections. And the rules are almost as simple to read as that. Of course, if any bad guys gets to my inner net, I'm toast. Trixie serves mail and http, so her rules are a bit more complicated. My configuration file is very simple. server 192.168.1.148 server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /etc/ntp/drift multicastclient # listen on default 224.0.1.1 broadcastdelay 0.008 authenticate no Kurt -- Your lucky number has been disconnected. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Configure NTP - should be a snap, but it isn't
On Fri, May 31, 2002 at 11:33:54PM -0400, Joel Hammer wrote: How do you start ntp? They are started through SYSV init. Are there error messages somewhere? Not that I can tell. Joel On Fri, May 31, 2002 at 05:26:36PM -0700, Kevin O'Gorman wrote: I configure NTP once every several years, so I cannot usually remember what's what. I've got a server that's been running NTP happily for years, seems to stay current, and I'm not going to mess with it. I've got another machine, glynnis, running RH7.1, and it has the NTP software, but I cannot get it to synchronize with my server. I've looked at my firewall rules, and it seems I have all traffic allowed between these machines, on local-only subnet: 192.168.1.0/24. NTP comes up on glynnis okay, but whenever I run 'ntpq -p' I get this, which tells me btrixie isn't being used, and that the local clock is being taken as the time source: (btrixie is an entry in my /etc/hosts file, equated to 192.168.1.148) [root@glynnis init.d]# ntpq -p remote refid st t when poll reach delay offset jitter == btrixie 0.0.0.0 16 u- 6400.0000.000 4000.00 LOCAL(0)LOCAL(0)10 u- 6400.0000.000 4000.00 * My configuration file is very simple. server 192.168.1.148 server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /etc/ntp/drift multicastclient # listen on default 224.0.1.1 broadcastdelay 0.008 authenticate no Anybody have a clue? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Configure NTP - should be a snap, but it isn't
On Fri, May 31, 2002 at 10:17:23PM -0400, Kurt Wall wrote: On Fri, 31 May 2002 17:26:36 -0700 Kevin O'Gorman [EMAIL PROTECTED] wrote: I configure NTP once every several years, so I cannot usually remember what's what. I've got a server that's been running NTP happily for years, seems to stay current, and I'm not going to mess with it. I've got another machine, glynnis, running RH7.1, and it has the NTP software, but I cannot get it to synchronize with my server. I've looked at my firewall rules, and it seems I have all traffic allowed between these machines, on local-only subnet: 192.168.1.0/24. Just in case, port 123 is open for tcp and udp traffic, correct, although I note from the docs that it only uses udp. NTP comes up on glynnis okay, but whenever I run 'ntpq -p' I get this, which tells me btrixie isn't being used, and that the local clock is being taken as the time source: (btrixie is an entry in my /etc/hosts file, equated to 192.168.1.148) [root@glynnis init.d]# ntpq -p remote refid st t when poll reach delay offset jitter == btrixie 0.0.0.0 16 u- 6400.0000.000 4000.00 LOCAL(0)LOCAL(0)10 u- 6400.0000.000 4000.00 Are you sure that glynnis can reach btrixie? Absolutely. On top of the indirect reasons for thinking so, I can see the traffic in tcpdump(1). On glynnis, I see: 15:47:25.781322 bglynnis.ntp btrixie.ntp: v4 client strat 11 poll 6 prec -17 (DF) At the same time, on trixie, I see: 16:05:11.283969 fglyn.ntp ftrix.ntp: v4 client strat 11 poll 6 prec -17 (DF) I hadn't noticed before that the /etc/hosts names are not the same on the two machines, but these are the two in question. Moreover, the messages are essentially simultaneous, but the time warp is quite obvious. At the same time that the above is (not) going on, trixie is doing it's usual communication with its time sources outside; the difference being that here, replies are forthcoming: 16:03:32.753185 trixie.kosmanor.com.ntp clepsydra.dec.com.ntp: v4 client strat 2 poll 10 prec -15 16:03:32.781343 clepsydra.dec.com.ntp trixie.kosmanor.com.ntp: v4 server strat 1 poll 10 prec -17 My configuration file is very simple. server 192.168.1.148 server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /etc/ntp/drift multicastclient # listen on default 224.0.1.1 broadcastdelay 0.008 authenticate no Kurt -- Your lucky number has been disconnected. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Configure NTP - should be a snap, but it isn't
On Sun, Jun 02, 2002 at 07:11:02PM -0400, Kurt Wall wrote: On Sun, 2 Jun 2002 15:54:00 -0700 Kevin O'Gorman [EMAIL PROTECTED] wrote: On Fri, May 31, 2002 at 11:33:54PM -0400, Joel Hammer wrote: How do you start ntp? They are started through SYSV init. Can you hack up the init script to use the -d debug option? Or perhaps just invoke it directly (ntpd -d, that is) until you get it worked out. Okay, I did that, and the output does not seem to acknowledge the incoming request from glynnis. We see it has arrived by tcpdump, but the log in /var/log/messages, which contains much cryptic stuff about the hosts I'm using as time references, does not mention glynnis at all. Odd. ++ kevin Are there error messages somewhere? Not that I can tell. NTP is astonishingly quiet for system daemon. Most of the time, I like that behavior, but it can be a pita when something isn't working properly. Kurt ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Non-fixated CDROM
Nope, I'm just burning data. Mostly backups. ++ kevin On Fri, May 31, 2002 at 10:09:49PM -0400, Tim Wunder wrote: On Friday 31 May 2002 09:49 pm, Kevin O'Gorman wrote: I am using alpha10 now... snip Have you burned audio with it? Any problems? Audio CD's I burned with xcdroast using cdrecord were fine when used on a PC, but hosed when used on a CD player. I downlaoded and installed arson, which used cdrdao, and audio burns so far have been flawless. It even copies audio on the fly :-), Tim -- Caldera eWorkstation 3.1+, kernel 2.4.18-preempt, KDE 3.0.1, Xfree86 4.1.0 8:00pm up 6 days, 2:53, 5 users, load average: 0.73, 0.71, 0.72 It's what you learn AFTER you know it all that counts ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Shut UP! Konqueror
I'm really tired of seeing Konqueror every time I insert a CD. How do I shut it off without deleting everything I've grown used to about KDE? (This is the version that came with RH 7.1). ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Shut UP! Konqueror
That tab does not exist. I have only keyboard and mouse under Peripherals. I wonder where it went? ++ kevin On Fri, May 31, 2002 at 02:54:10PM +0200, Roger Oberholtzer wrote: In the KDE control center, check out the Peripherals-CD-ROM tab. Turn off 'Open on insert'. On Thu, 30 May 2002 14:55:48 -0700 Kevin O'Gorman [EMAIL PROTECTED] wrote: I'm really tired of seeing Konqueror every time I insert a CD. How do I shut it off without deleting everything I've grown used to about KDE? (This is the version that came with RH 7.1). ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Configure NTP - should be a snap, but it isn't
I configure NTP once every several years, so I cannot usually remember what's what. I've got a server that's been running NTP happily for years, seems to stay current, and I'm not going to mess with it. I've got another machine, glynnis, running RH7.1, and it has the NTP software, but I cannot get it to synchronize with my server. I've looked at my firewall rules, and it seems I have all traffic allowed between these machines, on local-only subnet: 192.168.1.0/24. NTP comes up on glynnis okay, but whenever I run 'ntpq -p' I get this, which tells me btrixie isn't being used, and that the local clock is being taken as the time source: (btrixie is an entry in my /etc/hosts file, equated to 192.168.1.148) [root@glynnis init.d]# ntpq -p remote refid st t when poll reach delay offset jitter == btrixie 0.0.0.0 16 u- 6400.0000.000 4000.00 LOCAL(0)LOCAL(0)10 u- 6400.0000.000 4000.00 * My configuration file is very simple. server 192.168.1.148 server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 driftfile /etc/ntp/drift multicastclient # listen on default 224.0.1.1 broadcastdelay 0.008 authenticate no Anybody have a clue? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Non-fixated CDROM
I am using alpha10 now, I have no idea what multisession would do for me, and what it has to do with fixating. This is becoming a way of life: there's so much interesting stuff to do I wouldn't have time to RTFM even if the FM had been written yet, which it hasn't. In any event, I've tossed the one CD that appeared to be unreadable, and located the iso again, and burnt it. I did find out that fixating puts a table of contents on the disk; why that's separate from the contents themselves is beyond my ken. I also had a quick email exchange with the author, who put me to rights about some of my stupidies (rightfully) and was still gracious enough to take two of my suggestions seriously. This is also a way of life, at least in Open Source. I love it. ++ kevin On Sat, Jun 01, 2002 at 11:17:02AM +1000, Keith Antoine wrote: On Friday 31 May 2002 06:37 am, you wrote: I'm just getting used to this version of xcdroast, but was doing a batch of CDROMs last night. In the process, I think once or twice I thought the recording was done while the fixating was in fact still going on, and I forced the drive open anyway. Now I don't know which ones this happened to. And I haven't a clue what 'fixating' really is, or what a CDROM would look like if that part of the process hadn't happened. Can anybody tell me what to look for? Meanwhile, I think I'll look up the software team and complain about that part of the GUI: it shows all 100% progress bars and I have to read the fine print to know I'm not done yet. This is 0.98alpha8, and I know it's a test release from a while back, but it's what I've got. ++ kevin You should be using alpha10 it does multisession now. -- Keith Antoine (GANDALF) aka 'skippy' 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161 Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Non-fixated CDROM
On Thu, May 30, 2002 at 04:40:20PM -0400, Net Llama! wrote: On Thu, 30 May 2002, Kevin O'Gorman wrote: I'm just getting used to this version of xcdroast, but was doing a batch of CDROMs last night. In the process, I think once or twice I thought the recording was done while the fixating was in fact still going on, and I forced the drive open anyway. Now I don't know which ones this happened to. And I haven't a clue what 'fixating' really is, or what a CDROM would look like if that part of the process hadn't happened. Can anybody tell me what to look for? According to the cdrecord man page, a disk that is 'fixated' has a TOC (table of contents) for the CD reader. You can use the -fix switch for a disk that has been written but not fixated. I assume you mean 'cdrecord -fix', but I'm reluctant to do that with a CDROM that _has_ been fixated, let alone one that was interrupted part way through. What I wanted to know was how to detect if this is the case; what symptoms of a missing/malformed fixation or TOC should I look for? -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Suspicious mail
I just got the oddest mail from someone I don't know. Not the usual spam, either. Here are the main headers From: donnagrove23 [EMAIL PROTECTED] Subject: Cellspacing Content-Type: application/octet-stream; name=Reso Certification Form.doc Content-Transfer-Encoding: base64 There follows only the encoded data of what may be a Word document. The subject of cellspacing would usually have a slight interest for me, but I have no idea what a 'Reso Certification' might be. Anybody else seen this? If so, you should probably ditch it, but I'm a bit curious. Not enough to unpack this thing, but curious anyway. ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: OT How many Boxen?
I've got a few: 1. My wife's PIII-450 running Win Me (she loves it, and it keeps her occupied and happy, so what the hell). Purchased from Pionex by way of a QVC daily special value. 2. My laptop (occasionally), and old P-150 from WinBook, dual booting Win98 and RH. I use it rarely any more, it used to be a workhorse. 3. My server, many time made over, none of the original parts left, originally purchased as a 486-33 at a computer show, back when I was running ESIX, and was networking by UUCP. It's now a P-133, 64MB (yeah, I know, a lame server, but it does enough), SCSI drives, Jaz, CDROM and 2 NICS 4. My personal machine, purchased from Pionex by way of QVC, also a daily special value. PIII-550, 256MB, mixture of IDE and SCSI drives. 2xJaz, CD-R, 2 NICS. Dual boots to Win 98 mostly to read photos off my digital camera, and for special runs of an application that doesn't run well for me under Win4Lin. The other boot is RH7.1 with Win4Lin (for quicken). 5. Linksys router to protect the Windoze machines, and provides a 100MB switch for the local machines to share stuff. That uplinks to a 10MB hub and thence to a DSL modem. There is thus an inner 100MB network and an outer 10MB network, which is why the Linux boxen have 2 NICs. ++ kevin On Wed, May 29, 2002 at 07:53:21AM -0700, [EMAIL PROTECTED] wrote: In order of size, but size isn't everything :) 1. AMD 350 running Caldera eD2.4 as webserver 2. Toshiba Sattellite Celeron 4?? running Win98SE 3. AMD 450 Win98SE and Libranet 2.0 4. AMD Duron 800 Win98SE Graphics and Webdesign 5. AMD 1800+ Win98SE, Libranet2.0, Elx pre-gold, Redmond (lycoris), whatever else I can think of to test out. Has an Epox MB, 2 60G hds and 1 gig ram. 6. assorted visiting machines including a Mac Laptop on occaision. All machines except the laptop are Ray-Built. The Webserver began as a P90 when Caldera first came out with eD2.4 and has only been down for upgrading the box and 2 power outages. Uptime as of today was 23 days. But the modem box says its been connected for 37 days. So the counter must have rolled over. Ray On 28 May 2002, at 17:17, Kurt Wall wrote: I was just curious how many and what kind of boxen people have on their home networks. For example, I have an AMD 1200 running Windows (yeah, whatever), a Pentium II running a heavily-modified Slackware 8.0, a Pentium III running an equally heavily-modified Slackware 8.0, and a Sparc5 running Solaris 2.8. Way OT, naturally... Kurt -- Cleaning your house while your kids are still growing is like shoveling the walk before it stops snowing. -- Phyllis Diller ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. Ray Nancy Plummer Copper, Elektra WOK http://www.nanray.cjb.net/gsdped/gsdbintro.html ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Strange Port hits
Yeah, that occurred to me, and may be how they did it. I was still learning SQLServer, didn't even know yet that there was an 'SA' account as separate from the Windows 'Administrator' account. So that's likely it. So I try not to be dumb, but it's hard not to be ignorant when I'm always learning new things. Now it does have a password, as well as a different port. I hope that's enough. ++ kevin On Tue, May 28, 2002 at 09:58:38AM -0700, Aaron Grewell wrote: Depending on when you installed and what SP you were at, the sa password defaults to being blank. On Mon, 2002-05-27 at 21:12, Kevin O'Gorman wrote: Oh, and I read the thing about Spida. The thing is, I didn't have any blank passwords on that machine. I try no to be that dumb. So I still don't know how they got in. ++ kevin On Mon, May 27, 2002 at 05:39:07PM -0400, Bruce Marshall wrote: I've been getting a lot of hits on port 1433 lately. This is something new in the last week or so. Anyone know of anything going on in the dark world of hackers that makes port 1433 a good target? The ports list shows that port is for Microsoft-SQL-server -- ++ + Bruce S. Marshall [EMAIL PROTECTED] Bellaire, MI 05/27/02 17:35 + ++ Farming looks easy when your plow is a pencil and you're a thousand miles from a cornfield. - Dwight D. Eisenhower ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Strange Port hits
Yes, it's SQLServer, and I had to reload a Win 2k system two weeks back that got infected, probably through that port. It wasn't exposing anything else (no Outlook, no IIS). Fortunately it was a research machine, and the data I really need on it is static, so reloading wasn't such a horrible chore. I no longer use the default port, and I'm hoping for the best, because I have no clue how to prevent it happening again if the culprit(s) detects the new port. So if you're running Linux I wouldn't worry all that much. ++ kevin On Mon, May 27, 2002 at 05:39:07PM -0400, Bruce Marshall wrote: I've been getting a lot of hits on port 1433 lately. This is something new in the last week or so. Anyone know of anything going on in the dark world of hackers that makes port 1433 a good target? The ports list shows that port is for Microsoft-SQL-server -- ++ + Bruce S. Marshall [EMAIL PROTECTED] Bellaire, MI 05/27/02 17:35 + ++ Farming looks easy when your plow is a pencil and you're a thousand miles from a cornfield. - Dwight D. Eisenhower ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Strange Port hits
Oh, and I read the thing about Spida. The thing is, I didn't have any blank passwords on that machine. I try no to be that dumb. So I still don't know how they got in. ++ kevin On Mon, May 27, 2002 at 05:39:07PM -0400, Bruce Marshall wrote: I've been getting a lot of hits on port 1433 lately. This is something new in the last week or so. Anyone know of anything going on in the dark world of hackers that makes port 1433 a good target? The ports list shows that port is for Microsoft-SQL-server -- ++ + Bruce S. Marshall [EMAIL PROTECTED] Bellaire, MI 05/27/02 17:35 + ++ Farming looks easy when your plow is a pencil and you're a thousand miles from a cornfield. - Dwight D. Eisenhower ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Disk got a bad block; what now?
It's been a very long time since this happened to me, but my root partition seems to have come down with a case of bad block in the inode table. SCSI drive, too, though a bit old (not sure, maybe 7 years; its 4GB). Fsck indicates the files affected aren't too numerous or critical, they are /root/.cpan/sources/authors /var/webmin/miniserv.pid /var/webmin/sessiondb.pag /var/webmin/sessiondb.dir I can live without these, or rebuild them, or reload them. Whatever. I've used 'cp -a' to move my root partition to another drive, and things are running happily. Now I would like to reclaim that partition. Is there a recommended incantation for getting that block into the bad blocks table without formatting the whole bloody thing? Should I just try writing on it and hope it doesn't sin any more? Should I worry about the whole drive going bad? ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Disk got a bad block; what now?
Thanks, these are the commands I was looking for. I'll probably ditch the drive before long, but it will be because it's just too small. And for that, I'm waiting because of money. ++ kevin On Fri, May 24, 2002 at 10:45:41PM -0500, Jim Conner wrote: As was suggested by another e-mail, the problem will just get worse, not better. But if you want to mark bad blocks use the following commands. badblocks -o bad_blocks_file fsck -l bad_blocks_file The best bet is to look at the file generated and see how many bad blocks there actually are. If you do this, I wouldn't use that partition for any mission critical stuff due to reliability. Jim On Friday, May 24, 2002 6:42, Kevin O'Gorman wrote: It's been a very long time since this happened to me, but my root partition seems to have come down with a case of bad block in the inode table. SCSI drive, too, though a bit old (not sure, maybe 7 years; its 4GB). Fsck indicates the files affected aren't too numerous or critical, they are /root/.cpan/sources/authors /var/webmin/miniserv.pid /var/webmin/sessiondb.pag /var/webmin/sessiondb.dir I can live without these, or rebuild them, or reload them. Whatever. I've used 'cp -a' to move my root partition to another drive, and things are running happily. Now I would like to reclaim that partition. Is there a recommended incantation for getting that block into the bad blocks table without formatting the whole bloody thing? Should I just try writing on it and hope it doesn't sin any more? Should I worry about the whole drive going bad? ++ kevin -- 9:42pm up 18 days, 11:03, 3 users, load average: 0.00, 0.00, 0.00 Running Caldera W3.1 - Linux - because life is too short for reboots... ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: What's the best filesystem battery-wise for laptops?
You also want to look for processes or cron jobs that hit the disk on a regular basis. For many distros, there's a statistics gathering thing that runs hourly (but leaves a daemon that comes alive every 10 minutes or so). This is a frequent culprit. ++ kevin On Fri, May 24, 2002 at 08:56:20PM -0700, Net Llama! wrote: Bob Raymond wrote: This question may have been asked before, and I apologize if it has, but my friend has a problem with battery life on his laptop. He only gets about fifty minutes to an hour in Linux, while in WindeXP, it's more like two hours. One thing I notice in Linux is that there's a lot more HD useage going on. Could this be because of the ReiserFS that's on there now? More likely because his system isn't properly tuned, or he's doing things that are I/O intensive. I've give 512MB of swap, other wise, he's going to use up all the physical memory swap, and then the system is going to grind to a hault, as it keeps paging in out of memory. He's coming over Sunday so I can install SuSE 8.0 (to replace 7.3) and I noticed XFS is one of the options. I know from personal experience that it is faster than ReiserFS, but how good is it on the batteries, or is the filesystem even the problem? The filesystem has little to no effect. I'd wager good money that windozeXP is not spinning up his HD to 5400rpm, and is halving his CPU clock speed in order to save power. apm can definitely help with this stuff in Linux (as could the BIOS, possibly), however the question comes down to whether he wants performance or battery life. Something else to consider is his kernel, which i really doubt was optimized for a mobile system, or his CPU. specs: Sager NP5620 Intel P4 1.8ghz ATI Mobility Radeon 7500 30GB 5400 RPM HD, Part. table: 8mb /boot /dev/hda1 That's a wee bit small. I'd give it at least 15MB. 15GB (approx). / /dev/hda2 256mb (approx). swap /dev/hda3 14GB (approx). /windoze/C /dev/hda3 256mb PC2100 DDR -- ~ L. Friedman [EMAIL PROTECTED] Linux Step-by-step TyGeMo: http://netllama.ipfox.com 8:50pm up 36 days, 3:43, 3 users, load average: 0.27, 0.23, 0.37 ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: OT postscript question: Justify text
It will work just fine if the font is monospaced, like Courier. This is often the case with enscript. ++ kevin On Sun, May 19, 2002 at 11:45:54PM -0400, Joel Hammer wrote: Well, I don't see how reformatting the text document, even with a perl script, can solve the problem of justification, since that will depend in part on the text font chosen, which perl may not know about. The solution may lie in enscript itself. I will write the author of enscript. That's one amazing aspect of open source; sometimes the authors write back. We'll see. Joel On Sun, May 19, 2002 at 08:53:35AM -0400, Joel Hammer wrote: Thanks for the pointers and the information. Unfortunately, I have to get back to my day job (even though is it Sunday). I will try out these ideas in a day or two. I'll let you know how they work. Joel ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: OT postscript question: Justify text
That is a laborious process in Postscript proper. The primitives are there to support it, but the real work is usually done by the application program that emits the postscript file. This makes sense, because the application knows how it wants it done, and there are a remarkable number of different ways to do it, when you take kerning and such into account. The relevant primitves are (besides knowing the font metrics for the font you're using) are the 'width' and 'moveto' operators. You find out how wide a given string will be when printed, then add space until the size is just right, then emit the line. Usually an application will precompute all this, then just emit the 'moveto' and 'show' operators. All the operators I put in 'primes' have several variants. My advice: don't try to do it in Postscript unless you're really ready for a steep learning curve. You'd be a bit better off modifying enscript, especially if you're outputting a constant-width font like Courier. ++ kevin On Sat, May 18, 2002 at 05:44:38PM -0400, Joel Hammer wrote: Does anyone know how to produce justified text in a postscript document? It sounds simple, but there is no reference to this option in enscript, and the two postscript manuals I downloaded from the internet don't have the word justify in them. Any insight appreciated, Joel ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: OT postscript question: Justify text
There's nothing very simple about using Postscript directly; it's not actually designed for that, it seems. You can indeed stretch the line with ashow, but be aware that this method only looks acceptable for VERY small amounts of added space. As the added amount gets bigger, you lose visual track of where the real spaces are. You're much better off with widthshow, but you'd have to count the space characters yourself. If you're going to stick with ashow, you can use the stringwidth operator to count characters, and divide the extra space among them. You might have to use the length-1; I've never tried it. If you want to count space characters, you probably want the forall operator. To count, try this: /countspace {32 eq {1 add} if} bind def /countspaces {0 exch {countspace} for} bind def (a b c) countspaces This should leave the integer 2 on the stack. But then I haven't tested it, so YMMV. ++ kevin On Sat, May 18, 2002 at 08:49:36PM -0400, Joel Hammer wrote: I want to justify simple text files, such as are output by vi. It is hard to believe it is so hard to do. When you say keep adding spaces until the line if filled, do you mean actually adding spaces to the string itself. Wouldn't that get you words on the same line which were unevenly spaced? If there were some way for the stringwidth command to return the lenght of a string that x y ashow or widthshow would put out in the current metric, then you could just write a loop to keep increasing x until the line were filled, however; I was unable to figure out how to get the width of a string put out by ashow, without actually ashowing it. Or, if there were a quick and easy way to increase the width of the glyph for space in the current metric, the same trick might be used. That is what I am going to be fooling with, I guess, fonts. Seems like it should be simple, to an amateur. Joel On Sat, May 18, 2002 at 03:53:44PM -0700, Kevin O'Gorman wrote: That is a laborious process in Postscript proper. The primitives are there to support it, but the real work is usually done by the application program that emits the postscript file. This makes sense, because the application knows how it wants it done, and there are a remarkable number of different ways to do it, when you take kerning and such into account. The relevant primitves are (besides knowing the font metrics for the font you're using) are the 'width' and 'moveto' operators. You find out how wide a given string will be when printed, then add space until the size is just right, then emit the line. Usually an application will precompute all this, then just emit the 'moveto' and 'show' operators. All the operators I put in 'primes' have several variants. My advice: don't try to do it in Postscript unless you're really ready for a steep learning curve. You'd be a bit better off modifying enscript, especially if you're outputting a constant-width font like Courier. ++ kevin On Sat, May 18, 2002 at 05:44:38PM -0400, Joel Hammer wrote: Does anyone know how to produce justified text in a postscript document? It sounds simple, but there is no reference to this option in enscript, and the two postscript manuals I downloaded from the internet don't have the word justify in them. Any insight appreciated, Joel ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: Linux Router's
On Thu, May 09, 2002 at 10:00:57AM -0700, Bill Campbell wrote: On Wed, May 08, 2002 at 09:48:18PM -0700, Kevin O'Gorman wrote: ... It's model BEFSR41 ver 2 from Linksys. There are indeed a lot of models, so I'm not all that sure of features. I've installed two of these, though, and they form the local 100MB LAN for in-house traffic in both places, as well as handling the uplink to the Cable/DSL modems (one of each). As I thought, that's their basic 4-port switch without VPN. The one I'm talking about is their model, BEFVP41, which has IPSec VPN capabilities. http://www.linksys.com/products/product.asp?grid=23prid=411 Bill Okay, I'm ready for an education. In what circumstances would VPN matter to me? Right now I assume VPN is virtual private network and guess that's only useful if you want to tunnel through the internet to another known private subnet that's an extension of the local one. ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: news
On Thu, May 09, 2002 at 02:48:50PM -0400, Jay Nugent wrote: Greetings, On Thu, 9 May 2002, dep wrote: http://computerworld.com/softwaretopics/os/linux/story/0%2C10801%2C71003%2C00.html?nlid=AM Gee... $15 Million in revenue is a Bad Thing(tm)??? Not the $18 Million they expected. What sort of P/E does the $15 mil represent? I would have to say that is GOOD news in light of the number of Linux distributions that tanked in the last 12 months. I'm afraid this comment displays a lack of understanding. $18M wasn't profit, but income. They lost money, which means they spent more than the $18M in the same time period. That's negative earnings, which makes P/E meaningless. If you want, you can look at Price/Sales ratios, but that also would miss the concern that these folks have lost touch with their economic realities. And I'm not at all suprised to hear they are cutting costs and letting go their Chief Technology officer. They are long overdue to perform a bit of 'restructuring'... --- Jay Maybe, but cutting the technology out of a technology company is rarely the road to success. ++ kevin -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: cgi help
It helps if you can hold off setting the reply headers until you know whether you have an error or not. If you can, then you can force the reply to be plain text, which makes debugging a bit easier, in general. It can be hard to do the right thing with an error message when you've already output 10,000 bytes of HTML and you don't know what part of the page you're on. In python, which I've used a lot for that purpose, my pattern on error goes something like this: import cgi def cgiput(s): ofile.write(%s\r\n % s) try: stuff except Exception, e: if debugging: cgiput(content-type: text/plain) cgiput(Status: 500 Internal Server Error) cgiput() cgiput(Cannot parse the PATH_INFO: %s % pi) sys.exit(0) If I'm debugging, this comes out as text, and I usually write a whole bunch of other stuff too. You can play with this in various ways, of course. YMMV. ++ kevin On Sat, Apr 20, 2002 at 09:46:23PM +, Richard R. Sivernell wrote: List I am now able to get access to my cgi program, but the error msgs that are returned are at best pathetic. Does any one know how to set return messages to give detailed info. tring to debug cgi program. cheers -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
Re: adsl modem directly connected to hub
You can do this if you have the right sort of ADSL contract. I have enhanced adsl which means 5 static IP addresses, and each host picks one. What you label internet is a direct connection to a router that knows to forward my 5 IP numbers down that pipe. With a basic ADSL setup, you probably don't get static IPs, so you get one each time you connect. Perhaps multiple machines can get one apiece. This depends on the ISP. Some of them register your MAC addresses, and won't allow this. However, you can replace the hub with one of the commercially available Cable/DSL routers and get the same effect without the ISP being able to tell. I got one by Linksys (because it also helps secure Windoze systems) from Office Depot for under US$100. ++ kevin On Fri, Apr 19, 2002 at 01:20:26PM +0800, m.w.Chang wrote: I have seen people claiming that one could share the internet link that way. internet | adsl/cable modem | hub -- workstations | server I just wonder: 1. how one should configure the linux to make that possible? Create a virtual ppp/eth device that talks to the adsl-modem via the hub? 2. is it secured to do so? ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL. -- Kevin O'Gorman (805) 650-6274 mailto:[EMAIL PROTECTED] Permanent e-mail forwarder: mailto:Kevin.O'[EMAIL PROTECTED] At school: mailto:[EMAIL PROTECTED] Web: http://www.cs.ucsb.edu/~kogorman/index.html Web: http://kosmanor.com/~kevin/index.html Life is short; eat dessert first! ___ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.