Linux-Misc Digest #624, Volume #20               Mon, 14 Jun 99 08:13:17 EDT

Contents:
  Re: SuSE vs Red Hat? (Ken Arromdee)
  getting pppd/chat messages -> /dev/console (Robert Burrows)
  Re: New User Stuff (Ben Short)
  a simple question for a newbie ("news.jaring.my")
  Re: Commercially speaking....? (The Ghost In The Machine)
  Re: Epson Stylus: Save ink option ("Ferdinand V. Mendoza")
  Re: finding files with words that may be on different lines (Gary Johnson)
  Re: mingetty problem (Villy Kruse)
  Re: 2 newbie questions! (root)
  Re: Cache tuning (Pierre Monestie)
  Re: first/second/third world (Richard Kulisz)
  GTK themes and gtk upgrade (hudini)
  quotactl problem ([EMAIL PROTECTED])
  Re: Converting RedHat to Debian (Stuart Miles)
  Re: Synchronizing cmos clock with timeserver? (Villy Kruse)
  Re: login restrictions (Tim Sutherland)
  Re: how to compile c/c++ in linux (Thomas Ruedas)
  script ("Morten")
  Re: LD_LIBRARY_PATH for glib-1.2.1.tar.gz (James Lee)
  Re: Microsoft FrontPage� 2000 Server Extensions for Linux... (Miquel van Smoorenburg)
  Best way to install vmware, Linux, and windows 98 ([EMAIL PROTECTED])
  Kernel 2.2.x and arp (Joerg Paysen)
  TV Video Support (Melvin Branch)
  Re: redirection "<<" (Michi Reutter)
  Re: linux-newbie ("David Eno")
  Secure network-backup via nfs? ([EMAIL PROTECTED])

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

Crossposted-To: comp.os.linux.setup,comp.os.linux.portable
Subject: Re: SuSE vs Red Hat?
From: [EMAIL PROTECTED] (Ken Arromdee)
Date: Mon, 14 Jun 1999 03:53:35 GMT

>> there are three things which seem to be hard to install/configure in
>> linux - X, ppp and e-mail.

Also partitioning.
--
Ken Arromdee                    |They said it was *daft* to build a space
[EMAIL PROTECTED]            |station in a swamp, but I showed them!  It
[EMAIL PROTECTED]            |sank into the swamp.  So I built a second
http://www.inetnow.net/~arromdee|space station.  That sank into the swamp too.
================================+My third space station sank into the swamp.
So I built a fourth one.  That fell into a time warp and _then_ sank into the
swamp.  But the fifth one...  stayed up! --Monty Python/Babylon 5

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

From: [EMAIL PROTECTED] (Robert Burrows)
Subject: getting pppd/chat messages -> /dev/console
Reply-To: [EMAIL PROTECTED]
Date: Mon, 14 Jun 1999 04:07:46 GMT

I want to get messages from ppp-on-dialer to display on the console
instead of being written to /var/log/messages or /etc/ppp/connect-errors.
I have 2 questions:
1. How can I do this?
2. Where should I have looked to find this information?

RedHat 6.0
kernel 2.2.5
ppp 2.3.7

TIA,
-- 
Robert Burrows
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Ben Short)
Subject: Re: New User Stuff
Date: Mon, 14 Jun 1999 13:05:57 +1000

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> 
> 
> Hello,
> 
> I am very new to Linux.  I just installed Red Hat.  I have a small
> network set up with a Windows 98 box, a Linux box and 2 printers on my
> hub.
> 
> I want to be able to dial from my Windows box through my Linux box
> onto the net........can I do this?
> 
Well, you can dial up an ISP from you linux box, then use IP masquerading 
so your windows box can access the internet over the LAN you have set up.

> Also, how do I start an FTP deamon on my Linux box so I can send files
> across?

FTP *should* be set up by default. There also *should* be documentation 
for all the Redhat packages you installed in /usr/doc

> 
> Thanks, I'm very new to this stuff......
> 

