Linux-Misc Digest #728, Volume #23                Thu, 2 Mar 00 04:13:04 EST

Contents:
  Re: Xlib: connection to ":0.0" refused by server (Jeffrey Quinn)
  lilo.c (Allan Adler)
  multiple virtual x consoles (Greg Greenway)
  Re: Permissions... (Alex Lam)
  Re: samba problem (Bill Keeler)
  CD-R/RW & Creative DVD together. (Alex Lam)
  Re: HELP - Install Linux on Last Partition of a 30 GB Hard Drive? (George Shapovalov)
  Re: SCSI over IDE/ATAPI (Johnny Johanson)
  Re: Sound Files Conversion (Jason Clifford)
  Re: SoftOSS: Only some channels play ("Steffen Jost")
  Not Lilo, ELF missing, Re: LILO problems (Cameron L. Spitzer)
  Re: Modem not responding to chat ppp-on-dialer. (G. Asch)
  Re: What is the best way to mirror my Web/mail/FTP server (G. Asch)
  Re: PPP nightmare (G. Asch)
  Re: compile/link error gcc with c++ (Martijn Brouwer)
  Re: How is the PATH variable defined? (Martijn Brouwer)
  Re: LILO problems (Cameron L. Spitzer)
  Re: Xlib: connection to ":0.0" refused by server (Jean-Philippe SCHILLE)
  How to edit console font ? (Mihaly Gyulai)
  Re: converting DOS formatted text to Linux (Kenny McCormack)

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

From: Jeffrey Quinn <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Xlib: connection to ":0.0" refused by server
Date: Wed, 01 Mar 2000 22:08:02 -0800

[EMAIL PROTECTED] wrote:
> 
> And verily, didst root hastily scribble thusly:
> > I am user zazen and root at the same time (lousy root :-))
> > I cannot log in the Xserver anymore as user zazen (others are fine)
> > and if I su to zazen and want to start a X application : the following
> > happens:
> 
> You forgot to grant permission to connect to te X server.
> Type
> 
> xhost +
> 
> before su'ing

Just be warned that this pretty much nukes your (albeit questionable)
Xwindows security.  You might want to keep it to

xhost +mymachine

but if you are really worried about security, then use ssh to the local
machine with X forwarding enabled. 

Quinn
-- 
"If You Believe, Truly Believe, In What You Hold In Your Heart Of
Hearts, 
And Trust Your Eyes To See Clearly, Without Bias Or Prejudice, Then The 
Charting Of Your Course Will Be Swift And True." - Sol Bianca

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

Subject: lilo.c
From: Allan Adler <[EMAIL PROTECTED]>
Date: 02 Mar 2000 01:26:52 -0500


Where can I find the source code for lilo?

Allan Adler
[EMAIL PROTECTED]

****************************************************************************
*                                                                          *
*  Disclaimer: I am a guest and *not* a member of the MIT Artificial       *
*              Intelligence Lab. My actions and comments do not reflect    *
*              in any way on MIT. Morever, I am nowhere near the Boston    *
*              metropolitan area.                                          *
*                                                                          *
****************************************************************************

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

From: Greg Greenway <[EMAIL PROTECTED]>
Subject: multiple virtual x consoles
Date: Wed, 01 Mar 2000 22:32:08 -0800

Right now i have redhat 6.1 and i have it set up so that it goes straight into x
on boot.  This works fine.  But when i switch to a different virtual console, it
is always just a text shell, and i can't get into x from it.  If i type startx
it says x is already running (which it is).  Is there any way to access x from
these other virtual consoles?  Thanks.

GREG

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

From: Alex Lam <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Permissions...
Date: Wed, 01 Mar 2000 23:55:08 -0800

Nathan Cuka wrote:
> 
> Alex Lam wrote:
> 
> > Hi,
> >
> > Why I have given the whole world the permissions to access both CD-R/RW,
> > DVD-ROM and Floppy as root, but when others login as non root, into one
> > of the permitted group, and still got permission denied?
> 
> Did you set the user option in /etc/fstab for the particular device?
> Unless you do this, then they can not mount, and hence, access, the
> drives.
> 
Problem solved. Deleted the group and users in that group. Then,
recreate group and add users again.

Alex Lam.

