Linux-Setup Digest #298, Volume #21              Thu, 24 May 01 22:13:10 EDT

Contents:
  nfs home dir's question (Robert Fleming)
  Re: computer freezes once a day (Robert Fleming)
  Re: X Screen Adjustment (mahiyar)
  Re: What is logging me out of consoles while running X ? (Robert Fleming)
  Re: SCSI: aborting command due to timeout ("Andy Walker")
  up2Date problem (Ivo Stoykov)
  Re: BIOS Operating System (BIOSOS) (long). (Dan)
  Re: setserial woes (John Todd)
  Re: nfs home dir's question (Ronald Hugh Roberts)
  Re: tar question! (Richard Bumby)
  kernel failure error question, and mount question (Farrell Farahbod)
  Re: Security Testing (DanH)
  Re: Connection through (Freesco-)router (Dean Thompson)
  Minimum System Requirement For This Setup (Overdrive)

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

From: Robert Fleming <[EMAIL PROTECTED]>
Subject: nfs home dir's question
Date: Thu, 24 May 2001 13:21:08 -0600

I need a pointer on an nfs problem.  Currently my systems are mounting
the users home directories from my nfs server.  When the nfs server is
down they default back to the root on their local machine.  I would like
to create a way for them to fail to a directory either on their local
machine or another server.  Currently we use NIS for authentication,
I'm not sure if there is a map that would help with this or if there is
something in automount/nfs that would accomplish what I need to do.
Suggestions would be appreciated.

Robert.
-- 
Robert

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

From: Robert Fleming <[EMAIL PROTECTED]>
Subject: Re: computer freezes once a day
Date: Thu, 24 May 2001 13:23:33 -0600

hajo wrote:
> 
> Hi,
> 
> I have Redhat 7.0 and now 7.1 installed on a laptop Vaio F630, AMD-K6
> 550 MHz, 128 Mb ram, etc...everything seems to be fine, but once a day
> approximately the system freezes, very annoyingly! Nothing happens
> anymore, I have to reboot, with all the disk check, etc.
> Has anyone similar problems with laptop or K6 ???
> hajo

It might be good to know what this system is all about, what its used
for.  What was running, etc.   There really isn't much for trouble
shooting this type of request.  We need specifics. 



Robert Fleming

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

From: mahiyar <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat
Subject: Re: X Screen Adjustment
Date: Thu, 24 May 2001 19:30:08 -0000

Well I had that same problem and I changed my screen from 640 x 480 to 800
x 600 and 90% of the problems were solved, it seems that the problem is not
with the actual dispaly but the window which shows up with the size of  0 x
0, like the gnibllets game.


Michael Peters wrote:
> 
> "ne..." wrote:
> 
> > On May 17, 2001 at 06:33, Kevin Reeder eloquently wrote:
> >
> > >How can I adjust my virtual screen to lock to the size of my actual
> > >display?  I've looked at xvidtune and tested some configurations but
that
> > >doesn't address this problem.  Any ideas would be appreciated.
> > Yes with one caveat: the size of your virtual screen
> > will be the largest listed resolution on the Modes
> > line listed. Edit your /etc/X11/XF86Config file and
> > remove the virtual lines in your Screen section.
> >
> > --
> > Registered Linux User # 125653 (http://counter.li.org)
> > JAPAN is a WONDERFUL planet -- I wonder if we'll ever reach their level
> > of COMPARATIVE SHOPPING ...
> >   1:10pm  up 18 days, 19:05,  9 users,  load average: 0.00, 0.00, 0.00
> 
> If this does not work, run Xconfigurator in a terminal window and only
pick
> ONE screen size.  I had the same prob and this fixed it.  Very strange...
> 


--
Posted via CNET Help.com
http://www.help.com/

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

From: Robert Fleming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: What is logging me out of consoles while running X ?
Date: Thu, 24 May 2001 13:36:09 -0600

martin rogers wrote:
> 
> All,
> 
> Something is logging me out of the console from which I started X, while
> in X.
> 
> I log in, start X, and later hit CTRL ALT F1 and I've been logged out.
> 
> Anyone seen this?
> 
> RH 6.2/6.0,  KDE 1.X/2.X,  XFree86 3.x/4.x
> 
> -----------------------------
>            Go Banana !!!
> -----------------------------


Martin;

