Linux-Misc Digest #883, Volume #25               Wed, 27 Sep 00 17:13:02 EDT

Contents:
  Re: 2 boxes, one file, no clue ("David ..")
  Re: second hard disk (William W.)
  Re: Can StarOffice import LaTeX equations? (Garry Knight)
  Re: KDE Sound Configuration (Garry Knight)
  Re: where go get sshd (Neil)
  Re: syslogd and pppd (Ross Ashley)
  RedHat RPM shell script does not extract rpm file for Java SDK (Richard A. Lent)
  Re: End-User Alternative to Windows ([EMAIL PROTECTED])
  Re: syslogd and pppd (Bill Unruh)
  RH7.0 kernel 2.2.17 compile problem (Vic Gedris)
  Re: Partitioning..... (The Jigsaw Man)
  Re: Linux Certification Bootcamp w/Free Laptop. (NoMadis)
  CD-ROM problem ([EMAIL PROTECTED])
  Re: get user ID from user name (Tony Lawrence)
  Re: Can StarOffice import LaTeX equations? (Bala)
  Re: HELP! - Corel Linux install (Glen Stromquist)
  Re: RedHat RPM shell script does not extract rpm file for Java SDK (Robert Lynch)

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

From: "David .." <[EMAIL PROTECTED]>
Subject: Re: 2 boxes, one file, no clue
Date: Wed, 27 Sep 2000 12:48:25 -0500

"Bradley J. Bartram" wrote:
> 
> Hi all,
> 
> I have two systems with a common set of files.  What I would like to do is
> be able to take a directory from one machine and have it copied to another
> at certain time during the day.
> 
> Here's the trick, I don't want to use NFS or SMB to do it.
> 
> Any ideas?

Maybe "rsync" package.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538

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

From: [EMAIL PROTECTED] (William W.)
Subject: Re: second hard disk
Date: Wed, 27 Sep 2000 18:07:22 GMT

In our last episode (Wed, 27 Sep 2000 12:19:34 GMT),
the artist formerly known as [EMAIL PROTECTED] said:
>hello all
>
>i want to add second hard-disk to my existing redhat linux 6.2 harddisk.
>this harddisk is having NTFS and FAT32  partitions
>How can i add this second harddisk and mount it?

1. Stick the disk in your machine and connect it.
2. Boot your machine and enter your BIOS; you can probably just run the
hard disk auto-detect utility and then save the changes, unless your
BIOS is really old.
3. Boot Linux and log in, probably as root.
4. Create a directory onto which you want to mount a particular
partition (e.g. /mnt), if it does not already exist
5. run mount, e.g.:  /dev/hdb1 /mnt.
6. Repeat 4 and 5 for each partition you want to mount, using the
appropriate device namies and mount points.  See the manpage for mount
for more details. You may need to specify the filesystem type with the
-t flag, but I think mount can now autodetect most filesystem types.

If you want to mount the partitions automatically each time you boot,
you'll need to make new entries in /etc/fstab. See the manpage for fstab
for more details.

If you do not have FAT32 and NTFS support compiled into your kernel, you
will have to build a kernel with this support in it before you can mount
these partitions.

HTH.

-- 
It is pitch black.
You are likely to be spammed by a grue.

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

From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: Can StarOffice import LaTeX equations?
Date: Wed, 27 Sep 2000 17:42:17 +0100

On Wed, 27 Sep 2000, Bala wrote:
>Hi, I've got to give a presentation very soon and I've got loads of equations
>written in LaTeX. Is there any way I can save the time of transcribing these
>LaTeX equations into StarOffice?
>
>If I'm asking the wrong newsgroup then please recommend another. Thanks.

staroffice.com.support.starwriter
staroffice.com.support.starmath

--
Garry Knight
[EMAIL PROTECTED]

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

From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: KDE Sound Configuration
Date: Wed, 27 Sep 2000 17:44:27 +0100