Hope this helps out then ;)

> Please send e-mail.
> 
> Arthur
> [EMAIL PROTECTED]
> 
> 
Ben
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Ben Short                http://www.shortboy.dhs.org
Shortboy Productions     mailto:[EMAIL PROTECTED]

*Remove n0spam to email me*
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

From: "news.jaring.my" <[EMAIL PROTECTED]>
Subject: a simple question for a newbie
Date: Mon, 14 Jun 1999 12:40:20 +0800

I am so new in linux, i just get lost in this os.

I just managed to install Redhat ver6  on my pc, with the cd booting method.

How then, do I install any software on Linux,  let say, from a downloaded
software at all. Eg, on window, I just need to double click the setup.exe
file.  But how about in Linux?

thank you for any help at all.


chuan



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

From: [EMAIL PROTECTED] (The Ghost In The Machine)
Crossposted-To: comp.os.linux.advocacy,comp.os.msdos.misc,uk.comp.os.linux
Subject: Re: Commercially speaking....?
Date: Mon, 14 Jun 1999 04:49:53 GMT

On Sat, 12 Jun 1999 23:05:52 GMT,
Peter Hayes <[email protected]> wrote:
>On Sat, 12 Jun 1999 09:11:11 GMT, John Garrison <[EMAIL PROTECTED]> wrote:
>
>> Peter Hayes wrote:
>> 
>> > On Thu, 10 Jun 1999 05:06:16 GMT, John Garrison <[EMAIL PROTECTED]> wrote:
>> >
>> > > Windows is started from the DOS program Win.com. If it is started
>> > > from another OS then it is not as OS.
>> >
>> > So you're saying that if I start Linux from the DOS prompt using
>> > Loadlin, then Linux is not an OS, but merely an app running on top of
>> > DOS?
>> >
>> 
>> Ummmm NO. Linux does not NEED DOS to start. 
>
>LILO

LILO sits on top of BIOS, not DOS.  (Its one failing in life :-/ )
DOS doesn't get involved at all.

Some older BIOS code was brain-dead regarding reading anything
past cylinder 1024 (or maybe that's LILO having to work with
brain-dead INT 13 interfaces; I dunno, now).

If you want something that needs DOS to run -- or at least, start --
try LOADLIN.

Of course, once the kernel is in memory and start executing,
it can do what it wants -- and what it does is take over the
computer.  (I think a lot of older DOS games did the same thing
way way back in the '86 and '286 days, and even DOOM had its
own ideas...)

[rest snipped]

----
[EMAIL PROTECTED] -- wow, how long has it been since "DOOMsday"? :-)

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

From: "Ferdinand V. Mendoza" <[EMAIL PROTECTED]>
Subject: Re: Epson Stylus: Save ink option
Date: Mon, 14 Jun 1999 07:44:46 +0400

Which one you would like to save black or color?
If black, you can go to /var/spool/lpd/lp
look for the file general.cfg

In it theres a line:

ASCII-to-PS=NO

Change the NO to YES.

You can even save more of your black ink if you use the
@stc600pl.upp  or @stc600ih.upp in your printfilter.
As for the color, I don't know. In fact I also have a problem
when printing graphics. The color looks more black than normal.
The reds especially.  I must have seen somewhere that there are
fine tuning hints for these but I can't find it.

Ferdinand

Ekkard Gerlach wrote:

> Somebody knows printer options for ghostscript
> to save ink by options like with MS-drivers ?
>
> Full-ink is too expensive for test sheets.
> I have an Epson Stylus 600.
>
> thank you
> Ekkard Gerlach




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

From: [EMAIL PROTECTED] (Gary Johnson)
Subject: Re: finding files with words that may be on different lines
Date: 14 Jun 1999 04:40:32 GMT

[EMAIL PROTECTED] wrote:
> I'm trying to use grep to find files containing keywords.
> Unfortunately these keywords are not all on the same line so grep won't
> find all the correct files. Is there a way I can do this?

