Linux-Setup Digest #178, Volume #20               Thu, 7 Dec 00 10:13:10 EST

Contents:
  Re: XFree86 Confusion ("Peter T. Breuer")
  Re: SuSE 7 - no access to CDROM after SCSI kernel module loaded (nospam)
  Java Daemon (Andreas Lingnau)
  Re: changing link ([EMAIL PROTECTED])
  Re: Another Sendmail Question (Jean-David Beyer)
  Re: I815 can not work under kernel 2.2.16 and XFree86 4.0.1 (Harri Haataja)
  toshiba satelite 1620 cds  (root)
  Re: How to add a partition to an already partitioned HD? (Eric)
  Re: Kernel Modules or not? (Oliver D. Bedford)
  access via ftp ("hotschi")
  Anyone come across auto-logout? ("smillen")
  Re: Anyone come across auto-logout? (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  Re: access via ftp (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
  Apache on Linux - Error on scripts called thru browser (CM)
  Re: windows VFAT partitions too fat?! (Svend Olaf Mikkelsen)
  Re: Problem with Qt 2.2.2 (Joerg Stadermann)
  Realtek RTL8139 Problems (on Sharp PCAX-20) ("Alex Craven")
  How do I edit LILO? ("csudm")
  Re: How do I edit LILO? (Eric)

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: XFree86 Confusion
Date: Thu, 7 Dec 2000 10:27:53 +0100

Joseph Dobransky <[EMAIL PROTECTED]> wrote:
> is possible, or I have no idea what they are babbling about. I can start an
> x proggie from a term window in lets say gnome with lets say netcfg &.
> However when I try that from a command line, I get no display, tcl, python
> errors. Most frustrating. I use to be able to do that from a command line, x

You can't start an x program without x!

> would start, and then the proggie would start. Now nadda. Ideas, ridicule,
> and suggestions welcome!

Don't do that. You never used to be able to run an x program without x.
That's like running a operating system without a CPU, or a program
without an operating system, Can't be done.

At best, I would guess that you have x running somewhere else, and your
DISPLAY variable set to :0, so that when you start an x program, it
starts up on the x display, which is not where you are.

If netcfg used to start x if it wasn't yet started, well, that's
possible, but I would be surprised. I would be more agreeable to
it switching you to the x console.

Peter

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

From: nospam <[EMAIL PROTECTED]>
Subject: Re: SuSE 7 - no access to CDROM after SCSI kernel module loaded
Date: Thu, 7 Dec 2000 11:15:55 +0100

I solved the problem: The SCSI adapter needs SCAM activated in order fpr 
the drives to be recognized. (which is not necessary for DOS or NT).


> While trying to install SuSE Linux 7.0 on a PC, I encounter the
> following problem:
> 
> Although I boot from the supplied floppy disc and load a SCSI driver
> module (NCR53C8XX) for my ASUS/Symbios SCSI adapter (with a Symbios
> SC875 chip), the attached SCSI CD-ROM drive is not accessible. The
> installation program claims that it cannot mount the CD-ROM drive, and
> there are only EIDE drives listed in the corresponding dialog box (even
> after loading the SCSI kernel module). Also, I get a message 'unable to
> identify CD-ROM format' on the 2nd or 3rd console (viewed with
> Alt-F2/Alt-F3).
> 
> There are 3 SCSI devices on the SCSI bus:
> - A SyQuest removable hard disk,
> - a HP4020 CD writer,
> - and a Plextor 32x SCSI CD-ROM (which I would like to use)
> 
> What can I do to be able to access the CD-ROM?
> 
> BTW: I cannot boot from the SCSI-CDROM, and the problem described above
> also occurs when I try to install SuSE Linux from a DOS prompt with
> SETUP.EXE.
> 
> Thank you for any help
> 
> Pascal
> 
> (email: [EMAIL PROTECTED])
> 
> 
> 



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

From: Andreas Lingnau <[EMAIL PROTECTED]>
Subject: Java Daemon
Date: Thu, 07 Dec 2000 11:02:20 +0100

Hi!

I would like to start a java-prog as a daemon. I have tried to do it in a
script but I cannot find out the pid to kill it or to restart it. Does
anyone knows how it works?

Thanks,

Andreas

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

From: [EMAIL PROTECTED]
Subject: Re: changing link
Date: Thu, 07 Dec 2000 10:20:08 GMT

In article <[EMAIL PROTECTED]>,
  James Richard Tyrer <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >
> > I am trying to get my modem working and so far the most success I've
> > had has been in getting modemtool to assign it to /dev/tts2.
Setserial
> > just gives me an input/output error with every set of options I've
read
> > to try. I notice there is a link from /dev/ttys2 to modem or vice
> > versa. I've read the man page for link, but I'm lost. How do I
change
> > the link to get my modem to be ttys4?  Tia
> >
> You do not mention what type of modem you have.  Internal PCI?
>
> Perhaps I should explain that changing the "/dev/modem" link will not
> configure your modem.  All it accomplishes is that a program that has
> been told the the modem is "/dev/modem" is then aware of which "ttyS?"
> device that the modem is actually assigned to.
>
> Setserial, on the other hand, assigns serial drivers (ttyS?) to
> hardware.
>
> Have you somehow determined that you modem (hardware) has been
assigned
> to ttyS4?  Or, if your modem has been assigned to any "ttyS?"?
>
> Be a little more specific.
>
> JRT
>
I think I got the answer I was looking for elsewhere, but I haven't
tried it yet. My modem is a USRobotics 2976 pci modem. It is an oem
model I bought from an integrator. It works as com5 under windows me,
irq 11, I believe, address 10C0. It runs under windows 2000 ac com 3
irq 9. BeOS knows it's a serial port, not sure if it has any resources.
i have run cat /proc/pci and I see that it is set to irq 9 0xc800
setserial just syas input/output error
--
Robert Graf
Financial Freedom
One Click Away
http://www.instantewealth.org


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

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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: Another Sendmail Question
Date: Thu, 07 Dec 2000 05:50:34 -0500

"Peter T. Breuer" wrote:
> 
> In comp.os.linux.misc Lamar Thomas <[EMAIL PROTECTED]> wrote:
> > "Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> >> In comp.os.linux.misc Lamar Thomas <[EMAIL PROTECTED]> wrote:
> >> > re-formatted two more times with the same results.  Sendmail loads fine with
> >> > no errors [OK]. It just will not receive e-mail.  Any ideas?  Thanks for any
> >>
> >> Configure it. It needs at least to know your host name and domainname
> >> as well as to BE RUNNING. If you do not understand what those two words
> >> mean, I strongly suggest you ask yourself before you ask me!
> >>
> > I know what a host name and domain name are, but WHERE do I configure them
> > in RH Linux 6.2 and what is the syntax?  I used the "Linuxconf" utility to
> 
> That's between you and RH 6.2. I presume it comes with a setup tool!

For the record, it does, but you may wish to be a little careful with
it. It runs on top of X. If you are root and type control-panel into
an xterm, you will get a button bar. Select the button for Networking
and you will get a dialog box to set up all the networking. The
default tab should be "NAMES". The top line should be filled in with
your host name and the second line should have your domain name.

IIRC, the main trouble you will get if you change either of these is
that X will soon drop dead because it is still running with the old
names (although you should be able to commit the change of host name
or domain name). So be ready to restart X because nothing on your
desktop will work.

As Peter suggests, it is better to do these at the command line level
(i.e., logout of X entirely) to avoid this problem by editing
/etc/HOSTNAME (probably useless) and /etc/sysconfig/network to look
something like mine:

valinux:root[/etc/sysconfig]# cat network
NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=valinux
DOMAINNAME=localdomain
GATEWAY=
GATEWAYDEV=
valinux:root[/etc/sysconfig]# 

(If I do hosthame -f, I get: "valinux.localdomain".)

> If you want to do it by hand, edit /etc/HOSTNAME and /etc/hosts. Then
> run hostname `cat /etc/HOSTNAME`. And if RH don't use that file, use
> whatever one they do use ... something under /etc/sysconfig/ probably.
> 
> > set the host name and domain name for the system.  Is there some place that
> 
> That's all you have to do.  Mind you, RH gets this wrong by default as
> far as I have seen, adding them as aliases for localhost and leaving
> them that way when you later add a NIC.
> 
> > I need to set it for sendmail?
> 
> In sendmail's configuration file. But if the system hostname and
> domainname is setup correctly, it won't be necessary. So what does
> "hostname -f" tell you?
> 
> Is sendmail RUNNING? Type "pstree" and look.
> 
> Peter

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 5:40am up 2 days, 14:29, 3 users, load average: 2.08, 2.09, 2.06

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

From: [EMAIL PROTECTED] (Harri Haataja)
Crossposted-To: comp.os.linux.x,comp.os.linux.hardware
Subject: Re: I815 can not work under kernel 2.2.16 and XFree86 4.0.1
Date: Thu, 07 Dec 2000 11:07:46 GMT

James Richard Tyrer wrote:
>Allen Mcintosh wrote:
>
>> The following worked for me (running kernel 2.2.17, but 2.2.16 should work
>> fine):
>> 
>> 1) Install XFree86 3.3.6
>> 2) Obtain server and agpgart.c from the Intel website.
>> 3) Install server and agpgart.o
>> 
>> Is there a reason you are using XF86 4.0.1?
>
>The documentation indicates that XF86 4.0.1 is supposed to come with a
>driver "i810":
<snip>
>So, XF86 4.01 should work.  But, if not, using 3.x might fix the
>problem.

