Linux-Setup Digest #474, Volume #20              Mon, 22 Jan 01 13:13:12 EST

Contents:
  Re: Why do I get auto-logged-out of my telnet session? ([EMAIL PROTECTED])
  Re: Swap size / Memory upgrade (Eric P. McCoy)
  Re: Protect yourself!  I got hacked by the Ramen worm (Jan Johansson)
  R: Sound Blaster Live on Redhat 7 ("giovanni")
  Re: Swap size / Memory upgrade (ekk)
  Re: Very New to Linux (Huw Lynes)
  Re: >64M RAM chestnut - ? new twist ("Michael Faurot")
  Re: Partition problems RedHat7.0/WinME on Compaq Presario 1700t (Andrei Pushkarev)
  Re: Can't get XFree with nvidia drivers to work ("Kurt R. Rahlfs")
  Re: Swap size / Memory upgrade ("Steve Wolfe")

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

From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat,comp.os.linux.misc,alt.linux
Subject: Re: Why do I get auto-logged-out of my telnet session?
Date: Mon, 22 Jan 2001 16:59:40 GMT



None that I know of - this happens whether I'm connecting to the box
from work, home (DSL), or at a friend's house (RoadRunner).  Maybe I
can write a macro for Tera Term that will send some unobtrusive packet
every hour or so to keep the connection alive (or use another client,
like someone else suggested - thanks Tom).

But I'd really rather solve the problem than piece a kludge together.
Could it be some RH 6.2 setting that needs to be modified?

> Are you maybe going through a proxy or a network device that kills
long
> term in-bound connections?
>
> In article <94a9po$4cm$[EMAIL PROTECTED]>,
>   [EMAIL PROTECTED] wrote:
> > I'm running RedHat 6.2 on a PIII-700.  Whenever I telnet OR ssh into
> > that box, then leave the sessions idle for some amount of time
(maybe
> > 1.5 - 2 hours), I get auto-logged-out.
> >
> > Actually, maybe that's not quite it.  When I return to the
ssh/telnet
> > window, it doesn't say that I've lost my connection... at least not
> > yet.  But as soon as I begin to type something, it immediately gives
> me
> > a "Connection lost" message.
> >
> > I thought maybe it was a feature of my telnet/ssh client (Tera Term
> > Pro), but I get the same result with other clients.  So it seems to
be
> > server-side.
> >
> > Next I thought maybe there was some shell setting that was doing it.
> > But my login shell is tcsh - a version I compiled WITHOUT the auto-
> > logout feature. (i.e. "echo $version" does NOT show the two
> > character "al" option, which would indicate auto-logout support).
To
> > be safe, I even "set autologout = 600" (i.e. 10 hours) - but that
made
> > no difference.  So I don't think it's tcsh-related.
> >
> > What else could it be?  And how can I disable it, or at least
stretch
> > the inactivity time to something much more suitable to me?
> >
> > Thanks to anyone who can help.
> >
> > Sent via Deja.com
> > http://www.deja.com/
> >
>
> Sent via Deja.com
> http://www.deja.com/
>


Sent via Deja.com
http://www.deja.com/

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

Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Swap size / Memory upgrade
From: [EMAIL PROTECTED] (Eric P. McCoy)
Date: 22 Jan 2001 12:24:35 -0500

ekk <[EMAIL PROTECTED]> writes:

> I just upgraded from 512 RAM to 1 GB.  My swap space is 768.  Should
> I increase the swap?  We do often use all of the RAM available on a
> machine, but we of course try to avoid using the swap.

Somewhat tangentially, why would you want to do this?  It seems that
if your memory requirements stay about the same and you add RAM, you
shouldn't be increasing swap.

On the other hand, I've seen people advise exactly what you're
suggesting here.  Is it for performance reasons?

So I guess I'm asking the same thing.  I have 64MB RAM on this box and
gave it 128MB swap, which I surely don't need, but I figure this
prevents repartitioning should I, at some point, need that much.