I do this frequently using grep and xargs, like this:

    grep -l pattern1 | xargs grep -l pattern2 | xargs grep -l pattern3

It may not be elegant, but it's simple.

Gary

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: mingetty problem
Date: 14 Jun 1999 08:37:25 +0200

In article <[EMAIL PROTECTED]>,
Arthur Rinkel  <[EMAIL PROTECTED]> wrote:
>I have a weird problem with one of the mingetty processes that is running.
>So far it's not really disturbing, but I'd like it to run correctly.
>Sometimes mingetty doesn't handle CR anymore and prints them as ^M. This
>way I can't login on the terminal in question. I've tried kill the 
>process, but that does help. Anyone knows how to fix this?



That usualy happens (on any unix) if some other process still has the
tty device open after you log off and the tty device is in raw (ie -icanon)
mode.

There is or used to be some system daemons that opens or keep open the
/dev/console which could cause this behaviour on /dev/tty1.

The getty assumes that the tty device will be reset to a default state when
the last process closes the device.  If a daemon has the device open that will
never happen.



Villy

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

From: root <[EMAIL PROTECTED]>
Subject: Re: 2 newbie questions!
Date: Sun, 13 Jun 1999 23:21:27 -0500

[EMAIL PROTECTED] wrote:

>
> >: I was in X when I connect to the net.  None of the app works when I got
> >: connected.   I always have to start Netscape first before connect to the net,
> >: otherwise I can't start it at all.  and the same for all other applications.
> >
> >Strange.
> It's very strange.  How are you connecting to the internet?
>

I use kppp.  I only get this problem when I log in as a regular user.  No problem
if I log in as root.
If I disconnect from the net, everything is fine.


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

Date: Sun, 13 Jun 1999 13:13:06 +0200
From: Pierre Monestie <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Cache tuning

David Means wrote:
Hi,
It's exactly why  asked the question : I know the importance of file
caching and the speed you gain for it. But somehow I think it's a waste
of sys. ressource to cache some files that I'm sure I will read only
once.  Moreover certains files are so big that they won't fit in memory
so they won't get entirely cached...
Pierre
--- 
Pierre Monestie, 
Lion Bioscience AG,Waldhofer Str. 98
D-69123 Heidelberg.
Phone +49(0)6221/4038142  Fax +49(0)6221/4038201   http://www.lion-ag.de

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

From: [EMAIL PROTECTED] (Richard Kulisz)
Crossposted-To: comp.os.ms-windows.advocacy,comp.os.linux.advocacy,gnu.misc.discuss
Subject: Re: first/second/third world
Date: 14 Jun 1999 07:22:00 GMT

In article <7k0sk2$[EMAIL PROTECTED]>,
Mark Hahn  <[EMAIL PROTECTED]> wrote:
>> First World largely refers to Exploiter nations (eg, USA) and Third
>> World to their colonies (eg, Mexico, Brazil, Columbia, Saudi Arabia).
>
>this is the most impressively patronizing, ivory-tower, silly,
>academic attitude I've heard in a long time.

Then you can't have met many people who study trade agreements. Trade
agreements (of which the FTA and NAFTA are prototypes) are a mixture
of protectionism and liberalism where those sectors of the economy that
you (the exploiter nation) are weak on (ie, you don't have an industry
to lose) are liberalized (so you get the benefit of cannibalizing the
other nation's industry) but those that you are strong on are protected.
Intellectual Property law is a form of protectionism and the USA has
imposed its IP law on other nations with the FTA, NAFTA, and even using
the World Bank and the IMF. IOW, the USA is protecting its pharmaceutical
and "information technology" industries in recognition of their future
importance.

>it sounds like something
>that a wild-eyed leftist prof would have said in about 1960.

Thank you. I do try.

>> Naturally, when you categorize "objectively" you must put everything
>> in terms of average incomes or some other convenient conjured up tripe.
>
>good!  evoke the long-dead ghost of relativism, as well.  this was
>a very pleasant blast from the past...

So when the local rags print quotes from extreme right-wing quack
tanks in an effort to appear objective, this is all right with you?
If you believe the newspapers and other mass media then you are part
of a very small, and continuously decreasing, minority.

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

From: hudini <[EMAIL PROTECTED]>
Subject: GTK themes and gtk upgrade
Date: Mon, 14 Jun 1999 03:01:52 -0500

hello... i had gtk/glib 1.2.1-7 rpms removed them rpm -e --nodeps...
upgraded to 1.2.3 tarballs... all apps work ok... except gtk themes
(0.5-11 gtk-engines rpm)... tried to upgrade from 0.5-11 gtk-engines rpm
to 0.5 tarball... but ./configure says imlib1.8 not installed... rpm -q
imlib reveals imlib 1.9.5...
Why isn't imlib being detected (I also have imlib-devel and
imlibcfgeditor both 1.9.5)?