To answer your question.  When you login in your system forks your shell
and that becomes you running pid.  If you run plain old startx with our
without modification there are two things that can happen.  When xinit
reads the .xinitrc in your home dir it launches your specified window
manager.  IF the .xinitrc specifies that xinit should "exec" the window
manager (which you should do for security sake if you have to be away
from your machine) it will replace the login shell with the current
shell used by the window manager when it fork IE the window manager
essentially takes over the login.  
To see if this happens go back to the login prompt on that terminal and
hit enter a couple times if it comes back then you lost nothing.  If it
doesn't then you have "exec <window manager>" in either .xinitrc or
.xsession and that is whats killing your console.  If you don't have the
exec in the I would put it in there or someone will hi-jack your console
it's just a matter of when. 


Robert
-- 
Robert Fleming
Systems Administrator

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

From: "Andy Walker" <[EMAIL PROTECTED]>
Subject: Re: SCSI: aborting command due to timeout
Date: Thu, 24 May 2001 21:09:53 -0000


Peter T. Breuer wrote in message ...
>Xiaoqin Qiu <[EMAIL PROTECTED]> wrote:
>> Recently we have a PC installed RedHat 6.2 with 2.2.14-5.0smp kernel
>> experiencing problems with SCSI. We have two SCSI hard disk in this
>> May 22 07:34:51 asap kernel: SCSI bus is being reset for host 0 channel
>> 0.
>
>> Is there anyone know the reason for this problem and how to fix it?
>
>Bad/nonexistant termination on the cable.
>
>Or unsupported controller.
>
>Peter

I had a similar problem with an adaptec card but tried an advansys card
instead and the same thing happened. I put it down to incompatabilities
within the so called SCSI standard, as soon  as I removed my old SCSI 1
drives the problem went away. I'm pretty sure termination wasn't the problem
as these drives were in the middle of the chain and unterminated (I removed
the resistor packs to make sure).
I now use both SCSI controllers, one with my old drives and the other with
my newer CD writer and hard disks. This works flawlessly.
Hope this helps.



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

From: [EMAIL PROTECTED] (Ivo Stoykov)
Subject: up2Date problem
Date: 24 May 2001 13:11:20 -0700

Hello 

I'm using RH 7.0 and I tried to use up2date agent. I used it
successfully until I decided to update the rpm itselft. Untill then I
cannot anymore use up2date= Instead I receive following error:

up2date
Traceback (innermost last):
  File "/usr/sbin/up2date", line 9, in ?
    import rpm
ImportError: /usr/lib/python1.5/site-packages/rpmmodule.so: undefined
symbol:
rpmSetVerbosity

Please give me any halp. Thank you

Ivo

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

From: [EMAIL PROTECTED] (Dan)
Crossposted-To: 
comp.sys.ibm.pc.hardware.misc,comp.os.linux.hardware,comp.os.linux.misc,comp.arch,comp.os.misc,comp.os.msdos.misc
Subject: Re: BIOS Operating System (BIOSOS) (long).
Date: 24 May 2001 13:49:00 -0700

Hermann Samso <[EMAIL PROTECTED]> wrote in message 
news:<9eee2r$d02$[EMAIL PROTECTED]>...
> Summary:
>         With the advent of cheap ROMs and flash memory, it
>         would be delightful to have a small Boot Up Operating System.
> 
> 
>         The Story:
>         Having just bought two second hand PCs, I had to realize
>         that they didn't have any Operating System installed, and 
>         oh poor me! forgot to buy the last update/release of my
>         favourite OS (Linux/Windows/etc). What to do?
> 
>         The Solution:
>         Not only for test reasons, but to really boot up a System
>         from scratch, it would be helpful to have a BIOS "glue"
>         or some other kind of ROM installed in everyday use PCs.
>       This would help mantain the System and also help in software
>       developement.
> 
>         This idea is not new. We fount it in old 8 bit and 16 bit 
>         Home Computers. The like of Basic ROMs in Sinclairs/Commodores/
>         Amstrad/Ataris or TOS/Workbench in Amigas and Atari STs.
> 
>         This would suppose a level of abstraction between plain ol'
>         BIOS and your favourite OS. It would be a simple kind of DOS,
>         nowadays to find in the Public Domain (FreeDos,...) and
>         would help in recovery and simple machine testing operations.
>         Call it BIOSOS.
> 
>         Such a low profile System can be packed easily in a 512KB ROM 
>         or Flash alike piece. It wouldn't overprice a Motherboard much, 
>         and certainly would be very helpful to gain a rapid insight of
>         the System at view, at last, without having to boot up from any 
>         removable or soft image.
>         Forth, a JavaVM or a minimal Linux, are implementations that
>         instantly pop up to mind (SUN's, PowerPc's CHRP,...)
>         The system would consist of basic operations needed to rescue
>         a system or boot up a new one, the like of edit, fdisk, filesystem
>         operations (ls/dir, fdisk, cd, ...) an assembler or compiler, ...
>         
>         In an extreme case where all your software has gone corrupted,
>         and you can't find any 3rd party to deliver you a new System,
>         an experienced man, call him a software developer or programmer :)
>         would have at least the possibility of bringing the machine again
>         to work. This is not possible nowadays in existing PCs, because,
>         although they have a low level system layer (Basic Input/Output
>         System), they lack another level over it that provides basic
>         maintenance applications.
> 
>         It is not meant to replace any existing Operating Systems,
>         only to extend the all present PC BIOSes to be able to
>         boot up a barebones machine.
> 
>         So this is my please to BIOS and motherboard facturers,
>         but also to any hobbiests that like the idea.
> 
> 
>         saludos,
>                 hermann samso