-- 
Eric McCoy <[EMAIL PROTECTED]>
  "Knowing that a lot of people across the world with Geocities sites
absolutely despise me is about the only thing that can add a positive
spin to this situation."  - Something Awful, 1/11/2001

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

From: Jan Johansson <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat.misc,comp.os.linux.misc,alt.os.linux
Subject: Re: Protect yourself!  I got hacked by the Ramen worm
Date: Mon, 22 Jan 2001 17:32:51 GMT

>It wiped out all of my index.html with the Ramen worm webpage.
>I had to do an upgrade of all the RH7.0 packages I installed.  (2 hours
>of work)
>I had to get all personal index.html from my quite recent backup.
>I wrote to www.digitaldesk.com because they said it was a beneficial
>worm in their news story.
>What a shitty story!!!
>The Ramen work causes too much damage to my computer.
>

Hmm, lets see here, you didnt check for security updates before
connecting to the internet? 

You did not have a firewall in place?

You didnt have current backups (you said you had recent).

You didnt check freshmeat/securityfocus/slashdot/every otehr place
before commiting a system to the internet.

Im sorry to say this but, You pretty much asked for it if you ask me.

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

From: "giovanni" <[EMAIL PROTECTED]>
Subject: R: Sound Blaster Live on Redhat 7
Date: Mon, 22 Jan 2001 18:38:13 +0100

I have a TRUST soundcard, and RH 7.0. It says VORTEX sound card not
supported and stops. Sombody knows how to help me?

thanks

gb


Gene Heskett <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]
> Gene Heskett sends Greetings to John MacDonald;
>
>  JM> OK Thanks I did that and that was the problem. No I find that
>  JM> Redhat doesn't support the SB Live card.
>
> Put, in your /etc/modules.conf, the line
>
> alias sound emu10k1
>
> which should bring it in fairly early in the boot, you'll hear a click
> in the speakers as it inits.
>
> Even if you are running a stock install, the driver, emu10k1.o, should
> be in the /lib/modules/version directory tree, and a simple insmod
> emu10k1 should bring it in right now.
>
>  JM> On Mon, 15 Jan 2001 01:10:55 GMT, E J <[EMAIL PROTECTED]> wrote:
>
> >>Sound like you have a built in audio card conflicting with your
> >>Sound Blaster Live. Go into your BIOS and disable your audio card.
>
> It certainly does sound that way.  Turn the onboard audio off in the
> bios like the other respondent wrote.
>
> >>John MacDonald wrote:
> >>
> >>> I have tried several times to configure my Soundblaster Live card
> >>> on RedHat 7 with a PIII 600 on a ASUS CUV4X board. When I run the
> >>> sound configuration both in Gnome and in a shell I get the same
> >>> problem. It says I have a VIA Technologies VT 82C 686 Apallo Super
> >>> AC/Audio If I try to test the configuration the systems locks up
> >>> solid. I have to pres the reset button to get anywhere. Ifr I try
> >>> to load Linux again it locks up trying to load the sound modual.
> >>> The reset button is need again.
> >>>
> >>> Anyone have any ideas how to fix this and how about a way to get
> >>> linux running without loading the sound modual.
> >>>
> >>> Thanks John
>
>
>
> Cheers, Gene
> --
>   Gene Heskett, CET, UHK       |Amiga A2k Zeus040, Linux @ 600mhz
> email gene underscore heskett at iolinc dot net
> #Amiga based X10 home automation program EZHome, see at:#
> # <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
> ISP's please take note: My spam control policy is explicit!
> #Any Class C address# involved in spamming me is added to my killfile
> never to be seen again.  Message will be automaticly deleted without dl.
> This messages reply content, but not any previously quoted material,
> is � 2000 by Gene Heskett, all rights reserved.
> --
>



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

From: ekk <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Swap size / Memory upgrade
Date: Mon, 22 Jan 2001 12:34:10 -0500


Eric,

Ah, but my memory requirements are not going to be the same, now that I
have put more memory in.  My users will most definitely use the extra RAM
to its full potential!