I had my gtk themes in /usr/share/themes... which are not detected by
the gnome configurator... now I have a new dir /usr/local/share/themes/
(after upgrading gtk).  If I move the themes from /usr/share/ to
/usr/local/share, the themes are detected.  But they wont work... I only
get the colors but not the textures/pixmaps...

Same with ln -s /usr/local/share/themes/ /usr/share/themes

thanks...

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

From: [EMAIL PROTECTED]
Subject: quotactl problem
Date: Mon, 14 Jun 1999 07:19:31 GMT

Hello
        I use redhat 6.0 and I try to set quota with this code but
it can not work with error message "No such process". Please check my
code and let me know what wrong with it.

Thank you.
[EMAIL PROTECTED]

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <pwd.h>
#include <linux/types.h>
#include <linux/quota.h>
main(int *argc, char *argv[])
{
        struct dqblk  stQuser;
        struct passwd *stPasswd;
        long i;

        /* get user info */
        stPasswd = getpwnam("testuser");

        /* Init space and total of file to dqblk */
        stQuser.dqb_bsoftlimit = 2*1024;
        stQuser.dqb_bhardlimit = 2*1024;
        stQuser.dqb_isoftlimit = 100;
        stQuser.dqb_ihardlimit = 100;

        /* set quota from specific user */
        if(quotactl(QCMD(Q_SETQUOTA, USRQUOTA), "/dev/ida/c0d0c2,
                    stPasswd->pw_uid, (caddr_t)&stQuser) != 0){
                fprintf(stderr, "%s\n", strerror(errno));
        }
        exit(0);
}


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Stuart Miles <[EMAIL PROTECTED]>
Subject: Re: Converting RedHat to Debian
Date: Mon, 14 Jun 1999 10:07:51 +0100



http://www.geocities.com/ResearchTriangle/3328/rh5todeb-howto.txt

-- 
Stuart Miles                         Email: [EMAIL PROTECTED]
Alenia Marconi Systems               Phone: +44 1276 63311

Views expressed are mine and not those of Alenia Marconi Systems

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

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.os.linux.networking
Subject: Re: Synchronizing cmos clock with timeserver?
Date: 14 Jun 1999 08:40:54 +0200

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

>after the rdate, add '/sbin/clock [-u] -w' or 'hwclock --systohc
>[--utc]', where -u and --utc tell the progs, that you cmos clock runs
>GMT.
>


This is correct, but for redhat system you have a shell script called
/usr/sbin/setclock which will do this paying attention to the paramters
defined in the /etc/sysconfig/clock file.  In other words:  setclock
will do the right thing.



Villy

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

From: [EMAIL PROTECTED] (Tim Sutherland)
Subject: Re: login restrictions
Date: 14 Jun 1999 09:31:00 GMT

In article <7k1npk$cu8$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>> In article <7jro3e$nru$[EMAIL PROTECTED]>,
>>   [EMAIL PROTECTED] wrote:
>> > How do I restrict a person from logging in as root?
<snip>
>To be more specific: On my Solaris machines under /etc/default there is
>a file called login.  I can do a simple edit to either allow a person
>to login remotely as root, or to restrict root login.  I've looked on
>my Linux machine, but I don't see any such file.  I was asking more out
>of curiousity than for any other reason.