I've used both. I'm typing right now on DRI'd XF4 (RH7) on i810.
Works like a charm. Only you ddo need to give it the video ram number
because i810 uses your ram for video memory. I use about 10M which gives
me 1152x768@16bpp+DRI.
q3demo deadlocks the mahine hard, though =(

Here's some lines from xdpyinfo:

vendor string:    The XFree86 Project, Inc
vendor release number:    4001
    GLX
    SGI-GLX
    XFree86-DGA
    XFree86-DRI
screen #0:
  dimensions:    1152x864 pixels (390x293 millimeters)
  depths (1):    16


And from /etc/X11/XF86Config-4:

Section "Module"
        Load  "dri"
EndSection

Section "Device"
        Identifier   "Intel 810"
        Driver       "i810"
        VendorName   "Intel 810"
        BoardName     "Intel 810"
        VideoRam     10000
        #BusID
EndSection

Section "DRI"
        Mode 0666
EndSection

Note that I did not quote full sections (apart from the i810 Device).

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

Date: Thu, 07 Dec 2000 00:50:35 +0000
From: root <[EMAIL PROTECTED]>
Subject: toshiba satelite 1620 cds 

has anyone got the sound card working on a redhat 7 box for this one ?
best regards



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

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,Comp.os.linux.misc
Subject: Re: How to add a partition to an already partitioned HD?
Date: Thu, 07 Dec 2000 12:16:38 +0100
Reply-To: [EMAIL PROTECTED]

Jc wrote:
> 
> I have RH 6,2 up an running and would like to add a partition to my HD.
> Right now it has only three, /, /boot and swap. The root partitioned was
> created using Disk Druid and made to use up all available space ....
> 
> Since the root partition is mostly empty can I add a partition to my HD
> and make it use space on the end of the root partition that is not in
> use?
> 

Not directly,

There may be no data in that partition, the partition still is the size
you made it.
You need free unpartitioned space to create a new partition in.

There are tools around that can help you with shrinking a partition
(PartitionMagic is the best known, but is not free. A free tool is GNU's
parted)

Eric

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

From: [EMAIL PROTECTED] (Oliver D. Bedford)
Subject: Re: Kernel Modules or not?
Date: 07 Dec 2000 12:20:19 +0100

Cliff Sarginson <[EMAIL PROTECTED]> writes:

> Oliver D. Bedford posited:
> >   If security is a top priority you should not be using modules.
> Is that so ? Could you expand a bit on that ?
> I am curious :)

  After gaining access to your machine a cracker might insert