You do bring up an interesting point about only needing that much swap in
case you need it in the future.  Maybe that is the reason my 'linux
mentor' advised me so.


"Eric P. McCoy" wrote:

> ekk <[EMAIL PROTECTED]> writes:
>
> > I just upgraded from 512 RAM to 1 GB.  My swap space is 768.  Should
> > I increase the swap?  We do often use all of the RAM available on a
> > machine, but we of course try to avoid using the swap.
>
> Somewhat tangentially, why would you want to do this?  It seems that
> if your memory requirements stay about the same and you add RAM, you
> shouldn't be increasing swap.
>
> On the other hand, I've seen people advise exactly what you're
> suggesting here.  Is it for performance reasons?
>
> So I guess I'm asking the same thing.  I have 64MB RAM on this box and
> gave it 128MB swap, which I surely don't need, but I figure this
> prevents repartitioning should I, at some point, need that much.
>
> --
> Eric McCoy <[EMAIL PROTECTED]>
>   "Knowing that a lot of people across the world with Geocities sites
> absolutely despise me is about the only thing that can add a positive
> spin to this situation."  - Something Awful, 1/11/2001


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

From: [EMAIL PROTECTED] (Huw Lynes)
Subject: Re: Very New to Linux
Date: 22 Jan 2001 17:47:14 GMT
Reply-To: [EMAIL PROTECTED]

In article <94d9d2$1f6p$[EMAIL PROTECTED]>, Dave Wegher wrote:
>
>> I want to know how to change video resolution?
>> change it from 800x600 to 1024x768 i cang figure it out
>> also where are the network card settings so i can see if the cards are
>> there?

CtrlAlt+ and CtrlAlt- will cycle through your available
resolutions. The resolutions available are determined by
/etc/XF86Config or /etc/X11/XF86Config.

/proc/net/dev or ifconfig will show you what network
devices are up and running. But kde probably has a
nice friendly front end to all this info somewhere
in the control panel.

The howtos at www.linuxdocs.org are very useful,
they solved the vast majority of problems I've
ever had with linux.

HTH
Huw Lynes

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

From: "Michael Faurot" <[EMAIL PROTECTED]>
Subject: Re: >64M RAM chestnut - ? new twist
Date: 22 Jan 2001 17:47:31 GMT

David <[EMAIL PROTECTED]> wrote:
: Basic situation same as for old postings - BIOS correctly reports 128M
: RAM, free reports only ~64M under the word "total". However, 
: (a) I am using kernel 2.2.16-22 (RH7) which ? is not supposed to require
: editing of lilo.conf
: (b) I have edited lilo.conf with 
:          append="mem=128M"
: under the label=linux line with no effect. 

And did you run the command "lilo" after editing?

-- 
==============================================================================
 Michael | mfaurot  | Scientists will study your brain to learn more about
 Faurot  | atww.net | your distant cousin, Man.

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

From: Andrei Pushkarev <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: Partition problems RedHat7.0/WinME on Compaq Presario 1700t
Date: Mon, 22 Jan 2001 17:59:45 GMT

Thanks guys for all your comments. I advanced a little bit -- 
got LILO and able to start Linux and WinME from it, thanks all your
help. Now another problem: WinME is screwed. Please find below
detailed description of the procedure I used (in fact, this is the copy
of another post in newsgroup):


I am istalling dual RedHat7.0/WinME on Compaq Presario 17XL3:

- 850Mhz PIII 
- 20 Gb HD 
- 256 Mb RAM 

In brief, Linux installation screwes WinME partition:

First, I install Win ME from the scratch. Next, I install RedHat 7.0 
with LILO on MBR (/boot is withing 1024 cyl. limit). After reboot there 
is  LILO prompt. Choosing Linux works just fine. Choosing WinME brings 
the screen with icons, but system is not accessible. Sometimes I have 
an access to the system, but instead of C:,D: drives there are C:,E: and
D: drives. Sometimes I am not able to start any tools.

In details, I did the folowing steps: 