> --
> ----------------------------------------------
> | Nathan [EMAIL PROTECTED]
> | ZEFER Corporation.......http://www.zefer.com
> |
> | import com.standard.Disclaimer;
> ----------------------------------------------

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

From: Bill Keeler <"bkeeler"@[EMAIL PROTECTED]>
Reply-To: ""bkeeler\"@[EMAIL PROTECTED]">
Subject: Re: samba problem
Date: Thu, 02 Mar 2000 00:18:21 -0700

Hi Jim,

I ran into the same problem and found out that it's caused by Windows 98
wanting to use Challenge Host Authentication Protocol (CHAP) to avoid
sending plain text passwords over the network.  Samba, by default,
doesn't use this, so it doesn't understand the passwords that are being
sent.

If you're on a secure network, you can make Windows stop using CHAP by
going to the /tools/mtsutil directory on your Win98 CDROM and
right-clicking on "ptxt_on.inf", then choosing "install".  Since you're
now using public shares, that should be OK for now.  If you go to the MS
Knowledge base, and search for Linux you'll find an article on this
subject. The URL is:
http://support.microsoft.com/support/windows/readme/Win98se/w98semtsutiltxt.asp?LNG=ENG&SA=ALLKB&FR=0#PTXT_ON

If you were not on a secure network, you can tell Samba to use CHAP.
There are several things involved in this, so it would be best to go to
the www.samba.org page and find the documentation on that.

The resources you're trying to access will require the Unix passwords,
just as though you were trying to log on to your Linux console as a
certain user, and access a directory or a file.  You'd need to be
authorized to do so.

HTH,

Bill


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

From: Alex Lam <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.hardware
Subject: CD-R/RW & Creative DVD together.
Date: Thu, 02 Mar 2000 00:47:06 -0800

Hi,
     How can I get Linux to identify and list both CD devices together?
I have a Philips CD-R/RW (secondary EIDE controller as slave), and a
Creative DVD Dxr2 (secondary EIDE controller as primary.)

The kernel is 2.2.13. NO IRQ conflicts. 

Thx.

Alex Lam.

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

From: George Shapovalov <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware,linux.redhat.list
Subject: Re: HELP - Install Linux on Last Partition of a 30 GB Hard Drive?
Date: Wed, 01 Mar 2000 23:46:24 -0700

Well, you can. You just need to have one small partition inside first 8 Gb
(100 MB will suffice) as your /boot where you will keep the kernel. That is
if you want to boot regularly from HDD using lilo. This is limitation of
BIOS, it cannot boot from higher then 1024 cylinder. You can get around
that, but in this case you will be forced to use boot disk. You may set your
BIOS to boot a:,c:,smth in sequence and then boot into NT just regularly and
into linux after you insert floppy (just insert and hit power). You can find
instructions in bootdisk HOWTO probably.


Cameron Ninham wrote:

> I have a computer with a 30 GB hard drive.  The drive is partitioned
> into three sections, each roughly 9 GM in size.  On the first and second
> partition I have Windows NT and 98 installed respectively (for work
> purposes *smile*).  I wish to install Linux (either RedHat or Debian) on
> the last partition.
>
> Can I install Linux on the last section of a 30 GB drive?  Will Linux
> operate and function normally?
>
> My reason for asking this question is that with Windows NT during
> boot-up the Kernel cannot access anything on the primary drive after the
> first 2 GB address space -- this is also critical for the Blue Screen of
> Death and Core Memory Dumps, etc.  I guess this is due to the limitation
> of a 16 bit address operating system???
>
> I would appreciate it if you could, in addition replying the the News
> group, email me your responses also, please.  I am working at a client
> site where I do not have readily access to the Internet, USENET, etc.
>
> Thank you.
>
> Cameron Ninham
> email: [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Johnny Johanson)
Subject: Re: SCSI over IDE/ATAPI
Date: 2 Mar 2000 08:13:37 GMT

[EMAIL PROTECTED] (Stuart R. Fuller) writes:

>I have a dial-out modem on my system to call out to a mainframe-type system,
>using a terminal emulator (C-Kermit).  One of the things I've noticed is that
>when the IDE disks on my system get busy doing something, I lose a LOT of
>serial port data.  When the SCSI disk on my system gets busy, I don't lose any
>serial port data.