Have a look at /etc/login.access. From the manpage:
         The  login.access file specifies (user, host) combinations and/or 
         (user, tty) combinations for which a login will  be either accepted or
         refused.

Also try /etc/securetty for the tty's root is allowed to login from. By default
it should definitely only allow root to login on the local console.

-- 
Kinkler's First Law:
        Responsibility always exceeds authority.

Kinkler's Second Law:
        All the easy problems have been solved.

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

Date: Mon, 14 Jun 1999 11:03:50 +0200
From: Thomas Ruedas <[EMAIL PROTECTED]>
Subject: Re: how to compile c/c++ in linux

For c programs you can use gcc (GNU C compiler) or cc as compilers.
Default extension C programs is .c . For C++ use g++, the default ext.
is .cc .
-- 
============================================
Thomas Ruedas
Institute of Meteorology and Geophysics, 
J.W. Goethe University Frankfurt/Main
Feldbergstrasse 47                      D-60323 Frankfurt/Main, Germany
Phone:+49-(0)69-798-24949               Fax:+49-(0)69-798-23280
e-mail: [EMAIL PROTECTED]
http://www.geophysik.uni-frankfurt.de/~ruedas/
============================================

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

From: "Morten" <[EMAIL PROTECTED]>
Subject: script
Date: Mon, 14 Jun 1999 12:30:13 +0200

Hi!

I would like a simple script which will automatically telnet to a server and
log me on. I've been surfing around but I haven't been able to find such a
script. Has anybody made one or a suggestion to where I can find one??

Thanks in advance

Morten



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

From: James Lee <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: Re: LD_LIBRARY_PATH for glib-1.2.1.tar.gz
Date: 13 Jun 1999 23:32:58 -0500

In alt.os.linux hihihi <[EMAIL PROTECTED]> wrote:
: I want to know what system variable LD_LIBRARY_PATH i should set to install
: glib-1.2.1.tar.gz

Asking the obvious:
Have you untarred it and look at the README files?


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

From: [EMAIL PROTECTED] (Miquel van Smoorenburg)
Crossposted-To: comp.infosystems.www.servers.unix,alt.linux,alt.os.linux
Subject: Re: Microsoft FrontPage� 2000 Server Extensions for Linux...
Date: 14 Jun 1999 12:45:51 +0200

In article <7jj9r0$[EMAIL PROTECTED]>,
Duncan Simpson <[EMAIL PROTECTED]> wrote:
>In <01beb0ce$3bea3970$24921e18@obi-wan-kenobi> "test" <[EMAIL PROTECTED]> writes:
>
>>http://officeupdate.microsoft.com/frontpage/wpp/
>
>>ftp://ftp.microsoft.com/Products/frontpage/fp40.linux.tar.Z
>>ftp://ftp.microsoft.com/Products/frontpage/change_server.sh
>>ftp://ftp.microsoft.com/Products/frontpage/fp_install.sh
>
>I would suggest FP extensions only on a victim machine specially for
>it, with ample warnings so that nobody can complain when FP gets
>exploited and they suffer the consequences. The clueful can write
>their own perl, php, etc on a properly secured box.

There's a new project underway to clone the FP extensions in perl-
see http://www.nimh.org/code.shtml#fpse

Mike.
-- 
Indifference will certainly be the downfall of mankind, but who cares?

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

From: [EMAIL PROTECTED]
Subject: Best way to install vmware, Linux, and windows 98
Date: Mon, 14 Jun 1999 04:09:04 GMT

I am currently contemplating wiping out my hard desk to do a fresh
install of Linux, vmware, and windows 98(as a guest os under vmware). Is
this the only way to install vmware and linux if my current machine has
only windows 98 installed? I face having to back up around 7 gigabytes
in order to do this and any easier way that one knows about would be
appreciated. Any pointers to detailed howto instructions would also be
appreciated.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED] (Joerg Paysen)
Crossposted-To: comp.os.linux.networking
Subject: Kernel 2.2.x and arp
Date: 14 Jun 1999 10:34:10 GMT