1. Istalled WinME from the scratch using 2 QuckRestore CD's 


2. Run ScanDisk and defragmenter on both disks C: and D: 


3. Shut down, booted from floppy and run from floppy 
   PartuctionMagic 4.02.67 


4. Partition Magic patition table is (free/used): 

1 C:           FAT32X      16,279.1 Mb/1,179.4 Mb   Primary 
2 *:           ExtendedX    2,798.1 Mb/2,798.1 Mb   Primary 
3 D:SYSTEM_SAV FAT32X       2,798.1 Mb/1,275.9 Mb   Logical 



5. After resizing C: and transforming logical D: into primary D
   partition table becomes: 
  
1 C:           FAT32         6,002 Mb/1,148.1 Mb    Primary 
2 *:           ExtendedX  10,276.9 Mb/0.0 Mb        Primary 
3 *:SYSTEM_SAV FAT32X       2,798.1 Mb/1,275.9 Mb   Primary 


  By the way, why partition C: becomes FAT32 from FAT32X at 
  this point?



6.At this point, WInME is bootable and working OK. Next I am 
  starting RH installation from CD in "expert" mode and using
  Disk Druid. Partition table in Disk Druid is:

Mount Point   Dev   Requested  Active        Type
<not set>    hda1       6002M   6002M        Win95 FAT32
<not set>    hda3       2798M   2798M        Win95 FAT32
/boot        hda2         16M     22M        Linux native
<swap>       hda5        512M    516M        Linux swap
/            hda6          1M    737M        Linux native




7. Next I install LILO in MBR, no boot floppy, no linear access, 
   default boot image on /hda2



8. After RH installation done, LILO comes up on reboot. Linux 
   loads OK, but loading WinME looks screwed.


        Thank you, Andrei

"Dave C." wrote:
> 
> What tool did you use to resize the Windows partition?  I would suggest a
> Windows boot disk with fips for that job.  I hope you backed up your
> (windows) data files first.  This could get ugly.  One thing that I see is
> that your hda2 is under the 1024 cylinder limit, but you are attempting to
> load from hda5.
> 
> Maybe you are trying too hard.  I've got Win ME and SuSE 7.0 both installed
> on my Gateway Solo 5300.  I didn't bother with a separate "boot" partition.
> I shrunk the Windows partition to ~6GB, leaving ~4GB for linux (casual linux
> user).  During setup, I didn't use FDISK, but rather the graphical
> equivalent, and created three partitions: / about 1900MB, /home about 1900MB
> and swap of about 150MB.  When prompted, I allowed SuSE to install lilo.
> Works great.
> 
> Note that I've also tried RedHat 7.0 and Mandrake 7.2 on this system.  For
> various reasons, I chose not to keep either of those distributions
> installed, but they both installed and booted OK . . . no partitioning
> problems.
> 
> I would suggest you remove ALL linux partitions, and try again, without the
> separate boot partition, and give RH more control of the install (keep it
> simple, no FDISK).  It just might work.
> 
> But first thing you need to do is boot to a Windows (DOS) floppy disk and
> try to copy any important data files from your Windows partition, before
> they are gone forever.  Good luck,   -Dave
> 
> --
> On linuxfreemail dot com, I am user "spamfilter".
> 
> "Andrei Pushkarev" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Can someone please help to resolve partitioning problems on Compaq
> > Presario 1700T.
> >
> > Here is my system information:
> >
> > --------------------------------------------------------------------------
> --
> >
> > PIII 850Mhz
> > 20 Gb HD
> > 256 Mb RAM
> > Phoenix Bios 4.0  Release 6.0.8  03-00
> > System BIOS revision 9/12/2000  0F03
> > --------------------------------------------------------------------------
> --
> >
> > I am installing RedHat 7.0 using "expert" mode . The following  I get
> > from fdisk:
> >
> > --------------------------------------------------------------------------
> ---
> >
> > Disk /tmp/hda: 240 heads, 63 sectors, 2584 cylinders
> > Units = cylinders of 15120 * 512 bytes
> >
> > Device       Boot    Start       End       Blocks       Id   System
> > /tmp/hda1        *    1250     2197    7166848+      c   Win95 FAT32
> > (LBA)
> > /tmp/hda2                    1           2        15088+    83   Linux
> > /tmp/hda3              2198     2584    2925720        c   Win95 FAT32
> > (LBA)
> > /tmp/hda4                    3     1021    7703640        5   Extended
> > /tmp/hda5                    3       951    7174408+    83   Linux
> > /tmp/hda6                952     1021      529168+    82   Linux swap
> > --------------------------------------------------------------------------
> --
> >
> > The boot partition is on /tmp/hda2 and is under 1024 cyl. limit.
> >
> > Next I am installing LILO on /dev/hda MBR, no linear mode, no kernel
> > parameters, default boot  image is on /dev/hda5
> >
> > After installing the system, I see in the text mode:
> >
> > --------------------------------------------------------------------------
> ------
> >
> > Fatal:   cylinder number is too big        geo_comp_addr  (1249>1023)
> > Device 0x0301 exceeds 1024 cylinder limit
> > --------------------------------------------------------------------------
> ------
> >
> > Attempt to reload computer loads WinME, but with frozen screen and
> > without some buttons.
> >
> >  Thanks, Andrei
> >
> >

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