On Wed, 27 Sep 2000, [EMAIL PROTECTED] wrote:
>I just posted a message about screen resolution and now I have another
>question concerning Linux setup.  I can't figure out how to setup the
>sound card.  I did it before, but I forgot.  I guess I wasn't paying
>much attention, thinking I'd never have to do it again.  Thank You.

What do you mean by "set up the sound card"? Do you mean how do you get it to
work at all? Or, since your subject line is "KDE Sound Configuration", do you
mean how do you get KDE to use system sounds?

You haven't even told us which sound card you have, by the way, which makes it
difficult to know what to suggest.

--
Garry Knight
[EMAIL PROTECTED]

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

From: Neil <[EMAIL PROTECTED]>
Subject: Re: where go get sshd
Reply-To: [EMAIL PROTECTED]
Date: Wed, 27 Sep 2000 20:13:24 +0100

On Wed, 27 Sep 2000 15:14:21 GMT, [EMAIL PROTECTED] wrote:

>i can only find ssh, no sshd...

there are sshd sources in the ssh tarball.



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

Subject: Re: syslogd and pppd
From: Ross Ashley <[EMAIL PROTECTED]>
Date: 27 Sep 2000 12:08:57 -0500

I'm answering my own post in case anyone else has this problem.

 pppd sends debug output to the LOG_LOCAL2 facility, so syslog.conf needs a
line like the following;

local2.*                /var/log/ppp-log

As for the modem, configuring the ttyS1 port with irq 0 using setserial forced
some probing for a correct interrupt request. So, using setserial like this
solved my problem;

setserial /dev/ttyS1 irq 0 port 0x02f8

Ross Ashley <[EMAIL PROTECTED]> writes:

> Trying to get a modem to work on a laptop, syslog isn't logging. I'm using a
> ppp script that's worked before. I have the debug option turned on in the
> /etc/ppp/options file and have the debug ommand line parameter in the ppp
> script (hopefully that's redundant). Still, no detailed info is getting to
> /var/log/messages (that's where the syslog.conf file should be putting the
> pppd output). All it puts there is a message saying the script failed.
> 
> I eventually made the /dev/ttyS1 port on the laptop chmod 777 and +s, so the
> script printed detailed info to the xterm that I launched it from. The
> detailed info is the following;
> 
> ...
> LCP: timeout sending Config-Requests
> Connection terminated.
> Receive serial link is not 8-bit clean:
> Problem: all had bit 7 set to 0
> 
> I then played with setserial, not too much playin', and I then put it right
> back the way it was. The detailed pppd info is no longer echo'd to the
> terminal. I'm right back where I started with no useful debug info.
> 
> So I have 2 problems; first is the logging problem and the second is the
> dialup problem. Does anyone have any ideas about either problem?
> 
> -- 
> Ross Ashley                           [EMAIL PROTECTED]
> 
> "The secret to success is sincerity. Once you can fake that, you've got it
> made."
>                                         - anonymous

-- 
Ross Ashley                             [EMAIL PROTECTED]

"The secret to success is sincerity. Once you can fake that, you've got it
made."
                                        - anonymous

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

From: Richard A. Lent <[EMAIL PROTECTED]>
Subject: RedHat RPM shell script does not extract rpm file for Java SDK
Date: Wed, 27 Sep 2000 18:13:54 GMT

Trying to install Java SDK under Linux 5.2.  When I run the shell script
j2sdk-1_3_0-rc1-linux-rpm.sh, it displays the license message and
appears to run ok, but it does not unpack the rpm file.  I tried this as
a regular user and as root.  I get no error messages when I run the
shell script.

--
Richard A. Lent
College of the Holy Cross
One College Street, Worcester, MA  01610-2395
http://math.holycross.edu/faculty/lent.html


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

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,comp.os.linux.advocacy
Subject: Re: End-User Alternative to Windows
Date: Wed, 27 Sep 2000 18:18:47 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:

> You seen the various news bits coming out about the eComStation client
> from Serenity Systems?

Yep; I still haven't decided whether to go with that or with the
convenience pack. But that's already; I also haven't decided whether to
play with RH 6.2, get the 7.0 CD-ROMs or wait for 7.1 to pick up the 2.4
kernel and KDE2.

--
--
Shmuel (Seymour J.) Metz

"A BIND is a terrible thing to waste"


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

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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: syslogd and pppd
Date: 27 Sep 2000 19:08:22 GMT

In <[EMAIL PROTECTED]> Ross Ashley <[EMAIL PROTECTED]> writes:

]I'm answering my own post in case anyone else has this problem.

] pppd sends debug output to the LOG_LOCAL2 facility, so syslog.conf needs a
]line like the following;

]local2.*               /var/log/ppp-log