Hi,

when I want to manually set an arp entry with
arp -v -i eth0 -s myhost my_hw_address pub 
I get the following entry (arp -a):
myhost (111.111.111.111) at * PERM PUB on eth0
What does the asterix mean???
(I set proxy_arp with echo "1" > /proc/sys/net/ipv4/conf/all/proxy_arp
I use RedHat 6.0 with kernel 2.2.9-ac6)

Joerg




           "In a world without fences, who needs Gates?"

======================================================================
Joerg Paysen                                    Tel.  +49 451 500/3724  
- System Administrator -                        Sekr.            /3721  
                                                Fax.             /3722
Institut fuer Telematik, Uni Luebeck              
Ratzeburger Allee 160                   mail: [EMAIL PROTECTED]
D-23538 Luebeck, Deutschland              http://www.itm.mu-luebeck.de

  PGP fingerprint = 47 97 66 96 2E 37 EA 0F  74 46 15 6D 2C FC 8D 9F
======================================================================


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

From: Melvin Branch <[EMAIL PROTECTED]>
Subject: TV Video Support
Date: Mon, 14 Jun 1999 10:51:23 GMT

I just purchase Redhat 6.0 thinking it already had support for video, but=
 was
disappointed.   I have a STB TV/FM PCI card based on the BT878 chip, work=
s
ok in Win98.

After reading some of the posts in this group regarding problems
with 2.2.15-22.  I thought getting the latest kernel source and headers m=
ight
resolve my problems.  So I went to kernel.org and downloaded and installe=
d the
2.2.9.  I still can't get video working on my system.

I get the following errors when building the deps:

config.c:231: #error "HiSax: No cards configured"
adb.c:27: asm/prom.h: No such file or directory
adb.c:28: asm/adb.h: No such file or directory
adb.c:29: asm/cuda.h: No such file or directory
adb.c:30: asm/pmu.h: No such file or directory
adb.c:32: asm/hydra.h: No such file or directory

I get the following message when building the kernel:  This appears to be
 ok,
since the kernel gets built.  Just thought I'd put in just in case.

tulip.c: In function `tulip_probe':
tulip.c:471: warning: suggest explicit braces to avoid ambiguous `else'
tulip.c: In function `select_media':
tulip.c:1538: warning: suggest explicit braces to avoid ambiguous `else'
8390.c: In function `NS8390_trigger_send':
8390.c:1092: warning: unused variable `ei_local'
apm.c:295: warning: `regparm' attribute directive ignored
apm.c: In function `apm_get_info':
apm.c:1187: warning: unused variable `nbat'
apm.c: At top level:
apm.c:607: warning: `apm_get_battery_status' defined but not used
Root device is (3, 7)
Boot sector 512 bytes.
Setup is 3528 bytes.
System is 535 kB