malicious invisible modules into the kernel. That way he is not
forced to install a root-kit which can be detected by tripwire etc.

  Oliver

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

From: "hotschi" <[EMAIL PROTECTED]>
Subject: access via ftp
Date: Thu, 7 Dec 2000 12:15:50 +0100

Hello out there,
I wanna have access to my linux-server via ftp.
I have access to my linux server via telnet and http. Can anyone tell me how
to configure my computer so I have access via ftp.
Thanx in advance
Jens



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

From: "smillen" <[EMAIL PROTECTED]>
Subject: Anyone come across auto-logout?
Date: Thu, 7 Dec 2000 11:12:08 -0000

I was rloging into my Redhat box from a sun machine and left the connection
open overnight.  By the morning it had kicked me out with an auto-logout
message.  Any ideas how to disable this?



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

From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: Anyone come across auto-logout?
Date: Thu, 7 Dec 2000 13:19:54 +0100

On Thu, 7 Dec 2000, smillen wrote:

> I was rloging into my Redhat box from a sun machine and left the connection
> open overnight.  By the morning it had kicked me out with an auto-logout
> message.  Any ideas how to disable this?

1) Run a non-exiting command like 'cat -' and then press C-d to resume the
shell.
2) In tcsh, you could fiddle with the autologout evironment variable.