How about putting a cartridge slot in a PC, and set it up as the first
boot device?  Like the old "home" computers.

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

From: [EMAIL PROTECTED] (John Todd)
Subject: Re: setserial woes
Date: 24 May 2001 20:26:41 GMT
Reply-To: [EMAIL PROTECTED]

        Try using a different irq (2,5,9 etc.)
since ttyS1 uses 3 also....


On 23 May 2001 10:01:16 -0500, Hugh Gibson 
<[EMAIL PROTECTED]> wrote:
>Hi,
>       I have a strange problem with setserial..
>
>I have an internal modem card on COM4, which is NOT identified by
>setserial  (I've never had this problem before)
>
>SO, to get around this, in my rc.local file,  I've placed
>
>/sbin/setserial /dev/ttyS3 uart 16550a port 0x02e8 irq 3
>
>However, this doesn't seem to work either!!
>
>The only way to get it to function is to manually issue this
>setserial line from the root command line, then all is OK.. 
>
>How can it NOT work in rc.local ?????
>
>Hugh Gibson   [EMAIL PROTECTED]


-- 
_____________________

The lap of Linuxury
|<de in RH6.0

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

From: [EMAIL PROTECTED] (Ronald Hugh Roberts)
Subject: Re: nfs home dir's question
Date: 24 May 2001 16:30:07 -0500

In article <[EMAIL PROTECTED]>,
Robert Fleming  <[EMAIL PROTECTED]> wrote:
>I need a pointer on an nfs problem.  Currently my systems are mounting
>the users home directories from my nfs server.  When the nfs server is
>down they default back to the root on their local machine.  I would like
>to create a way for them to fail to a directory either on their local
>machine or another server.  Currently we use NIS for authentication,
>I'm not sure if there is a map that would help with this or if there is
>something in automount/nfs that would accomplish what I need to do.
>Suggestions would be appreciated.

/.login:

ID=`whoami`
if [ "$ID" != "root" ]; then
   cd /someotherlocation/$ID
   . ./.profile
   echo "Using temporary home: `pwd`."
fi

Something like that.

ron
-- 
Ron Roberts [EMAIL PROTECTED] or [EMAIL PROTECTED] Phone (512) 219-0043
Usenet invented "no controlling legal authority."

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

From: [EMAIL PROTECTED] (Richard Bumby)
Subject: Re: tar question!
Date: 24 May 2001 16:53:38 -0400

"JP" <[EMAIL PROTECTED]> writes:

>"apple" <[EMAIL PROTECTED]> wrote in message
>news:9eikas$2tfs$[EMAIL PROTECTED]...
>> How can I use tar to incompress a file select from a .tar file??
>>
>> If a test.tar include two file (a and b)
>> I wish incompress just only a ,how can I do???

>It's been a while since I used tar like that but I think its something like;

>tar xvf test.tar a

>J


Although tar is used in unix like zip is used in other systems, a
tarfile is not compressed.  However, after it is created, the whole
file may be compressed with gzip.

Tar was originally used for tape backups, so the default file is a
tape device.  To override this, use the -f option.

The answer above will work if the files have been archived using only
the names a and b.  If there is a pathname stored with the name, you
will need to mention that somehow in your tar command.

Emacs has a special mode for dealing with tarfiles.  You can use it to
list contents and copy individual files wherever you want them.

-- 
    R. T. Bumby       ||Amer. Math. Monthly Problems Editor 1992--1996
[EMAIL PROTECTED]||  Math. Dept. Computer Coordinator 1998--NOW
Telephone: [USA] 732-445-0277                       FAX:  732-445-5530

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

From: Farrell Farahbod <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: kernel failure error question, and mount question
Date: Thu, 24 May 2001 17:04:26 -0700

i recently compiled a new kernel for my rh7.1 linux box (win98se is on
it too). i compiled 2.4.4 for linux so i could have a newer kernel and
be able to use my winmodem. i could have jsut recompilied my origional
kernel but i chose not to. i needed to enable "set version info. for all
modules", and i was told it was in the loadable module support catagoy
in xconfig, but what do i change, when i compiled my kernel all 3
choices were set to yes. is that what i was supposed to do?

also, my 2.4.4 kernel has a coupple of problems with my new kernel. when
its starting up linux i get the following "failed" errors....

tuning on process accounting accton...function not implemented.

bring up device eth0: delay in eth0 initalization.


also, when i try to mount one of my fat32 partitions in linux with the
following command:

mount -t vfat /dev/had5 /mnt/my_files

i get the following error....

mount: fs type not supported by kernel

and when i shut down i get two failed errors but i could only bearly
read one of them--they went by tooo fast, the 1st one was something
about aumix.

im assuming these errors have to do with misconfiguration my my new
kernel.
how do i fix these problem? recompile--with what changes?

lastly, i know that in xconfig i can just click help to see what a
certin option is/does, but is their a web page/site that has the
same/their version of the info in the help section so i can print it out
as a referentce. i cannot print underl inux yet, i havent gotten to
printtool yet ;-) ----- and i dont think i can print the dialog box that
come up for help anyways.

