Linux-Misc Digest #255, Volume #25 Thu, 27 Jul 00 21:13:01 EDT
Contents:
Re: Newbie ->Mysql & perl ("Andrew N. McGuire ")
Re: Install without floppy or CD? (David Rysdam)
Re: Install without floppy or CD? (Andrew J. Perrin)
Re: printing rtf documents (Bob Tennent)
Re: Ethernet NIC Recommendation (Alvaro Palma Aste)
Re: ftp automated batch copy (-ljl-)
Re: How do I let non-root users use StarOffice 5.2? (Tom Jalbert)
Proxy / NAT / Masquerade ??? ("micromans")
How to set hardware time correctly from shell? (Charlie Zender)
Re: reinstalling LILO---doesn't work over Win2K??? (Dances With Crows)
unresolved symbols kill my sound (shawn)
Re: Does VB and SQL work under linux? (David Rysdam)
Re: Best Linux distribution for newbie (Julian Bordas)
Re: FWD: FreeBSD 4.1 RELEASE is out.IPSEC,IPv6 etc. included. (blowfish)
Re: Hard Linux Crash (Martha H Adams)
Re: gcc compiling error (David Rysdam)
Re: Does VB and SQL work under linux? (John Hasler)
Re: Does VB and SQL work under linux? (YAWN)
(no subject) (Mail Admin)
----------------------------------------------------------------------------
From: "Andrew N. McGuire " <[EMAIL PROTECTED]>
Subject: Re: Newbie ->Mysql & perl
Date: Thu, 27 Jul 2000 18:12:13 -0500
On Thu, 27 Jul 2000, Rasputin quoth:
][ [EMAIL PROTECTED] <Peter Bishop> wrote:
][ >Andrew,
][ >
][ >What is the NG for MySQL??? I can't locate one. Thanks.
][ >
][ >Pete
][
][ Don't think there is one.
][ Probably a mailing list - check www.mysql.org for details.
That is correct, I made a mistake in thinking that I had seen
one in the comp.databases tree. My fault, however the OP's
question still would be better answered elsewhere (read "is
Off Topic"). Sorry if I was misleading. :-(
anm
--
/*------------------------------------------------------------------------.
| Andrew N. McGuire |
| [EMAIL PROTECTED] |
| perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
`------------------------------------------------------------------------*/
------------------------------
From: David Rysdam <[EMAIL PROTECTED]>
Subject: Re: Install without floppy or CD?
Date: 27 Jul 2000 18:41:32 -0400
[EMAIL PROTECTED] (Andrew J. Perrin) writes:
> The catch is, the floppy drive to the thing has long since
> disappeared, and we don't have a CD ROM for it. It does have a
> network connection, though, so we can mount a CD over the net.
>
> Any ideas on how this might be done?
I can only think of one way: use that DOS link thing (quicklink?
doslink?)
0) Partition the laptop into two large partitions and one very small
one.
1) Connect the laptop and come other machine with a (null?) modem
cable via the serial ports.
2) Copy the entire CD to a large partition of the laptop.
3) Use rawrite to put a boot image on the small partition.
4) Then boot to the small partition and install to the other large
partition.
5) When finished, blow away the two "extra" partitions (the cd one and
the tiny one) and reclaim the disk space.
--
My public encryption key is available from www.keyserver.net
------------------------------
From: [EMAIL PROTECTED] (Andrew J. Perrin)
Subject: Re: Install without floppy or CD?
Date: 27 Jul 2000 19:19:06 -0400
[EMAIL PROTECTED] (Grant Edwards) writes:
> You've got neither a floppy nor a CD?
Exactly. Actually, the original owner got a disk stuck in the floppy
while he was on a trip, and decided to throw away the whole drive
(it's an external floppy for a laptop). He was our boss, so we didn't
feel we could say much.... then he got a new laptop, we get stuck with
this one. Tried buying a replacement, but at least for the moment
it's not working, which is the reason for the post.
--
==============================================================
Andrew J. Perrin - UC Berkeley, Sociology & Demography
Consulting: Solaris-Linux-NT-Samba-Perl-MS Access-Postgres
[EMAIL PROTECTED] - http://demog.berkeley.edu/~aperrin
==============================================================
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: printing rtf documents
Date: 27 Jul 2000 23:23:27 GMT
Reply-To: [EMAIL PROTECTED]
On Thu, 27 Jul 2000 20:56:36 +0100, clear wrote:
>Can anyone tell me how to print rtf documents from Linux
>
There are many ways to do this. One of the best is to use the following
to convert rtf to whatever, say Postscript:
http://wheel.compose.cs.cmu.edu:8001/cgi-bin/browse/objweb
Bob T.
------------------------------
From: Alvaro Palma Aste <[EMAIL PROTECTED]>
Subject: Re: Ethernet NIC Recommendation
Date: 27 Jul 2000 23:13:10 GMT
Dennis D escribio:
>Hello,
>I would like to add my Linux computer to my simple
>Ethernet home network. My computer is a Gateway
>166 running RedHat 6.1. Does anyone have any suggestions
>on a NIC card that is known to work well with Redhat Linux?
>Any recommendations appreciated. Thanks in advance.
>Dennis
Dlink DFE538 Dual Speed 10/100, it works perfect and cost (in Chile
at least) about 30 dollars
--
Atte
�lvaro Palma Aste
Grupo de Ing Biom�dica
U. de Chile
[EMAIL PROTECTED]
------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Subject: Re: ftp automated batch copy
Date: Thu, 27 Jul 2000 23:26:42 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Grant Edwards) wrote:
> In article <[EMAIL PROTECTED]>, John Hasler wrote:
> >m.hoes writes:
> >> ...is there an enhanced ftp client available which is able to do
this?
> >
> >You want ncftp. Should be included in any decent distribution.
>
> Specifically, you want the designed-for-scripting programs ncftpget
and
> ncftpput (which might just be links to ncftp -- I never actually
looked).
You can use plain-jane ftp with a script like the following:
====================== get=mcc cut here =========================
#!/bin/sh
#
# get-mcc - Use a here document to transfer files using anonymous
# ftp from a shell script.
#
# Louis J. LaBash, Jr. 28Mar97 -ljl-
# Usage: get-mcc
#
# set -x # Print commands and arguments as they are executed
# crontab entry:
# 0 16 28 3 5 (cd /nonsiue/llabash/FTP/ftp.mcc.ac.uk; get-mcc) 2>&1
>/dev/null
# 0 16 28 3 5 (cd /home/labash/FTP/ftp.mcc.ac.uk; get-mcc) 2>&1
>/dev/null
#
SOURCE=ftp.mcc.ac.uk
ftp -n $SOURCE <<EndFTP
user anonymous [EMAIL PROTECTED]
bin
cd pub/linux/packages/X11/XFree86-3.1.2/binaries/Linux/elf
get X312bin.tgz
get X312cfg.tgz
get xf86conf.tgz
cd ../common
get X312doc.tgz
get X312fnt.tgz
get X312man.tgz
EndFTP
========================== cut here ===========================
Cut it out, make it readable and executable. I ran this particular
one via cron to honor the SA's request to minimize load during office
hours.
Between "<<EndFTP" and "EndFTP" you can put any legitimate command
you like; change dir local or remote, binary or ASCII, ... .
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Tom Jalbert <[EMAIL PROTECTED]>
Subject: Re: How do I let non-root users use StarOffice 5.2?
Crossposted-To: comp.os.linux.admin,alt.os.linux.cadera
Date: Thu, 27 Jul 2000 23:50:20 GMT
Login as root and run the install with /net as a suffix ...
/.../so-5_2-ga-bin-linux-en.bin /net
then login as a user and run the setup program ...
/.../office52/program/setup
Should work like a champ. You'll want to get jdk-1.1.8-v1 from=20
www.blackdown.org if you want it to recognize jre at install time ...=20
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 7/24/00, 12:59:50 AM, Patrick Lam <[EMAIL PROTECTED]> wrote regarding =
How=20
do I let non-root users use StarOffice 5.2?:
> Hi:
> I have installed StarOffice 5.2 (for Linux) on my Caldera 2.3 box (wit=
h
> kernel 2.2.16). as root. However, when I login as another user, it
> doesn't seem to be usable at all. Is there any thing I have to do to
> let non-root users use StarOffice on this machine? Or I simply have t=
o
> install a copy for each user (even for the same machine)?
> Thanks a lo t in advance.
> Patrick.
> BTW, does anyone know why my messages never got to
> staroffice.com.support.misc and staroffice.admin?
------------------------------
From: "micromans" <[EMAIL PROTECTED]>
Subject: Proxy / NAT / Masquerade ???
Date: Thu, 27 Jul 2000 16:48:32 -0700
Can anyone explain where network address translation is occurring in these
scenarios:
1) I first set up a LINUX box and connected to the web ISP via pppd. Then I
took another local machine on the same 172.17.x.x network and tried to
browse the web "through" the Linux box. Didn't work. I also set up a route
command so that my packets would be forwarded through the Linux box. I could
then ping the ISP, but that's all. This makes sense if my private IP address
is getting killed on the internet.
2) Then I donwloaded and installed squid, (caching proxy server), which I
believe does NAT as part of its duties, (I could apply NAT only without the
use of squid, but I wanted to learn & use squid). I believe that when squid
receives my packets (source 172.17.x.x) and realizes they are destined for
the net it will replace my source address with it's own ISP-assigned
internet-acceptable address. It also assigns me a high-port so that when the
internet responds with my reply then squid can replace the destination with
me at 172.17.x.x, (ie: so the packet gets to my station, and doesn't just
stay on the Linux box). So squid is performing network address translation,
right? PS: I can browse the web perfectly in this scenario, via my Linux
box, from a WIN NT 4.0 client.
3) Now suppose the linux box has IPCHAINS firewall installed on it and also
has squid installed. The Linux box has two NIC's, one for the internal
172.17.x.x network, and one for the internet ISDN line (static IP address on
the web). A client from the 172.17.x.x network inside our organization calls
up his web browser and asks for www.3com.com. The request packets go to the
Linux box on the internal ethernet interface. Are these packets first
processed by the ipchains firewall, or by the squid proxy server? (or both
simultaneously???).
Then what happens next? Does the ipchains firewall perform network address
translation to fire the packets off to the external ethernet interface?, (I
thought squid did this. Squid does it when I have a modem). When the packets
arrive at the external interface, does squid grab them there? Does squid not
need to perform network address translation when an ipchains firewall is in
place?
If squid is listening on port 8080 does it get the packets simultaneous with
the ipchains, or does ipchains get them first because it's running at the
kernel???
An explanation would be very helpful!
Micromans
------------------------------
From: Charlie Zender <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.shell,comp.os.linux.setup
Subject: How to set hardware time correctly from shell?
Date: 28 Jul 2000 05:07:51 -0700
Hi,
It seems like my laptop and desktop Linux machines are constantly
set to the wrong time (because of multiboot OSs all correcting
leap day etc.). In order to reset the time I have to go through
a laborious procedure involving finding a trusted time source and
executing a command like
/sbin/hwclock --set --date="04/09/00 15:41:00"
Question: Is there a simple, single command line way to reset
the hardware clock to the NIST time in Linux?
I checked the FAQ but couldn't find it.
Thanks,
Charlie
--
Charlie Zender [EMAIL PROTECTED] (949) 824-2987/FAX-3256, Department of
Earth System Science, University of California, Irvine CA 92697-3100
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup
Subject: Re: reinstalling LILO---doesn't work over Win2K???
Date: 28 Jul 2000 00:03:45 GMT
Reply-To: [EMAIL PROTECTED]
On 27 Jul 2000 22:48:04 GMT, Colin Reinhardt wrote:
>I lost LILO after reinstalling Win2K. I made a boot disk (bare.i) and got
>back in to Linux.
>Then I ran /sbin/lilo. It said.
>Adding Linux...
>Adding Win2000...
>bla-bla-bla...
>This should reset my MBR to point to LILO right???
Only if you have the line
boot=/dev/hda
up top. The boot= line tells LILO where to put its first-stage loader;
/dev/hda is the MBR of the first hard drive, while /dev/hda1 is the
bootsector of partition 1 on the first hard drive. Make sure that your
boot= is correct if you want to put LILO on the MBR.
If that's not what you want, and you have LILO installed on the
bootsector of a Linux partition, you just need to use Linux fdisk to set
that partition as the active partition. The "standard" DOS MBR code
just jumps to the partition marked "active" and begins executing the
instructions located in that partition's bootsector.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Tyranny is always better organized
http://www.brainbench.com / than freedom.
=============================/ ==Charles Peguy
------------------------------
From: shawn <[EMAIL PROTECTED]>
Subject: unresolved symbols kill my sound
Date: Fri, 28 Jul 2000 00:09:04 GMT
ello there
okay ive tinkered to the extend of my meager capabilitie, and im
lost. what i did was enable (read compile into the kernel) scsi generic
suppourt, scsi emulation, and scsi suppourt. before this my sound
worked. it was loading a module located in /lib/...../misc/ (fill in the
dots). now once i added 'append="hdb=ide-scsi" to /etc/lilo.conf and
recompiled the kernel & rebooted, i get a HUGE list of unresolved
symbols from depmod. these unresolved symbol statements are followed by
the directory of pretty much all the modules. i assume some are not
listed but there is a ton. from scsi, from misc, from net, i think all
of em. buy cdrecord -scanbusu still picks it up as does the normal boot
procedures.... so my problem is that once i compiled cdwriting
compatibility into the kernel, it somehow knocked off my sound suppourt.
sorry this post is kind of convoluted but im a bit distraught (heh) i
would be grateful to whoever could help me
shawn
------------------------------
From: David Rysdam <[EMAIL PROTECTED]>
Subject: Re: Does VB and SQL work under linux?
Date: 27 Jul 2000 19:49:48 -0400
[EMAIL PROTECTED] (YAWN) writes:
> hi all:
>
> i am thinking of putting Linux on my laptop (32MB RAM, P200, 2.0GB),
> and i am wondering if i can run Visual Basics and SQL in Linux. the
> reason being that i have classes in school that require the usage of
> these softwares. i am aware of that i can run VMWare, but i don't
> think my hardware can handle it.
Check out wine (www.winehq.org). I don't know if you can run VB under
Wine or not. SQL is not a program it is a language.
> please direct answers to my email [EMAIL PROTECTED]
Please don't ask questions if you aren't willing to stick around for
the answers.
--
My public encryption key is available from www.keyserver.net
------------------------------
From: Julian Bordas <[EMAIL PROTECTED]>
Subject: Re: Best Linux distribution for newbie
Date: Fri, 28 Jul 2000 10:17:55 +1000
blowfish wrote:
>
> SuSE 6.4 or later.
>
> Or FreeBSD 4.x
>
> Have A Lot of Fun.
>
> Alex / blowfish.
I'd have a look at Mandrake 7.1 Very easy to instsall
Julian
Linux Newbie since 1995
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: FWD: FreeBSD 4.1 RELEASE is out.IPSEC,IPv6 etc. included.
Date: Thu, 27 Jul 2000 17:27:31 -0700
blowfish wrote:
>
> FreeBSD 4.1-RELEASE released.
>
> IPSEC,IPv6 etc. included.
>
> http://www.appwatch.com/Linux/App/987/S/1/history.html
more detailed info here-
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.1-RELEASE/RELNOTES.TXT
------------------------------
From: [EMAIL PROTECTED] (Martha H Adams)
Subject: Re: Hard Linux Crash
Date: Fri, 28 Jul 2000 00:25:23 GMT
My guess what happened to your machine is, it was doing something critical
at the moment the power failed; and wrote a badness into its HD. This is
not a serious problem and if you start all over and try to duplicate this
failure, probably you'll work years to see it again. So I don't feel you
*need* the UPS.
But, a UPS is a nice cautionary provision. I use one for my Linux desktop.
It is rated 500 VA, larger than necessary, which makes for spare reserves
against aging. In 3-5 years it will need a new battery. Since the UPS is
a cautionary not obligatory safety measure, you can shop the Sunday papers
or whatever for several months to find a UPS at best price.
Now, concerning failures and etc. When you buy a car, you know for sure,
someday there's going to be a problem. Same for your computer. From what
I have seen, you're better off with Linux than with anything from Microsoft,
however, someday down the road, there's a problem. So how about if, you
prepare by degrees for this, and when it comes, you probably can cope
without paying someone else $50 or $100 / hour.
Concerning service shops, these are like hospitals: all the bad bugs get
collected there and despite precautions, you can find additional problems
there which require more expert attention, etc etc.
So you want to dig into that technical stuff and learn something about it.
Now, about this technical stuff, it's *rarely done well* and so you have to
wrassle with it.
So for starters, to find out all sorts of basics and how knowledgeable
people think about them, see Eric S. Raymond, The New Hacker's Dictionary,
Third Edition.
Now go on and read Welsh, Dalheimer and Kaufman, Running Linux, Third
Edition.
Next, Brian Ball, Using Linux; and Volkerding, Reichard, and Foster-
Johnson, Linux Configuration & Installation, 4th Edition.
Watch out to avoid buying older books. In this technology, things happen
in dog years -- 7 years per real-time year. Unless a book is a classic
like Eric Raymond's 3rd ed, pass it by and keep looking. You find that
key date, the publication year, on the back of the title page.
Now, if your Red Hat CDROMs are arranged something like Slackware (which
I use here) somewhere in there are some bootdisks and rootdisks for doing
an installation from zero. The bootdisk boots the machine and the rootdisk
loads a small simple basic Linux system and all of this exists only in the
machine's memory. So one of those rootdisks may be named 'rescue.gz'.
So follow the instructions and make yourself a bootdisk (bare.i) and a
rootdisk (rescue.gz), or whatever Red Hat offers of this sort. While you
are at it, make two of each.
Now, you can set your machine's CMOS to boot from its a: drive (I've set
mine to try a: then CDROM then c:) and after reading a lot, boot your
small rescue Linux and see if the e2fsck or other repair program, can
repair the mess your HD made when its power failed.
If you have solved your problem, do this anyway. Having your rescue
system at hand and knowing how to use it, is the same kind of thing as you
have a spare tire when you go out driving.
Re alternative or exotic file systems, I suggest you stay near mainstream
until you've gained a lot of experience. Go "second extended file
system".
I hope when you partitioned your HD at setup, you placed your /home on a
separate partition from your Linux operating system. If you didn't, then
you may want to buy expert help to salvage your work tree before re-
installing your Linux.
If you did, then maybe rather than go the rescue route, you might want to
simply remake your file system (reformat) and reinstall your Linux from
CDROM. Then after your Linux reinstallation is completed, you can go to
your /etc/fstab and write in a line to mount that later partition, which
your reinstallation didn't change since you didn't do anything there.
Well, this has really got too long. The key point is, your problems have
remedies which are accessible to mere people, if you will work along
at your reading and not expect to do it all overnight. The above is some
of my ideas and experience using Linux.
Cheers -- Martha Adams
------------------------------
From: David Rysdam <[EMAIL PROTECTED]>
Subject: Re: gcc compiling error
Date: 27 Jul 2000 19:59:19 -0400
[EMAIL PROTECTED] (BJW7TOAEM) writes:
> /usr/include/bits/local_lim.h:27: linux/limits.h: No such file or directory
[snip]
> /usr/include/bits/socket.h:252: asm/socket.h: No such file or directory
These are almost certainly because you don't have the kernel header
files installed. It's stupid and even Linus doesn't like it, but for
right now you have to install the header files for the kernel for
certain things, EVEN IF you don't have the kernel itself installed.
RedHat has a kernel-headers package just for this.
> make[3]: *** [kwview.o] Error 1
> make[3]: Leaving directory `/home/linux/kmysql-1.2.1/kmysql/kwrite'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/linux/kmysql-1.2.1/kmysql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/linux/kmysql-1.2.1'
> make: *** [all-recursive-am] Error 2
>
Try fixing the first part and then see if these go away too.
--
My public encryption key is available from www.keyserver.net
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Does VB and SQL work under linux?
Date: Fri, 28 Jul 2000 00:03:22 GMT
Fester writes:
> There is a product called mySQL for Linux.
There is also a free DBMS for Linux (and other OS's) called PostgreSQL.
> ...there is no VB Interpreter/Compiler for Linux.
One of Linux's many advantages.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: [EMAIL PROTECTED] (YAWN)
Subject: Re: Does VB and SQL work under linux?
Date: Fri, 28 Jul 2000 00:35:57 GMT
i'm sorry if that offended you, but i check email more often, and i
have problem connecting to my news server at times. also, the reason
why i wanted the answers be sent to my email is that the answer will
influnce my decision making in purchasing some hardware/software, and
i need to make that decision relatively soon, and i can't really rely
on my news server (it might go down again), so i chose to receive
answers from the more reliable mail server at school.
thank you for taking the time to answer my questions.
>> please direct answers to my email [EMAIL PROTECTED]
>
>Please don't ask questions if you aren't willing to stick around for
>the answers.
>
>--
>My public encryption key is available from www.keyserver.net
------------------------------
From: Mail Admin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: (no subject)
Date: Thu, 27 Jul 2000 15:50:20 -0400
Dear Linux experts,
I am trying to create a number of mailboxes (sendmail+pop3) on a
Linux machine.
The challenge is doing this without creating Unix accounts. I assume
it
is possible to a user database (*.db) that could be accessed by both
sendmail and pop daemons.
Could you provide me with some help regarding this issue?
I am also interested in a Web front end to these mailboxes....
Thank you
------------------------------
** 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
******************************