Linux-Networking Digest #991, Volume #11         Sat, 24 Jul 99 04:13:43 EDT

Contents:
  Re: How to use lpr -s switch?  -r doesn't work.... ("Eric")
  Losing interest (Michael Haag)
  Re: PPTP deamon ("Andrey Smirnov")
  Re: dhcp and dns (john garvin)
  Re: Using rcp and rsh on machines in different subnets (Alexander Viro)
  Re: Losing interest ("Andrey Smirnov")
  Re: HELP: rlogin, Connection reset by peer (john garvin)
  Re: Printer problems (Patrice =?iso-8859-1?Q?B=E9dard?=)
  Re: Setting up Remote Access ("Andrey Smirnov")
  Re: help with IP-masquerading ("Udit Mehrotra")
  Slow Internet, but have cable..  Help! Please (subzer)

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

From: "Eric" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: How to use lpr -s switch?  -r doesn't work....
Date: Sat, 24 Jul 1999 05:46:13 GMT

<snip>
>Now as to how to delete the file after it has been printed. I have an
>idea, but I can't test it. I don't have a Linux compatable printer, so
>I can't print. But on the "lpr" command, there is a -m option. This
>appears to make the lpd daemon send an email to the submitting user
>when the printing is complete. I don't know what this message looks
>like, but I would bet that you could read the mail with a program and
>delete the file mentioned within it. I would look into this futher, but
>as I said, I don't have a printer.



Thanks for the idea...  I may be able to use that somehow.  The question now
becomes how to automatically detect this mail upon reception.  The best I
can come up with is a cron job that checks for mail every hour and then
deletes all files printed within that hour.  Unless there is another way to
automatically detect new mail and spawn a script to read the mail.  Is there
someway to use something like the vacation program for that purpose?

Here's the mail from the lpr mail:

<start mail>
    From bin  Sat Jul 24 01:41:20 1999
    Return-Path: <bin>
    Received: (from bin@localhost)
            by [EMAIL PROTECTED] (8.8.7/8.8.7) id BAA21839
            for [EMAIL PROTECTED]; Sat, 24 Jul 1999 01:41:19 -0400
    Date: Sat, 24 Jul 1999 01:41:19 -0400
    From: bin <[EMAIL PROTECTED]>
    Message-Id: <[EMAIL PROTECTED]>
    To: [EMAIL PROTECTED]
    Subject: lp printer job "errors"
    Reply-To: [EMAIL PROTECTED]

    Your printer job (errors)
    completed successfully

<end mail>

So it seems it wouldn't be difficult to parse the subject line for the file
name, but I'm not sure how to automatically start such a script upon
reception of mail.

Any ideas?

Thanks!

Eric

[EMAIL PROTECTED]




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

From: Michael Haag <[EMAIL PROTECTED]>
Subject: Losing interest
Date: Fri, 23 Jul 1999 22:59:02 -0700

Given the problems I've experienced running Windows--both as a home user
and as an IS professional--I was looking forward to giving Linux a
whirl, after all the good things I'd heard about the software. 
Unfortunately, my experiences to date don't bode well.

