Linux-Setup Digest #844, Volume #20              Fri, 16 Mar 01 20:13:10 EST

Contents:
  Re: can a Linux server be setup as a Router? (Teeitup816)
  upgrade to 2.4.2 over Corel 2.2.16 (Gary Dale)
  Re: Red Hat 7.0 jumpy cursor in Xfree 4 (Michael Perry)
  Re: sendmail Masq stuffing up Reply address (Michael Perry)
  Re: .bash_profile not execute at login (Bit Twister)
  Re: Setting the time zone (Michael Perry)
  Installing Linux ? ("Hokus Pokus")
  Re: RH7 kernel upgrade to 2.4.0 (Steve Martin)
  Monitor stats for X ("Kevin Gill")
  Re: Monitor stats for X ("Kevin Gill")
  Re: Is it really worth it ? (Vilmos Soti)
  Re: CD freezes during install (Laurent Duperval)
  Re: Monitor stats for X (Michael Heiming)
  Re: Installing Linux ? (Michael Heiming)
  Setting up X on IBM Thinkpad 1420 (Ramin Sina)
  Re: Problem of IRQ with my printer (David Efflandt)
  jakarta install problem... (David Edelstein)
  Lucent Winmodem (Ramin Sina)
  Re: Setting up X on IBM Thinkpad 1420 (Xavier Debacker)
  Re: mkinitrd - can't create image & locks up linux (Glenn)

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

From: [EMAIL PROTECTED] (Teeitup816)
Date: 16 Mar 2001 23:11:59 GMT
Subject: Re: can a Linux server be setup as a Router?

Thanks for the information! If I have problems setting up this server as a
router, may I ask you questions?

One up front question, if you don't mind.

The two IP networks I have, are both on the same sub-net, but with different IP
ranges. 

Network 1 uses xxx.xxx.xxx.1 through xxx.xxx.xxx.120

Network 2 uses xxx.xxx.xxx.121 through xxx.xxx.xxx.254

With this configuration, will I have to enter each one of the 254 different  IP
addresses into the routing table, since I'm on the same subnet? Or can I
specify ranges in the table?

Thank you in advance for responding so quickly.

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

From: Gary Dale <[EMAIL PROTECTED]>
Subject: upgrade to 2.4.2 over Corel 2.2.16
Date: Fri, 16 Mar 2001 23:13:47 GMT

I've been trying to upgrade but I'm getting some glitches. I've added 
the 2.4.2 kernel as a test option to LILO and I can start it OK but then 
my system acts up when running. For example, I frequently don't get my 
desktop items in KDE. When that happens, I also can't run any new 
programs (but I can browse files in the File Manager if that was open). 
This has happened 3 out 4 times that I've started the new kernel. The 
other time (the second time I started it), the desktop came up fine and 
I was running programs Ok when the machine suddenly rebooted.

Do I need to do other things, such as rebuild KDE, to get this to work?

Sorry for the newbie type question, but ...


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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Red Hat 7.0 jumpy cursor in Xfree 4
Date: Fri, 16 Mar 2001 23:40:25 -0000

On Thu, 15 Mar 2001 04:51:26 GMT, Genesis <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Craig Kelley) wrote in 
><[EMAIL PROTECTED]>:
>
>>[EMAIL PROTECTED] (Genesis) writes:
>>
>>> [EMAIL PROTECTED] (Craig Kelley) wrote in 
>>> <[EMAIL PROTECTED]>:
>>> >
>>> >Does it work on the console with gpm?
>>> >
>>> Yes.
>>> 
>>> >Does it still do that if you kill gpm before starting X11?
>>> >
>>> Yes.
>>
>>Strange.  Run mouseconfig as the root user and try a different mouse.
>>
>
>Tried both, neither worked.
>Could X be configured wrong, low sample rate maybe?
>
>-Genesis

I don't use graphical configuration tools whatsoever for things like this.
Did you set the X stuff up using Xconfigurator?  I would try using
xf86config and get a basic XF86Config-4 file and start with that.  I
recently went from debian stable to testing with x4.0.2.  I have mouse
issues with gpm running on the box when X starts.  I also installed the
latest nvidia drivers and the kernel module.