No. pppd sends output to the daemon facility, chat sends its to the
local2 facility. So what you want is
local2.*;daemon.*       /var/log/ppp-log
and then do killall -1 syslogd


]As for the modem, configuring the ttyS1 port with irq 0 using setserial forced
]some probing for a correct interrupt request. So, using setserial like this
]solved my problem;

]setserial /dev/ttyS1 irq 0 port 0x02f8

?? You could try auto_irq, rather than irq0. HOwever, ttyS1 is almost
certainly an onboard serial port, unless it has been disabled. Thus if
it is an internal modem you MUST disable the onboard serial port COM2
Then you could try using setserial to define the irq for Linux.
Note that this does NOT set the irq of the modem. It simply tells linux
which irq the modem is using (ie you need to know it befor hand).

Note that the error message
 Receive serial link is not 8-bit clean:
usually does not indicate a modem problem, but rather a connection
problem. The remote end answered but did not run ppp, rather it sent
back ascii text.



]Ross Ashley <[EMAIL PROTECTED]> writes:

]> Trying to get a modem to work on a laptop, syslog isn't logging. I'm using a
]> ppp script that's worked before. I have the debug option turned on in the
]> /etc/ppp/options file and have the debug ommand line parameter in the ppp
]> script (hopefully that's redundant). Still, no detailed info is getting to
]> /var/log/messages (that's where the syslog.conf file should be putting the
]> pppd output). All it puts there is a message saying the script failed.
]> 
]> I eventually made the /dev/ttyS1 port on the laptop chmod 777 and +s, so the
]> script printed detailed info to the xterm that I launched it from. The
]> detailed info is the following;
]> 
]> ...
]> LCP: timeout sending Config-Requests
]> Connection terminated.
]> Receive serial link is not 8-bit clean:
]> Problem: all had bit 7 set to 0
]> 
]> I then played with setserial, not too much playin', and I then put it right
]> back the way it was. The detailed pppd info is no longer echo'd to the
]> terminal. I'm right back where I started with no useful debug info.
]> 
]> So I have 2 problems; first is the logging problem and the second is the
]> dialup problem. Does anyone have any ideas about either problem?

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

From: Vic Gedris <[EMAIL PROTECTED]>
Subject: RH7.0 kernel 2.2.17 compile problem
Date: Wed, 27 Sep 2000 15:11:08 -0400


I'm having a problem compiling kernel 2.2.17 under RH 7.0.  This kernel
compiled perfectly fine under RH6.2, using the same pristine sources
from kernel.org.

The error happens during make bzImage.  Here's the last part of the
output:

make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/mm'
make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/mm'
make -C  arch/i386/lib
make[1]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.2.17/arch/i386/lib'
cc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__  -traditional -c
checksum.S -o checksum.o
checksum.S:231: badly punctuated parameter list in #define
checksum.S:237: badly punctuated parameter list in #define
make[2]: *** [checksum.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.17/arch/i386/lib'
make: *** [_dir_arch/i386/lib] Error 2
[root@iggy linux]#

Could it have anything to do with the version of GCC that RH7 ships
with:
[root@iggy linux]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
[root@iggy linux]#

In case it matters, here are my specs:
AMD Athlon 500, 128MB RAM


Any ideas?  If you can help me out please post here or email me back at:
[EMAIL PROTECTED] (remove microsoft of course!)

Thanks,
Vic

-- 
========================================================================
[EMAIL PROTECTED]    WORLD WIDE PUNK    http://www.worldwidepunk.com 
========================================================================

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

Date: Wed, 27 Sep 2000 14:20:22 -0500
From: The Jigsaw Man <[EMAIL PROTECTED]>
Subject: Re: Partitioning.....

> Do you have any free space?
> That means NON PARTITIONED SPACE, not just space in the windows FS.
> Else you will need to create it. You can use FIPS.EXE for that or
> Partition Magic (if you have it)

No, all space on my drive is set in a dha partition, for windows.
 

> IIRC that's not an issue for mandrake 7.0, (you can choose to use GRUB
> as bootloader eg.), but don't quote me on this. Anyhow I doubt you'll
> have this problem anyway, since your HDD is only 7.5 GB (in LBA mode
> 1024 cyl. ~*G).

OK, good.


> If you insist on booting linux from floppy (i really don't know why) you
> will not ever have this problem, because a floppy never exceeds this
> amount of cylinders :-)

I hoped to boot from floppy in order to avoid this problem, and because
I don't know how to set up a dual-boot. Does it occur automaticly?

The Jigsaw Man

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

From: [EMAIL PROTECTED] (NoMadis)
Subject: Re: Linux Certification Bootcamp w/Free Laptop.
Date: Wed, 27 Sep 2000 19:20:22 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Wed, 27 Sep 2000 LinuxCertified.com <[EMAIL PROTECTED]> wrote:

>LinuxCertified.com announces the next certification bootcamp for
>IT professionals
>
>- All attendees get a free Linux laptop!
>
<<SNIP corporate dribble, posted with Mozilla 4.7 running under Win98>>

Before shouting your head off about certification and acceptance by the
corporate market and all that shit, perhaps you could set the example
by starting to use Linux yourself.

Or haven't you qualified yet?

-- 
Greetz,
Joop
=======================================================================
 Joop Bollen.   Nuts & Bolts Department,    Nomadis Systems, Holland
We all live under the same sky, but we don't all have the same horizon.

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

From: [EMAIL PROTECTED]
Subject: CD-ROM problem
Date: Wed, 27 Sep 2000 19:38:58 GMT

Hi all,

I installed RH6.1 by booting from CD-ROM and I usually boot using the
boot disk. However, when I try to mount CD-ROM mount comes back
with "mount: Wrong medium type."

I checked
/proc/devices that says block device 22 is hdc, and is correct.
/proc/filesystems says iso9660 is supported by kernel.

Please help and all help is appreciated.


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

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

From: Tony Lawrence <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: get user ID from user name
Date: Wed, 27 Sep 2000 16:05:10 -0400

Chris J/#6 wrote:

> Why they can't use man pages, I don't know...*but* they do and that's that. I
> don't won't a start a war of words over this one.


Because part of the Linux community has Stallman disease?

I don't at all mean to belittle the contributions of the dear boy
and all the other GNU folk because obviously we'd have damn
little without them.  But the effing ATTITUDES of some of them
are just about unbearable- especially Stallman.  I met him once,
long time pre-Linux.  I forget what the circumstances were, but I
took an instant dislike to him as a person (while of course still
respecting his obvious intelligence).  I've never been physically
near him again, but have heard him on the radio now and then and
every time I have to shut it off because I just can't stand his
damn whining about "GNU/Linux" and if he's not doing that, then
it's some other thing that makes my teeth grate.  Too bad,
because the few times I've suffered it out, I do learn a thing or
two.


As to the man/info stuff, if they aren't going to maintain man
pages, and they feel the Texinfo documentation is so much
superior (and it probably is), then rewrite man so that it knows
when to automagically switch to dumping out that stuff IN A
MAN-LIKE FORMAT.  If they did that, then there would be no
complaints, right?


-- 
Tony Lawrence ([EMAIL PROTECTED])
SCO/Linux articles, help, book reviews, tests, 
job listings and more : http://www.pcunix.com

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

