Linux-Setup Digest #142, Volume #19              Wed, 12 Jul 00 09:13:15 EDT

Contents:
  Re: Chrooting Apache ! Please help ! (Denice)
  lucent winmodem in laptop (Zebee Johnstone)
  Re: Chrooting Apache ! Please help ! (KingKirill)
  Help again... ("Jérôme Meyer")
  Re: Linux run levels (Eric)
  IDE/ATAPI CD Writers - Aaagh! ("Andrew Ellington")
  Re: IDE/ATAPI CD Writers - Aaagh! (Jonathan Moore)
  Re: Help again... (DanH)
  Re: IDE/ATAPI CD Writers - Aaagh! (Steve Martin)
  Re: Install with Win2000 (vs 98)? (DeAnn Iwan)
  Newbie(ish) - login screen flashing? (David Buttery)
  Re: failed to set default font 'fixed' (DanH)
  Re: RH6.2 and wierd BackSpace behavior (Thomas Dickey)
  Re: Starting from scratch on Alpha... (John Beardmore)
  Re: Starting from scratch on Alpha... (John Beardmore)
  Re: Xterm Backspace not working (Thomas Dickey)
  Re: Segmentation fault ("George Csahanin")

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

Crossposted-To: comp.os.linux.networking,comp.infosystems.www.servers.unix
Subject: Re: Chrooting Apache ! Please help !
From: Denice <[EMAIL PROTECTED]>
Date: 12 Jul 2000 12:10:39 +0200

KingKirill <[EMAIL PROTECTED]> writes:

>>I'm the culprit who wrote those pages...  does your chroot-ed system work
>>if you do this (ie. testing that your nsswitch.conf file works):  
>>
>>  # chroot /chroot/apache sh
>>  Do you get the shell?  Then (with 'ls' still installed in the chrooted 
tree),
>>  what do you see if you list some files owned by your user 'www'; eg:
>>  # ls -la /www/htdocs/
>>  You should see the listing as owned by 'www' and NOT as '888'

>Okay, ... I see just 888's :((

>Something is mighty wrong here.

Hmmm.  libraries...  what version of SuSE are you using?  I'll do a
test with 6.3 here, and see if I have problems too.

-- 
denice.deatrich @ epfl.ch, ADM/SIC, E.P.F.L.   PH: +41 (21) 693 22 53
<*> This moment's fortune cookie:
An elephant is a mouse with an operating system.



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

From: [EMAIL PROTECTED] (Zebee Johnstone)
Subject: lucent winmodem in laptop
Date: 12 Jul 2000 06:38:27 GMT
Reply-To: [EMAIL PROTECTED]

I have an Acer Travelmate laptop that appears to have a lucent
winmodem in it.

W98 manages fine.

I got the binary driver via linmodem.org.

I did the steps in the ltinist by hand.

I'm running a 2.2.12-20 kernel.

If I do /sbin/depmod -a it complains about unresolved libraries.

If I force an insmod, the driver appears to load.

I used mknod to make /dev/ttyS14, but if I then try to access it via
minicom, minicom crashes (as in it quits) with "device does not
exist".

Where can I go from here?

Wait till lucent gets it together a bit more?  Or is there some other
trick?

Zebee
 - posting from another machine, so not cutting and pasting, can do so
   if more info required


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

From: KingKirill <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.infosystems.www.servers.unix
Subject: Re: Chrooting Apache ! Please help !
Date: 12 Jul 2000 01:47:06 -0700

I did it !!!

Finaly ..

I just did

