Linux-Misc Digest #192, Volume #27               Thu, 22 Feb 01 00:13:03 EST

Contents:
  Re: Default path to include .h header files under linux with gcc (Dowe Keller)
  Why I can't connect to internet without linuxconf-pppoe? (Carfield Yim)
  Re: where is dict? (Drew Roedersheimer)
  Re: How to make Linux slim? (Mike Castle)
  Another great Linux Hard Drive Mystery (mike)
  Re: ISO cd images, whats wrong here? (Rod Smith)
  Re: MS to Enforce Registration - or Else (Aaron Kulkis)
  Re: Size of LINUX ("Peter T. Breuer")
  Re: Size of LINUX ("Peter T. Breuer")
  Re: Size of LINUX ("Peter T. Breuer")
  Re: /bin/sh (Mark Post)
  Re: More Dial Up Woes In Suse Linux 6.0 ("Peter T. Breuer")
  Re: POP3 server error: -ERR being read already  (Mark Penkower)
  Re: More Dial Up Woes In Suse Linux 6.0 (Dean Thompson)
  Re: Sincronizing or mirroring ("sandy")
  hide the title of an app
  Print servers logging into Samba (Mark Penkower)
  Re: Staroffice 5.2 memory usage ("Harlan Grove")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Dowe Keller)
Subject: Re: Default path to include .h header files under linux with gcc
Date: 21 Feb 2001 19:14:07 -0800

Ramin Sina <[EMAIL PROTECTED]> wrote:
>
>Hi all,
>
>Suppose I have a C file with a header include statement  #include "foo.h". 
>Does anyone know what  path is searched to find this header file for Red 
>Hat 6.2 and Calder eDesktop 2.4? How do I change this path in my .bashrc?

The preprocessor will look in the current directory when the headers filename
is in double quotes.

#include "myio.h"

includes ./myio.h

#include <stdio.h>

includes /usr/include/stdio.h

-- 
[EMAIL PROTECTED]              http://www.sierratel.com/dowe
---
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmod 600 their files.
        - Book of Installation chapt 3 sec 7

------------------------------

Date: Thu, 22 Feb 2001 11:33:42 +0500
From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Why I can't connect to internet without linuxconf-pppoe?

After I upgrade rp-pppoe to version 2.8.1, I have edit the config files
at /etc/ppp as  the read me file say. However, I can't connect to
internet. Then I try to use linuxconf-pppoe to connect to internet. It
work, then I check the config files at /etc/ppp to see what wrong I
make, but seem to me that the config file haven't change at all. Can
anyone tell me what linuxconf-pppoe do? I would like to able to connect
to internet without the help of linuxconf-pppoe


------------------------------

From: [EMAIL PROTECTED] (Drew Roedersheimer)
Subject: Re: where is dict?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 22 Feb 2001 03:39:12 GMT

On Wed, 21 Feb 2001 21:36:48 -0500, Sudhakar R. wrote:
>i have a RH 7.0 box. could you please tell me where is the dictionary file
>located. i cudn't find it under /usr/dict/ !
>thanx
>-sud
>
>


I don't run Redhat, but on my Debian system, I found it in /usr/share/dict

I would cd to /, and run the following: `find -type d -name dict 2>/dev/null`
or something similar.  That should find it for you in no time...


HTH
-DR

------------------------------

From: [EMAIL PROTECTED] (Mike Castle)
Subject: Re: How to make Linux slim?
Date: Wed, 21 Feb 2001 19:16:57 -0800

In article <[EMAIL PROTECTED]>,
Dustin Puryear <[EMAIL PROTECTED]> wrote:
>>Squid           caching http proxy, 3 megs RAM-cache, 100 megs disk-cache, 4
>>                win98 clients
>
>Your real problem is probably trying to run Squid on a system with 16MB of
>RAM. Increase the RAM to 32MB or kill Squid.


Would apache at a cache work better in this memory configuration?

mrc

-- 
       Mike Castle       Life is like a clock:  You can work constantly
  [EMAIL PROTECTED]  and be right all the time, or not work at all
www.netcom.com/~dalgoda/ and be right at least twice a day.  -- mrc
    We are all of us living in the shadow of Manhattan.  -- Watchmen

------------------------------

From: mike <[EMAIL PROTECTED]>
Subject: Another great Linux Hard Drive Mystery
Date: Wed, 21 Feb 2001 22:57:47 -0500

Hi,
    I have Redhat 5.1 installed on an old Fujitsu 428mb hard drive
