Linux-Misc Digest #705, Volume #25 Fri, 8 Sep 00 22:13:02 EDT
Contents:
Re: What cause this kernel Oops (Glitch)
Re: Gnome Xterm not reading .profile (Floyd Davidson)
Re: Lilo removal from mbr (John Hasler)
Re: Acroread - pdf reader (John Thompson)
Re: SMTP Authentication (John Thompson)
Re: need to convert dif files to delimited text (Harlan Grove)
Re: Don't mind me, just whining.. =) (Matthew Haley)
A Very Simple Question Concerning My Windows Disapearing Act (N/A)
Re: Parrallel connection between 2 Computers? (bullwinkle)
Windows: Missing in Action (N/A)
RH6.0 Path problem? (Andy Kinsey)
Re: End-User Alternative to Windows (Mark Robinson)
Re: Newbie questions (Anita Lewis)
snedmail not delivering email!!!!! ([EMAIL PROTECTED])
Re: fstab question (Glitch)
Windows in Waiting (WIW) (N/A)
Re: Talk problem in linux (Glitch)
Re: Windows in Waiting (WIW) (Bob Tennent)
Re: Which one to install? (David Rysdam)
Re: IP address stealing on Intranet ([EMAIL PROTECTED])
----------------------------------------------------------------------------
Date: Fri, 08 Sep 2000 19:24:43 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: What cause this kernel Oops
could be possible memory problem I think (download a RAM checker to find
help find out) or from overclocking too much.....are u overclocking?
your hardware setup may prove useful
Bob Jones wrote:
>
> Whenever I try to use kernel 2.4-test...... I get lockups. It locks solid and I
>have to power off.
> The only thing I can find is this from my /var/log/messages
>
> Any ideas?
>
> Sep 7 14:01:56 phlegmish kernel: Unable to handle kernel paging request at virtual
>address 38626268
> Sep 7 14:01:56 phlegmish kernel: printing eip:
> Sep 7 14:01:56 phlegmish kernel: c01175e3
> Sep 7 14:01:56 phlegmish kernel: *pde = 00000000
> Sep 7 14:01:56 phlegmish kernel: Oops: 0002
> Sep 7 14:01:56 phlegmish kernel: CPU: 0
>
> Thanks
> Bob
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Gnome Xterm not reading .profile
Date: 08 Sep 2000 14:25:09 -0800
Naren Devaiah <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] wrote:
>>
>> I have a great .profile in my home directory, however Gnome xterm (or any
>> xterm) won't read and implemet it. But when I . ./.profile, su to myself or
>> telnet in, it gets read and implented. Please Help
>>
>> Mitch.
>
>modify the xterm launch command to include the -ls option. This tells
>xterm to behave like a login shell (which then reads the .profile)
That is one approach, and a very valid one.
Another option is to properly set up the shell init files with
~/.profile (or either ~/.bash_profile or ~/.bash_login)
containing only what is exclusively needed for a login shell,
and putting what is needed for an interactive shell into
~/.bashrc (which must read from the ~/.profile, for a login
shell to see it). A third file (or it can be set to ~/.bashrc)
should be specified in ~/.profile with the ENV and/or BASH_ENV
environment variables, and that file will be read by
non-interactive shells.
Hmmm... confusing, eh? Let me line that out in different words
and describe a functional implementation. Reading the man page
for bash, and in particular paying close attention to the
section for INVOCATION is important. (Older versions of bash do
not have a BASH_ENV variable, and instead should use ENV. Other
shells, including bash if called by the name sh, use ENV.)
Here is the sequence of events for bash init files:
When bash is invoked as a _login shell_, it first reads
/etc/profile, then it reads the first it can find of
~/.bash_profile, ~/.bash_login, or ~/.profile.
When bash is invoked as an _interactive_, _non-login_ shell it
reads file ~/.bashrc.
When bash is invoked as a _non-interactive shell_ it reads
whatever file is in variable BASH_ENV (or ENV on older
versions).
Hence, your system should have a /etc/profile that sets up an
absolute minimal environment necessary to run a shell, which
will be the default. Nothing fancy, and hopefully nothing that
will not work on anything likely to be used for a terminal.
Then each user should have one of the three local profiles for
things that must be set with a login shell. That would include
setting BASH_ENV, setting a PATH variable, and perhaps using
stty to change terminal characteristics (such as setting the
erase key). If the user also uses sh, ksh, or any other shell
which uses ~/.profile it might be well advised to use
~/.bash_profile instead of ~/.profile, especially if any bash
specific code is to be included (which certainly is _not_
necessary).
A minimal ~/.profile might look like this:
export PATH=${HOME}/bin:/usr/local/bin:$PATH
stty erase ^H
BASH_ENV=~/.bashrc
. ~/.bashrc
Note that since this is invoked _only_ by login shells, the
recursive definition of PATH happens only once, but if the same
definition is put into ~/.bashrc it will happen again with each
and every sub-shell, thus adding unecessary searches with each
subshell invocation.
And everything else goes into ~/.bashrc, which has the advantage
of putting it all into a single file for easy maintenance. It
has the disadvantage that each non-interactive sub-shell gets
everything whether it is needed or not. One could separate the
two, but I personally do not.
Note also that if multiple different shells are used, it is
possible to use if/then/fi statements in a ~/.profile to set up
each shell with a different set of init files. Here is the
actual sum total of my own ~/.profile, which does exactly that:
if [ "${0}" = "-bash" -o `basename "${0}"` = "bash" ]
then
export BASH_ENV=$HOME/.bashrc
export ENV=$HOME/.bashrc
. $HOME/.bashrc
fi
if [ "${0}" = "-su" -o `basename "${0}"` = "su" ]
then
export BASH_ENV=$HOME/.bashrc
export ENV=$HOME/.bashrc
. $HOME/.bashrc
fi
if [ "${0}" = "-sh" -o "${0}" = "sh" ]
then
ENV=$HOME/.shrc
. $HOME/.shrc
fi
if [ "${0}" = "-ksh" -o "${0}" = "ksh" ]
then
ENV=$HOME/.kshrc
. $HOME/.kshrc
fi
On the other hand, my ~/.bashrc file is 5K in size... (Anyone
who wants to see it can email me and I'll send them a copy.)
That is one way to do it, and certainly there are other different
valid ways.
Floyd
--
Floyd L. Davidson [EMAIL PROTECTED]
Ukpeagvik (Barrow, Alaska)
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: alt.uu.comp.os.linux.questions,comp.linux.setup,comp.os.linux.x
Subject: Re: Lilo removal from mbr
Date: Fri, 8 Sep 2000 22:04:11 GMT
oneal writes:
> By the way, that LILO -u command was found on a help FAQ but I still
> don't know how you can use it if it isn't listed as an option on the boot
> up.
'-u' is an option for the lilo command, not for the boot loader. Lilo is a
Linux program: it configures and installs a boot loader. To restore the
MBR on device hda boot Linux and then type 'lilo -u /dev/hda' as root.
> Maybe for use from the kernel prompt?
There is no such thing as a kernel prompt.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Acroread - pdf reader
Date: Fri, 08 Sep 2000 14:06:54 -0500
Richard Kimber wrote:
> Has anyone got a working version of Adobe's Acroread?
>
> I downloaded a copy from their site, but that didn't work. I tried an rpm
> from one of the archives, but that suffered from the same problems, namely not
> displaying pdf files (!) and arbitrarily crashing when exploring why it
> wouldn't display them.
I've had trouble with rpm versions of acroread, but the tarballs
from Adobe's site have always worked. I'm currently using v4.0
with no problems.
--
-John ([EMAIL PROTECTED])
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: SMTP Authentication
Date: Fri, 08 Sep 2000 14:10:12 -0500
Arash Sayadi wrote:
> I have setup a Linux box with kernal 2.2.12-20, Red Hat 6.1, and Gnome on a
> PII300 MMX system.
>
> I have subscribed to DialFree.net for free Linux dialup. On their systems,
> they require SMTP authentication on all outgoing mail. I have yet to find a
> Linux X11 mail client (preferably for Gnome) that has SMTP authentication
> available.
>
> Does anyone know of a workaround for this or a mail client that does the
> SMTP authentication?
Have you tried configuring sendmail on your own machine to
deliver the mail directly rather than relaying through
DialFree.net's smtp service?
--
-John ([EMAIL PROTECTED])
------------------------------
From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: need to convert dif files to delimited text
Date: Fri, 08 Sep 2000 23:39:37 GMT
In article <8pbl36$mc3$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
>Are there any linux tools to convert dif files to delimited text files?
>The dif files are too huge for MSExcel to handle. They currently
>reside on a VMS machine and are destined for an SQL database but not
>before conversion.
DIF is a plain text format in which data appaears one row after another
with blank cells represented by empty strings. At least that's been my
experience with it.
I've used this awk script in the past to produce CSV files from very
simple DIF files (one at a time), but no guarantees.
# begin awk script
BEGIN { while (getline > 0 && !/^BOT/) ; sep = "" }
/^BOT/ { sep = ""; printf "\n"; next }
/^0,/ { sub(/^0,/, ""); write() }
/^1,/ { getline; write() }
function write() { printf("%s%s", sep, $0); sep = "," }
# end awk script
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Matthew Haley)
Subject: Re: Don't mind me, just whining.. =)
Date: Sat, 09 Sep 2000 00:18:10 GMT
On Fri, 08 Sep 2000 16:32:41 GMT,
The Darkener <[EMAIL PROTECTED]> wrote:
> DOS sucks. =p
Mostly.
> couldn't deal with them, I guess in that case it just wipes out the
> partition table all together. I spent most of my night last night
> getting Debian back on there (after of course, putting DOS on there
> FIRST this time). Argh. =) Anyone have a reasonable explanation for
> this? =) Maybe just to make me feel better?
It's an MS product, designed to make your life easier.
> Also, one quick question, in Debian (Slink anyway, don't know about
> other versions), Lilo doesn't seem to allow any keyboard input at all at
> the prompt. This is probably something really easy and I should just
> RTFM, but since I'm whining, thought I'd throw that out there for anyone
> who cares to answer. =)
>From 'man lilo.conf'
prompt forces entering the boot prompt without expecting any prior
key-presses. Unattended reboots are impossible if 'prompt' is set
and 'timeout' isn't.
------------------------------
From: N/A <[EMAIL PROTECTED]>
Subject: A Very Simple Question Concerning My Windows Disapearing Act
Date: Sat, 09 Sep 2000 00:28:50 GMT
hey,
what is the name of the file i can open in Linux to set Windows as a
possible bootable OS? i have windows98 installed but not able to run
because at the startup of Linux Mandrake 7.0 i am only given the options
Linux and Floppy to boot up. i would like to change this. so how can i do
that and if you know what is the name of that file so i can go into it. i
think it is something like /etc/X11/...... but i can not remember the
rest. thank you.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: bullwinkle <[EMAIL PROTECTED]>
Subject: Re: Parrallel connection between 2 Computers?
Date: Sat, 09 Sep 2000 00:28:51 GMT
Gursoy TURAN wrote:
>
> Is there a way to connect two computers with a parallel cable. My aim is
> to copy files from my desktop to laptop.
>
> I've read the nullmodem serial HOW-TO, but still am wondering if there
> is a way of simply accessing the hard drive of the second computer and
> then simply copying the files to a local HD.
>
> --
> Gursoy
To connect two computers using the parallel ports and a null printer cable,
see the PLIP mini-howto at http://www.linuxdoc.org/HOWTO/mini/PLIP-1.html
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: N/A <[EMAIL PROTECTED]>
Subject: Windows: Missing in Action
Date: Sat, 09 Sep 2000 00:28:50 GMT
hello what is the name of that config file where i can add Windows as
bootable, because windows is installed but right now i only have the
options to boot FLOPPY and LINUX. .thank you.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Andy Kinsey <[EMAIL PROTECTED]>
Subject: RH6.0 Path problem?
Date: Fri, 08 Sep 2000 20:36:37 -0400
This is a strange problem...when I type 'startx' after loggging in, I
get 'command not found.' The file startx resides in /usr/X11R6/bin. This
used to work, and now it doesn't, along with a few other programs that
used to run directly from the command line. I also can't change to the
NextStep or AfterStep windows any more. I'm new to Linux, and I'm not
sure where to look for a "path" statement, if it exists. Since I'm not
looking forward to reinstalling Linux from scratch, any assistance would
be greatly appreciated.
Thanks in advance,
Andy
------------------------------
From: Mark Robinson <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Sat, 09 Sep 2000 00:59:55 GMT
Ingemar Lundin wrote:
>
> >Anybody's guess. My guess is that two to five million machines have linux
> >installed against an estimated 100 million for windows - another guess
> >really - but a much lesser number is used as the main working machine. It
> is
> >said that majority of web-servers are running on Linux though M$ would
> certainly
> >dispute that.
>
> try 500 milj Windows and 2.5 milj Linux
500 mill for windows? Um, not. Maybe for all computers* in the world.
Linux has WAY more than 2.5 mill. Estimates from '96 put Linux at 10
mill. I'd place it at 20 mill. This is for users not servers+users.
*not counting embedded devices.
> and a majority (altough not much more than 50%) is running *Apache*, thats
> not the same as running Linux!
Dude, the number is like 60% which is 20% greater than 50%. I'd
consider this fairly significant.
>
> /IL
------------------------------
From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,linux.redhat.misc
Subject: Re: Newbie questions
Reply-To: [EMAIL PROTECTED]
Date: Sat, 09 Sep 2000 01:15:17 GMT
On Fri, 8 Sep 2000 22:56:30 +0100, Tony Wainwright wrote:
>2) When re-installing Windows the LILO seems to have been overwritten and I
>have to boot from a floppy. Can I 're-activate' LILO?
boot with the floppy and login as root. run 'lilo' you should see the
labels being made (linux, dos)
>3) When installing Linux I activated the Gnome Display Manager (graphical
>login). Can I deactivate it and boot straight to the command line?
again as root. You will need to edit /etc/inittab (try pico if you are
using console, it's an easy newbie editor) Make only one change in that
file. Change the 5 in the line below to a 3. It will then boot into
runlevel 3 which is console.
id:5:initdefault:
>4) Probably not be able to help...but my monitor display bows out in Linux
>but is rectangluar in Windows and can only get 800x600 resolution in Linux.
>I have a Goldstar LG Studioworks 520Si monitor and an SiS 6326 display
>adapter
I think RH6.0 has XFree v 3.3.5. Mine has 3.3.6; so there may be
differences. I looked in /usr/X11R6/lib/X11/doc/README.SiS and there are
some recommend modelines to be use with that card. Was your monitor in the
monitor list, or did you enter your Horiz and Vert sync ranges? Try running
startx -verbose &> startxlog and see what is happening to the modelines if
800x600 is as high as you get. I'm assuming you did Ctrl Alt + to try to
toggle. /usr/X11R6/lib/X11/doc/VideoModes.doc might explain that bowing,
although it is a tough read. I don't know the answer on it, but that
document might address the problem. You might get some help from running
xvidtune. Also, do a search at www.deja.com on your card with '*linux* or
*redhat*' in the Newsgroup (do advanced search) No doubt someone has had
this problem before.
Anita
------------------------------
From: [EMAIL PROTECTED]
Subject: snedmail not delivering email!!!!!
Date: Sat, 09 Sep 2000 01:15:01 GMT
I have installed and configured RH 6.2 as my DNS, and Mail Server.
I have followed some sample instructions and configured sendmail for
smpt and imap. I can use outlook express to connect to the mail server
from a Microsoft machine and send messages. However, sendmail can only
send and receive email to and from the root account. All other emails
go to the none-deliverable basket. This of course used to work until I
changed something in the sendmail.cf file. I don't know what. Any
changes made to the cf file were done using the Control Panel network
tools.
Can someone tell me why this happens.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Date: Fri, 08 Sep 2000 21:28:47 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: fstab question
'man fstab' will give you details on the syntax of the fstab file
f vassalli wrote:
>
> I'd like to mount a CD-ROM Image at boot time, but I dont know the
> syntax for the fstab for loop devices.
>
> Once booted, I can mount the image with the following command; what is
> the fstab-equivalent?
>
> mount -t iso9660 -o ro,loop=/dev/loop0 cdimage.img /cdrom
>
> Thanks
------------------------------
From: N/A <[EMAIL PROTECTED]>
Subject: Windows in Waiting (WIW)
Date: Sat, 09 Sep 2000 01:29:07 GMT
i have opened my /etx/lilo.conf file in Linux Mandrake in order to create
Windows OS as a possible option during boot up but obviously i dont know
what im doing because i still have only the options to boot Linux and
Floppy no matter what i do. i do have Windows 98 installed just i cant go
into it because linux i guess has taken over and given me only the 2
options i mentioned. so how do i give myself Windows as an option when i
turn on my computer. i cant seem to add it. thank you.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
Date: Fri, 08 Sep 2000 21:44:07 -0400
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: Talk problem in linux
make sure 'mesg' is turned on for your console. For root i believe
mesg (obviously standing for messages) is turned off. To turn it off or
on, just issue 'mesg y' to turn them on or 'mesg n' to turn them off,
of course w/o the quotes.
The 111 from the error message more than likely refers to the error
message number, not the port number. Talk uses 517 like Frank said
based on its entry in /etc/services.
HTH
Brandon
[EMAIL PROTECTED] wrote:
>
> Hi, Frank, and thanks for your reply.
>
> I looked at the file you suggested and saw that it was commented out
> and where you had "udp", the file had "tcp". I uncommented the line
> and changed the 3 letters, saved the file, rebooted the machine (don't
> know if I had to do that or not) and tried again. Alas, I got the same
> message. Believe me, I'm not sharp enough to write a firewall script
> so I can't explain the 111 either. Again thanks, and if you have any
> other ideas....
>
> dhill
>
> In article <[EMAIL PROTECTED]>,
> Frank Steiner <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> > =
> >
> > > In trying to use "talk" on my Mandrake 7.0 system I got an error
> > > message that said: "[Error or read from talk daemon:Connection
> refused=
> >
> > > (111)]". Can anyone explain to me what that error is and how it
> can be=
> >
> > > fixed?
> > =
> >
> > You need an entry in your /etc/inetd.conf like
> >
> > talk dgram udp wait root /usr/sbin/tcpd in.talkd
> >
> > Does that exist? Also make sure that you don't have firewall skript
> > running that blocks port 111 (sun remote procedure). Although
> > I wonder why it needs 111 because talk should run on 517...
> >
> > Best,
> > Frank
> > -- =
> >
> > Dipl.-Inform. Frank Steiner mailto:[EMAIL PROTECTED]
> > Lehrstuhl f. Programmiersprachen mailto:[EMAIL PROTECTED]
> > CAU Kiel, Olshausenstra=DFe 40 Phone: +49 431 880-7265, Fax: -
> 7613
> > D-24098 Kiel, Germany http://www.informatik.uni-
> kiel.de/~fst=
> > /
> >
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: Windows in Waiting (WIW)
Date: 9 Sep 2000 01:42:27 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 09 Sep 2000 01:29:07 GMT, N/A wrote:
>i have opened my /etx/lilo.conf file in Linux Mandrake in order to create
>Windows OS as a possible option during boot up but obviously i dont know
>what im doing because i still have only the options to boot Linux and
>Floppy no matter what i do. i do have Windows 98 installed just i cant go
>into it because linux i guess has taken over and given me only the 2
>options i mentioned. so how do i give myself Windows as an option when i
>turn on my computer. i cant seem to add it. thank you.
>
After editing /etc/lilo.conf to add an "other" section, execute lilo.
Bob T.
------------------------------
From: [EMAIL PROTECTED] (David Rysdam)
Subject: Re: Which one to install?
Date: 9 Sep 2000 01:07:26 GMT
Reply-To: [EMAIL PROTECTED]
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
And Kevin Croxen Spoke:
>Um, Slackware and fvwm95. Still great after all these years.
>
>Gnome and KDE are getting all the buzz nowadays with regard
>to being complete desktop environments. I use KDE from time to time but
>frankly prefer plain ol' fvwm2 on top of XFree86.
I second this. I never use GNOME or KDE, just Fvwm2. I'm running
RedHat, but only because that's the only CD I have. I plan to put
Debian on my next home machine.
Or maybe I'll check out linuxfromscratch.org
- --
My public encryption key is available from www.keyserver.net
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE5uY2O8mkEvJSZJO8RArAUAJ9q5nfD9u8rPOjgvH1499ccHxN21wCfUblA
LL70cb+9/iVS4+uTjHoxb5A=
=9ARt
=====END PGP SIGNATURE=====
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: IP address stealing on Intranet
Date: Sat, 9 Sep 2000 00:55:26 +0100
Brian V. Smith <[EMAIL PROTECTED]> did eloquently scribble:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (M. Buchenrieder) writes:
> |> (remember that
> |> the world's population is est. 6 000 000 000 000 people.
> Wow! Really? 6 trillion?
> I though it was only 6 billion (U.S. word for 6 000 000 000)
And there ther confusion lies...
The British Billion is 10*6^12
--
______________________________________________________________________________
| [EMAIL PROTECTED] | |
|Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!" |
| in | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK!!!! |
| Computer Science | - Father Jack in "Father Ted" |
==============================================================================
------------------------------
** 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
******************************