Linux-Misc Digest #807, Volume #24               Tue, 13 Jun 00 19:13:02 EDT

Contents:
  Re: mouse driver for 2-button mouse at serial port.. ("David ..")
  ipportfw (Iris Silva)
  Re: UMOUNTING loopback device..How?
  Re: RH 6.1 and random freezes ("Ron")
  Simple shell script question ("Bennett J. Price, Ph.D.")
  Fwd: Re: Why Linux suck!
  Re: Simple shell script question (Grant Edwards)
  Install Questions (Bill Michael)
  ldconfig - help needed ([EMAIL PROTECTED])
  text colors ("Jeff Audette")
  Re: keyboard mappings
  Re: Read Linux partition from Win95 ? ("Andrew E. Schulman")
  Re: ldconfig - help needed ("Tom Hoffmann")
  Re: democracy? ("John S. Dyson")
  PATH (Philip)
  Re: UMOUNTING loopback device..How? ("Tom Hoffmann")
  Re: UMOUNTING loopback device..How? (Michael Nadler)
  Re: httpd.conf error?? ("Tom Hoffmann")

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

From: "David .." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,it.comp.linux,it.comp.linux.setup
Subject: Re: mouse driver for 2-button mouse at serial port..
Date: Tue, 13 Jun 2000 16:33:12 -0500

Joydeep Roy Chowdhury wrote:
> 
> hi,
> 
> i moved my linux installation to a new motherboard having serial port
> mouse and i use a 2-button mouse there. x-windows does not work in the
> new platform, i though can boot in single user mode. what configuration
> changes i need to do to make the x-windows working ? i need to know what
> file /dev/mouse should be linked to ?
> 
> thanks for any info and suggestion.

Try as root "mouseconfig"

-- 
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: Iris Silva <[EMAIL PROTECTED]>
Subject: ipportfw
Date: Tue, 13 Jun 2000 21:54:34 GMT

Can someone refer me to a site where I can find ipportfw or if you have
the rpm file email it to me.

I need it ASAP.

Iris



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: UMOUNTING loopback device..How?
Date: Tue, 13 Jun 2000 18:02:47 -0400

something or someone is in that directory. mostly you.
go through all of your consoles and make sure pwd does not put you in the
mounted  directory.


If you have X running, get the file manager (gmc)  to some other folder...
good luck

Ron Gibson <[EMAIL PROTECTED]> wrote in message
news:eleS4DQ3N6dS-pn2-ddk6wfje6C3v@localhost...
> I can't figure how to umount device that is mounted with the loopback
> option...
>
> mount -o loop -t ext2 /file /mnt
>
> This is after dd was used to create /file and ext2 filesystem was
> created.  This is the process of making a custom bootdisk that I'm
> working on.
>
> Every time I try umount /mnt it tells me "device busy".
>
> I've looked a losetup and tried different combinations using
>
> losetup -d /file    ...etc.
>
> I also get a "device busy"
>
> In all cases /file or /mnt is not being accessed at that time.
>
> So can somebody tell me what is the proper procedure to do this?
> Currently the only way I can do it is to shutdown.
>
> TIA.
>
> Email: [EMAIL PROTECTED]
> Home Page: http://home.netcom.com/~rgibson/index.htm
>



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

From: "Ron" <[EMAIL PROTECTED]>
Subject: Re: RH 6.1 and random freezes
Date: Tue, 13 Jun 2000 18:08:10 -0400

I think I got my system working, at least it ran overnight without locking
up!  I did this by going back to the bios and (after writing down all the
settings) selecting load bios defaults.  The bios had been adjusted by
either the board manufacturer, or the local pc shop that pieced together the
system for us.  It was most likely optimized for MS Windows, as that's the
operating system they put in the machine.

Charles emailed me directly and his email was very helpful.  Thanks,
Charles!!  I've attached it below.  It may be a help to others.

This identifies an interesting strength of MS Windows over Linux: it is
widely tolerant of hardware flaws.  Unfortunately, it is not as tolerant of
software flaws!  That's linux's strength :-)  (Please don't start a flame of
MS vs. Linux.  This newsgroup is for those who already know that linux is
better!)

Thanks,
Ron

Rafael wrote:

Hej ROn!
I have the same problem with freezing. It freeze in RedHAt 6.1 and 6.2. A
littl�e help was when I slow down the motherboard. But after adding next net
card the problem was again.
My computer is also running without any problem on 95 and 98.
I tried to work a little bit with interrupts it helped but it stell freeze, but
now one time per 5 hours.
If you will find the solution please mail me.
I have Epox matherboard.
Rafael


Charles wrote:

>I installed RH 6.1 on a Pentium II machine, but am experiencing random
>lockups which require a hard reset to get out of.  It required several
>attempts just to get linux installed on the machine, and it won't run for a
>full hour before locking up.  The hardware itself should be ok, as the same
>machine has been running Windows 95 for the past two years with only the
>typical occasional (and bothersome) Windows crashes!

If I were you, I'd try replacing (or just re-seating) the memory and see if
that cures the problem.  Win95 and Linux are very different in the way that
they load memory, and if that particular portion of memory is marginal,
one may run OK and the other may not.  Another possible diagnostic is to
download a memory test program and let that see if there's a problem.

Your problem appears to me to be either a memory problem or possibly a
marginal or faulty motherboard.  These are the most likely causes for
a machine locking up as you describe.  To diagnose motherboard problems, try
changing the settings in the BIOS for how the PCI bus operates.  This can
vary a lot from board to board, chipset to chipset, and BIOS to BIOS,
but what you want is to change settings to make the system slower (and hopefully
less likely to lock up.)  Make a note of the settings you have before fiddling!

Another (unlikely) possibility is that your power supply is getting a bit
marginal.  This one is hard to diagnose, as it would require swapping the
PS with a known-good one.  Lots of cables, and I never do this without having
qualms about getting something connected backwards.  The "AT" style connectors
which can be connected wrong and blow everything sky-high give me nightmares.

So check the memory first, and try the down-clocking before moving to the PS.

>The system consists of an Asus P2L97 motherboard, Award BIOS, Intel Pentium
>II/233 MHz, 64 MB RAM, Trident Super VGA card, and 3Com 3C905 network card.
>I do not have a sound card, and I experience the same problems in runlevel 3
>(i.e. not running X windows).  This is a clean installation of RH 6.1 & all
>current updates on a linux-only machine.


Since it occurs with the plain console interface, it would appear *not* to be
a video driver (wrong X driver) problem.  That leaves only memory, BIOS, or
other hardware problem.  If you pull the 3Com card, you can eliminate that as
well, but frankly it's highly unlikely to be the source of the problem.

>Could this be some type of BIOS setting or motherboard problem?  Has anyone
>else had similar problems?

Yes.  And yes, I've had similar problems, all of which were ultimately traced
(sometimes after lots of fiddling) to bad hardware.  Best of luck to you. And
find the problem, as in my opinion you cannot trust a machine that won't run
linux.  There must be something wrong with your hardware or BIOS settings, and
you'll never find out what it is under Win95.

Best of luck to you.

Charles.




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

From: "Bennett J. Price, Ph.D." <[EMAIL PROTECTED]>
Subject: Simple shell script question
Date: Tue, 13 Jun 2000 14:22:51 -0700
Reply-To: [EMAIL PROTECTED]

I wrote the following shell script for Linux 5.1

cd /usr/foo/bar
pwd


I chmod'd the script to 744.

when I run the script (as root), the second line (pwd) says I'm in
/usr/foo/bar.

When I then type pwd, (after the script has run),  I am precisely where
I 
started from and my path has not changed.

What am I doing wrong?


-- 
Bennett J. Price, Ph.D.         [EMAIL PROTECTED]
Psychiatry Department, San Franciso General Hospital
Univ of California, San Francisco
415 206 3801    Fax 415 206 8942
Mailing address=UCSF-SFGH-7M8 / 1001 Potrero Ave. 
San Francisco, CA 94110

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

From: [EMAIL PROTECTED] ()
Crossposted-To: alt.linux,alt.os.linux
Subject: Fwd: Re: Why Linux suck!
Date: Tue, 13 Jun 2000 22:21:21 GMT

On Tue Jun 13 07:57:14 2000 "Blah Guy" <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]> wrote in alt.linux.sux

[Forwarded message]:

Hi Craig,  welcome to the best forum.