Try starting with the basic text configuration tool and see what happens.
I have had fair luck with Xconfigurator and sometimes bad luck.  I usually
can hack away at a self-built XF86Config file and get it working quicker
than running Xconfigurator 9000 times and trying it that way...

-- 
Michael Perry
[EMAIL PROTECTED]
==================

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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: sendmail Masq stuffing up Reply address
Date: Fri, 16 Mar 2001 23:43:24 -0000

On Wed, 14 Mar 2001 18:00:41 +1100, Peter Nunn <[EMAIL PROTECTED]> wrote:
>Hi there folks,
>
>I have been mucking around trying to setup sendmail and procmail for a
>few days now and have hit another snag.
>
>I have my own domain registered and mail is bounced from those
>addresses to my one ISP account, so I need to masq my outgoing names
>to the IP's domain to keep sendmail sweet.
>
>Now, I have just discovered that not only is it changing the envelope,
>but its changing the Reply to address to be the [EMAIL PROTECTED] rather
>than [EMAIL PROTECTED] which the mail program is putting out.
>
>How do I stop this?
>
>Ta
>
>Peter
>
>Peter Nunn
>DownUnder

Have you rewritten a sendmail.cf using the m4 scripts to masquerade the
envelope?  Also what email client?  What configuration options does it have? 
I use mutt and exim here with debian.  It took awhile but I learned a bit
how exim does masquerading the envelope.  It does address rewriting.  With
sendmail, you can rewrite sendmail.cf files to do a variety of things.  For
a great resource on sendmail, try out www.moongroup.com.

They also have have a great section on sendmail masquerading, how to swich
to postfix, etc.

-- 
Michael Perry
[EMAIL PROTECTED]
==================

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

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: .bash_profile not execute at login
Reply-To: [EMAIL PROTECTED]
Date: Fri, 16 Mar 2001 23:44:02 GMT


do you have export BASH_ENV=$HOME/.bashrc in 
        /root/.bash_profile


On Fri, 16 Mar 2001 10:26:20 +0800, Low Han Ming <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I've setup my machine to run Red Hat 7.0 with KDE.
>
>I notice that the .bash_profile for my root is not executed during login.
>My PATH setting is
>~/bin:/bin:/usr/bin:/usr/X11R6:/opt/kde2/bin:/usr/lib/kde2/bin:/usr/local/bi
>n
>
>However, in my .bash_profile
>The setting is /etc:/usr/local/sbin:/usr/sbin:/sbin:$PATH:$HOME/bin
>and
>I don't have a /opt/kde2/bin as found in the PATH.
>
>Can anyone kindly advice on where I've gone wrong.
>
>Thanks.
>
>
>Han Ming
>
>


-- 
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man command_here or cat command_here, before using it.

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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Setting the time zone
Date: Fri, 16 Mar 2001 23:44:32 -0000

On Fri, 16 Mar 2001 12:13:55 +0000, Alec Harkness 
<[EMAIL PROTECTED]> wrote:
>Easy one:
>
>How do I set the time zone for the system clock from EST to (for
>example) GMT?  I could just change the time by 4 or 5 hours, but that's
>cheating.
>
>The man file is no help.

What distribution?

There are usually tools to do this.  How is the hardware clock set?  Does
this system share booting with win9x?  Take a gander at man hwclock also.

-- 
Michael Perry
[EMAIL PROTECTED]
==================

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

From: "Hokus Pokus" <Hokus [EMAIL PROTECTED]>
Subject: Installing Linux ?
Date: Fri, 16 Mar 2001 17:43:00 -0800
Reply-To: "Hokus Pokus" <Hokus [EMAIL PROTECTED]>

I downloaded  a version of RedHat Linux and
now need help installing. Is there a web page
somewhere of directions?

Also what does an ISO file open with?
That is how it came.

Thanks for any halp





--

--

->->->->->->  Reply in newsgroup only please  <-<-<-<-<-<-






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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: RH7 kernel upgrade to 2.4.0
Date: Fri, 16 Mar 2001 18:53:08 -0500

roshi wrote:

> I need to upgrade RH7 to the 2.4.0 (or 2.4.1) kernel.
> Red Hat does not yet have an RPM for this.
> 
> I need to upgrade kernel and PCMCIA to work
> on wireless networking in 2.4.
> 
> Anyone done this upgrade?
> Am I in trouble here?
> 
> Does RH keep the kernel in /usr/include instead of /usr/src?

Before you do anything else, check your /usr/src directory.
If you installed an earlier kernel version's source, there'll
be a directory or a link there called "linux". If it's a
directory, rename it with the "move" command. If it's a
link to a directory, simply remove the link with the "rm"
command. (Failure to do this will result in mixing kernel
version source trees, an unhealthy practice.)

Go to www.kernel.org, and get the kernel source as a gzipped
tar file (linux-2.4.0.tar.gz). Put the downloaded file
in the directory /usr/src/ (temporarily -- move it to
more permanent storage after you've unpacked it), and issue the
command "tar xzf linux-2.4.0.tar.gz"

Then, for goodness' sake, read the file
/usr/src/linux/Documentation/Changes. It lists all the prereqs
for the 2.4 series of kernels. Check everything it says,
do what it says, and you'll be okay.

Since you're using RH7, here's a major caveat. The version
of gcc (the compiler) shipped with Red Hat 7.0 is *not
suitable* for compiling the kernel. Don't use it! It'll
cause problems. To avoid this, you'll need to have installed
the kernel-suitable compiler shipped with Red Hat; it's
called "kgcc". (It's actually egcs version 2.91.66.)
Once you've unpacked the kernel source, edit
/usr/src/linux/Makefile to replace the two instances of
"gcc" with "kgcc". Then do "make config" (or "make xconfig"
if you have X Windows running), "make dep", "make clean",
"make bzImage", "make modules", and "make modules_install".
You'll be left with a shiny new kernel file in
/usr/src/linux/arch/i386/boot/bzImage. Copy this
file to / or to /boot, edit /etc/lilo.conf to point to the new
image (preferably leaving your existing kernel alone so
that, in case something goes badly wrong, you'll have a
fallback position), and run "lilo". 

By the way, no the kernel source definitely should *not*
be in /usr/include.

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

From: "Kevin Gill" <[EMAIL PROTECTED]>
Subject: Monitor stats for X
Date: Fri, 16 Mar 2001 15:55:05 -0800

I just installed Linux for the first time (Mandrake 7.2) and I'm having
trouble configuring X for my monitor.

The monitor is a Shamrock C507L.  I've searched for info using Google, but
could not find my monitor.

The Video card is a Trident (9860) with 1M Ram

Can anyone help me with the correct horizontal and vertical sync
frequencies/ranges?

TIA
Kevin Gill



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

From: "Kevin Gill" <[EMAIL PROTECTED]>
Subject: Re: Monitor stats for X
Date: Fri, 16 Mar 2001 16:06:00 -0800

"Kevin Gill" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I just installed Linux for the first time (Mandrake 7.2) and I'm having
> trouble configuring X for my monitor.
>
> The monitor is a Shamrock C507L.  I've searched for info using Google, but
> could not find my monitor.
>
> The Video card is a Trident (9860) with 1M Ram
>
> Can anyone help me with the correct horizontal and vertical sync
> frequencies/ranges?
>
> TIA
> Kevin Gill
>
>

PS:  I also do not have the manual for the monitor



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

Subject: Re: Is it really worth it ?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Sat, 17 Mar 2001 00:09:44 GMT

[EMAIL PROTECTED] (Julian T. J. Midgley) writes:

>> How many virus programs are there for Linux?
>> None. You can't give Linux a virus unless you go out on the
>> net as root.
> 
> Oh dear, oh dear, oh dear.  Rampant naivety.  
> 
> Ever heard of the Ramen worm, or vulnerabilities in setuid binaries?
> It's really not very difficult to write a worm/virus which exploits the
> latter and spreads either by a Ramen like attack on network services
> with known exploits (Bind, wu-ftpd, proftpd...) or with user assistance.

These exploit a bug in a specific software. Once you plug that hole
the threat is gone for that specific hole. It is not like an email
virus which you just have to recode so the virus scanners won't find it.

Vilmos

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

From: Laurent Duperval <[EMAIL PROTECTED]>
Subject: Re: CD freezes during install
Date: Fri, 16 Mar 2001 19:24:05 -0500



Marcus Mueller wrote:
> 
> Hi Laurent,
> 
> could you send your system configuration (mainboard, processor, IDE-interfaces).
> 
> In case you are using an A7V(133), the problem is related to the ATA100 Promise
> controller.
> 

No, it's an old P120 board:

PT-2006 board
Intel 82430VX PCISet
Award PnP BIOS
Enhanced PCI local bus IDE controller. Supports PIO modes 3 and 4. It doesn't
say what chipset it is. If I can finish installing Slackware 7.1, I'll try to
dump the info from /proc. Any files in particular I should dump?

64MB RAM
Creative Labs 8x CD.

L

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

Date: Sat, 17 Mar 2001 01:42:43 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Monitor stats for X

Kevin Gill wrote:
> 
> "Kevin Gill" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I just installed Linux for the first time (Mandrake 7.2) and I'm having
> > trouble configuring X for my monitor.
> >
> > The monitor is a Shamrock C507L.  I've searched for info using Google, but
> > could not find my monitor.

Must be a different google, you use:

http://www.google.com/search?hl=en&safe=off&q=Shamrock+Monitor+C507L&csr=


> >
> > The Video card is a Trident (9860) with 1M Ram
> >
> > Can anyone help me with the correct horizontal and vertical sync
> > frequencies/ranges?
> >
> > TIA
> > Kevin Gill
> >
> >
> 
> PS:  I also do not have the manual for the monitor

I never heard of Shamrock monitors, everyone I used, had at least
a little sticker on the rear, telling me what it was capable to do...

Good luck

Michael Heiming

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

Date: Sat, 17 Mar 2001 01:49:10 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Installing Linux ?

Hokus Pokus wrote:
> 
> I downloaded  a version of RedHat Linux and
> now need help installing. Is there a web page
> somewhere of directions?
> 
> Also what does an ISO file open with?
> That is how it came.
> 
> Thanks for any halp
> 
> --
> 
> --
> 
> ->->->->->->  Reply in newsgroup only please  <-<-<-<-<-<-

Hello,

I would suggest to really buy a userfriendly distro, as you get those
ISO images perfectly,
on bootable CD and a book which explains howto install/setup your
distro.

Good luck

Michael Heiming

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

From: Ramin Sina <[EMAIL PROTECTED]>
Subject: Setting up X on IBM Thinkpad 1420
Crossposted-To: comp.os.linux.portable,comp.os.linux.x
Date: Sat, 17 Mar 2001 00:51:47 GMT

Hi all, I am trying to install RH 6.2 on an IBM ThinkPad 1420 and I don't 
seem to get the GUI set up correctly. I don't know what to use for vertical 
and horizontal refresh rates and all that. Has anyone setup RH 6.2 on this 
laptop? I'll appreciate any advice.

Ramin Sina

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Problem of IRQ with my printer
Date: Sat, 17 Mar 2001 00:52:27 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Fri, 16 Mar 2001, Lachat <[EMAIL PROTECTED]> wrote:
>I have installed the Mandrake 7.2 on my PC with Windows 98 .
>But I can't use my printer ( it is recorgnized on /dev/lp0 by every system
>soft ).
>The Tunelp command tell me this  : " /dev/lp0 using IRQ -1".
>The system soft under Windows 98 inform that the printer Port is LPT1 and
>that it use IRQ 7 and I/O 0x378.
>The I/O parameter is recorgnised under Linux.
>My question is :
>" Wy is /dev/lp0 using IRQ -1 ( What does it means ? ) ?
>and how to change this parameter that seems to be wrong ? "
>Thanks a lot .

What brand/model printer?

Linux typically does not use irq's for printing, it uses polled mode
instead, which allows your irq's to be be used for other devices.  But
certain printers might need an irq for special features (or drivers for
Windows only printers).  I added the options line (below) in
/etc/conf.modules to set the irq in Mandrake 7.0 and commented out the
part about plip:

alias parport_lowlevel parport_pc
options parport_pc io=0x378 irq=7
#pre-install plip modprobe parport_pc ; echo 7 > /proc/parport/0/irq

When you reboot check dmesg or or /var/log/modules to see if it is using
the irq.  I don't even think it is necessary to use tunelp anymore to
enable it, just to check it or set special options.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: David Edelstein <[EMAIL PROTECTED]>
Subject: jakarta install problem...
Date: Fri, 16 Mar 2001 17:05:12 -0800


==============62E326AE5C599C3820CFEA3B
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am trying to install jakarta-tomcat-3.2.1.

I have downloaded the .tar.gzp file and unpackaged it into
/usr/local/jakarata-tomcat-3.2.1, as the directions instructed.

I believe I have set all the enviornment paths correctly; i.e.
TOMCAT_HOME, JAVA_HOME, etc. But, when I attempt to run
bin/startup.sh(to get Tomcat running), I get something similar to the
following:

classnotfound exception thrown,
org/apache/tomcat/startup/Tomcat

when you look at the files that where packaged into the jakarta
directory you will find many *.java files but no *.class files?

It looks like the installation has not been compiled, i.e. no class
files.
When are these files supposed to be compiled into class files or are
they?

Anyone know why I am having this problem? I Appreciate your help.

David E.

==============62E326AE5C599C3820CFEA3B
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am trying to install jakarta-tomcat-3.2.1.
<p>I have downloaded the .tar.gzp file and unpackaged it into 
/usr/local/jakarata-tomcat-3.2.1,
as the directions instructed.
<p>I believe I have set all the enviornment paths correctly; i.e. TOMCAT_HOME,
JAVA_HOME, etc. But, when I attempt to run bin/startup.sh(to get Tomcat
running), I get something similar to the following:
<p><i><font color="#3366FF">classnotfound exception thrown,</font></i>
<br><i><font color="#3366FF">org/apache/tomcat/startup/Tomcat</font></i>
<p>when you look at the files that where packaged into the jakarta directory
you will find many *.java files but no *.class files?
<p>It looks like the installation has not been compiled, i.e. no class
files.
<br>When are these files supposed to be compiled into class files or are
they?
<p>Anyone know why I am having this problem? I Appreciate your help.
<p>David E.</html>

==============62E326AE5C599C3820CFEA3B==


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

From: Ramin Sina <[EMAIL PROTECTED]>
Subject: Lucent Winmodem
Crossposted-To: comp.os.linux.networking,comp.os.linux.portable
Date: Sat, 17 Mar 2001 00:56:54 GMT

I have heard there is a driver for Lucent Winmodems. Does it cover all 
models Lucent winmodems? I have one on my IBM thinkpad 1420 laptop and I 
was wondering if I can use it with linux. 

Thanks,
Ramin Sina

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

From: Xavier Debacker <[EMAIL PROTECTED]>
Subject: Re: Setting up X on IBM Thinkpad 1420
Date: Sat, 17 Mar 2001 01:01:16 GMT


Ramin Sina a =E9crit :

> Hi all, I am trying to install RH 6.2 on an IBM ThinkPad 1420 and I don=
't
> seem to get the GUI set up correctly. I don't know what to use for vert=
ical
> and horizontal refresh rates and all that. Has anyone setup RH 6.2 on t=
his
> laptop? I'll appreciate any advice.
>
> Ramin Sina

launch your favorite web-browser
go to:     http://www.google.com
and type:    linux thinkpad 1420
then click on "Google Search"

I'm sure this helps ;-)




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

From: Glenn <[EMAIL PROTECTED]>
Subject: Re: mkinitrd - can't create image & locks up linux
Date: Sat, 17 Mar 2001 01:09:58 GMT

Thanks for confirming that it wasn't just me that was having this
problem. I've been gone all week and just got the message. Since 20
diffs is a little much, I think I'll wait for the next major change. I
do have 2.4.2 now as my kernel and it is broken.

Thanks,
Glenn
=====

"S. Umar" wrote:
> 
> The loop code is broken....same thing happened to me. At some point they
> put
> in the Jensen Axboe (?) fixes...... try 2.4.2 that may include the fixes
> or add Alan Cox pathes to 2.4.2 (ac20) is the latest.
> 
> --

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


** 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 by posting to comp.os.linux.setup.

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

Reply via email to