Linux-Misc Digest #207, Volume #26                Wed, 1 Nov 00 23:13:02 EST

Contents:
  Re: MORE LILO PROBLEMS (Jerry L Kreps)
  Re: How to detach a program from a terminal (ljb)
  Re: strange problems with LILO ("Cosimo")
  Re: How to detach a program from a terminal (Herb Stein)
  Re: IMPS/2 & KVM (jeff)
  Re: /opt? (Mark Post)
  Named started? ("Jay")
  Re: Copy CD to hard disk (Mark Post)
  Re: Linux Reliability (Jerry L Kreps)
  Re: strange problems with LILO (Jerry L Kreps)
  Re: daylight savings. (Christopher Browne)
  Where to buy compatible parallel port ethernet? (John Broadhead)
  Re: How to detach a program from a terminal (Mark Post)
  Linux support for PDAs/organizers other than Palm Pilot? (Mac Cody)
  Re: color prompt in tcsh ("Peter T. Breuer")
  Re: SuSE6.4 and crashing netscape (Stewart Honsberger)
  compilation problem (marc)

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

From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: MORE LILO PROBLEMS
Date: Wed, 1 Nov 2000 20:23:08 -0600
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

> I have a HP netserver E60 with and Adaptec aic-7895 controler conected
> to a HP 9.1 gig drive. I have tried to install RH 7.0. I get through
> the whole install. Everything looks good. When I reboot after the
> install, I get a list of L L L L L L L's going down my monitor. I know
> that this means that LILO did not run all the way through. My problem
> seems to be with RedHat 7.0, because if I install 6.2, it works
> fine..Any ideas? Also, If I boot from the floppy, I can access my
> server...
> 
The 'L' error is indicative of either a media failure or a geometry 
mismatch.  Since your boot floppy works it must be a mismatch.
The first stage boot loader has been loaded and started, but it can't 
locate the second stage boot loader (/boot/boot.b).  The two digit error 
code indicates the type of problem, if the code is visible.

You might want to try the 'linear' option in lilo.conf.  Just put it in the 
general region.

You also might try installing LILO onto the MBR of the boot disk.

Or, you could use the
disk = <device file>  (/dev/sda)
bios = <bios device number>  (0x80  - first bios disk)
cylinder = <amount>
heads = <amount>
sectors = <amount>

HTH,
JLK



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

From: [EMAIL PROTECTED] (ljb)
Subject: Re: How to detach a program from a terminal
Date: 2 Nov 2000 02:23:35 GMT

[EMAIL PROTECTED] wrote:
>I need to know how to detach a running program from the terminal it was invoked
>on.  i sometimes telnet into my computer and want a program to run after i
>logout.

You can put it into the background with (in bash) ctrl-Z, then bg, but it
will be killed when you log out because all your processes will get a
hangup signal (SIGHUP) at that time. If you really want something to
keep running after you log out, you generally have to set this up before
you start it, like using "nohup" (see man nohup) or "at".

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

From: "Cosimo" <[EMAIL PROTECTED]>
Subject: Re: strange problems with LILO
Date: 2 Nov 2000 02:20:08 GMT

had same problem several times... seems related 
somehow to BIOS; haven't found a fixed rule to get rid of it.
But it's not clear to me your cfg: guess you had
boot=/dev/hda
root=/dev/hda1
then you switched to
boot=/dev/hda
root=/dev/hdb1
right?
can you xchange hda/b? can you have BIOS boot from hdb?
then 
boot=/dev/hdb
root=/dev/hdb1
might work.
but try also to run lilo from/on new hd  _without_ old hd, from a
rescue (fd0) boot.
and... you made bootable hdb1, right?



Rune Elvemo <[EMAIL PROTECTED]> wrote in article 