The loss of serial data is due to some disabling of interrutps etc during
disk access. Not doing so apparently caused data corruption on some IDE
disks or controllers (probably very old ones). This can be disabled with
the hdparm program. Although it is not entirely without risk to do so, my
now four years old system never had any problem with this (My new system has
SCSI :-) ).
  Take a look at the hdparm man page and it should be obvious what I am
talking about, I'm not at home now so I can't check what options it is I
use.


// Johnny


-- 
                              ,,,          http://www.dtek.chalmers.se/~d2jo/
  Johnny Johanson            (o o)                      [EMAIL PROTECTED]
  =======================oOO==(_)==OOo=======================================
  Computer Science and Engineering, Chalmers University of Technology, Sweden

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

Crossposted-To: alt.os.linux,uk.comp.os.linux
From: Jason Clifford <[EMAIL PROTECTED]>
Subject: Re: Sound Files Conversion
Date: Thu, 2 Mar 2000 08:15:46 +0000

On Thu, 2 Mar 2000, Jason Ng wrote:

> How can I convert raw PCM u-Law sound files to other format such as .au or
> .wav in Linux?
> Where can I download the required programs?

The program you require is called sox. It may already be on your Linux
system as it is included in many distribions already.

For details on how to use it `man sox'.

Jason Clifford
Definite Software plc - the home of Definite Linux
http://www.definitelinux.net/


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

From: "Steffen Jost" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: SoftOSS: Only some channels play
Date: Thu, 2 Mar 2000 09:15:45 +0100

Hi Rod!

I had nearly the same problem with my Opti mad16 pro (opti 82C929 chipset),
it played midi-files only on one channel, the left one I think, both under
windows and under linux. I tried several things to get it to work, but
nothing helped.
Maybe the chipset is flaky there, and it�s something you have to live
with....

no help for you, of course, but just a little hint.....

Steffen



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

From: [EMAIL PROTECTED] (Cameron L. Spitzer)
Crossposted-To: linux.redhat.misc,linux.redhat.list
Subject: Not Lilo, ELF missing, Re: LILO problems
Date: 2 Mar 2000 07:17:16 GMT

In article <89apnu$joq$[EMAIL PROTECTED]>, Eric Marquez wrote:
># CONFIG_M586 is not set
>CONFIG_M586TSC=y
># CONFIG_M686 is not set
>CONFIG_X86_WP_WORKS_OK=y
>CONFIG_X86_INVLPG=y
>CONFIG_X86_BSWAP=y
>CONFIG_X86_POPAD_OK=y
>CONFIG_X86_TSC=y
...
>CONFIG_BINFMT_AOUT=y
># CONFIG_BINFMT_ELF is not set
>CONFIG_BINFMT_MISC=y

That's odd.  A typical Linux on x86 distribution is mostly
binaries in ELF format.  This kernel can't execute them.
Your module loader is probably ELF, so you can't even put
BINFMT_ELF in a module.  Try setting CONFIG_BINFMT_ELF
and see if the new /usr/src/linux/arch/i386/boot/bzImage
works better.

Cameron

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

Subject: Re: Modem not responding to chat ppp-on-dialer.
Reply-To: G. Asch <[EMAIL PROTECTED]>
From: G. Asch <[EMAIL PROTECTED]>
Date: 01 Mar 2000 12:45:04 -0500


TryHard  <[EMAIL PROTECTED]> writes:

T> Since upgrading to RH6.1/Mandrake7, I have been able to use kppp
T> and minicom with no problem, but can't seem to get the modem to
T> reply to even the wakeup call from chat.

T> Logs show scripts timing out from the first "AT" command, which is
T> in the chat script

T> exec chat -v TIMEOUT 10 "" AT OK ATDT.....  I've tried all the PPP
T> options off and on in ppp-on and in /etc/ppp/options Any ideas on
T> what is missing/changed/my error would be appreciated.

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


I had something similar, but i cant remember what was wrong.
two possible culprits are 
        /dev/modem -> /dev/ttyS0
check that you send things to the right port.
        enable debug in pppd and see if there is a module not found message
        in the log
-- 
_________________________________________________________

Gabriel Asch
Email: [EMAIL PROTECTED]

!!! Note: to foil spammers,
if you reply by email, your message must either contain a
proper Reference header or you must quote !this line!

    "in a sense, you are already dead"
                                   J. L. Borges
                           
________________________________________________________


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

Crossposted-To: alt.comp.linux.isp,alt.linux.slakware,alt.os.linux.slackware
Subject: Re: What is the best way to mirror my Web/mail/FTP server
Reply-To: G. Asch <[EMAIL PROTECTED]>
From: G. Asch <[EMAIL PROTECTED]>
Date: 01 Mar 2000 13:09:52 -0500




check sitecopy
-- 
_________________________________________________________

Gabriel Asch
Email: [EMAIL PROTECTED]

!!! Note: to foil spammers,
if you reply by email, your message must either contain a
proper Reference header or you must quote !this line!

    "in a sense, you are already dead"
                                   J. L. Borges
                           
________________________________________________________


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

Crossposted-To: alt.os.linux.redhat,comp.os.linux.setup,linux.redhat.misc
Subject: Re: PPP nightmare
Reply-To: G. Asch <[EMAIL PROTECTED]>
From: G. Asch <[EMAIL PROTECTED]>
Date: 01 Mar 2000 13:04:32 -0500




I wonder if you can explain something more. After installing
mandrake, I started occasionally having the same message in my log, 
but it didn't harm the connection. 
my options are: crtscts defaultroute modem asyncmap 0 noipdefault 
                name ga244 papcrypt.


Bill Unruh <[EMAIL PROTECTED]> writes:

BU> In <MCJu4.304$[EMAIL PROTECTED]> "Nikko
BU> Odiseos" <[EMAIL PROTECTED]> writes: ]While trying to
BU> configure my machines ( I have Linux on both but only one ]modem)
BU> I somehow messed something up (maybe with the pppd command, though
BU> I ]reinstalled ppp and it didn't change) so that now when I try to
BU> connect to ]my isp (using kppp none of whose settings changed) I
BU> get an error message ]saying "The remote system is required to
BU> authenticate itself but I couldn't ]find any secret (password)
BU> which would let it use an IP address".  What did ]I do and how do
BU> I undo it?

BU> Definitely a FAQ You set up your ethernet with a default route on
BU> the ethernet. To solve:

BU> place noauth into /etc/ppp/options

BU> Place route del default into rc.local ( in /etc/rc.d in
BU> redhat/mandrke)

BU> As root run route del default.

BU> Now everythng should work. If youethernet stops working, put in a
BU> specific route to your ethernet net, not a default route.  Eg put
BU> inot /etc/sysconfig/static-routes
-- 
_________________________________________________________

Gabriel Asch
Email: [EMAIL PROTECTED]

!!! Note: to foil spammers,
if you reply by email, your message must either contain a
proper Reference header or you must quote !this line!

    "in a sense, you are already dead"
                                   J. L. Borges
                           
________________________________________________________


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

From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: compile/link error gcc with c++
Date: Thu, 02 Mar 00 08:26:07 GMT

In article <[EMAIL PROTECTED]>, "Arthur H. Gold" <[EMAIL PROTECTED]> wrote:
>Looks like you're trying to compile C++ with gcc.
>It can be done; however, you'd have to add explicit options to link in
>the relevant libraries.
>Use g++ instead; g++ is a front-end to gcc that set the appropriate
>linking options for you.

Yes that was true. Now I use g++, and everything compliles and linkes well, 
but the program just does not do anything (should say: "Hello World!").
The executable is 130kb large, isn't this quite large for such a simple thing?

Thanks,

Martijn



__________________________________________________
Martijn Brouwer               [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Martijn Brouwer)
Crossposted-To: comp.os.linux.networking
Subject: Re: How is the PATH variable defined?
Date: Thu, 02 Mar 00 08:29:28 GMT

In article <hNlv4.1250$[EMAIL PROTECTED]>, "Lord Petrosky" 
<[EMAIL PROTECTED]> wrote:
>i understand this environmental variable is patched together using various
>scripts during bootup and logon (of a given user).  does anyone have a clear
>and complete picture of how a RedHat 6.0 box works in this regard?

This is done with 'export PATH=....' You can simply at some directories by 
setting the command 'export PATH=PATH:....' to your ~/.bashrc file.


__________________________________________________
Martijn Brouwer               [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Cameron L. Spitzer)
Crossposted-To: linux.redhat.misc,linux.redhat.list
Subject: Re: LILO problems
Date: 2 Mar 2000 07:50:55 GMT

In article <89apnu$joq$[EMAIL PROTECTED]>, Eric Marquez wrote:
>- ------
>Machine type:
>ASUS P5A ATX, USB, 5 PCI, 2 ISA
>128 MB Ram
>1 Floppy
>1 Atapi CDROM
>AMD K6-3 400 Mhz
>10 GB HD
>3COM 509 Net Card
>Zoltrex 28.8 modem
>AGP SiS 6326
>
>#
># Automatically generated make config: don't edit
...
>CONFIG_M586TSC=y
># CONFIG_M686 is not set
>CONFIG_PCI_QUIRKS=y

Good idea.
...
># CONFIG_SYSCTL is not set

I'd add SYSCTL.


>CONFIG_BINFMT_AOUT=y
># CONFIG_BINFMT_ELF is not set

Turn BINFMT_ELF on.


>CONFIG_BINFMT_MISC=y
># CONFIG_PARPORT is not set

You'll probably want the parallel port.
Make it a module if you're worried about your kernel size...


># CONFIG_BLK_DEV_CMD640 is not set

I would add CMD640 if I were not very sure I did not have
anything based on it.


># (it is safe to leave these untouched)
>#
># CONFIG_INET_RARP is not set

Module, if you were thinking about running a network
off this thing.



>#
># CONFIG_SCSI is not set
>CONFIG_SCSI_G_NCR5380_PORT=y

That makes no sense to me.  What good is a configured
low level driver for NCR5380 without the SCSI driver?
If you have an NCR5380, turn on CONFIG_SCSI
and CONFIG_SCSI_GENERIC_NCR5380.
Then set the _PORT or _MEM.

># CONFIG_SERIAL is not set
># CONFIG_SERIAL_EXTENDED is not set

You'll need CONFIG_SERIAL to see your modem, internal
or external.  Might as well turn on EXTENDED, too.



># CONFIG_UNIX98_PTYS is not set

I believe you need UNIX98_PTYS for the X Window System
and networking.



># Filesystems
>#
># CONFIG_QUOTA is not set
>CONFIG_AUTOFS_FS=y

Are you sure you need this?
Looks like a security hole.  Module.


># CONFIG_NFS_FS is not set

AUTOFS_FS makes little sense without NFS_FS, eh?



># CONFIG_SMB_FS is not set

Need Windows 95 "network neighborhood" volume sharing?
At least make a module.



># CONFIG_NLS_ISO8859_1 is not set

Don't you want that?  "If unsure, say Y"


># CONFIG_SOUND is not set




Cameron

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

From: Jean-Philippe SCHILLE <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Xlib: connection to ":0.0" refused by server
Date: Thu, 02 Mar 2000 08:53:50 -0500
Reply-To: [EMAIL PROTECTED]

Thanks to all for your help,

deleting .Xauthority and .ICEauthority in the faulty account did not
solve the problem
playing with xhost+ did not help

Finally I got really frustrated, backed up the files in the faulty
account and moved them to a new account....This is really the dumbest
solution of all and I still do not know what went wrong but at least I
am back to normal.

Jean-Philippe

-- 
Dr. Jean-Philippe SCHILLE
Thermotech Ltd.
Surrey Technology Centre
40 Occam Road
GUILFORD GU2 5YG

Tel: (01483) 295609

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

From: Mihaly Gyulai <[EMAIL PROTECTED]>
Subject: How to edit console font ?
Date: Thu, 02 Mar 2000 08:50:49 GMT

With what programs can I edit console fonts ?

--
Mihaly Gyulai
mailto:[EMAIL PROTECTED]
http://www.freeyellow.com/members5/gyulai/


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

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

From: [EMAIL PROTECTED] (Kenny McCormack)
Subject: Re: converting DOS formatted text to Linux
Date: 2 Mar 2000 02:29:25 -0600
Reply-To: [EMAIL PROTECTED]

In article <38ad378a$0$[EMAIL PROTECTED]>,
Herb Stein <[EMAIL PROTECTED]> wrote:
>In vi, enter:
>:%s/^V^M//g
>:wq
>
>^V is control-V and ^M is control-M.

Actually, since this is a Linux newsgroup and since vi under Linux is (almost)
always vim, the right answer, assuming you're going to do it in vi(m), is:

:e file|se ff=unix|x


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


** 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.misc) 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-Misc Digest
******************************

Reply via email to