Like 'unset autologout' og 'set autologout
a_very_large_number_of_minutes'.

Don't know how to do this in bash, ksh etc. Try the man-pages.

-- 
Rasmus B�g Hansen


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

From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Subject: Re: access via ftp
Date: Thu, 7 Dec 2000 13:24:51 +0100

On Thu, 7 Dec 2000, hotschi wrote:

> I wanna have access to my linux-server via ftp.
> I have access to my linux server via telnet and http. Can anyone tell me how
> to configure my computer so I have access via ftp.

Don't know, what distro, you use, but you will have to
1) install wu-ftpd or proFTPd (I would recommend the last). One (or both)
is probably on your linux cd.
2) Configure it either as a stand-alone daemon or as an inetd (or xinetd)
server.

By the way - I would _really_ recommend using ssh instead of telnet. It is
a secure replacement, which in addition comes with some nice bonus
features compared to telnet like X-forwarding.

-- 
Rasmus B�g Hansen


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

From: CM <[EMAIL PROTECTED]>
Subject: Apache on Linux - Error on scripts called thru browser
Date: Thu, 07 Dec 2000 13:45:51 GMT

Hi.

I am running Perl on Apache .My scripts are running OK when called from
the command prompt.

However when I call them thru the browser I get these *two* messages on
the error_log .


[Thu Dec  7 04:42:31 2000] [error] (2)No such file or directory: exec
of /home/httpd/cgi-bin/test.pl failed

[Thu Dec  7 04:42:31 2000] [error] [client 192.168.100.132] Premature
end of script headers: /home/httpd/cgi-bin/test.pl


To clarify

For the first error--> the file *does* exist in the specified
directory. Forthe second error--> The Perl file does start with
#!/usr/bin/perl.





I have followed the guidelines in

www.apache.org- 'Running CGI scripts on server' documentation


and made sure that all the .conf files

httpd.conf
srm.conf
access.conf

are as per requirements.



Since I am used to Perl on Windows I am finding it difficult to grasp
the other parameters that are involved in Linux.

I have been sitting on this for 5 hours now with two 10 minute
breaks ....so I guess if somebody can help me out with this I will
really *appreciate* it.

[yawn] Thank  you very much!!












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

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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: windows VFAT partitions too fat?!
Date: Thu, 07 Dec 2000 14:05:02 GMT

Eric <[EMAIL PROTECTED]> wrote:

>> >> Another way to verify that the tables are made using a 16 heads
>> >> translation is to look at the number 2048224+ for hda1. This is
>> >> 2*2048224+1 sectors = 4096449 sectors. In front of hda1 we usually
>> >> have 63 sectors. Then (4096449+63)/16/63 = 4064 is a full number of
>> >> cylinders.
>> >
>> >I don't get this part, using 256 instead of 16 also gives an integer
>> 
>> No BIOS uses a 256 heads translation.
>> 
>
>Still confused :-|
>
>No you say, Yes you must mean :-)
>
>(4096449+63)/256/63 = 254
>
>Which is an integer

It is 255 heads:

(4096449+63)/255/63 =  254.9960784313726
-- 
Svend Olaf

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

From: Joerg Stadermann <[EMAIL PROTECTED]>
Subject: Re: Problem with Qt 2.2.2
Date: Thu, 7 Dec 2000 15:20:30 +0000

��� wrote:

> Hi,
> 
> I'm trying to install on my RH6.02 system Qt 2.2.2 library (downloaded
> from Trolltech). "make" command stop with this:
> *****************
> make[2]: Entering directory `/usr/local/qt-2.2.2/examples'
> make[2]: *** No targets.  Stop.
> make[2]: Leaving directory `/usr/local/qt-2.2.2/examples'
> make[1]: *** [sub-examples] Error 2
> make[1]: Leaving directory `/usr/local/qt-2.2.2'
> make: *** [init] Error 2
> ******************
> Is this a serious error? Or not? Can I install KDE 2 after that?
> 
> Thanks in advance.
> 
> Yuri Levitsky <[EMAIL PROTECTED]>
> 
As long as you have the libraries, moc and uic, it is not a problem. The 
examples belong to the tutorial for qt development. But it's strange that 
you can't build the whole lot.

Joerg



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

From: "Alex Craven" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.portable,comp.os.linux.questions,linux.debian.user
Subject: Realtek RTL8139 Problems (on Sharp PCAX-20)
Date: Thu, 7 Dec 2000 22:19:46 +0800

Hi,

I've recently obtained a new laptop (Sharp PCAX-20), and am attempting to
install Debian (potato). The system contains an internal Realtek RTL8139
NIC, and the Debian distribution I obtained provides a driver for this exact
device. Unfortunately, something seems to be wrong (either a driver problem,
or a conflict somewhere, or something...). The network card is inoperable.
Also, at regular intervals (ie every minute), the following message appears
:

eth0: RTL8139 Interrupt line blocked, status ffff.
eth0: PCI Bus Error 2900007. <repeated 21 times>
eth0: Too much work at interrupt, IntrStatus=0xffdf

Can anyone suggest what might be wrong, and how I should fix this problem?
Has anyone successfully installed linux on this type of machine?

Thanks in advance for any assistance,

Alex.



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

From: "csudm" <[EMAIL PROTECTED]>
Subject: How do I edit LILO?
Date: Thu, 7 Dec 2000 22:43:37 +0800

Hi all!

I'm a complete newbie to Linux. Have just installed Linux-Mandrake to my PC,
intending to set it up as a dual boot system, with default set to my
original OS, Windows 98. At moment, my PC defaults to Linux.

>From what little I gather so far, it seems I have to edit LILO, but how do I
go about it?

John Yip



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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: How do I edit LILO?
Date: Thu, 07 Dec 2000 16:08:30 +0100
Reply-To: [EMAIL PROTECTED]

csudm wrote:
> 
> Hi all!
> 
> I'm a complete newbie to Linux. Have just installed Linux-Mandrake to my PC,
> intending to set it up as a dual boot system, with default set to my
> original OS, Windows 98. At moment, my PC defaults to Linux.
> 
> From what little I gather so far, it seems I have to edit LILO, but how do I
> go about it?
> 

you don't edit LILO, you edit it's configuration file.

the file you want is /etc/lilo.conf

After you made the changes there, you must run /sbin/lilo, for the
changes to take effect.

Eric

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


** 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.setup) 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-Setup Digest
******************************

Reply via email to