<[EMAIL PROTECTED]>...
...
> Anyway... I made some changes to my lilo.conf and run "/sbin/lilo",
however,
> when rebooting, I get "LIL", and then the screen is cleared, with a
cursor at t
> he bottom of the screen (unable to type)...
...
> works like it should... (yeah... the root disk is set to /dev/hdb1 in
both
...
> 
> boot=/dev/hda
> root=/dev/hdb1


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

From: Herb Stein <[EMAIL PROTECTED]>
Subject: Re: How to detach a program from a terminal
Date: Wed, 01 Nov 2000 20:46:03 -0600

at will do that. Also read the *sh man page regarding fg and bg if you use a shell
that supports job control.

[EMAIL PROTECTED] wrote:

> I need to know how to detach a running program from the terminal it was invoked
> on.  i sometimes telnet into my computer and want a program to run after i
> logout.
> Thanks,
> Bob




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

From: [EMAIL PROTECTED] (jeff)
Subject: Re: IMPS/2 & KVM
Date: 2 Nov 2000 02:51:40 GMT
Reply-To: [EMAIL PROTECTED]

On 01 Nov 2000 09:55:01 -0500, Johan Kullstam <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
> 
> > I'm having problems with my MS Intellimouse when it is run through my
> > LinkSys 2 port KVM switch.
> 
> me too.
> 
> > When I have the mouse plugged directly into my machine (Abit KA7,
> > 800MHz Athlon, bios patch RY), everything works great, including the
> > scroll wheel.  When running the mouse through my KVM switch and boot
> > into Linux, the mouse jumps around and sends random button-press
> > events.  If I dual-boot into Windows 98, everything works great.  When
> > I boot into Redhat 7.0, the mouse is erratic.
> > 
> > Any ideas?  For now I changed the protocol from "IMPS/2" to "PS/2" in
> > my XF86Config-4 file and the mouse works, but no scroll wheel.
> 
> that's exactly what i did.  while it's annoying to not have all the
> hardware working, not enough linux programs use the wheel for it to
> matter all that much to me.
> 
> > Why would the mouse continue to work in Windows but not Linux?  Any
> > other troubleshooting advice?
> 
> my only guess is that the kvm switch garbles some part of the mouse
> messages in some way and that windows ignores those garbled parts.
> 
> you could use two mice.  the monitor is the main one since it's
> bulkiest and most expensive.  two keyboards would be annoying too.
> however, if you have double anything, i suppose the mouse is
> reasonably cheap and takes very little space.

I've seen (and used) two diffrent types of KVMs - passive (basically just a
switch) and active (switch plus keyboard, mouse, and monitor simulators).  A
passive KVM that I have used in the past worked well with Windows but had
problems with Linux.  The active KVM that I use now (Edimax Genie) works
fine with both (Linux is using IMPS/2, BTW).  I've noted though that it
works much more reliably when the mouse is completely still when actually
switching.

-jeff

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

From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: /opt?
Date: Thu, 02 Nov 2000 03:07:53 GMT

On Wed, 25 Oct 2000 02:53:47 GMT, [EMAIL PROTECTED] (Mark Post) wrote:

>On Wed, 25 Oct 2000 02:48:43 +0200, Tijmen Stam <[EMAIL PROTECTED]>
>wrote:
>
>-snip-
>>By the way, What is the function of /opt? why not /usr/bin? I couldn't
>>find any info on it?
>
>Well, ordinarily, I would refer you to the Filesystem Hierarchy Standard at
>http://www.pathname.com/fhs but I keep getting an error saying that the
>server doesn't have a DNS entry.  A whois check shows that the registration
>record for pathname.com expired last month, so I don't really know what's
>going on there.

Well, it looks like http://www.pathname.com/fhs is back up.  Another WHOIS
check shows that the record now expires in 2001.  Apparently the check was
delayed in the mail.

In any case, here is what it has to say about /opt:

/opt is reserved for the installation of add-on application software
packages.
-snip-
BEGIN RATIONALE
The use of /opt for add-on software is a well-established practice in the
UNIX community. The System V Application Binary Interface [AT&T 1990], based
on the System V Interface Definition (Third Edition), provides for an /opt
structure very similar to the one defined here.  The Intel Binary
Compatibility Standard v.2 (iBCS2) also provides a similar structure for
/opt. Generally,all data required to support a package on a system should be
present within /opt/<package>,including files intended to be copied into
/etc/opt/<package> and /var/opt/<package> as well as reserved directories in
/opt.  The minor restrictions on distributions using /opt are necessary
because conflicts are possible between distribution-installed and
locally-installed software, especially in the case of fixed pathnames found
in some binary software.
END RATIONALE

Mark Post

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

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

From: "Jay" <jayp@*spamfree*datainn.co.nz>
Subject: Named started?
Date: Thu, 2 Nov 2000 16:10:24 +1300