cp -piR /lib/* lib
cp -piR /usr/lib/* usr/lib
cp -piR /usr/local/lib usr/local/lib

and it worked .. some lib was missing, now I'l strace it to see what was going
on.

Thanks for help and great howto page :)

Kirill


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

From: "Jérôme Meyer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.os.linux
Subject: Help again...
Date: Wed, 12 Jul 2000 12:27:02 +0200
Reply-To: [EMAIL PROTECTED]

Now, I will starting to install first Windows98 and second Linux on my
PC!
After installing Windows98, how could I install Linux without erase
Windows98? 
should I change the cylinder for the first Partition with a higer
number?
How should I configure my Linux's patitions? What must I pay
attention...?

Thanks for your help and tips

Jerome

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

From: Eric <[EMAIL PROTECTED]>
Subject: Re: Linux run levels
Date: Wed, 12 Jul 2000 10:03:05 GMT
Reply-To: [EMAIL PROTECTED]

fail006 wrote:
> 
> Can anyone please explain to me about different run levels, within the linux
> kernel.
> 
> Thanks allot.

I can give you a RedHat specific explanation,

from /etc/inittab:

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)

Eric

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

From: "Andrew Ellington" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,uk.comp.os.linux
Subject: IDE/ATAPI CD Writers - Aaagh!
Date: Wed, 12 Jul 2000 11:45:09 +0100

I am having some trouble getting my CD writer to go. I'm a relative newbie
so have some patience.

I'm running kernel version 2.2.13-4 from a Mandrake 6.5 distribution.
The device is a brand new HP CD-writer plus ( not sure exactly which model )
connected in the hdd position.
I've compiled the kernel to give the following support:

Sect.         Description
????????????????????????????????????????????????????????????
BLOCK Enhanced IDE/MFM/RLL...                      Y
BLOCK IDE/ATAPI CDROM ide?cd                     M
BLOCK SCSI emulation support ide?scsi                M
BLOCK Loopback device loop                                M
SCSI      SCSI support scsi_mod                                Y
SCSI      SCSI CD?ROM support sr_mod                 Y
SCSI      Enable vendor?specific                               Y
SCSI      SCSI generic support sg                               Y
FS          ISO 9660 CDROM filesystem iso9660        Y
FS          Microsoft Joliet cdrom... joliet                     Y

The kernel build is producing cdrom.o rather than ide-cd.o when
CONFIG_BLK_DEV_IDECD is defined and seems to be linking this in.

I've tried various combinations of modifications of lilo.conf and
conf.modules but haven't managed to get anything other than 'Cannot open
SCSI driver' from cdrecord -scanbus.

At this point I'm a bit lost as to what I'm missing here.

Andrew




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

From: Jonathan Moore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,uk.comp.os.linux
Subject: Re: IDE/ATAPI CD Writers - Aaagh!
Date: Wed, 12 Jul 2000 12:00:21 +0100

> I am having some trouble getting my CD writer to go. I'm a relative newbie
> so have some patience.
> 
> I'm running kernel version 2.2.13-4 from a Mandrake 6.5 distribution.
> The device is a brand new HP CD-writer plus ( not sure exactly which model )
> connected in the hdd position.
> I've compiled the kernel to give the following support:
> 
> Sect.         Description
> ????????????????????????????????????????????????????????????
> BLOCK Enhanced IDE/MFM/RLL...                      Y
> BLOCK IDE/ATAPI CDROM ide?cd                     M
> BLOCK SCSI emulation support ide?scsi                M
> BLOCK Loopback device loop                                M
> SCSI      SCSI support scsi_mod                                Y
> SCSI      SCSI CD?ROM support sr_mod                 Y
> SCSI      Enable vendor?specific                               Y
> SCSI      SCSI generic support sg                               Y
> FS          ISO 9660 CDROM filesystem iso9660        Y
> FS          Microsoft Joliet cdrom... joliet                     Y
> 
> The kernel build is producing cdrom.o rather than ide-cd.o when
> CONFIG_BLK_DEV_IDECD is defined and seems to be linking this in.
> 
> I've tried various combinations of modifications of lilo.conf and
> conf.modules but haven't managed to get anything other than 'Cannot open
> SCSI driver' from cdrecord -scanbus.
> 
> At this point I'm a bit lost as to what I'm missing here.

I have an older hp drive working successfully under RedHat 6.2.
It's attached as hdd, and I have the line

        append="hdd=ide-scsi"

in the linux section of my /etc/lilo.conf.  As I understand it, that
tells
the ide-scsi module when loaded to take over hdd and make it a scsi
device.

Before use, I need to execute 

        insmod ide-scsi

(ought to be in the startup scripts somewhere, but I've not got round to
that).  cdrecord then works fine.

I didn't need to recompile the RedHat-supplied kernel to get it working:
the options you give look about right to me.  I get a "cannot open SCSI
driver" if I "rmmod ide-scsi", so maybe you need to check that the
module is inserted OK (insmod as above).


Jon Moore

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

From: DanH <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.os.linux
Subject: Re: Help again...
Date: Wed, 12 Jul 2000 07:15:08 -0500

In article <[EMAIL PROTECTED]>, "Jérôme Meyer"
<[EMAIL PROTECTED]> wrote:
> Now, I will starting to install first Windows98 and second Linux on my
> PC! After installing Windows98, how could I install Linux without erase
> Windows98?  should I change the cylinder for the first Partition with a
> higer number? How should I configure my Linux's patitions? What must I
> pay attention...?

There's an entire set of 'how-to' documents for questions that are regularly
asked.  Here is the one for installation:

http://metalab.unc.edu/mdw/HOWTO/Installation-HOWTO.html


DanH
-- 
UNIX - Not just for vestal virgins anymore
Linux - Choice of a GNU generation


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

From: Steve Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,uk.comp.os.linux
Subject: Re: IDE/ATAPI CD Writers - Aaagh!
Date: Wed, 12 Jul 2000 07:36:16 -0400

Jonathan Moore wrote:

> > I've compiled the kernel to give the following support:

> > BLOCK IDE/ATAPI CDROM ide?cd                     M

I'd recommend getting rid of IDE CDROM support altogether. Running
emulation, you don't need it anyway, and it causes conflicts with
the emulation finding the CD burner to begin with.

Other than that, all looks okay.

> I have an older hp drive working successfully under RedHat 6.2.
> It's attached as hdd, and I have the line
> 
>         append="hdd=ide-scsi"

This is another way to make it work. This makes the IDE CD driver
ignore your burner so that the emulation can find it.

> Before use, I need to execute
> 
>         insmod ide-scsi
> 
> (ought to be in the startup scripts somewhere, but I've not got round to
> that).  cdrecord then works fine.

Again, it's more trouble to do it this way; just include all
the SCSI stuff (emulation, CD driver, generic, et cetera) in
the kernel and get rid of the IDE CD part altogether. You'll
be able to read CDs using /dev/scd0 and write them with
cdrecord.

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

From: DeAnn Iwan <[EMAIL PROTECTED]>
Subject: Re: Install with Win2000 (vs 98)?
Date: Wed, 12 Jul 2000 08:06:28 -0400



David Topper wrote:

> Hi folks,
>
> Is there anything I need to know about setting up a dual boot 2000/Linux
> box?  I've done dozens of 98/Linux boxes but hear 2000 is different.
>

    The HOWTO with WinNT plus Linux will be a more useful guide to you.
Myself, I found reading all the multiboot howtos helpful as some point out
things others miss.  I expect that Win2000 will insist on using its own boot
loader, for example.


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

From: [EMAIL PROTECTED] (David Buttery)
Subject: Newbie(ish) - login screen flashing?
Date: 12 Jul 2000 12:11:50 GMT

Apologies if this has been answered here recently - I think I saw it 
somewhere, but can't remember where (Deja is no help).

Anyway. I have used Linux a little before (Red Hat 5.2), on my old PC 
(P120, 16 megs, Matrox Mystique), and all went well. So I'm not a 
*complete* newbie - just ignorant. :-)

I've now upgraded to a completely new machine, an Evesham Zydec, whose 
spec as bought is: Celeron 400, 64 megs, 8 gig HDD, Intel 810 onboard 
gfx. I've also got a Daewoo 518X monitor (UK version).

Now, I don't like the i810, so when I got the PC, I also bought a 
Voodoo 3 2000 PCI card (there are no spare AGP slots), and now use that 
as my primary video card (I've set the BIOS to look at the PCI slot 
before the onboard). From what I'd read, the V3 also seemed to be more 
compatible with Linux than the i810.

As it happened, the next issue of PC Plus had Corel Linux on the cover, 
so I installed that. Everything went fine during the actual setup 
process, there was an option for the Voodoo 3 on the gfx card list, and 
all seemed well.

When I rebooted, however (having set up BootMagic so I could keep 
Win98), it all fell down. There was the root login screen, but flashing 
steadily, and the keyboard refused to respond at all. Not useful.

I've tried using other distributions (Mandrake, RedHat 6), and they do 
the same thing. I've tried using the Generic VGA driver - no luck. I've 
even tried taking out the V3 and putting in the Matrox Mystique I used 
to use (which I *know* is compatible). Still no joy.

Am I missing something incredibly obvious here? Any help much welcomed.

(BTW, I have no problem with using xf86config and the like - I remember 
CP/M, so I'm used to user-hostility!)

-- 
David. (GPLRank handicap: +19.68)
"After all, a mere thousand yards - such a harmless little knoll, 
really."
(Raymond Mays on Shelsley Walsh)

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

From: DanH <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,at.linux,comp.os.linux.x
Subject: Re: failed to set default font 'fixed'
Date: Wed, 12 Jul 2000 08:29:50 -0500

In article <GwMa5.2161$[EMAIL PROTECTED]>, "Saber Adat"
<[EMAIL PROTECTED]> wrote:
> I am having a problem which could not be solved can you help
> 
> failed to set default font 'fixed'
> 
> X connection to 0.0 broken (explicit kill or server shutdown)
> 
> shutting down X font FAIL
> 
> Please note that i am using mandrake 7.1.

Check to see if xfs is running.  If it is not, start it.  /etc/rc.d/init.d/xfs start

> 
> Please reply me directly to [EMAIL PROTECTED] not to newsgroup

That is not the way usenet works.

DanH
-- 
UNIX - Not just for vestal virgins anymore
Linux - Choice of a GNU generation


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

From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: RH6.2 and wierd BackSpace behavior
Date: 12 Jul 2000 12:35:29 GMT

[EMAIL PROTECTED] wrote:
> So I've got RedHat 6.2 loaded onto one of my servers. When I connect to
> it from a WinDoze machine running eXceed, using an REXEC of xterm,
> backspace doesn't work.

> Both it and the delete key issue <esc>[3~.
one or more of:
        + xmodmap settings equating Backspace and Delete

        + X resource settings (VT100*translations) which equate the two
          keys.

out-of-the-box, xterm (you didn't mention which version, but I'm assuming
a recent one), will transmit 8 or 127 from the Backspace key (see the
manpage)

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

From: John Beardmore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha
Subject: Re: Starting from scratch on Alpha...
Date: Wed, 12 Jul 2000 12:52:13 +0100

In article <[EMAIL PROTECTED]>, Alex Collins <[EMAIL PROTECTED]>
writes
>In article <[email protected]>, John Beardmore
><[EMAIL PROTECTED]> writes

>Hi There.
>
>>I'm about to inherit an old DEC Alpha box which has spent its corporate
>>life running NT4.  I think it's 133MHz.
>
>Sounds like a Multia ? Small ? squareish ?

It turns out that the boxes we have been given are 2100 servers, type
A500MP.  I don't know anything about them yet.  Can I assume 500 MHz
twin CPU ?

This is the first machine I've owned that's big enough to parallel
park !


>>I want to put Linux on it to perform the following tasks:
>>
>>  IP ISDN gateway to ISP, maybe firewall, maybe proxy server, maybe IP 
>>  router,
>
>That's fine. should cause no problems. ISDN can be a pain to setup with
>Linux, and you will need a late version of Linux. - suggest RedHat 6.X
>if you don't already have the card, the BT Speedway works well for me.
>>
>>  Fax system, maybe offering network fax facilities to 95, 98, NT and 
>>  Win2k machines using either a modem or smart ISDN card.
>
>Sendmail can do this for you, but only for text. If you need more, use
>efax.

Need more.  Do you have a URL for efax ?


>>  Print spooler for HP LJ 4M+ PS600 and Epson Stylus Photo EX, offering 
>>  print services to 95, 98 NT and Win2k machines.
>>
>Comes as standard. Use ghost script printing. / Samba.

OK.


>>  File server to 95, 98, NT and Win2k machines.
>>
>Samba again.

OK.


>>Am I going to get lucky with any or all of this ?  If so, what is the
>>best distribution to use, and where can I get it in the UK ?
>>
>
>RedHat - fairly well developed for the Alpha. and comes with everything
>that you need.
>
>You can get RedHat from a variety of places. Where are you on this
>planet?

UK.


>http://www.linuxemporium.co.uk has offered me, and many others a very
>good service.

Thanks !


>I run a Multia / RedHat 5.2 that does everything that you need, except
>for the Faxing bit.
>
>Take a look at my website
>
>http://www.par64.com/multia
>http://www.par64.com/linux
>
>or visit my machine direct ( evenings and weekends ) 
>http://par64.yi.org

Thanks !


Cheers, J/.
-- 
John Beardmore

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

From: John Beardmore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.alpha
Subject: Re: Starting from scratch on Alpha...
Date: Wed, 12 Jul 2000 12:52:41 +0100

In article <[EMAIL PROTECTED]>, Dennis Lee
Bieber <[EMAIL PROTECTED]> writes
>On Sun, 9 Jul 2000 10:22:51 +0100, Alex Collins <[EMAIL PROTECTED]>
>declaimed the following in comp.os.linux.setup:

>> Sounds like a Multia ? Small ? squareish ? 
>>
>       Hmmm, may be dangerous assumption. The Multia's at work are all
>100MHz Pentium boxes. Our Alpha's were all large flat battleship-grey
>boxes sitting under the monitors.

It turns out that the boxes we have been given are 2100 servers, type
A500MP.  I don't know anything about them yet.  Can I assume 500 MHz
twin CPU ?

This is the first machine I've owned that's big enough to parallel
park !


>       Somehow I don't think the run of the mill Linux distribution (at
>least, the ones sold in Fry's, or stuffed in the backs of Linux books)
>would work on a true Alpha processor. The chip set is so different you'd
>need a fresh compile targeted for the processor. This is not to say that
>some of the distributors don't have Alpha builds (I'm sure I saw one
>mentioned on the Mandrake site), but they take some effort to obtain.

So is there a distribution for the above ?


Cheers, J/.
-- 
John Beardmore

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

From: Thomas Dickey <[EMAIL PROTECTED]>
Subject: Re: Xterm Backspace not working
Date: 12 Jul 2000 12:46:59 GMT

Jeff Makey <[EMAIL PROTECTED]> wrote:
> In article <8k2kiq$ih3$[EMAIL PROTECTED]>,
> Thomas Dickey  <[EMAIL PROTECTED]> wrote:
>>Netscape is an X client, so it doesn't really see ASCII 127 (though I
>>suppose you could paste it in - I'm not sure there).  It's seeing
>>one of the Backspace or *Delete symbols from X, along with whatever
>>shift- or control-modifiers it expects.  What causes confusion is
>>that you can have a terminal emulator send ASCII 8 or 127 depending
>>on how it's configured.

> *Some* terminal emulators can be configured to send different ASCII
> sequences when they receive an X BackSpace symbol.  Now that I have a

> better understanding (thanks in part to you) of how X clients interact
I'll have to work on my faq to address the issues from the past year's
changes to xterm.

> with the keyboard, I am now leaving the backspace key alone rather
> than redefining it to send the X Delete symbol in my personal
> environment.  This makes the backspace key work the normal way in most
> X clients, but causes unmodified terminal emulators to see ASCII 8
> when it is pressed.  Conveniently, xterm can be told to send an ASCII
> 127 by using this X resource:

>  XTerm.vt100.translations: #override <Key>BackSpace: string(0x7f)

These are useful too (specific to XFree86 xterm):

       backarrowKey (class BackarrowKey)
               Specifies whether the backarrow  key  transmits  a
               backspace  or  delete character.  This corresponds
               to  the  DECBKM  control  sequence.   The  default
               (backspace) is ``true.''  Pressing the control key
               toggles this behavior.

       backarrowKeyIsErase (class BackarrowKeyIsErase)
               Tie  the  VTxxx  backarrowKey  and ptyInitialErase
               resources together by  setting  the  DECBKM  state
               according  to  whether  the  initial value of stty
               erase is a backspace  or  delete  character.   The
               default is ``false'', which disables this feature.

       deleteIsDEL (class DeleteIsDEL)
               Specifies whether the Delete key  on  the  editing
               keypad  should  send  DEL (127) or the VT220-style
               Remove escape sequence.  The default is ``false,''
               for the latter.

> Likewise, SGI's xwsh terminal emulator responds similarly to this
> X resource:

>  XWsh*keyMapping0: BackSpace(any): send("\177");

> There may be ways to get the same effect from other terminal
> emulators, but I have the luxury of not having to use them.  A couple
> of X terminal emulators I found that have no way to change the
> interpretation of the backspace key is dxterm (part of Compaq's Tru64
> UNIX) and CDE's dtterm (as shipped by Sun).  There are undoubtably
> others.

Someone told me there is a resource (something like) backspaceSendsDelete.
I don't see it in the rather old copy of dtterm on the Solaris box at work.

> I now have an imperfect solution to the problem of erasing characters
> that is different from the imperfect one I used before.  This one lets
> the backspace key work with the X terminal emulators I use, and also
> with most other X clients, so I think I'll be happy with it.

>                              :: Jeff Makey
>                                 [EMAIL PROTECTED]

> Department of Tautological Pleonasms and Superfluous Redundancies Department

-- 
Thomas E. Dickey <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com

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

From: "George Csahanin" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Segmentation fault
Date: Wed, 12 Jul 2000 13:08:48 GMT

Sounds like a problem in your installed libraries


-G


Tony John <[EMAIL PROTECTED]> wrote in message
news:396bdd9d$0$[EMAIL PROTECTED]...
> When I try to run netcfg I get this error. I am running Red Hat Linux 6.0
on
> an intel-clone. Do you know why I am getting this error ?
>
> Thanks a lot in advance.
>
>
>



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


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