in case it help, when i use my origional kernel (2.4.2) i have no erros
at startup/shutdown or with the mount command.

thank you,

farrell farahbod


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

From: DanH <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.misc
Subject: Re: Security Testing
Date: Thu, 24 May 2001 20:44:08 -0400

Michael Pye wrote:
> 
> "John Hasler" <[EMAIL PROTECTED]> wrote
> 
> > If the machine is there, so is the temptation (For crackers, that is.
> > Hackers do not engage in such stupidities).
> 
> Yeah, but drawing attention to the fact that I have a box with publicly
> visible IP xxx.xxx.xxx.xxx which hasn't had proper security testing is
> probably to sensible. I don't know who will read it...

If you are talking about your home box, your IP address is in every
newsgroup post you post.  I've not posted or done anything for days and
still get scanned daily.

DanH
-- 
Air Cav Reference Board
http://www.cavalrypilot.com
UNIX - Not just for vestal virgins anymore

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

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,comp.os.linux.networking
Subject: Re: Connection through (Freesco-)router
Date: Fri, 25 May 2001 11:12:42 +1000


Hi Hubb,

> I want to connect a RH6.2 pc to the internet through a Freesco-router.
> The router is working fine I think, because from the router I can ping
> both my network and the ISP. From the network I can ping the router. But
> I can't manage to connect from the network through the router to the
> internet. I tried to fill in all information I got: (default) gateway,
> DNS, netmasks, anything I could think of. Nothing works. (Now I've
> temporarily placed the NIC in another pc directly connected to the
> modem.)

The first thing that you need to do is make sure that the Freesco router is
setup to perform IP forwarding for you.  There should be an option within the
system to enable it.  Additionally, you may also have to specify a ipchains
statement (although I am not sure whether the Freesco) can do all of this for
you automatically.

Your machine that you wish to connect should be connected to the router either
via a cross-over cable if it is connected directly to the ethernet port or via
a hub if a cross-over cable isn't available.  The machine should be configured
to use the network card for the local LAN in the router as its gateway
address.  The subnet mask and DNS setup should also be setup appropriately.

> Can somebody please tell me what I'm doing wrong and how I should set up
> the connection?

If you can tell us how much you have done with regards to setting up the
router to forward traffic for you and whether you are doing NAT or whether you
are passing IP addresses straight through, that would be very helpful.

See ya

Dean Thompson

-- 
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

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

From: Overdrive <[EMAIL PROTECTED]>
Subject: Minimum System Requirement For This Setup
Date: Thu, 24 May 2001 22:01:26 -0400

Hi ,

I want to run Linux (any distro , preferably Redhat) as a dedicated CVS box 
, 
connectable from a Windoze box (assuming max. 1 connection at any time). I 
do 
not want X or any other software running.

1)Do I need Samba installed ?
2)Can anyone advise on the minimum realistic hardware requirement in terms 
of 
RAM , Harddisk space and CPU for this simple Linux setup ?

I have an old Intel 386DX 4MB RAM with 80MB of hard disk and thinking of 
making use of it. Would it be enough (ignoring the size of the source code) 
?

Thanks.
Kean

# The truth does not lie #


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


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