Linux-Misc Digest #892, Volume #18 Thu, 4 Feb 99 01:13:07 EST
Contents:
Booting (Mark Robinson)
2.2.1 install, glowing report (Seth Van Oort)
Re: Environment variables and C (Troy Tanzer)
Re: Advice for Microsoft-haters (Larry)
Re: No luck with 2.2.x kernel on RH 5.2! (Grant Leslie)
Re: how to copy a running system? (Leslie Mikesell)
/etc/conf.modules syntax for sound (Jord)
Re: X-Windows' "autoexec.bat"? ("David Z. Maze")
Re: CD-RW as backup alternative (Frank Hale)
Re: Dynamically linked libraries, aren't. (Matthew Vanecek)
Re: Linux 2.2 upgrade pack for Red Hat 5.2 available (Mark)
Re: Difference between SuSe 6.0-evaluation and 6.0? ("Stuart Updegrave")
Re: How to make it run faster? ("David Z. Maze")
Re: Unix/Advanced Computing People (Ed Finch)
Undelete for Linux...? (Joerg Klaas)
Re: TELNET.EXE ("T.E.Dickey")
Re: Environment variables and C (Paul D. Smith)
Re: Linux is not even in Windows 9X's class. (Jeremy Crabtree)
----------------------------------------------------------------------------
From: Mark Robinson <[EMAIL PROTECTED]>
Subject: Booting
Date: Thu, 04 Feb 1999 04:34:47 GMT
When I boot up Linux, Samba starts but hangs the system. Is there a way
to kill it will loading?
------------------------------
From: Seth Van Oort <[EMAIL PROTECTED]>
Subject: 2.2.1 install, glowing report
Date: Thu, 04 Feb 1999 05:07:52 +0000
I am impressed. I downloaded 2.2.1 configured (options galore) and
compiled, rebooted and had not one problem. No, really. I didn't have to
troubleshoot one single thing. And Linux isn't by any means in WinXX's
class. It's a pity someone should think it necessary to state it.
Seth
------------------------------
From: Troy Tanzer <[EMAIL PROTECTED]>
Subject: Re: Environment variables and C
Date: Wed, 03 Feb 1999 23:11:30 -0600
You can use the setenv command to get an environment variable. If you
have an environment variable called LIB_PATH you can get it in your
program with
char *libraries;
libraries=getenv("LIB_PATH");
Troy
Greg Cannon wrote:
> People,
>
> I'm writing a Linux application that needs to find certain files
> in its install directory. I've noticed that many programs (e.g.
> Netscape) solve this problem by using an environment variable.
>
> Great. So how do I access an environment variable from within C?
> I have a feeling there's some scheme similar to the argc/argv
> method of passing command line parameters, but I don't know the
> details. Can some kind person point me in the right direction?
> Does it differ depending on your shell? (please say no)
>
> Replies by email preferred. Ta.
>
> - Greg.
>
> --
> Greg Cannon, Email: [EMAIL PROTECTED]
> CSIRO Land and Water, Phone: +61-2-6246-5917
> Black Mountain Labs, "It is better to have loved and lost than to
> Canberra, Australia. have your lip stuck under a manhole cover."
------------------------------
From: [EMAIL PROTECTED] (Larry)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Advice for Microsoft-haters
Reply-To: [EMAIL PROTECTED]
Date: 3 Feb 1999 20:52:27 GMT
On Tue, 2 Feb 1999 14:30:24 +0000, Matthias Warkus <[EMAIL PROTECTED]> wrote:
>It was the Mon, 01 Feb 1999 10:25:27 -0600...
>..and Chris <[EMAIL PROTECTED]> wrote:
>> > Is it possible you are building a strawman here? All he said was that
>> > unjustified patriotism is getting up his nose....
>> >
>> > Bernie
>> No I don't think so. Let's flip the coin here. Well I'm saying I am
>> tired of unjustified US bashing getting up my nose. All I ever see on
>> the news and in print is people around the world screaming the US sucks
>> down with America. All the time we are sending billions in aid to these
>> countries.
>
>Sweden sends about double, if not triple the amount of development
>aid. And you know that the US are notorious for not paying their UNO
>dues, too, I hope?
Fine, Sweden is a socialist society and believes in this sort of
crap. Plus, there is damned little if ANY developing going on.
If you want to give away your cash to countries who hate you that's
your perogative. Most Americans believe that giving cash to hostile
countries for them to use to build weapons is folly.
Let's face it, damned near every country in the world hates the U.S.
The reason is because we are so wealthy and FREE in comparison.
Sweden hates us, England hates us, ad-infinitum. The only reason we are
still allies with some of them is because thier only alternative is to be
alied with countries like Red China, the Soviet Union, North Korea or the
Middle East. Not very good alternatives, most.
But it is the American people who insist on keeping down the hand outs to
foriegn countries. If we let them, the government run by Clinton would give
the whole store to other countries and take it out of the pockets of the
American people. We unlike you don't believe in a 45% tax base coming out of
our pockets. Plus most of the governments demanding handouts are agressively
involved in genocide of thier own people. Your money is included in this.
Call us cheap if you want but YOU are the suckers in all this.
>
>> Do we ever get a thank you. NO.
>
>You don't deserve a thank you for driving the UN into financial
>collapse and for being both one of the richest first-world country on this
>planet and one of the ones giving the least aid to others.
Screw the U.N. If most Americans had thier way, the UN would be run out of
the country on a rail. This is the biggest purvayor of communism and
socialism in the world and it's just one election away from being shutdown
on American soil. All it's going to take is the right man to be elected to
the presidency and it'll be all over for the UN in the US. The reason the US
is in arrears to the UN is because the rest of the UN nations want us to
support the stupid thing. The UN is in a financial mess because the other
member nations think we are supposed to pay thier bills for the up-keep.
We don't intend to let that carry on. We don't give a damn if the UN
collapses. If you want it then YOU start paying the bills.
>
>Not to mention all the CIA diddling around the world.
I got news for you buster. It was the CIA that uncovered the nukes being
setup in Cuba by the Soviet Union back in the 60's. Remember the Cuban
missile crises? Probably not.
For your information, the CIA has a large hand in keeping the free nations
free. Weather you like it or not most free nations are beholding in some way
to the CIA for thier freedom AND for thier present day information
about the workings of many of the world's terrorist organizations.
You can knock us all you want my friend but the US has been instumental in
keeping freedom more than a dream over the past 50 years. It is people like
you that makes me wonder why we bothered. I wonder constantly why we bother
to send our men into hot-spots around the world to help the free stay free,
to help stop the carnage like that in Sarejavo, the Balkins, ad-infinitum
to try and stop genocide and racial cleansing.
Some day we will stop, because people like you hate us for it. And frankly I
am a little fed up with our men dying for those who can't care for
themselves, then being stabbed in the back and hated by the same people we
helped.
------------------------------
From: Grant Leslie <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux,comp.os.linux.admin,comp.os.linux.questions,linux.dev.kernel,linux.redhat.misc
Subject: Re: No luck with 2.2.x kernel on RH 5.2!
Date: Thu, 04 Feb 1999 01:06:48 -0400
>From the ay it sounds to me, you had these as modules before, and the
RedHat scripts are still trying to load those modules, but, since you
compiled them into the kernel, obviously this will fail. Also, if they
are compiled into the kernel, they aren't really modules anymore, you
won't be able to lsmod and see them.
I'd almost suspect, your network card needs parameters set at boot time,
for the address and irq, in order to load properly, and that that was
done before, when RedHat loaded them after the kernel booted, and this
could be causing your system to hang, when something tries to use the
network.
I would suggest, editing you modules.conf file to remove any references
to driver modules, which are now compiled into the kernel. Or even
recompiling the kernel, and not linking them in, ie.. make them modules
again, so the Redhat startup files can find them. AND make sure that in
/lib/modules the symbolic link "prefered" points to the new kernel
modules directory.
Just best guesses, but, I hope some of this helps :-)
>
> The network claims it's there, but I can't ping anything. Modules that I've
> compiled into the kernel cannot be found as if they were modules that were
> deleted. I had to disable all services (sendmail, named, httpd) just to get
> it to boot cause they cause the system to hang. I get the same error with
> the sound driver and midi modules (cannot load module midi) even though they
> aren't modules... they're compiled into the kernel!
>
> I'm at a loss...
>
--
"It looks so lovely, and fragile. Imagine how many millions of people
are living on it, and don't even realize how fragile it is."
Alan B. Shepard, 1971, said with a tear in his eye, on the
Apollo 14 mission looking back at earth from the moon
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Subject: Re: how to copy a running system?
Date: 3 Feb 1999 16:37:22 -0600
In article <[EMAIL PROTECTED]>,
Knut Kristan Weber <[EMAIL PROTECTED]> wrote:
>Hi,
>I have to copy my running Linux to another disk.
>I have a customised kernel on floppy available.
>
>A friend told me:
>cd /
>tar -cf - | ( cd /"Mountpoint" ; tar -xvf - )
>
>But "Mountpoint" itself is under root, and may not be copied
>rekursively.
>What to do?
Tar has the --one-file-system option for this. Note that you
then have to copy each mounted filesystem that you want separately
and make a directory for /proc on the other system.
GNU 'cp -a' does this just as well and it also accepts the
--one-file-system option to avoid crossing mount points.
I've forgotten whether tar and/or cp apply your umask when
you run as root and it tries to otherwise duplicate all the
permissions and modes on the target. Does anyone happen to
remember the rules on this?
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Jord <[EMAIL PROTECTED]>
Subject: /etc/conf.modules syntax for sound
Date: 04 Feb 1999 16:17:08 +1100
Hi,
I have just successfuly installed my sound card (ESS1689 on RH5.2 / 2.0.36)!!! In
addition to the "100% SB" module I also loaded the Generic OPL3 and V-MIDI as
modules during kernel recompile and can happily "modprobe -a .." them all by
mimicking /usr/src/linux/Documentation/sound/ESS1868 but I am unsure of the proper
syntax for use in conf.modules. HOW-TOs seem a bit thin on the ground.
All help gratefully appreciated.
Jord
--
mailto:[EMAIL PROTECTED]
Job 38:4
------------------------------
From: "David Z. Maze" <[EMAIL PROTECTED]>
Subject: Re: X-Windows' "autoexec.bat"?
Date: 04 Feb 1999 00:42:23 -0500
Steve D Perkins <[EMAIL PROTECTED]> writes:
SDP> Does anyone know where this comes from, and how to prevent system
SDP> console from starting whenever you log into KDE as root?
Don't log into KDE as root.
Unless, of course, you can account for every single little thing the
KDE startup procedure does, and you feel comfortable with it, and you
don't mind having GUI interfaces to rather powerful and dangerous
system functions with little to no check upon the damage you can do.
If you need to do one or two things as root with an X-based program,
the preferred thing to do is to use su or sudo from an xterm, and
start the program from there. Don't do any more as root than is
absolutely necessary, for the safety of your system.
--
David Maze [EMAIL PROTECTED] http://donut.mit.edu/dmaze/
"Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?"
"Oh, sure, Dave, whatever...you _do_ know what that does, right?"
------------------------------
From: Frank Hale <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.solaris
Subject: Re: CD-RW as backup alternative
Date: 4 Feb 1999 01:41:58 GMT
What software is there to record to CD-RW? I wasn't aware there was any.
--
From: Frank Hale
Email: [EMAIL PROTECTED]
ICQ: 7205161
Website: http://www.franksstuff.com/
"Linux - 8 million users can't be wrong"
------------------------------
From: Matthew Vanecek <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Dynamically linked libraries, aren't.
Date: Thu, 04 Feb 1999 01:43:23 +0000
Tom Fawcett wrote:
>
> Matthew Vanecek <[EMAIL PROTECTED]> writes:
> >[lots clipped]
> > I was wondering if these programs didn't like the K6-2/3D, maybe?
[snipped much more]
>
> Ah. You should have mentioned this. Your problems are much beyond just
> recognizing dynamic libs.
>
> I have a K6-2/3D that had problems like these, but they were fixed by
> disabling the external cache and it sounds like you already tried that.
> Check out the file /usr/doc/FAQ/txt/GCC-SIG11-FAQ for more ideas, though
> some of its advice might be pretty dated. Also try a dejanews search on
> comp.os.linux.hardware for "K6 memory", or something like that.
>
> BTW, make sure you can get through two complete kernel compilations before
> concuding it's fixed. And before that, don't install any software compiled
> on the K6 even if it looks like the compilation was successful. Though
> you probably already know this.
>
> Good luck,
> -Tom
Well, the three kernels I've compiled so far work fine, it seems. I'm
running my (2nd, 3rd?) compile of 2.2.1 right now (so many new
options!!), and before that I had 2.2.0pre9, and 2.0.34. They all ran
fine. Compiling gcc consistently fails when it starts to use
stage1/xgcc to compile enquire.c. I've tried to change the gcc options,
but the newly compiled cpp keeps receiving a sig11. I've read the FAQ
you pointed to, and tried what was in there, with no difference in the
results. This whole thing has me puzzled; I'm almost to the point of
swapping mobos and running Linux on my Celeron, although I'd much rather
run it on my K6. FWIW, most everything runs fine, which is weird, since
ldd claims my libs are borked. Except DB2, which fails (it runs fine on
my 486, but way too slow). Would a borked fs cause this kind of
problem? I was really wanting to compile XFree86 optimized for this
machine, and to run DB2, as well as compiling my own compiler--the stock
ones for RH just don't cut the mustard.
I have yet to look on dejanews, but maybe that will turn up something
useful...
--
Matthew Vanecek
Studies in Business Computers at the University of North Texas
http://www.unt.edu/bcis
Visit my Website at http://people.unt.edu/~mev0003
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...
------------------------------
From: Mark <[EMAIL PROTECTED]>
Crossposted-To: linux.admin.isp,linux.redhat.announce
Subject: Re: Linux 2.2 upgrade pack for Red Hat 5.2 available
Date: Thu, 04 Feb 1999 01:43:56 GMT
the packages listed were there this morning. I downloaded all of them.
The links are *still* there. (and working) I just checked.
the actual kernel, no. had to get that from linuxhq.
(all of which worked, as my linux gateway is now happily running
2.2.1 and finally fwding packets for battlenet)
Jeff Shultz wrote:
>
> Unfortunately, at 3:45pm Pacific Daylight Savings... The link text was there,
> but it wasn't actually a hyperlink. Looks like either the announcement was a
> bit ahead of reality, or they found something wrong and pulled it.
>
> On 2 Feb 1999 06:45:28 GMT, James Bourne wrote:
>
> >We have posted the i386.rpm, src.rpm, and patches on our WWW site at
> >http://www.affinity-systems.ab.ca/software/ for several packages needed to
> >upgrade a stock Red Hat 5.2 system to Linux 2.2 series of kernels. These
> >should work on Red Hat 5.0, 5.1, and 5.2 but were compiled under Red Hat 5.2
> >and kernel 2.2.1.
> >
> >Packages include are:
> >
> >ipchains-rhcn-1.3.8-2.i386.rpm
> >modutils-rhcn-2.1.121-1.i386.rpm
> >net-tools-rhcn-1.50-1.i386.rpm
> >procinfo-rhcn-16-1.i386.rpm
> >util-linux-rhcn-2.9h-1.i386.rpm
> >
> >Please send bug reports to [EMAIL PROTECTED]
> >
> >Regards,
> >Jim
> >
> >--
> >James Bourne | Email: [EMAIL PROTECTED]
> >Affinity Systems Inc. | WWW: http://www.affinity-systems.ab.ca
> >Everything Unix | Linux: The choice of a GNU generation
> >----------------------------------------------------------------------
> >Unix System Administration, System programming, Network Administration
------------------------------
From: "Stuart Updegrave" <[EMAIL PROTECTED]>
Subject: Re: Difference between SuSe 6.0-evaluation and 6.0?
Date: Wed, 3 Feb 1999 17:32:45 -0800
Arnold Leung wrote in message <[EMAIL PROTECTED]>...
:On ftp.suse.com/pub/SuSE-Linux/, what's the difference between SuSe
:6.0-evaluation and 6.0?
-evaluation == beta.
~stuart
------------------------------
From: "David Z. Maze" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,alt.os.linux.redhat
Subject: Re: How to make it run faster?
Date: 04 Feb 1999 00:51:38 -0500
mcryptic <[EMAIL PROTECTED]> writes:
mc> In article <7987g2$klq$[EMAIL PROTECTED]>,
mc> "RAZOR" <[EMAIL PROTECTED]> wrote:
r> Hey guys :-)
r> I have my second puter that is 486/66mhz ,16 mb ram with Redhat 5.1
r> installed. My swap partition is 65 mb, and I'm running AnotherLevel
r> X-Windows (w95 look). So X-Windows is running kinda slow.
mc> Do you have any more computers around? If you do you can cluster
mc> multiable computer together so its like having a 120mHz
mc> computer(or more)if you have two clustered.
For a less complicated solution, I remember seeing reports that, given
two Linux boxen, running applications and displays on opposite
machines can be a performance win. That is, given two machines "a"
and "b", use XDMCP or some such method to log in to b using a's
display. Then the only thing running on a is the X server, while all
of the applications are running on b. Even if both machines are in
use, in theory this will still be a win, since it's unlikely that both
users will be trying to do things at the same time, so you can split
the load to do something across the two machines (work on one machine,
display on the other). YMMV.
--
David Maze [EMAIL PROTECTED] http://donut.mit.edu/dmaze/
"Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?"
"Oh, sure, Dave, whatever...you _do_ know what that does, right?"
------------------------------
From: Ed Finch <[EMAIL PROTECTED]>
Crossposted-To:
comp.unix.programmer,comp.unix.advocacy,comp.unix.misc,comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Unix/Advanced Computing People
Date: Wed, 03 Feb 1999 19:48:49 -0500
Lakshmi Natarajan wrote:
>
> Hi!
>
> I am looking to network with people involved in Unix and advanced
> computing
> for both personal and professional reasons.
http://www.beowulf.org
or search for "Linux" and "Beowulf" at http://www.google.com
Regards,
Ed
--
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.
------------------------------
From: Joerg Klaas <[EMAIL PROTECTED]>
Subject: Undelete for Linux...?
Date: Thu, 04 Feb 1999 06:33:55 +0100
Does somwhere a kind of "undelete"-Utility exist for Linux ?
(e.g. undeleting files that have been accidently removed by "rm")
------------------------------
From: "T.E.Dickey" <[EMAIL PROTECTED]>
Subject: Re: TELNET.EXE
Date: 4 Feb 1999 02:10:32 GMT
Glenn Butcher <spam_can> wrote:
> I use Tera Term also; works very well. But I just started using VNC
but the terminfo enclosed with Tera Term is not correct. (I reviewed it last
month and put a fixed version in the terminfo.src.gz under the ncurses/4.2
directory on my ftp area).
--
Thomas E. Dickey
[EMAIL PROTECTED]
http://www.clark.net/pub/dickey
------------------------------
From: [EMAIL PROTECTED] (Paul D. Smith)
Crossposted-To: comp.lang.c,gnu.gcc.help
Subject: Re: Environment variables and C
Date: 04 Feb 1999 00:27:09 -0500
Reply-To: [EMAIL PROTECTED]
%% Greg Cannon <[EMAIL PROTECTED]> writes:
gc> Great. So how do I access an environment variable from within C?
man -k environment
man getenv
man putenv
gc> Does it differ depending on your shell? (please say no)
No.
--
===============================================================================
Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
These are my opinions---Nortel Networks takes no responsibility for them.
------------------------------
From: [EMAIL PROTECTED] (Jeremy Crabtree)
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Linux is not even in Windows 9X's class.
Date: 4 Feb 1999 05:20:35 GMT
Reply-To: [EMAIL PROTECTED]
Jim Ross allegedly wrote:
>
>[EMAIL PROTECTED] wrote in message <799v94$ldo$[EMAIL PROTECTED]>...
>>I'm not going to get to crazy on this, but yes you are right "Linux is not
>>even in Windows 9X's class", it far out performs Windows on every level and
>>should not even be used in the same sentence.
>
>You forgot to say "just kidding."
How about "Okay, only on MOST levels"
> Linux device support is not in Windows
>9X's class.
Then again, I doubt the kernel coders for Win95 had to do all the device
support themselves. It's not the fault of Linux that hardware
manufacturers don't support it, or worse won't let anybody have the info
necessary to write a driver. There are more drivers for Windows, though,
for now.
> Nor is apps support for X.
This is improving. Just have some patience...or write it yourself, if you
can. For right now, if you have something that only runs on Windows, use
Windows.
> Not specifically a "Linux problem",
>but nonetheless not yet in Windows class.
Agreed.
> Ease of use, nope. Linux is not
>yet spoonfeeding as is Windows.
I, personally, kind of like the fact that it isn't, but there are efforts
being made to get closer to this.
> Being powerful is ok, but just as important
>to most is ease of use.
Of course, when "ease-of-use" becomes and end, rather than a means...
> I can appreciate choice and a good GUI and GUI apps
>help me there.
Agreed.
> PPP works in Windows, in Linux for me it does not.
Sorry to hear that (really). I would ask which tools you've tried, but
I would guess that you'ved tried several. I think I got lucky on that,
it took very little effort to get PPP up on my system; but in general,
PPP seems to be one of the trickier services to set up, despite the
plethora of GUI tools to do it.
>Maybe I could do even more to fix it, but the need is why Linux is not
>ready.
Well...not ready for some people.
>I do not want to have to troubleshoot it. I shouldn't have to.
Strange, I felt the same way about Windows...fixed it real quick with
'rm' <GRIN> In all seriousness, though, that isn't an option for some
people. Besides, if it really does get the job done for you, why switch?
If it does, then go for it, I enbcourage you to explore your options.
(For the record, Windows drove me batty. So, I switched)
--
"Being myself a remarkably stupid fellow, I have had to unteach myself
the difficulties, and now beg to present to my fellow fools the parts
that are not hard" --Silvanus P. Thompson, from "Calculus Made Easy."
------------------------------
** 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
******************************