on a 486 DX2-66 Gateway with 16mb ram. It works well. I decided
to try to upgrade it with Redhat 6.2. When I try to do the upgrade,
the installation program says that it can't find the hard drive. I
tried Redhat 6.1 and it says there are no Linux partitions on the
drive. I tried to do a clean install of either and it comes up with
an error indicating that it can't recognize the drive. Since
nothing actually got installed in this whole process, my
Redhat 5.1 still boots and works fine.

                                                        Thanks
                                                                Mike


------------------------------

From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: comp.os.linux,comp.os.linux.redhat
Subject: Re: ISO cd images, whats wrong here?
Date: Thu, 22 Feb 2001 04:04:43 -0000
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Larry Clark <[EMAIL PROTECTED]> writes:
> I down loaded the ISO image of redhat 6.2 and it was successful, and I
> am able to burn it onto CD and I can change directories and look at all
> directories, but when I try to go ahead and load it but typing:
> autoboot, I get the : cdr-101 not ready reading drive d: abort, retry,
> fail?

This is clearly a DOS/Windows error message. It might reflect a problem
with the CD-R (a bad burn, data corruption in the download, etc.), or
it could be an incompatibility or bug in the DOS/Windows autoboot
program. If the latter, an easy solution is to start the Linux
installation in some other way, such as by booting the CD-R disc
directly (if your computer's BIOS supports this) or by creating an
installation boot floppy and booting that. Both these options
completely bypass DOS/Windows in the installation process. If you get
strange problems during installation, then you might look at more
fundamental problems. (If you've still got the image file on disk,
though, you could try generating an MD5 sum for it and comparing it to
the recorded MD5 sum from wherever you got the image, to check that the
download was at least error-free. I don't know offhand where you'd get
an MD5 sum-generating program for Windows.)

> also the html docs are all blank....what am I doing wrong here?

It's possible they're actually symbolic links to other files. These
won't show up correctly on Windows, but they'll work fine from Linux.
It's also possible that this is an indication of a corrupt download or a
bad burn (bad CD-R media, glitch during the burn process, etc.). I just
checked my RH 6.2 CD and didn't see any symbolic-link HTML files, but
there are a LOT of those files, and I didn't check them all. Also, yours
might have been mastered differently than mine, so what's on mine may
not be a good indication of what you should be seeing.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

------------------------------

From: Aaron Kulkis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Wed, 21 Feb 2001 23:14:47 -0500



Donovan Rebbechi wrote:
> 
> On Thu, 22 Feb 2001 00:47:46 -0000, [EMAIL PROTECTED] wrote:
> 
> >>On the contrary, creating a society that hands out rewards on the basis
> >>of inheritance and not merit is a great way to create an aristocracy.
> >
> >       That still doesn't eliminate the fact that you are still
> >       fucking with people's motivations to be productive.
> >       Stealing from productive people to too great a degree
> >       ends up being counterproductive.
> 
> The fact that they won't have as much money after they die is unlikely
> to kill their motivation to work hard.

Really?

1. So, what you're saying, is that, after you die, you intend to pass
on absolutely NOTHING of value to your children and/or grandchildren?

You would rather see anything left over go to the government


2.  Death Taxes are the LEADING cause of failure for businesses 
that last more than 10 years....not to mention an INCREDIBLE burden
upon farming families.


> 
> I agree with the basic thrust of this statement though -- it's important
> that there's an incentive to be productive.
> 
> >       Plus, this occurs even in the presence of inheritance taxes.
> >       The children of the wealthy still derive benefits from merely
> >       being born to the right parents.
> 
> Of course. So what ? I don't think it's possible or desirable to
> completely level the playing field -- the measures required to
> do so would be draconian.
> 
> > You don't stop the formation
> >       of aristocracy with death taxes.
> 
> If you use the money to fund a decent public education system, you

Fuck that all your socialist, bureacrats-can-do-no-wrong bullshit.

We give enough money to the public education system in this
country to properly educate 5x the current number of students.


Look at the public pducation system in the United States.
Despite the fact that we spend *MORE* per pupil than any other
nation in the world, "Decent" is not the word to describe it.

Educational Malpractice would be a better term.

> have something which is of greater resemblence to a meritocracy. The
> rich kids have an advantage, but not an exclusive lock.

Welcome to fucking reality.  Now, try dealing with it, rather than
pretending that it magic-fairy-dust is all that's needed to cure it.


> 
> --
> Donovan Rebbechi * http://pegasus.rutgers.edu/~elflord/ *
> elflord at panix dot com

-- 
Aaron R. Kulkis
Unix Systems Engineer
DNRC Minister of all I survey
ICQ # 3056642


H: "Having found not one single carbon monoxide leak on the entire
    premises, it is my belief, and Willard concurs, that the reason
    you folks feel listless and disoriented is simply because
    you are lazy, stupid people"

I: Loren Petrich's 2-week stubborn refusal to respond to the
   challenge to describe even one philosophical difference
   between himself and the communists demonstrates that, in fact,
   Loren Petrich is a COMMUNIST ***hole

J: Other knee_jerk reactionaries: billh, david casey, redc1c4,
   The retarded sisters: Raunchy (rauni) and Anencephielle (Enielle),
   also known as old hags who've hit the wall....

K: Truth in advertising:

        Left Wing Extremists Charles Schumer and Donna Shelala,
        Black Seperatist Anti-Semite Louis Farrakan,
        Special Interest Sierra Club,
        Anarchist Members of the ACLU
        Left Wing Corporate Extremist Ted Turner
        The Drunken Woman Killer Ted Kennedy
        Grass Roots Pro-Gun movement,


A:  The wise man is mocked by fools.

B: Jet Silverman plays the fool and spews out nonsense as a
   method of sidetracking discussions which are headed in a
   direction that she doesn't like.
 
C: Jet Silverman claims to have killfiled me.

D: Jet Silverman now follows me from newgroup to newsgroup
   ...despite (C) above.

E: Jet is not worthy of the time to compose a response until
   her behavior improves.

F: Unit_4's "Kook hunt" reminds me of "Jimmy Baker's" harangues against
   adultery while concurrently committing adultery with Tammy Hahn.

G:  Knackos...you're a retard.

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Size of LINUX
Date: Thu, 22 Feb 2001 05:10:12 +0100

Rolie Baldock <[EMAIL PROTECTED]> wrote:
> Do you talk "Ancient Swahili" like Peter? Well I haven't a clue what

If you are trying to be insulting, you would do better than show that
you don't know what the common terms that relate to your objectives mean,
or how to look them up in the jargon file or in your disk if you truly
do not know.

> he's talking about with the "nfs" and "mail storm". Since my LAN works

There are NFS-HOWTOs and Mail-HOWTOs on your linux disk and all over the
net. If you do not understand the words, stick your nose in there,
instead of out here.

NFS is "network file system", which is presumably what you are trying
to provide. What other service can you possibly be taking about? Mail?
In that case, you will find out what a "mail storm" is very rapidly,
as soon as your disk becomes full and error messages start bouncing
back to you, and error messages about the error messages bouncing ...

> OK as is perhaps I should forget LINUX. That is the feeling I get from
> these messages.

Which is odd, since everyone is telling you that you have to make no
changes in anything, and just put the distro on there, and quit
vascillating. What harm can you do?

> On Wed, 21 Feb 2001 00:57:47 GMT, [EMAIL PROTECTED] (Grant Edwards)
> wrote:
>>While running Linux on a 485-33 with 8/50 is an interesting
>>exercise, if you really need the box to do useful work,
>>upgrading is probably worth the effort.

But his statement is that he does not care whether they can do work or
not. He considers the cpu limitation not to be a problem. And indeed it
isn't if no work is to be done.

Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Size of LINUX
Date: Thu, 22 Feb 2001 05:17:52 +0100

Rolie Baldock <[EMAIL PROTECTED]> wrote:
> Like I said before I simply do not understand your message.

> What you mean by 2507   /bin
> and 3460    /boot

I am simply showing you the data of how much space the subdirectories of
/ take, in order that you can help yourself to make judgements.  It's a
fact.  It has no intensional semantics of its own.

If there is a message in my choosing to show you that data, it is that
you need about 26MB to install a standard debian distro with and then
you can start hacking away the dross.  Additional info: you should end
up with about 8MB in use by the system in the end, when finished with
the carving knife.

> On Wed, 21 Feb 2001 01:04:07 +0100, "Peter T. Breuer"
> <[EMAIL PROTECTED]> wrote:
>>Debian is easily cuttable to 8MB.  My / partition on standard debians
>>runs about 26MB, including several kernels and modules.  Just hack that
>>(or a slackware) down a bit.
>>
>>2507  /bin
>>3460  /boot
>>26    /dev
>>8002  /etc
>>1     /floppy
>>201   /home
>>19663 /lib
>>2452  /sbin
>>


Peter

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Size of LINUX
Date: Thu, 22 Feb 2001 05:19:49 +0100

Rolie Baldock <[EMAIL PROTECTED]> wrote:
> OK...OK... I have a few spare 127 Mb IDE drives and there are a few
> more down at the shop and I can find a couple of 16Mb simms to insert
> in the servers. But is is so difficult to get LINUX to work as a file
> server ONLY with this hardware set up? Moreover is it worth the

No, as everyone keeps telling you, you need make no changes.

> trouble? I have dedicated DX2-66s (plenty of them) for dedicated jobs
> so I ONLY need the servers to do that, NOTHING ELSE.

What is the "that" in "do that"? NFS?

Peter

------------------------------

From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: /bin/sh
Date: Thu, 22 Feb 2001 04:42:49 GMT

On Wed, 21 Feb 2001 13:18:27 +0100, Christopher Albert
<[EMAIL PROTECTED]> wrote:

>You guys have got me all wrong.
>I love bash. I am a bashophile.
>I just want to know if 
>Linux + /bin/sh = /bin/bash
No, not necessarily.  It depends on what the person who installed Linux made
the 'default' shell.

>I've written some init scripts to run
>an application as a service on linux, which I posted
>to a developpers list. Some have questioned the fact
>that i used bash syntax for the script which has the
>shebang #!/bin/sh, which to old unix hands means plain
>vanilla Bourne, and there's stuff you do with Bash that
>doesn't work on ol' Bourne. 
>I want to claim that on Linux /bin/sh is Bash by default.
>Am I wrong?

Yes, you're wrong.  On one of my friends systems, /bin/sh points to csh.
Another's has tcsh pointed to by the symlink.  As others have pointed out,
it would be far easier just to code #!/bin/bash and be done with it.  You'll
get what you want, the people who are criticizing the use of #!/bin/sh will
get what they want.  Everyone's happy.

Mark Post

Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.

------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux.suse,comp.os.linux.networking
Subject: Re: More Dial Up Woes In Suse Linux 6.0
Date: Thu, 22 Feb 2001 05:36:14 +0100

In comp.os.linux.misc Linus Rees <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "David Ayliffe" 
> <[EMAIL PROTECTED]> wrote:

>> My modem still doesn't work.  It dials and verifies but I can get NO web
>> pages and any ping (even to an IP address) doesn't work; it comes back
>> network unreachable. I have set up the DNS server details in YaST.

Show your routing tables (/sbin/route -n). Also your interface
configurations (/sbin/ifconfig -a).

> You have my deepest symapathies. But I've got a similar problem, so I'm 
> unable to help. I just wanted to tell you, by way of some comfort, that 
> you're not the only one.

Peter

------------------------------

From: Mark Penkower <[EMAIL PROTECTED]>
Subject: Re: POP3 server error: -ERR being read already 
Date: Thu, 22 Feb 2001 04:48:28 GMT



Brian Cochrane wrote:

> I hope someone can help me figure this out... web searches have so far
> proven less than helpful.
>
> The problem I'm having is when trying to fetch mail from my Linux box
> with a POP3 client, I get the following error:
>
>     -ERR being read already /usr/spool/mail/brian
>
> If I telnet to port 110 and authenticate with USER and PASS, it gives
> the same error.  I have discovered that if the maildrop
> (/var/spool/mail/brian) is not present or is zero bytes, then I get
> this:
>
>     +OK 0 messages ready for brian in /usr/spool/mail/brian
>
> I have searched high and low for any stale lockfiles (in /tmp, /var/tmp,
> /var/lock, var/spool/mail) and have found none.  I've even gone as far
> as killing sendmail in case it was locking the maildrops...no luck.  ps
> -ax shows no process that I can imagine would have any reason to lock
> the maildrops.
>
> A little background information:
>     /usr/bin/in.pop3d tells me it's version 1.005l (that's a lowercase L
> at the end, not a numeral 1).
>     permissions on /var/spool/mail: drwxrwxr-x, user:root, group:mail
>     permissions on /var/spool/mail/brian: -rw-rw----, user:brian,
> group:mail
>     kernel is v2.0.34 (yes, I know it's old...but I had POP3 working on
> this box before)
>     distribution is Slackware v3.5.0
>
> I'd love to get this working, but I'm out of ideas.
>
> Thanks,
> Brian Cochrane
> [EMAIL PROTECTED]