From: Bala <[EMAIL PROTECTED]>
Subject: Re: Can StarOffice import LaTeX equations?
Date: 27 Sep 2000 20:05:19 GMT


> staroffice.com.support.starwriter
> staroffice.com.support.starmath

Thanks Garry, but here's another stupid question: where can I access these
newsgroups? I've tried searching on Deja and on Google but to no avail.

Regards,
Bala

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

From: Glen Stromquist <[EMAIL PROTECTED]>
Subject: Re: HELP! - Corel Linux install
Date: Wed, 27 Sep 2000 20:43:51 GMT

At this point I've given up on any idea of being able to boot in to
win98 or linux - I am just trying to salvage my data from the c: drive.
This is what I've tried so far:

*ran fdisk /mbr several times on the drive from a floppy - it seems to
do something but I still cant boot the disk or see any data on it

*ran partition magic 4 from a clean win98 install and a bootable
floppy - it wont do a check on the disk, but see's it.

*ran norton disk doctor from a bootable floppy - it diag's the disk as
ok except wont repair the boot sector...

*did clean install of W2K on another disk & used disk admin - no luck

*installed the disk as a hdb (2nd), linux disk as hda and created
a /home/win dir and tried to mount /dev/hdb hdb1 on it - still cant see
any data because I get errors when trying to mount it.

*installed xon boot utility on new c: drive and tried to boot it -
nothing.

I am wondering if its worth my while to take the disk to a data
recovery place - I heard that they are big $$$. I am still trying to
find a way to at least see if the data is still there and am looking
for anything else that may be able to repair the boot partition that
Corel apparantly destroyed.

Greatly appreciate all of the ideas so far and any others that anyone
may have....


In article <8qs1hk$6o2$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
>
> > If your Linux drive is attached to the primary master (/dev/hda) and
> > your Lose9x drive is attached to the primary slave (/dev/hdb) then
> you'd
> > edit /etc/lilo.conf to look like so, run lilo, and everything should
> > work as expected the next time you reboot.  There is no need to
> > reinstall Lose9x (this time, that is!)
> >
> > boot=/dev/hda  # install bootloader on MBR of /dev/hda
> > (...stuff, don't fiddle with it...)
> > image=/boot/vmlinuz   # usual place for it
> >    label=linux
> >    root=/dev/hdaX     # your root partition
> >    append=""          # append statements go here
> > other=/dev/hdb1
> >    label=lose
> >    table=/dev/hdb
> >    map-drive=0x80 to=0x81   # fool Lose9x into booting properly from
> >    map-drive=0x81 to=0x80   # the second hard drive
> >
> > This should work.  HTH, good luck.
>
> Just a note. If your HD is not IDE, but SCSI, then it will probably
> be /dev/sda1, etc. instead of /dev/hda1, except i know my system
> goes /dev/sda1 ,sdb1, etc...presumably something to do with LUN
> support....but thats a whole different story.
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>


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

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

From: Robert Lynch <[EMAIL PROTECTED]>
Subject: Re: RedHat RPM shell script does not extract rpm file for Java SDK
Date: Wed, 27 Sep 2000 14:03:14 -0700
Reply-To: [EMAIL PROTECTED]

"Richard A. Lent" wrote:
> 
> Trying to install Java SDK under Linux 5.2.  When I run the shell script
> j2sdk-1_3_0-rc1-linux-rpm.sh, it displays the license message and
> appears to run ok, but it does not unpack the rpm file.  I tried this as
> a regular user and as root.  I get no error messages when I run the
> shell script.
> 
> --
> Richard A. Lent
> College of the Holy Cross
> One College Street, Worcester, MA  01610-2395
> http://math.holycross.edu/faculty/lent.html
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

I've had my problems with these "shell scripts".  Specifically,
they get corrupted in transit.  In the past I've had to download
these huge mommas several times til they finally work.

IMO, you're better off going to Blackdown and getting and
installing a tar.gz from there:

http://www.blackdown.org/java-linux/ports.html

HTH, Bob L.
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]

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


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