I get the following messages when building the modules:
soundmodule.h:23: warning: `sound_notifier' defined but not used
soundmodule.h:23: warning: `sound_notifier' defined but not used
ip_masq_user.c:36: warning: `debug' defined but not used

I get the following messages when I attemp to load the modules using "ins=
mod
bttv":
/lib/modules/2.2.9/misc/bttv.o: unresolved symbol i2c_unregister_bus
/lib/modules/2.2.9/misc/bttv.o: unresolved symbol video_register_device_R
smp_3e43d292
/lib/modules/2.2.9/misc/bttv.o: unresolved symbol i2c_register_bus
/lib/modules/2.2.9/misc/bttv.o: unresolved symbol i2c_control_device
/lib/modules/2.2.9/misc/bttv.o: unresolved symbol video_unregister_device
_Rsmp_e4cde995

I do cleanout the "/lib/modules/2.2.9" directory before running the
modules_install script.

Can some kind soul tell me what I am doing wrong and point me in the=20
right direction?


TIA


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

From: Michi Reutter <[EMAIL PROTECTED]>
Subject: Re: redirection "<<"
Date: Mon, 14 Jun 1999 12:49:24 +0200

Latour wrote:

> Michi Reutter wrote:
> >
> > would you be so kind, and show me an example, in which context you
> > typically use here-documents
>
> Here's a script I got off the net long ago, for getting RFCs:
> ==============================CUT HERE==================
> #!/bin/sh -x
> # rfc NNN
> # retrieve rfc NNN from uunet, put it on stdout
> # assumes rfc's are in uunet:/rfc/rfcNNNN.Z
> #
> # Actually the uunet people would prefer it if you ftp'd things
> # from 'ftp.uu.net', so we retrieve things from that machine.
> #
> # uunet conveniently has files called "index" and "rfc-index"
> # in the /rfc directory, so this script will also let you
> # retrieve those.
> # try: rfc index | more         or
> # rfc 1217 | lpr        (A personal favourite. Get this one. It's
> funny.)
>
> PATH=/usr/local/bin:/usr/ucb:/bin:usr/bin export PATH
>
> # a little hack so that we can say "rfc index" or "rfc rfc-index"
> # as well as "rfc 822"
>
> case "$1" in
> "")             echo "$0: Usage $0 [NNN] [index] [rfc-index]" 1>&2; exit
> 1 ;;
> index)          file=$1 ;;
> rfc-index)      file=$1 ;;
> [0123456789]*)  file=rfc$1.Z ;;
> *)              file=$1.Z ;;
> esac
>
> ftp -n ftp.uu.net <<EOF
> user anonymous [[EMAIL PROTECTED]]
> binary
> hash
> cd archive/.vol/2/inet/rfc
> get $file
> EOF
> =================================CUT HERE========================
> The original poster wanted to use a here document to do an HTTP fetch.
> Sorry, I don't speak HTTP personally, so I can't help him with that.
> Replace [EMAIL PROTECTED] in the script with your userid.
>
> --
> Retired TechSupport Engr. Linux@CDSnet:http://home.cdsnet.net/~rolandl
> "The urge to save humanity is almost always a false front for the
> urge to rule." -H. L.Mencken

Thanks - now I understand!!!

this will work fine with ftp!!!

but I remember, telnet wants a tty as StdIn !!! -> so "telnet" is my
problem!!

and my problem is socket-related!
is there a program which connects to a port, writes some lines, and saves
the return???

Michi


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

From: "David Eno" <[EMAIL PROTECTED]>
Subject: Re: linux-newbie
Date: Mon, 14 Jun 1999 11:08:43 GMT


Christopher Boyde <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello I am thinking of installing Linux 6.0 from Redhat but I have a few
> questions frist
>
> 1. When you install the redhat version 6.0 of linux do you start of with a
> gui or do have to install your own.
>
At install time you can optionally choose to start X windows (X is the gui)
at boot up.  This is new in Red Hat 6.0.  If you choose NOT to, you can
still set it up afterwards, but I'm not sure how.




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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking
Subject: Secure network-backup via nfs?
Date: Mon, 14 Jun 1999 10:25:21 GMT

I work for a company who runs a number of publicly accessible servers.
That's five servers running some version of RedHat ( kernel 2.2.x ) and
various services like sendmail, apache, mysql.
For backups we have a HP SureStore 24eU DAT tapedrive, which is
connected to one of the servers. BRU is the preferred software.

My question is: How can I backup all the servers in a secure way, by
using the host to which the DAT is connected?

Ideally I would like to nfs-mount all servers on the DAT-host, but I
have avoided nfs for perceived lack of security and performance issues.
How vulnerable does it make our servers if we use nfs ( assuming we
configure it properly )?

Another possibility would be using the rmt device. I would still need to
enable rpc for that, again opening up the system.

What's the best way of handling backup for a similar setup?


--

                                                   -Toem



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


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