I've been struggling to get my sound card functioning, my printer to
print plain text files properly, and SAMBA to connect me to my NT
shares.  I've read the HOWTOS, followed suggestions I received via
various newsgroups (when there was anything the least bit helpful, which
wasn't often) and still haven't accomplished any of the above.

I fully expected a learning curve, but this is becoming ridiculous. 
While I have been able to get some things installed and
working--StarOffice, Netscape Communicator--by and large the most basic
of tasks have proved to be a huge pain.  Linux may be more stable, it
seems so on the dial-up Internet side of things, but the applications
that run on it crash just as often as Windows applications.  And it has
a long, long, long, way to go when it comes to ease of use.  Most
everything is far too difficult to configure.  Unless, of course, you
have hundreds of obscure commands and hundreds of even more obscure
command options committed to memory.  Maybe if I had 5 or 6 months to do
nothing but play with it I could overcome some of these basic obstacles,
but most people could learn to accompish these same tasks in Windows in
a matter of days or weeks.  The number one problem may be the lack of a
good HELP system.  As faulty as the HELP system in Windows may be, it is
light years ahead of Linux.

I wish Linux good luck, just as I do AMD, but I'm doubtful it will ever
become more widely used than it is currently.

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

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: Re: PPTP deamon
Date: Fri, 23 Jul 1999 22:52:07 -0700

http://www.moretonbay.com/vpn/pptp.html


Andre Giordano <[EMAIL PROTECTED]> wrote in message
news:7nbc21$ar8$[EMAIL PROTECTED]...
> I was wondering if anybody had comments or a good page that would indicate
> to me how to setup the pptp deamon in linux 2.2.
>
> thanks
>
> ------------------  Posted via SearchLinux  ------------------
>                   http://www.searchlinux.com




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

From: [EMAIL PROTECTED] (john garvin)
Reply-To: [EMAIL PROTECTED]
Subject: Re: dhcp and dns
Date: Sat, 24 Jul 1999 06:25:51 GMT

Someone please correct me if I'm wrong, but one would not want DNS for 
clients. DNS is required for name resolution for servers providing a service 
like FTP, HTTP... If you have a machine providing services like this without a 
static IP address, you're nuts. If you are trying to provide DNS for clients 
on your network that don't offer services, you're nuts. What are you trying to 
do?

-jpg

In article <[EMAIL PROTECTED]>, Ralf Killenberger 
<[EMAIL PROTECTED]> wrote:
>Hello,
>
>I am facing problems while trying to use an NT based Server and a Linux
>server. The NT server is a PDC providing the domain via DHCP with
>IP-adresses. The Linux server offers DNS.
>
>When a client connects to network it gets a new IP-adress from DHCP. How
>do I get DNS to automatically update its database?
>
>With kind regards,
>
>Ralf Killenberger
>

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

From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To: 
comp.os.linux.setup,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.misc,comp.os.linux.security
Subject: Re: Using rcp and rsh on machines in different subnets
Date: 24 Jul 1999 02:03:02 -0400

In article <7nbjml$od9$[EMAIL PROTECTED]>,
Andrey Smirnov <[EMAIL PROTECTED]> wrote:
>Hello,
>
>Each user that needs to be able to rlogin or rcp from one system to another
>(no matter which subnet they are on, as long as they can reach each other)
>has to have .rhosts file in their home directory (/home/user.rhosts) on the
>target system.

Better yet, use ssh instead of rlogin. *If* you really want to have a .rhosts
- at least make sure that it doesn't grow out of control (your control, that
is). If it is located on ufs or ext2 - make it immutable. Or run a cron job
that will purge all unauthorized crap from them and send nastygrams if crap
had been found. User-editable .rhosts is the breakin waiting to happen.

-- 
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.

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

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: Losing interest
Date: Fri, 23 Jul 1999 23:31:45 -0700

It's a valid choice!

Linux as a workstation has very little use right now, but try it as an very
inexpensive server solution for file/print sharing and even as an
application server (Informix, Oracle, etc.) or as an exceptional  firewall!

Good luck!