We are running a secondary DNS service on a Linux Red hat 6.2 OS
We had no problems initially but then we stopped getting authoritative
responses from this machine.
A colleague went into /etc/ and typed named and then all was fine.
Now twice this week we have not been getting an authoritative response from
the box, so we go into /etc/ and type named and nothing happens... apart
from the cursor dropping down a line and just flashing (without a prompt)
typing ps shows nothing to do with named.

Is it not running?
If not then why?
If not then how do we stop it from stopping?

Jay




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

From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: Copy CD to hard disk
Date: Thu, 02 Nov 2000 03:13:47 GMT

On Tue, 31 Oct 2000 10:51:56 GMT, Frank Reifenstahl <[EMAIL PROTECTED]>
wrote:

>> >how can I copy a html-based manual from CD to hard disk without
>loosing
>> >information of upper/lower cases in file names or setting the
>filenames
>> >to correct cases respectively? In most cases, after copying to hard
>disk
>> >the well-liked "file not found" appears. Some time ago I had read
>> >something about setting one of those LANG_XXX environment
>variables...

>> cd /cdrom

>> tar -cf - . | (cd /harddrive ; tar -xpf - )

>> Mark Post


>Thank you, Mark ... but it doesn't work!

>ls /cdrom
>.           EINL.HTM    KAP02.HTM  KAP08.HTM  KAP14.HTM  KAP20.HTM
>WOCHE2.HTM
>..          FEEDB.HTM   KAP03.HTM  KAP09.HTM  KAP15.HTM  KAP21.HTM
>WOCHE3.HTM
>ANH_AA.HTM  GRAPHICS    KAP04.HTM  KAP10.HTM  KAP16.HTM  R?CK1.HTM
>ANH_AB.HTM  INDEX.HTM   KAP05.HTM  KAP11.HTM  KAP17.HTM  R?CK2.HTM
>ANH_AC.HTM  INHALT.HTM  KAP06.HTM  KAP12.HTM  KAP18.HTM  R?CK3.HTM
>ANH_AF.HTM  KAP01.HTM   KAP07.HTM  KAP13.HTM  KAP19.HTM  WOCHE1.HTM

tar doesn't mess with the case of filenames and certainly not with the
contents of files, so whatever is on your source CD will be what winds up on
your hard drive.  How did you mount this CD?  As -t iso9660?

>Your sequence, target /dir --> ls /dir gives the same view. E.g.
>references in "WOCHE3.HTM" point to a not existent "inhalt.htm"
>(lowercase). And now?

If that is how it is on the CD, how does it work there?

Mark Post

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

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