Go to var/tmp/.pop (if you go to var/tmp and type in ls, it will not show
.pop . is a unix file naming convention for a hidden file.

Whyen you are in var/tmp/.pop  - delete the file with the users name that
you are having problems with.

This will fix the problem.  This problem is usually caused by the user, when
they have a large amount of email in their box. - they click on "get mail"
from their email client - Netscape Eudora or whatever - the message flashes
across the screen that says "contacting pop server - then - "getting
messages" - the user can not wait, and clicks on "cancel."  Tell your users
not to do this.

Mark Penkower



------------------------------

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux.suse,comp.os.linux.networking
Subject: Re: More Dial Up Woes In Suse Linux 6.0
Date: Thu, 22 Feb 2001 15:49:46 +1100


Hi David,

> My modem still doesn't work.  It dials and verifies but I can get NO web
> pages and any ping (even to an IP address) doesn't work; it comes back
> network unreachable. I have set up the DNS server details in YaST.

Some quick questions and I know that others have been helping you as well, but
you do have the "defaultroute" keyword in your PPP options file. 
Additionally, you say that your modem dials and verifies, but do you know
whether or not it has made a final connection.

Sometimes, scripts (if it is a script) fail in silence, and what might
actually be happening is that your script needs to send something else (like a
"ppp" followed by a carriage return).  Have you looked at the verbose output
from your chat script to ensure that it says something like:

"Starting PPP" or "Starting datalink...." or some other message which
indicates that the ISP provider is sending the appropriate PPP traffic.

See ya

Dean Thompson

--
+______________________________+____________________________________________+
|   Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
|   Bach. Computing (Hons)     | ICQ     - 45191180                         |
|   PhD Student                | Office  - <Off-Campus>                     |
|   School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
|   MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
|   Melbourne, Australia       |                                            |
+------------------------------+--------------------------------------------+

------------------------------

From: "sandy" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.help
Subject: Re: Sincronizing or mirroring
Date: Thu, 22 Feb 2001 04:52:08 GMT

I use wget for synchronizing files with a remote site, works fine.
I can't use rsync because of firewall.  wget goes through the ftp
proxy on the firewall just fine (use passive mode switch).  Only
problem is it doesn't have the --delete switch that rsync has so I
had to write a script to delete old files that no longer exist on the
remote site.  If interested I'll pass script on.

Keith

"Kelvin Chow" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> wget does mirroring.  However, it does not do syncronizing.
>
> On Tue, 20 Feb 2001 05:47:24 -0600, Abraxas <[EMAIL PROTECTED]> wrote:
> >A part from rsync , which other tools are good to sincronize or mirroring
> >directories for remote servers?
> >
> >Thanks.
> >
> >
>
>
> --
> Kelvin Chow <[EMAIL PROTECTED]>
>
> ...please remove NOSPAM when replying



------------------------------

From: <[EMAIL PROTECTED]>
Subject: hide the title of an app
Date: 22 Feb 2001 04:47:28 GMT

Hi,
I want to know how to hide the title bar of an application?
e.g. I just want to show the main window (the box icon) of the
xmailserver.
---- Brittle

------------------------------

From: Mark Penkower <[EMAIL PROTECTED]>
Subject: Print servers logging into Samba
Date: Thu, 22 Feb 2001 04:59:49 GMT

This is weird,

I just set up my samba machine - I have not yet figured out all of the
permissions, but I gen have people log in to /home/public as guest.

I looked at the samba log files, and I noticed that 2 of my Print
Servers (running hp Jet Diect (tcp-ip) printing) logged on to the samba
server - I did not give the machines user or samba accounts - WHY is
this happening?

Mark Penkower




------------------------------

From: "Harlan Grove" <[EMAIL PROTECTED]>
Subject: Re: Staroffice 5.2 memory usage
Date: Thu, 22 Feb 2001 05:07:16 GMT

Dan Smith <[EMAIL PROTECTED]> wrote:
>I am using Staroffice 5.2.  I noiced that it uses like 700MB of ram
>while running.  What's the deal?
>
>How can I reduce it?  Does it use that much on everyone's machine?  I
>have 512MB RAM and a lot of swap.  Is it using so much because I have
>so much?

StarCalc is a pig. It'll use every last bit of real and virtual memory,
bring your system to a grinding halt and basically be the bane of your
existence. Other than that it's a fine application.

I haven't used the other apps to any great extent. If Deja hadn't died I
could have pointed you to some threads in comp.apps.spreadsheets that
compared various linux spreadsheets. For spreadsheets at least, Applix
Spreadsheet is reliable, not too piggish in resource usage and close to
full featured. For absolute reliability and modest resource usage, use
AIS's Xess. If it's other applications you use, I'd guess Applix would
be the way to go.

There are the suites bundled with Gnome and KDE, but they're not
depedable (though the trade-offs between them and StarOffice in terms of
reliability and features vs resource usage and raw capacity` may make
them worthwhile if you want free software).


------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to