Michael Haag <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Given the problems I've experienced running Windows--both as a home user
> and as an IS professional--I was looking forward to giving Linux a
> whirl, after all the good things I'd heard about the software.
> Unfortunately, my experiences to date don't bode well.
>
> I've been struggling to get my sound card functioning, my printer to
> print plain text files properly, and SAMBA to connect me to my NT
> shares.  I've read the HOWTOS, followed suggestions I received via
> various newsgroups (when there was anything the least bit helpful, which
> wasn't often) and still haven't accomplished any of the above.
>
> I fully expected a learning curve, but this is becoming ridiculous.
> While I have been able to get some things installed and
> working--StarOffice, Netscape Communicator--by and large the most basic
> of tasks have proved to be a huge pain.  Linux may be more stable, it
> seems so on the dial-up Internet side of things, but the applications
> that run on it crash just as often as Windows applications.  And it has
> a long, long, long, way to go when it comes to ease of use.  Most
> everything is far too difficult to configure.  Unless, of course, you
> have hundreds of obscure commands and hundreds of even more obscure
> command options committed to memory.  Maybe if I had 5 or 6 months to do
> nothing but play with it I could overcome some of these basic obstacles,
> but most people could learn to accompish these same tasks in Windows in
> a matter of days or weeks.  The number one problem may be the lack of a
> good HELP system.  As faulty as the HELP system in Windows may be, it is
> light years ahead of Linux.
>
> I wish Linux good luck, just as I do AMD, but I'm doubtful it will ever
> become more widely used than it is currently.




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

From: [EMAIL PROTECTED] (john garvin)
Reply-To: [EMAIL PROTECTED]
Subject: Re: HELP: rlogin, Connection reset by peer
Date: Sat, 24 Jul 1999 06:42:44 GMT

1- figure out if rlogind is running. 
2- if it isn't, install it or SSH.
3- check to see that rhosts.allow has the client machine in it and rhosts.deny 
doesn't. Don't think you need an entry for the client machine in hosts though.
4- can't remember, but somewhere in one of root's dotfiles there's a line to 
disable root's ability to rlogin. This is generally disabled in Linuces and 
the *BSDs but enabled in commercial unices, at least on Irix and Solaris. IMO 
it's pretty stupid to allow rlogins anyway.....

that ought to get you going in right direction. if it's not enough, read a 
book, a man page, or dejanews archives.

jpg


In article <[EMAIL PROTECTED]>, Reinhold Fischer 
<[EMAIL PROTECTED]> wrote:
>I have a problem on SuSE Linux 6.1:
>
>rlogin from one linux machine to another linux machine doesn't
>work, but from or to an sun/solaris machine it works.
>telnet works from/to all machines.
>
>Can anybody help?
>
>THANX.
>
>Reini
>___________________________________________________________
>
>
>fischer@linux1:~/$ rlogin solaris1
>Password:
>Last login: Thu Jul 15 16:44:14 from x.x.x.x
>
>fischer@solaris1:~/$ rlogin linux2
>Password:
>Have a lot of fun...
>Last login: Mon Jul 19 08:38:41 on ttyp3 from x.x.x.x.
>No mail.
>
>fischer@linux2:~/$ rlogin solaris1
>Password:
>Last login: Tue Jul 20 12:06:19 from x.x.x.x.
>
>fischer@solaris1:~/$ rlogin linux1
>Password:
>Have a lot of fun...
>Last login: Tue Jul 20 11:05:45 on :0 from x.x.x.x.
>No mail.
>fischer@linux1:~/$
>
>
>fischer@linux1:~/$ rlogin linux2
>rcmd: linux2: Connection reset by peer
>
>fischer@linux2:~/$ rlogin linux1
>rcmd: linux1: Connection reset by peer
>
>
>inetd is running and /etc/intetd.conf is ok, I think.
>hosts.allow and hosts.deny is default from installation.
>
>tcpmatch says: access: granted
>
>
>fischer@linux1~/$: ps awux | grep -E "pid|inetd" | grep -v grep
>USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
>root        98  0.0  0.3   912   460  ?  S   Jul  8   0:00
>/usr/sbin/inetd
>
>fischer@linux1:~/$ telnet linux2
>Trying x.x.x.x...
>Connected to linux2.
>Escape character is '^]'.
>Welcome to SuSE Linux 6.1 (i386) - Kernel 2.2.5 (ttyp1).
>
>linux2 login: fischer
>Password:
>Have a lot of fun...
>Last login: Wed Jul 14 09:14:45 on :0 from fischer.datakom.at.
>No mail.
>
>fischer@linux2:~/$  ps awux | grep -E "pid|inetd" | grep -v grep
>USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
>root       105  0.0  0.3   912   460  ?  S   Jun 24   0:00
>/usr/sbin/inetd
>
>fischer@linux2:~/$ cat /etc/inetd.conf | grep rlogin
>#  man-page of rlogind and rshd to see more configuration possibilities
>about
># If you want rlogind not to "keep-alives" (e.g. if it runs over a ISDN
># uplink), add "-n".  See 'man rlogind' for more deatails.
>login   stream  tcp     nowait  root    /usr/sbin/tcpd  in.rlogind
># login stream  tcp     nowait  root    /usr/sbin/tcpd  in.rlogind -a
>
>fischer@linux2:~/$ cat /etc/hosts.allow
># See tcpd(8) and hosts_access(5) for a description.
>
>#(ALL EXCEPT in.fingerd) EXCEPT in.identd : ALL : (safe_finger -l @%h
>2>&1| \
>#               /bin/mail -s "%d-%h %u" root) &
>
>fischer@linux2:~/$ cat /etc/hosts.deny
># See tcpd(8) and hosts_access(5) for a description.
>
>http-rman : ALL EXCEPT LOCAL
>
>
>fischer@linux2:~/$/usr/sbin/tcpdmatch in.rlogind linux1
>warning: /etc/inetd.conf, line 54: /usr/sbin/popper: not found: No such
>file or directory
>warning: /etc/inetd.conf, line 98: /usr/lib/xcept4/bin/ceptd: not found:
>No such file or directory
>warning: /etc/inetd.conf, line 105: rplayd: not found in /usr/sbin: No
>such file or directory
>warning: /etc/inetd.conf, line 113: in.midinetd: not found in /usr/sbin:
>No such file or directory
>warning: host address x.x.x.x->name lookup failed
>client:   address  x.x.x.x
>server:   process  in.rlogind
>access:   granted
>
>fischer@linux2:~/$
>fischer@linux2:~/$

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

From: Patrice =?iso-8859-1?Q?B=E9dard?= <[EMAIL PROTECTED]>
Subject: Re: Printer problems
Date: Sat, 24 Jul 1999 03:09:08 -0400

This is a multi-part message in MIME format.
==============21CD5629D088A86BB24AD92A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I did it, for my self I've just share it using SAMBA, once install, you only
have to share you'r printer as a SAMBA services.
You probably already have a SAMBA server on you'r linux machine if you want to
see you'r linux machine in your windows neightborhood. Get a look at  the
file/etc/smb.conf, you already have an example, you'll probably only have to
uncomment some line to make you'r printer to be shared, once done, just add
the printer to you'r windows computer in adding a network printer... you'r
windows is suppose to reconize the printer......  it as worked ...


Roberto wrote:

> I have a network
> 1 Linux machine (red hat 6.0)
> 3 Windows machines (windows 98)
>
> I want to connect the printer to my linux machine, the problem is.
>
>   How can I configure the Windows machines to print in that printer trough
> the network??
>
> If the server were windows, I can only set the path (//Comp name/printer
> name)
> but I have no idea how to find the path for the linux machine.

==============21CD5629D088A86BB24AD92A
Content-Type: text/x-vcard; charset=us-ascii;
 name="patbedard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Patrice B�dard
Content-Disposition: attachment;
 filename="patbedard.vcf"

begin:vcard 
n:B�dard;Patrice
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:"If you see someone without a smile, give him one of yours"=0D=0A
fn:Patrice B�dard
end:vcard

==============21CD5629D088A86BB24AD92A==


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

From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: Setting up Remote Access
Date: Sat, 24 Jul 1999 00:06:01 -0700

Why dial-up? You probably have your reasons, but I would recommend using VPN
solution. For $19.95/mo. (earthlink, netcom, etc.) per user you can open
Internet accounts for all members of your sales force and let them get into
your network via VPN. This way there is no ports limit, they only limited by
your bandwidth, also they could use this solution from out of country. No
worries about phone line costs/troubles, etc.

But if you have set your mind to PPP there is number of solutions offered by
3Com, Multitech, USR, etc.

http://www.multitech.com/products/brochures/390.asp
http://www.3com.com/products/remote.html

Good luck!

<[EMAIL PROTECTED]> wrote in message news:7nbjk4$6no$[EMAIL PROTECTED]...
> What is the best way to set up a remote dial-up service for a midsized
> company? We have Linux servers we can use for Radius authentication, but
we
> need to select some type of remote access device no more than $15K. I read
> PMIII's or Ascend MAX 40XX's may be a good fit, but I am not sure if that
> would be the proper device to give our remote salesman PPP access to our
> local Ethernet LAN.
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.




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

From: "Udit Mehrotra" <[EMAIL PROTECTED]>
Subject: Re: help with IP-masquerading
Date: Sat, 24 Jul 1999 02:27:03 -0400

try this site:

http://lachniet.com/mark/projects/proxyhowto/index.html

very nice site !!



Frank Luedke <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> ...Luca T.. <[EMAIL PROTECTED]> wrote:
>
> >i' m trying to set up a router in my office but i wasn't able to provide
> >internet to the windows boxes connected with SAMBA.
> >I have 2 network cards: 192.168.1.1 and 192.168.1.254 and the first one
is
> >the samba interface. Now i know that i have to configure the IP
masqerading
> >with an application called ipfwadm or ipfwadm-wrapper but i didn't find
it
> >in anywhere. I also recompiled the kernel with almost all the networking
> >options but it still didn't work.
>
>   ipfwadm is the old program to control the masquerading. The
>  new program is called ipchains. I am using the old program
>  ('cause I'm still running Linux 2.0.36). After compiling your
>  kernel you have to start the masquerading using ipfwadm or
>  ipchains or your other computers cannot access the new gateway.
>
>   I don't know how it works with the ipchains program, but in
>  my configuration I have added the following lines to my
>  /etc/init.d/rc.local
>
>  /sbin/depmod -a
>  /sbin/modprobe ip_masq_ftp
>  /sbin/modprobe ip_masq_irc
>  [...and all the other ip_masq-packet you need]
>  ipfwadm -F -p deny
>  ipfwadm -F -a m 192.168.1.0/24 -D 0.0.0.0/0
>
>   For more informations you may take a look at the
>  "IP Masquerading mini-HOWTO", available at one of
>  the following adresses:
>
>  �  http://www.wwonline.com/~achau/ipmasq/
>  �  http://www.hwy401.com/achau/ipmasq/
>  �  http://www.leg.uct.ac.za/mirrors/ipmasq/
>  �  http://130.89.230.132/linux/ipmasq/
>
>   This mini-HOWTO helped me a lot when I set up my masquerading
>  server ...
>
>  CU
> --
> Every generation has a legend ... Star Wars_________
> Every journey has a first step ... E P I S O D E  I
> Every saga has a beginning ... ------------------
> The saga begins SPRING 1999 The Phantom Menace



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

From: subzer <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Slow Internet, but have cable..  Help! Please
Date: Sat, 24 Jul 1999 07:34:32 GMT

I have 3 computers sharring one internet connection from a Gateway
computer running Windows98-SE...  I have a cable connection...  

These computers are as follows:
Windows98-SE  ---> Gateway machine
Windows98     ---> machine 2
Windows NT 4 Workstation ---> machine 3
Mandrake Linux ---> machine 4

My Win98, and WinNt machines share the Internet nicely...  Very fast...

Mandrake automaticaly set up the shared internet connection on
installation...
My problem is, the speed at wich Mandrake makes the connection is
obsurdly low (as in 1k/sec)...  Is there any easy way to fix this... I
know this should be faster cause I had windows95 on this machine before
I installed Mandrake and it was very fast... does it have anything to do
with the MPU packet sizes or something like that? if so how would I fix?

Thanx for any help you could possibly offer!!!  =)

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


** 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.networking) 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-Networking Digest
******************************

Reply via email to