From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: Linux Reliability
Date: Wed, 1 Nov 2000 21:16:33 -0600
Reply-To: [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote:

> Having followed a number of threads on this forum (e.g. Linux vs
> Windows 2000 for a statewide computer system?), Linux is certainly
> thought to be very reliable.
> 
> Does anybody have any hard evidence of this? 

In one of the threads, from washington state, a 60 server area net was 
converted from DB2 to mySQL adn Linux.  They mention the stability in a 
production environment, with at least one linux server staying up 425 days, 
which is every day since they installed it.  Read some of the other threads 
too.
http://linuxtoday.com/news_story.php3?ltsn=2000-11-01-004-20-PS&tbovrmode=3#talkback_area

> With the number of
> web/mail/file/print servers out there that are running Linux, I would
> have thought that there must be some availability figures out there
> somewhere, but I've drawn a blank so far.

The NetCraft Survey.

> 
> As a further question, is there any reason why a Linux desktop machine
> should be any more/less reliable than a server machine?
> 

If it is the same kernel running on the same kind of machine, no.
I've been running Linux for 3.5 years.  My box has a 24.7 connection to the 
internet and I only shutdown for hardware changes or fixes, or because a 
lightning storm is over head.  I've been using SuSE for 3 of those years 
and RH before that.  The linux kernel in my box has never crashed.  Some 
apps have crashed, but the kernel never has.
Before I had RH on this box I was running Win95.  In fact,  I had purchased 
this box NEW on Dec 27, 1996.  By March 7th, 1997 I had to reinstall Win95 
FIVE times.  Even Sony's 'medi-kit' was of little value in keeping the os 
stable.  I installed RH 5.0 on March 7th.  The crashing ceased.


> I'd really appreciate any input.
> Thanks,
> Steve Bamford
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: Jerry L Kreps <[EMAIL PROTECTED]>
Subject: Re: strange problems with LILO
Date: Wed, 1 Nov 2000 21:20:29 -0600
Reply-To: [EMAIL PROTECTED]

Rune Elvemo wrote:

> Yeah, this is really strange...
> 
> I used to have my linux system on my /dev/hda disk, but then I bought a 30
> MB disk and moved the system over to that one. However, the old disk is
> still the /dev/hda one, which means that my system is now on /dev/hdb...
> 
> Anyway... I made some changes to my lilo.conf and run "/sbin/lilo",
> however, when rebooting, I get "LIL", and then the screen is cleared, with
> a cursor at t he bottom of the screen (unable to type)...
> 
> the strange part, is that if I boot using the old system.. (I haven't
> removed the stuff from the old disk YET), and write back the old setting,
> it works like it should... (yeah... the root disk is set to /dev/hdb1 in
> both cases).
> 
> on the new system *all* my partitions are ReiserFS ones, and I'm using
> LILO version 21.6, which handles ReiserFS boot disks...
> 
> here are two VERY important lines.... (I didn't include the rest of the
> lilo)
> 
> boot=/dev/hda
> root=/dev/hdb1
> 
> anyway... with boot & root set to this in my old system, running lilo
> installs a functional LILO, however doing the same on my new one, installs
> a NON working LILO (as I told earlier)..
> 
> anyway... the rest of the file is same (since I just moved the whole
> system over to the new disk/partitions)..
> 
> anyone who knows what might be wrong here??
> 
> thank you *very* much!
> 
I recently had this problem.  I reinstalled LILO to the MBR of /boot and 
the problem was cured.


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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: alt.os.linux
Subject: Re: daylight savings.
Reply-To: [EMAIL PROTECTED]
Date: Thu, 02 Nov 2000 03:21:25 GMT

In our last episode (Mon, 30 Oct 2000 14:59:19 GMT),
the artist formerly known as Hal Burgiss said:
>On Mon, 30 Oct 2000 09:34:05 -0500, Samuel Irlapati
><[EMAIL PROTECTED]> wrote:
>>Is there a way to change the time automatically for daylight savings
>>for Linux? I had to swallow my pride and boot into windoze98 to get the
>>right time. I know there is also a Unix command to change time. Does
>>anyone know what is that command?
>
>man clock
>man hwclock
>man date
>man rdate (or maybe netdate)
>
>It is easy to do. You can combine rdate (sets time from a remote
>timeserver) with hwclock to set both system/linux time, and the BIOS
>clock automatically every time you boot, or when you connect via PPP, or
>via cron at intervals or whatever scheme you want.
>
>List of published time servers:
>
> http://www.eecis.udel.edu/~mills/ntp/clock2.htm
>
>Script excerpt:
>
> /usr/bin/rdate -s $SERVER
> 
> ## set hardware clock with our new time ...
> /sbin/hwclock --systohc

The other major alternative would be to use NTP, findable at
<http://www.ntp.org/>, which provides a protocol to manage
synchronization, taking into consideration the speed of propagation of
time signals across the Internet.

>But curiously, Linux has always automatically handled the time change
>for me. I was sitting here at 2:00AM Sun, and watched the clock on my
>desktop jump to 1:00AM. No user intervention. I have no idea
>where/how this gets done though. But a nice trick.

Curiously, Linux isn't responsible for this.  It merely stores the
present time in UTC form in all sorts of places.

Instead, GLIBC is responsible for _displaying_ the time for you.
-- 
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.ntlug.org/~cbbrowne/lsf.html>
Rules of the Evil Overlord #66. "My security keypad will actually be a
fingerprint scanner. Anyone who watches someone press a sequence of
buttons or dusts the pad for fingerprints then subsequently tries to
enter by repeating that sequence will trigger the alarm system."
<http://www.eviloverlord.com/>

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

From: John Broadhead <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Where to buy compatible parallel port ethernet?
Date: Wed, 01 Nov 2000 20:23:20 -0700

I've been trying to find a linux-compatible parallel ethernet adapter.
Since I recently got an older 486 laptop with no PCMCIA slots. I read
that a Xircom pocket ethernet will not work. Pretty much the only places
I know where to look are Ebay and Pricewatch.com.

Ebay has mostly Xircoms, but there is one Kingston that I found. Is a
Kingston poket ethernet parallel adapter compatible with Linux? I
haven't found any specific information about it, but I supposed it's
possible Kingston just used another company's chip in it.

Failing that, does anyone know WHERE to buy a Linux-compatible parallel
port ethernet adapter? I know pretty much what I need to buy, I just
need someone to point me to someone that sells one.

I'd like to buy one of the recommended Accton or DLINK ones, but they
are not to be found (at least where I'm looking).

Thanks,
John Broadhead

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

From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: How to detach a program from a terminal
Date: Thu, 02 Nov 2000 03:31:38 GMT

On 2 Nov 2000 01:46:05 GMT, [EMAIL PROTECTED] wrote:

>I need to know how to detach a running program from the terminal it was invoked
>on.  i sometimes telnet into my computer and want a program to run after i
>logout.

control-z
followed by the 'bg' command
followed by 'exit'

Mark Post

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

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

From: Mac Cody <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Linux support for PDAs/organizers other than Palm Pilot?
Date: Wed, 01 Nov 2000 22:45:59 -0600

The subject line pretty much says it all.  Is there support
on Linux for PDAs/organizers other than the 3Com Palm Pilot?
For example the Sharp Wizards (OZ-730PC), Royal DV3 DaVinci,
or Casio PV-400Plus.  Any pointers would be appreciated

Thanks,

Mac Cody

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: color prompt in tcsh
Date: 2 Nov 2000 03:32:38 GMT

Brad Friedman <[EMAIL PROTECTED]> wrote:
: This doesn't seem to work in tcsh. When I try putting things like 1;31 in
: my prompt, it just prints that string. 

Those are mostly ansi escape sequences. They are interpreted
by your xterm, not by tcsh. The \h and \w are bashish, I think.
The  \[ must also be bashish. You just want something like <esc>[1;31m
AFAIR. Where is the man page for ansi? Ah. Try "infocmp".

Woooohoo. Try

     set prompt="%m:%/% "
     alias precmd "echo -n '^V<esc>[1;31m'"
     alias postcmd "echo -n '^V<esc>[0m'"

The ^V<esc> is what you have to type to embed an escape char in the
string. The ^V is ctrl-V.

:>        PS1='\[\033[1;31m\]\h:\w\$\[\033[0m\] ' 
:>
:>This will make the command prompt for root RED and the command prompt

Peter

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

From: [EMAIL PROTECTED] (Stewart Honsberger)
Subject: Re: SuSE6.4 and crashing netscape
Reply-To: [EMAIL PROTECTED]
Date: Thu, 02 Nov 2000 03:59:33 GMT

On 31 Oct 2000 20:42:07 -0600, Michel Catudal wrote:
>> Whoa! Upgrading the OS is the Windoze solution to things. The Linux solution
>> is much simpler, can result in all your daemons not missing a single beat,
>> and will likely fix the problem rather than using a band-aid and not knowing
>> what was wrong in the first place.
>
>Actually SuSE 6.4 is rather unstable compared to SuSE 6.3 and SuSE 7.0
>I've had lotsa problems with SuSE 6.4 

The distribution doesn't cause crashes; it's merely a grouping of software
packages. What, specifically, have you had problems with? My Linux box hasn't
crashed in as long as I can remember.

>As for XFree86 4.01 it is just as buggy as 4.0 in the crashing
>dept. I think I will go back to a 3.3.x version

How did you install it? Which version did you download? I seem to recall that
there are a few different binary compilations. Have you tried compiling +
installing from source?

-- 
Stewart Honsberger (AKA Blackdeath) @ http://tinys.cx/blackdeath
[EMAIL PROTECTED]  (Remove 'thirteen' to reply privately)
Humming along under SuSE 6.4, Linux 2.4.0-test9

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

From: marc <[EMAIL PROTECTED]>
Subject: compilation problem
Date: Wed, 01 Nov 2000 18:03:00 -0500

eversince I've installed debian 2.2 I have been unable to compile some
porgrams like pine and nmap. it's always the same king of error:

======begin pico/pine=========
/usr/bin/ld: cannot find -lncurses
collect2: ld returned 1 exit status
======end pice/pine==========

======begin nmap============
/bin/sh: lex: command not found
yacc -d grammar.y
make[1]: yacc: Command not found
make[1]: *** [grammar.c] Error 127
make[1]: Leaving directory
`/usr/local/src/nmap-2.53/libpcap-possiblymodified'
make: *** [libpcap-possiblymodified/libpcap.a] Error 2
=======end nmap==========


those are the error message i got .
does anyone have a clue about my proble?

--Marc



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


** 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
******************************

Reply via email to