From: "Kurt R. Rahlfs" <[EMAIL PROTECTED]>
Subject: Re: Can't get XFree with nvidia drivers to work
Date: Mon, 22 Jan 2001 11:59:35 -0600

XeCtiC wrote:

> XeCtiC wrote:
>
> > I can't get my XFree86 4.0.1/4.0.2 to work with the nvidia driver
> > (0.9-5) (gnome as desktop manager)
> > this.
>
> There are new nVidia drivers released, they solved my problem.
>
> http://www.nvidia.com/Products/OpenLinuxDwn.nsf/xfree86_40Downloadmain?OpenPage
>
> Sander

Go to the link above.  That should help you.

If you are running on kernel 2.4.0 you have to use the 0.9-6 drivers.  I was
beating my head against the release you are using since before the new kernel was
pre-released with out being able to get it to compile.  The 0.9-6 drivers compiled
"out of the box."  These drivers are supose to work with other nVidia cards too.

Acording to the nVidia site XFree86 4.0.2 was supose to have drivers that worked
for the GeForce-2 nVidia cards.  Which I thought would have been this driver so I
wonder why 4.02 didn't work for you.

KurtRR


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

From: "Steve Wolfe" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: Swap size / Memory upgrade
Date: Mon, 22 Jan 2001 10:51:38 -0700

> Thanks, Jamess for your advice.  The person whose job I inherited told me
> that the swap space should be double the amount of RAM for up to 512 MB,
> 1.5x for 512 - 1024, and 1x for above 1024 MB.

    Ideally, you should have more RAM than you'll use, and some swap for a
backup.  If you don't have that much RAM, then your RAM + swap should be
more than you'll use, and then some for safety.  If you regularly use a half
gig of swap, then having a gig total (perhaps more) would be a good idea -
but I hate to think of the performance at that point.  With RAM getting
cheaper and cheaper, I'm of the opinion that swap is simply there for
extremely abnormal situations.

>  I'm not terribly sure why he
> thought so much swap was required, but I think he arrived at those ratios
> through experience dealing with many different machines and RAM amounts.

  No, he just read them.  "rules of thumb" on swap are about as useful as
saying "Oh, a size 12 ought to fit any woman that's between 50 and 150
pounds."  Like women, each machine (and it's uses/needs) are different, and
need individual consideration.

> The machines he set up are stable and rarely get bogged down, as long as
the
> users don't push them over the RAM!

  There you go, his magic numbers for swap haven't helped.  You're still
stuch in the fact that swap is a few hundred (or thousand) times slower than
RAM.  If your machine is swapping, you're hamstrung.  If not, you're OK.

steve




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


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