Linux-Misc Digest #835, Volume #18 Sun, 31 Jan 99 06:13:14 EST
Contents:
manually upgrading to glibc2 ? ("Dr. Greanthumb")
Re: encrypted file system (jamie)
Re: Ethernet vs. Mouse Probs (Ed Young)
Re: [Q] Bogo mips shrinked!? (Jinhyok Heo)
Re: Advice for Microsoft-haters ([EMAIL PROTECTED])
Re: newbie GCC problem (Neil)
Re: Trouble with 2.2 kernel (Byron A Jeff)
Re: Linux Firewalling Article submissions (Tim Moore)
Re: OpenSSL ("Jeff Smith")
PPP (Ryan Parker)
Re: gcc gives fatal signal 6 - Help! ("George G")
Re: ldd result question (zc)
Re: libm.so.4? (Stefan Davids)
a samba what if question (Pete)
----------------------------------------------------------------------------
From: "Dr. Greanthumb" <[EMAIL PROTECTED]>
Subject: manually upgrading to glibc2 ?
Date: Thu, 28 Jan 1999 16:55:27 +0100
Does it make sense to download the latest glibc-2.0.7pre6.tar.gz and install
it or is it better to go for an all new distribution ? Is a ./make install
enough;-) or is it too difficult for a "normal" Linux user ? If it�s easy to
upgrade, so is installing glibc2...tar.gz sufficient to run glibc2 based
apps ? I just want to be able to run glibc2 apps and may want to use some
2.2.0 features that need glibc. Thanx in advance !!!
------------------------------
From: [EMAIL PROTECTED] (jamie)
Subject: Re: encrypted file system
Reply-To: [EMAIL PROTECTED]
Date: Fri, 29 Jan 1999 17:49:09 -0600
Martin Dickopp <[EMAIL PROTECTED]> wrote:
>
>You might need to protect files from others who have physical access
>to the machine.
>
>> Are you worried about other users seeing them? Then create (or get your
>> sys-admin) to put you in a separate group.
>
>With physical access to the machine, it is easy to log in as `root'
>without password.
linux's zip can make passworded zip files, just as pkzip does.
This might not be as convenient as a passworded file system,
but it might do the job.
--
jamie ([EMAIL PROTECTED])
"There's a seeker born every minute."
------------------------------
From: Ed Young <[EMAIL PROTECTED]>
Subject: Re: Ethernet vs. Mouse Probs
Date: 30 Jan 1999 23:33:45 GMT
Drop your ethernet card (again). Reboot, see if your mouse
comes back. Check its irq. If it is the same as your
ethernet card you will have to change the irq setting
on either to a currently unused irq. Some ethernet cards
come with eprom. You can use an (ugh) windows program
that comes with it to make the changes. You may be able
to change irq's with simple jumper changes. Best of luck...
nonet@chain wrote:
>
> Hi,
> Well, I've discovered the power of RTFM, and got my
> ethernet card working. (I had to set some LILO params
> at boot; tricky!)
>
> Now, I'm stuck again. My mouse is not responding in X.
> It worked before, so I'm guessing my ethernet card now
> has the IRQ. Now, I tried:
>
> cat /proc/interrupts
>
> and didn't see the mouse listed. How should I go about
> trouble shooting this one? Any pointers would be greatly
> valued.
>
> Cheers,
>
> A *nix Convert
>
> P.S.--Now that I got the ethernet card working, I'd like
> to let other computers mount the file system (I've got a
> lil LAN and hub going, which I'm slowly converting from
> netBIOS to DNS.) Any quick-start suggestions on how to
> get this up? I plan to read more on this, but thought it'd
> be a treat to just get that part working.
>
> The LAN has: Dual PII, RH5.1, kernel 2.2.1, 10BaseT
> P200, Win NT (soon to be FreeBSD!!)
> P75, RH5.1, kernel 2.2.1, 10BaseT (the
> problem computer right now).
>
> You guys rock,
------------------------------
From: [EMAIL PROTECTED] (Jinhyok Heo)
Crossposted-To: comp.os.linux.portable
Subject: Re: [Q] Bogo mips shrinked!?
Date: 31 Jan 1999 08:00:38 GMT
Reply-To: [EMAIL PROTECTED]
Thank you for your concerns.
But my bogo mips didn't change. It's still around 28.
I did kernel configurations(2.0.36) several time. I did that with rpms and
tgz. I mean I tried several sources.
But it doesn't work at all.
Well, actually I just got the kernel panic regarding to VFS or things like
that. The worse news is that before kernel panic I saw that my bogo mips was
the same as before.
I remember that my bogo mips was normal. But I don't know when it is changed.
BOGO mips screws up my whole weekends. :(
--
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
_/ ...Jinhyok.Heo......................Undergraduate.... _/
_/ ...School.of.Civil,.Urban.&.Geosystem.Engineering.... _/
_/ ...Seoul.National.University....Republic of Korea.... _/
_/ .mailto.:[EMAIL PROTECTED] _/
_/ [EMAIL PROTECTED] _/
_/ .whoami.:.have.any.question?.feel.free.to.ask.me :).. _/
_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Advice for Microsoft-haters
Date: Sun, 31 Jan 1999 08:39:39 GMT
In article <78v9lp$hoc$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Chris <[EMAIL PROTECTED]> writes:
>
> >And I can't believe Intel engineers couldn't understand why they could
> >do this. They must be blind. Cheaper labor, No unions, People who are
> >happy to have a job and will do anything to keep it.
>
> I guess the following statistics are not true, then:
>
> USA Japan
> ---------------------------------------------------
> union membership
> in total workforce 15.5% 24.2%
>
> average income per
> household $41,428 $53,420
>
> average income $15,930 $14,438[1]
> per capita $17,806[2]
>
> average income $31,671 $33,471[2]
> per working head
>
> average workweek 39.1h 38.2h
>
> yearly rate of
> industrial deaths
> per 100.000 6.4 2.8
>
> GNP / capita $25,850 $37,560
>
> Unemployment 6.1% 2.9%
>
> [1] Using average household size of 3.7 (given with the figure on average
> per household income)
> [2] Using average household size of 3.0 (given earlier, and much more in
> line with the ratio of 125,000,000 population vs 40,000,000 households,
> particularly as that is 1995 population and 1990 households)
>
> >Seems like a no brainer to me.
>
> Seems to me like someone needs to do a bit of research before shooting
> off his mouth.... Both union membership and productivity seem to be
> roughly 50% higher in Japan than in the US. (Yes, of course that is
> a simplistic way of interpreting these numbers. But at least it takes
> the numbers into consideration at all!).
>
> Bernie
>
> P.S.: The above numbers were taken from the 1998 CD edition of the
> Encyclopedia Britannica, which just so happens to be published
> by a US company.
Thanks for adding that last bit. It pretty much invalidates your entire
argument. The U.S. lost market share in chipmaking back in the 70s, not in
1998. Things have changed a LOT in the last couple of decades. Japan used
to be able to make cars very cheaply; the above figures give a good
indication as to why. Why don't you go research how much the Japan column
has increased in the last couple of decades? Also, Japan isn't the only
oriental country out there making chips. Check out Taiwan. Maybe you
should...ummm...do some more research before shooting off your mouth. Anyone
can quote figures...they really ought to be MEANINGFUL figures, though.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Neil <[EMAIL PROTECTED]>
Subject: Re: newbie GCC problem
Date: 30 Jan 1999 16:29:38 PST
You might want to just rename the .C programs.
from the prompt: mv program.C program.c
Do this for each .C program.
Gary Helbig <[EMAIL PROTECTED]> wrote:
: Hello,
: I'm having a little problem with gcc (RedHat 5.2 install)
: If I try to compile a program that ends in '.c', all is OK.
: If I try to compile a program that ends in '.C', I get an error:
: gcc: installation problem, cannot exec `cc1plus': No such file or directory
: I found this while trying to "configure" a Makefile for a
: program I downloaded.
: Any clues?
: TIA,
: Gary.
------------------------------
From: [EMAIL PROTECTED] (Byron A Jeff)
Subject: Re: Trouble with 2.2 kernel
Date: 30 Jan 1999 19:28:40 -0500
In article <78tc44$[EMAIL PROTECTED]>,
Shaygetz <"s m c q u a l e"@i x.n e t c o m.c o m> wrote:
-Dan Nguyen wrote:
->
->
-> Did you run lilo after you copied your zImage?
-
-This is slightly off the topic, but I had a strange
-experience yesterday when I compiled and installed
-the new kernel (2.2.0).
-
-I copied my new zImage up to root directory, changing its
-name to /vmlinuz, and in the process effectively "overwriting"
-the previous image (a hacked v.2.0.35 kernel). I ran lilo,
-did a little tweaking of lilo.conf, and rebooted. Here is the
-interesting part: it booted the old kernel! I could tell, of
-course, both, because of the "Welcome to . . ." string that
-uses uname to display the working kernel version, and because
-it coughed during bootup when it tried to read my NTFS partition
-(a major reason I updated to v2.2.0). Technically, the old
-kernel was gone, so it shouldn't have been able to boot it
-up (actually, I still had a copy of the older kernel in a
-stash I had created, named, appropriately enough, /kernel --
-but my lilo.conf does not have any pointer to it.)
-
-This is my theory (...which is mine...etc): I have NT on my
-machine, and I use the NT boot loader up on top in a vfat
-partition. To boot Linux, I had done the routine using a boot
-sector image using dd (etc etc), which is referenced by
-boot.ini. I hadn't yet created a newer copy of bootsect.lnx
-to work with the new kernel (okay, so I forgot). Here is the
-actual theory: the old bootsect.lnx was still pointing to
-the old kernel, which still (theoretically) existed
-_physically_, if not logically, in the Linux root partition.
-Moreover, theoretically, if I had continued to work in
-Linux -- using this "phantom" kernel, or by booting from
-the boot floppy (as I had the foresight to compile with
-the command, "make zdisk") -- it would eventually be overwritten,
-and I would then be unable to boot using the old bootsect.lnx.
You are right on the mark. LILO maps the file at the sector level and loads
the file from a sector map. Deleting the file did not delete its data sectors
but just made them available to the FS. Eventually the FS would have
reallocated them destroying your kernel and making Linux unbootable.
BAJ
------------------------------
Date: Sun, 31 Jan 1999 00:23:59 -0800
From: Tim Moore <[EMAIL PROTECTED]>
Subject: Re: Linux Firewalling Article submissions
It's obsolete.
http://www.linuxhq.com/wonderful22.html
> The list keeps going, however. Linux 2.2 will have an excellent new
> networking core, new tunneling code, a completely new firewalling and
> routing system called 'ipchains', support for limiting bandwidth
> consumption, and a ton more. It's just amazing. I wish I could keep track
> of it all. (But, who am I kidding?)
> I have been running Linux for a little over a year and have been
> using ipfwadm as a primary means of packet filtering for a majority
> of the time. I am writing an article for a security magazine that
> deals specifically with "Linux Firewalling" and I have chosen to
> focus on ipfwadm as the leading method and I have used the
> following criteria to make my decision:
--
[Replies: remove the D]
"Everything is permitted. Nothing is forbidden."
WS Burroughs.
------------------------------
From: "Jeff Smith" <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Re: OpenSSL
Date: Sun, 31 Jan 1999 01:09:47 -0800
Your system type is linux-elf..
Jeff Smith
Network Administrator
WebPajamas Internet Hosting Services
Jeff Grossman wrote in message <[EMAIL PROTECTED]>...
>Hello,
>
>I am trying to install OpenSSL so I can install the SSL version of
>Apache. But I am stuck on one part of the install process for
>OpenSSL. The line says "./Configure 'system type'". What do I put in
>system type? I am running Red Hat 5.2.
>
>Thanks,
>Jeff
>---
>Jeff Grossman ([EMAIL PROTECTED])
------------------------------
From: Ryan Parker <[EMAIL PROTECTED]>
Subject: PPP
Date: 31 Jan 1999 07:14:07 GMT
Hello Everyone,
I have made a Perl Script that configures all of the files needed to
connect to the internet w/ PPP. It is really easy to use. You can get it
at http://www.panthersfootball.com/ppp/linuxinst.tar.gz. If you have any
questions/comments, e-mail me @ [EMAIL PROTECTED]
Ryan Parker
([EMAIL PROTECTED])
------------------------------
From: "George G" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux.slakware,alt.os.linux
Subject: Re: gcc gives fatal signal 6 - Help!
Date: 31 Jan 1999 08:42:56 GMT
Let me guess - you're running Slack 3.4 (installed off a CD set), and are
trying to compile Samba?
If not, ignore this post.
George
Jeremy <[EMAIL PROTECTED]> wrote in article
<78tlli$qc0$[EMAIL PROTECTED]>...
> Whenever I try to compile something, gcc gets a fatal signal 6 error. I
> have an Intel Celeron @ 374, 128MB SDRAM, a 4gig linux partition, and
110MB
> Swap space. What could possibly be causing this error? HELP!
> Thanks,
> -Jeremy
>
>
>
------------------------------
From: zc <[EMAIL PROTECTED]>
Subject: Re: ldd result question
Date: Sun, 31 Jan 1999 01:28:44 -0500
Reply-To: [EMAIL PROTECTED]
Matthias Warkus wrote:
>
> It was the Thu, 28 Jan 1999 18:45:52 -0500...
> ..and Jim White <[EMAIL PROTECTED]> wrote:
> > I use gcc compiled a program with -lm, so it links a math lib,
> > the gcc manual say it's libm.a, but ldd show it's libm.so, I think
> > thses two lib are different. Any one can explain? TIA
>
> libm.a is the static version of the library. If you link it in, the whole
> thing is inside the executable for ever more.
>
> libm.so is the dynamic version. If you link with it, only stubs are linked
> in, and when such a stub is called, the dynamic loader ld.so retrieves the
> library from a /lib directory.
>
> mawa
> --
> Matthias Warkus | [EMAIL PROTECTED] | Dyson Spheres for sale!
> My Geek Code is no longer in my .signature. It's available on e-mail request.
> It's sad to live in a world where knowing how to program your VCR actually
> lowers your social status...
Thank you for your responding. Next is my posting in another thread,
any comment? BTW, where do you live?
==============================================================================
Stefan Davids wrote:
>
> >>>>> "Jim" == Jim White <[EMAIL PROTECTED]> writes:
>
> Jim> I happen to have libm.so.4.6.27 on an old i386. But it
> Jim> seems of no use. when I compile a math program with -lm, I
> Jim> get complain that no definition for sin, cos, exp, etc. . The
> Jim> gcc manual say the lib to be linked is libm.a and I do have a
> Jim> libm.a on that machine too.
>
> Yup, it's certainly libm you want. Usually you want -lm at the end of all
> the libraries you link against - is this how you're doing it?
>
> Jim> So I don't know which one is the culprit. Maybe it's the old
> Jim> i386? I also fail to compile this program on a sparc 5
> Jim> running sunos 4.1.4 which has libm.a but no libm.so.( no
> Jim> definition for sin, cos, exp, etc.)
>
> Umm, sounds like a problem with the program/Makefile in which
> case. Perhaps you could say what the program is and what the command
> line is that generates the error?
>
> Jim> I wonder how can I find which lib is used by gcc when
> Jim> compiling,
>
> It uses the first library it finds by searching all the directories in
> /etc/ld.so.conf and in /lib. If you compiled dynamically you can find
> what libraries it's linked against with ldd.
>
> Stefan
It's a simple math program written by myself. There's sin , cos, exp in
it.
So I compile it with the option -lm to link it with a math lib.
This program do compile in a i486 running slackware 3.0.
There are two libm.so in /lib, one is libm.so.4.6.27, the other is
libm.so.5.0.0. After compile, ldd show libm.so.5.0.0 is linked.
And gcc -v show the gcc version is 2.7.0.
On that old i386, gcc -v show the gcc version is 2.6.3
So I guess a particular version of gcc will link a particular libm to a
program
by default, right? Is there some command to find which libm will be
linked befor
a program compile? And is there some command to find which functions are
contained
in a lib?
On that i486 running slackware 3.0, there's a static lib libm.a in
/usr/lib,
I tried the option -static to force gcc to link it to my program, then I
get
complain that no definition for sin, cos, exp, etc.. It seems this
static llb
libm.a is short of some function. I want double check this in some other
way.
Any help here?
--Jim
------------------------------
From: Stefan Davids <[EMAIL PROTECTED]>
Subject: Re: libm.so.4?
Date: 31 Jan 1999 10:28:00 +0000
>>>>> "zc" == zc <[EMAIL PROTECTED]> writes:
zc> It's a simple math program written by myself. There's sin ,
zc> cos, exp in it. So I compile it with the option -lm to link
zc> it with a math lib. This program do compile in a i486 running
zc> slackware 3.0. There are two libm.so in /lib, one is
zc> libm.so.4.6.27, the other is libm.so.5.0.0. After compile, ldd
zc> show libm.so.5.0.0 is linked. And gcc -v show the gcc version
zc> is 2.7.0.
Yup, this is normal - given a choice between two libraries the linker
will always link against the newer when you compile.
zc> On that old i386, gcc -v show the gcc version is
zc> 2.6.3 So I guess a particular version of gcc will link a
zc> particular libm to a program by default, right?
Not usually, but if that's an old aout based Linux it may be that that
particular gcc doesn't know anything about non-aout libraries.
zc> Is there some command to find which libm will be linked befor
zc> a program compile?
Not AFAIK. You just need to look for the newest version in your
libarary path.
zc> And is there some command to find which functions are
zc> contained in a lib?
The way configure finds out what functions you have in various
libraries is to try to compile a test program and see if that works or
not. If you just want a symbol table listing then run `nm' on the
library.
zc> On that i486 running slackware 3.0, there's a static lib
zc> libm.a in /usr/lib, I tried the option -static to force gcc to
zc> link it to my program, then I get complain that no definition
zc> for sin, cos, exp, etc..
Sounds bizarre - your command line's something like
gcc -static -o prog prog.c -lm
right?
zc> It seems this static llb libm.a is short of some function. I
zc> want double check this in some other way.
Well for a static libarary it's just an ar archive. So you could get a
listing of the table of contents with something like ar t
/usr/lib/libm.a - that might give you an idea or you can list the
symbol table with nm -s /usr/lib/libm.a
Stefan
------------------------------
From: [EMAIL PROTECTED] (Pete)
Crossposted-To: comp.os.linux.networking
Subject: a samba what if question
Date: 31 Jan 1999 09:47:41 GMT
hello all,
what if question:
just suppose my ethernet connection works and samba is configured and
running correctly.
how do i browse the win95 file system? presumably, browsing linux from
95 is done via 'network neighborhood'. how do i browse windows
from linux?
do i have to somehow mount a new file system?
pete
--
Outside of a dog, a book is man's best friend.
Inside of a dog, it's too dark to read.
-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-+-+-=><=-
Do you hate spam? Join the Coalition Against UCE at http://www.cauce.org
Check out my homepage: http://landau.ucdavis.edu/psalzman/index.html
I BOYCOTT ANY COMPANY THAT USES MASS ADVERTISING ON THE INTERNET
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************