Hmm.. interesting.. and you're right.. maybe I haven't give Linux a good
run.  And just to set the record straight, I been using linux for about 2
months now.. when I said "days".. I meant a couple hundred days!  And as for
you all the task that you use Linux for, can you list the application that
you use?  So that way I can test them and prove that the Windows counterpart
is better.

Here's what I use on win2k, and I suggest you try it to prove that they're
not as good as the linux counterpart.

> software development

Visual Studio 6.0  (Visual C++ 6.0)

> web development

Visual InterDev 6.0

> games (inc. Q3A on a RivaTNT2)

Haha.. this list is WAY too long, not like the Linux list of what.. 3 or 4
games.. and it's sad to know that everyone on Linux only plays Q3A.. you
should try Half-Life and the multiplayer mod Counter-Strike for Half-Life.
It MUCH better that Q3A, but ooops.. you'll need win98/win2k to run it...

> databases

Access 2000 (SQL Server 7.0)

Depending on the task, they both work very well.

> word processing

Word 2000

> graphics

Photoshop 5.5 (I think this makes Gimp look like um.. a gimp!)

> internet use

Internet Explorer 5.0 (And this bets Netscape handsdown!)

> scientific study

(I don't)

> mucking about generally

(You have to do this alot because you're using Linux)

> in fact, just about any reason you can think of to run an OS.
>
> And Windows? I use it to, erm.. hold on, I'll get back to you on that one.

I'm sure you use it, I don't think ANY Linux user uses Linux only.  You're
just won't admitted.

> Just because you spent what? 3 days messing about with something, you
think
> you know it all. Thats like spending 2 days on a beach in California, get
> sun burnt, and say that Cleethorpes is better for that one reason.

Weird example, but whatever.

> And as for fanatical, irrational defense. You sound like someone who has a
> candle to burn for Windows. Whats wrong with saying "I have tried Linux,
but
> I find I can do more of what I want with Windows". Thats what I said, but
> reverse the OS's.

I think the statement should be.. "I have tried Linux, and it sucks."

> You say you love Visual C++ and Visual InterDev, and thats cool. I use
them
> alot, and they are good (at work that is). Thing is, I prefer CodeCrusader
> and G++ with QT or GTK+. Personal preference.

I will try CodeCrusader and G++ (argh), but I don't believe they'll be more
powerful than Visual C++.  And Don't they have CodeWarrior for Linux.  I
think you should look into that... much more promise.

> And anyone who says "PERIOD. END OF ARGUMENT" is obviously just scared to
be
> proved wrong by subsequent posts, and wants to nip it in the bud.

I think that "END OF ARGUMENT" is hoping people would respond.  I love to
heard what Linux user have to say to defend it.  But I still fail to find a
good argument.

> Just my $0.02

Here's mine and your change.

> Craig

--BlahGuy







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

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Simple shell script question
Date: Tue, 13 Jun 2000 22:23:38 GMT

In article <[EMAIL PROTECTED]>, Bennett J. Price, Ph.D. wrote:

>cd /usr/foo/bar
>pwd
>
>
>I chmod'd the script to 744.
>
>when I run the script (as root), the second line (pwd) says I'm in
>/usr/foo/bar.
>
>When I then type pwd, (after the script has run), I am
>precisely where I started from and my path has not changed.

The shellscript runs in it's own process.  The "cd" command
changes the working directory for the shellscript's process,
not for the one from which you started it.

You can change the current shell's working directory with a
"cd" command in an alias or function, but not in a shellscript
that runs in another process.

-or-

You can tell the shell to execute the commands from the file
rather than running it by doing

  $ . ./scriptname  # executes commands from file in current shell
  
  instead of
  
  $ ./scriptname    # starts a new shell to execute the commands in the file

-- 
Grant Edwards                   grante             Yow!  FUN is never having
                                  at               to say you're SUSHI!!
                               visi.com            

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

From: Bill Michael <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.setup,linux.redhat.install,linux.redhat,redhat.general,redhat.config
Subject: Install Questions
Date: Tue, 13 Jun 2000 22:28:07 -0400

Question 1:

I have done and FTP install of RH6.2 on an old Packard Bell.  The
machine
is incredibly slow so I am trying not to reinstall.  When I boot it, it
is
not even trying to look for the CD-ROM drive.  Then I get a Kudzu
message
that tells me that the CD-ROM CDU311 has been uninstalled  and do I want

to remove the configuration information.  I "do nothing" so I get this
message again.  A couple times when I have booted this machine it has
sensed the CD-ROM drive and everything seemed fine.

What should I do??


Question 2: For some reason on the same machine there is something wrong

with the eth0 alias.  When I go to linuxconf, I can see the entry in the

Basic Host Information box but when I go to IP aliases for virtual hosts

box it does not exist.  As I am new at this I am completed baffled.

Ideas anyone??


Thanks for any and all help
Bill




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

From: [EMAIL PROTECTED]
Subject: ldconfig - help needed
Reply-To: [EMAIL PROTECTED]
Date: Tue, 13 Jun 2000 22:30:23 GMT

I have a problem running ldconfig.  It's not clear to me what parameters
I should use.  The man page suggests it needs me to specify a directory, but
I guess I've got the wrong one.  I should appreciate some guidance on how to
run it.

Basically, I am trying to compile slrn, which in turn needs s-lang.  It's the latter
that has given me the problem. 
I followed the instructions in the documentation successfully
until I got the on-screen message saying I should run ldconfig,
but there is no information on how I should run it.
I tried ldconfig /usr/local/lib, but that was obviously not correct,
since when I try to make slrn I get an error saying that
slang.h doesn't match the slang library version and did I run ldconfig?

- Richard Kimber

Political Science Resources
http://www.psr.keele.ac.uk/


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

From: "Jeff Audette" <[EMAIL PROTECTED]>
Subject: text colors
Date: Tue, 13 Jun 2000 22:33:55 GMT

Hi

How can you configure RH6.2  text colours for the console? In SCO you can
use the setcolor command.

I want to set the text to one color, and not change for different file
types.

Thanks
Jeff



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

From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Re: keyboard mappings
Date: Tue, 13 Jun 2000 18:43:44 -0400

check /etc/X11/init directory.
If there are two scripts there, find out the one that mentions ".xmodmaprc"
or something similar.

Then place a file with the same name in your user home, and add the keyboard
mappings there. You can leave out the keys that are already mapped & working
fine. X will merge what it has with what you specify here.

Hope this helps.


Kenneth Mankoff <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi all,
>    I have figured out how to remap my keyboard at the console, but
> whenever i enter X windows, it reverts to the original layout (with some
> keys in bad locations). I would like my re-mapped board to continue to be
> re-mapped even when i'm in X.
>    any help will be appreciated.
>
> system: redhat 6.2 with a gateway keyboard.
>
> thanks,
>   ken.
>



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

From: "Andrew E. Schulman" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Read Linux partition from Win95 ?
Date: Tue, 13 Jun 2000 18:59:04 -0400

> Check out Explore2fs  Windows 95 file browser like interface for Linux
> parititions , write enable is "experimental" but seems to work alright
> (cross my fingers).

Sounds to me like a massive security hole.

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

From: "Tom Hoffmann" <[EMAIL PROTECTED]>
Subject: Re: ldconfig - help needed
Date: Tue, 13 Jun 2000 23:00:39 GMT

> I have a problem running ldconfig.  It's not clear to me what
> parameters I should use.  The man page suggests it needs me to specify
> a directory, but I guess I've got the wrong one.  I should appreciate
> some guidance on how to run it.

On the command line running

/sbin/ldconfig -n /lib

as  root  after  the  installation  of  a  new DLL, will update the
shared library symbolic links in /lib.


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

From: "John S. Dyson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: democracy?
Date: Tue, 13 Jun 2000 18:03:35 -0500

Robert Hampf wrote:
> 
> [EMAIL PROTECTED] <[EMAIL PROTECTED]> h�lt �essu fram:
> :
> : In case you haven't noticed, the USA is NOT a "democracy"!  The people
> : who conduct these invalid polls would love for you to think it is, but
> : if you'll read the Constitution (RTFM) you'll see we're actually
> : configured as a "republic".
> 
> I would be tempted to call this American bullshit.  Instead I'll just
> call it bullshit.
> 
> The reason I nearly called it American bullshit is that over there in
> their language republican is opposite of democrate and liberal is
> not-liberal.
> 
The fact is that the USA is not a democracy in the truest sense, it
is representative government, with basic 'guarantees' of certain
rights.  In the USA, the rights are technically not
created by the government, but are respected and supported by the
government.  In fact, technically in the USA the gov't is there
only for the benefit of the people, and the people aren't 'subjects'
and are collectively sovereign.  A difference between the USA
and alot of other gov'ts are that many other, NON-USA gov'ts,
the people are technically not sovereign, but the gov't is (or
in England, the Queen is.)  In reality, the gov't in the USA
ends up with most of the same control that a sovereign has.  The
major difference is in the mindset and not in the implementation.


-- 
John                  | Never try to teach a pig to sing,
[EMAIL PROTECTED]      | it makes one look stupid
                      | and it irritates the pig.

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

From: Philip <[EMAIL PROTECTED]>
Subject: PATH
Date: Tue, 13 Jun 2000 23:04:26 GMT

I am trying to change the PATH variable so that /usr/local comes before
/usr/bin and apparently I am looking and changing the wrong files.  I am
using RH 6.1 and have attempted to change the files
.bash_profile and gdm.conf, but there appears to be some other place
where an earlier default for PATH is initially added.   Not only would I
like to know where this other file is but also which documentation is
recommended for finding answers to questions like this.

Thanks


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

From: "Tom Hoffmann" <[EMAIL PROTECTED]>
Subject: Re: UMOUNTING loopback device..How?
Crossposted-To: comp.os.linux.setup
Date: Tue, 13 Jun 2000 23:04:34 GMT

> I can't figure how to umount device that is mounted with the loopback
> option...
> 
> mount -o loop -t ext2 /file /mnt
> 
> This is after dd was used to create /file and ext2 filesystem was
> created.  This is the process of making a custom bootdisk that I'm
> working on.
> 
> Every time I try umount /mnt it tells me "device busy".
                                        ^^^^

Are you really trying to unmount the mount point?


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

From: Michael Nadler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: UMOUNTING loopback device..How?
Date: Tue, 13 Jun 2000 15:51:18 -0700

A quick way to find out which process(es) are using a particular file (or
directory) is the "fuser" command.  In the man page, particularly look at the
"-u" and the "-k" options.


[EMAIL PROTECTED] wrote:

> something or someone is in that directory. mostly you.
> go through all of your consoles and make sure pwd does not put you in the
> mounted  directory.
>
> If you have X running, get the file manager (gmc)  to some other folder...
> good luck
>
> Ron Gibson <[EMAIL PROTECTED]> wrote in message
> news:eleS4DQ3N6dS-pn2-ddk6wfje6C3v@localhost...
> > I can't figure how to umount device that is mounted with the loopback
> > option...
> >
> > mount -o loop -t ext2 /file /mnt
> >
> > This is after dd was used to create /file and ext2 filesystem was
> > created.  This is the process of making a custom bootdisk that I'm
> > working on.
> >
> > Every time I try umount /mnt it tells me "device busy".
> >
> > I've looked a losetup and tried different combinations using
> >
> > losetup -d /file    ...etc.
> >
> > I also get a "device busy"
> >
> > In all cases /file or /mnt is not being accessed at that time.
> >
> > So can somebody tell me what is the proper procedure to do this?
> > Currently the only way I can do it is to shutdown.
> >
> > TIA.
> >
> > Email: [EMAIL PROTECTED]
> > Home Page: http://home.netcom.com/~rgibson/index.htm
> >

--
>
> The American Republic will endure until the day Congress discovers that it
> can bribe the public with the public's money.  --Alexis de Toucqueville (~1805)




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

From: "Tom Hoffmann" <[EMAIL PROTECTED]>
Subject: Re: httpd.conf error??
Date: Tue, 13 Jun 2000 23:07:16 GMT

In article <[EMAIL PROTECTED]>, Akira Yamanita
<[EMAIL PROTECTED]> wrote:
> Jeff wrote:
>> 
>> I have been setting up a server on RH 6.2.  When I try and access a
>> page like http://localhost/~blaise I get an error that the page is
>> forbidden. And recently I get the error when I access
>> http://localhost, which used to work.  Any help?
> 
> Read the thread "Apache problem?" in this newsgroup.

You might also want to spend some time lurking around
comp.infosystems.www.servers.unix


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


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