Linux-Networking Digest #811, Volume #10         Sat, 10 Apr 99 14:13:35 EDT

Contents:
  Re: Making Linux look like 95/NT (David Polete)
  Network - Linux & Win98 (PMMA)
  Apache - no "/" after directory ??? ("Boris")
  Re: Help needed with PPP to NT- server not responding! (Clifford Kite)
  Re: PLIP and kernel 2.2.4 (Dick Repasky)
  Passwords readable in file passwd (razoon)
  Re: Apache - no "/" after directory ??? (Robert Lynch)
  Slow Tx on SMC1211TX (Hugh Fader)
  Problem with outbound e-mail on 2.2.5 ("Gary S. Mackay")
  Re: PLIP and kernel 2.2.4 (Erik-Jan Sinke)
  Stations can ping each other and on the Internet but... (Patrick McCall)
  Networking error ("Emil Engstr�m")
  Re: Port Forwarding ("ping")

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

From: David Polete <[EMAIL PROTECTED]>
Subject: Re: Making Linux look like 95/NT
Date: Sat, 10 Apr 1999 09:54:27 -0500

kwanlowe wrote:
> 
> Hello all...
> I have a few questions regarding Linux on a mixed NT/Novell network over
> token ring.  I'm trying to place either a Debian or RedHat Linux machine
> on the network but have it appear as close to a Win95 or NT machine as
> possible.  Getting in on the network is not a problem; however, because
> deviant (though superior) operating systems are frowned upon I need to

what idiots - i deal with the same kind of people.  brain dead and
paranoid.

> change as much as possible so that it looks just like another Windows
> box.  For example, when someone FTPs to the box it should prompt with an
> NT style welcome. I've also heard that different OSs will reply to pings
> or other network queries in unique ways; i would like the Linux box to
> prevaricate, dissemble, or whatever it takes to convince the world that
> it's a Windows machine.

here's the output from 'man in.ftpd' on my [home] solaris box.  as i
recall linux (at work) uses the same daemon so the content should be
about the same.  file locations may vary:

     The banner returned by in.ftpd in the parenthetical  portion
     of  its greeting is configurable.  The default is equivalent
     to "`uname -sr`" and will be used if no  banner  is  set  in
     /etc/default/ftpd.   To  set  the  banner, add a line of the
     form

         BANNER="..."

     to /etc/default/ftpd.  Nonempty banner strings  are  fed  to
     shells  for  evaluation.   The  default  banner  may also be
     obtained by

         BANNER="`uname -s` `uname -r`"

     and no banner will be printed if /etc/default/ftpd contains

         BANNER=""



> My second question is in regards to the HP JetDirect standalone print
> servers.  I don't have one to test but I would like to configure the
> above Linux box to emulate a JetDirect completely. In other words, I
> would like to be able to unplug the JetDirect and drop in the Linux box
> without any server changes.  Is this possible with the above
> configuration?

what protocol would the jetdirect be using?  linux can do anything a
jetdirect can do.  in general (although you don't have a jetdirect):
1) you'll need to find out what IP the jetdirect is using.
2) you'll need to add an alias to the network interface on your
   linux box.  you'll want to give the aliased interface the IP from the
   jetdirect box.  if there's not already on IP dedicated to a jetdirect
   (your case) then the linux box's IP will do.
3) plug the printer into the linux box and configure it.
4) if you want the printer to accept SMB requests you'll need to
   configure samba on the linux box.  at this point the linux box
   will show up as an SMB server and the printer as a print share.

if you choose to offer the printer via LPD that will work just fine
also.  i will caution you about winblows - it can't cope with added
protocols very well (eg-LPD).  its always best to stick with what it
knows to do right out of the box (ie-SMB).  every time you addd another
driver to its kernel it becomes more unreliable (is that possible?).
that's the beauty of samba - you don't have to teach windoze any new
tricks, just let the linux box act like an NT server.  as for NT server,
it can speak to LPD queues just fine.  if you don't want to configure
samba then you'll need to do this:
  - add a print queue to an NT server pointed the LPD service on linux.
  - offer that queue as a share from the NT server.
  - connect to the share from the NT server on client pee-cee's.
that's convoluted, but it  keeps the clients speaking SMB.  its just
that you would add so many links that something is bound to break.

as for SMB print services, you'll do well to have a linux box and its
print spooler controlling your printer.  this way multiple print jobs
can hit the print spooler on the linux box and it'll handle the queue
smoothly.  you don't end up with with long print job delays while one
pee-cee waits for the other's job to complete.  they just spool up on
the linux box - sorta the same as having a windoze box offerint the
printer out as a share.  one difference - you can trust linux to
complete
the job, you can't depend on windoze to complete anything.


> Thanks for any pointers..
> 
> Kwan

HTH,
dp

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

From: [EMAIL PROTECTED] (PMMA)
Subject: Network - Linux & Win98
Date: Sat, 10 Apr 1999 16:21:08 GMT

Hi

Could anyone tell me how to setup a 2 PC network between Linux & Win
98 (Samba config. too). I would also apreciate if you tell me the URL
of some online material which explains this.

                        Thanks in advance.

                                                PMMA

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

From: "Boris" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc
Subject: Apache - no "/" after directory ???
Date: Sat, 10 Apr 1999 09:51:55 -0700

Does anyone know how to configure Apache so that users don't have to put a
slash after a sub-directory name?

For example:
On other servers I can type:

http://www.domain.com/sub

and automatically display the index.html file in the directory "sub".

but with Apache, I must type

http://www.domain.com/sub/

to display the index.html file in that directory.  The first example gives a
404 error.

Any ideas?

Thanks,

Boris



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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.protocols.ppp
Subject: Re: Help needed with PPP to NT- server not responding!
Date: 10 Apr 1999 09:15:06 -0500

[EMAIL PROTECTED] wrote:

: I'm trying to set up a ppp connection to a nt server (no callback) but it
: doesn't work and please someone help me if you can.
: The problem is that the nt server is not responding to lcp config
: requests.

: that's my /var/log/messages


: Apr 10 00:26:05 funky chat[1333]: CONNECT
: Apr 10 00:26:05 funky chat[1333]:  -- got it
: Apr 10 00:26:05 funky chat[1333]: send (^M)

Try replacing the expect/send   CONNECT ''   in your chat script with
CONNECT '\d\c' .  The second form adds a second of delay and suppresses
the extra carriage return (^M) that is otherwise sent by the first form.
That carriage return sometimes confuses an ISP and it doesn't start
it's PPP.  "man chat" will verify the meanings of \d and \c .

: Apr 10 00:26:05 funky pppd[1331]: Serial connection established.
: Apr 10 00:26:15 funky pppd[1331]: Using interface ppp0
: Apr 10 00:26:15 funky pppd[1331]: Connect: ppp0 <--> /dev/cua2
: Apr 10 00:26:15 funky pppd[1331]: sent [LCP ConfReq id=0x1 <magic
: 0x2ab569f5> <pcomp> <accomp>]


--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Those who can't write, write manuals. */

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

From: [EMAIL PROTECTED] (Dick Repasky)
Subject: Re: PLIP and kernel 2.2.4
Date: 10 Apr 1999 13:36:14 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 10 Apr 1999 12:04:03 +0200, Erik-Jan Sinke <[EMAIL PROTECTED]> 
wrote:
>This is a multi-part message in MIME format.
>--------------DB234A18C764B570EDE90B46
>Content-Type: text/plain; charset=iso-8859-1
>Content-Transfer-Encoding: 8bit
>
>Hi there,
>
>I�m having trouble setting up a parallel link between my normal PC and
>my laptop. Both machines are running RedHat 5.2 and kernel 2.2.4.  I�ve
>compiled PLIP, Parport and Parport_pc as modules and configured the
>plip0 interface through linuxconf. However, when I try to load the
>"plip.o" module it comes back with " Device or resource busy". I�ve also
>made sure that my parallel port is on the right IO (0x378) and Irq (7).
>
>Any help would be appreciated.
>
>Thanx in advance,
>
>Erik
>

Erik, I had the same problem with 2.2.5, and posted.  Nathan Myers replied
with the following.  I don't know why I need to do it, and I have no
idea how I was supposed to know how to do it.  But, once done,
the plip module loads nicely.

echo 7 >/proc/parport/0/irq

Good luck,

Dick
Remove the underscore from my e-mail address to reply by mail.

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

From: [EMAIL PROTECTED] (razoon)
Subject: Passwords readable in file passwd
Date: Sat, 10 Apr 1999 13:34:09 GMT
Reply-To: [EMAIL PROTECTED]

I make accounts usually in X.
How come that i can read my passwords in passwd?


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

Date: Sat, 10 Apr 1999 17:06:25 +0000
From: Robert Lynch <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc
Subject: Re: Apache - no "/" after directory ???

Boris wrote:
> 
> Does anyone know how to configure Apache so that users don't have to put a
> slash after a sub-directory name?
> 
> For example:
> On other servers I can type:
> 
> http://www.domain.com/sub
> 
> and automatically display the index.html file in the directory "sub".
> 
> but with Apache, I must type
> 
> http://www.domain.com/sub/
> 
> to display the index.html file in that directory.  The first example gives a
> 404 error.
> 
> Any ideas?
> 
> Thanks,
> 
> Boris

This is in the Apache FAQ:

http://www.apache.org/docs/misc/FAQ.html#set-servername

9.Why does accessing directories only work when I include the trailing
"/"
      (e.g., http://foo.domain.com/~user/) but not when I omit it
      (e.g., http://foo.domain.com/~user)? 

HTH.

Bob L.
-- 
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/

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

From: Hugh Fader <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Slow Tx on SMC1211TX
Date: Sat, 10 Apr 1999 11:30:51 -0400


I am having trouble with slow data transmission on my SMC1211TX 10/100
ethernet board and am hoping to get some help. I have a network of 1
Linux box and 2 Windows 95 boxes. The Linux box receives data at ~280
kbyte/sec but transmits at only 6 kbyte/sec. I am measuring this using
smbclient from Linux to the Win95 machines and also using ftp from the
Win95 machines to Linux. The Win95 machines seem to both transmit and
receive at an acceptable rate between each other using drag and drops of
files. Ifconfig shows no errors on the interface.

Here are the details of the Linux box:
rtl8139.c v 1.06 driver
Linux 2.0.36
Intel 233 MMX
Amptron TX3 motherboard
16 MB memory
STB Lightspeed video adaptor

All 3 machines are running SMC 1211TX boards. On Linux, I just switched
motherboards from a very old P75 which was experiencing Rx overruns but
which seemed to transmit and receive at a fast rate. This leads me to
believe there is something about the TX3 motherboard that is causing
this problem. This board has integrated graphics and sound which I have
disabled.

I have tried many things to get to the bottom of this:
Set the boards to half-duplex.
Flashed most-recent bios.
Ran SMC diagnostics to verify the hardware.
Swapped the 1211 boards between machines.
Turned PnP off in the bios.
Re-installed Linux from scratch.
Tweaked some parameters in the driver.

I am now at a loss for what to try. Can anyone give me any clues as to
why the transmits would be so slow? How about other steps I could take
to troubleshoot this problem?

Thanks in advance.

Hugh Fader
[EMAIL PROTECTED]






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

Date: Sat, 10 Apr 1999 11:38:44 -0400
From: "Gary S. Mackay" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Problem with outbound e-mail on 2.2.5

Since I upgraded my RedHat 5.2 box to the newest
ppp/kernel/diald/dialmon/etc., my users have been able to do everything
except send mail. No matter what OS, email client, etc they use, NO
email will go. They can browse (masq is working), receive e-mail, ftp,
newsgroups, etc., they just can not send mail. As a test I setup an old
486 with the stock RedHat 5.2 (2.0.36) w/ ppp-2-3-5, and everything
works just fine. I guess one solution is to leave well enough alone, but
being a computer geek, I'd like to know why the new stuff won't work.
(Same modem, phone line, ISP, etc.) Any ideas?


-- 
Edison Information Technologies
P.O. Box 554
Milan, OH  44846-0554
419.499.7040
[EMAIL PROTECTED]
--

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

From: Erik-Jan Sinke <[EMAIL PROTECTED]>
Subject: Re: PLIP and kernel 2.2.4
Date: Sat, 10 Apr 1999 19:46:51 +0200

This is a multi-part message in MIME format.
==============13C7DF4E37A2F2F9D4903D3E
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit




Thanx,

After using your solution everything worked like a charm  :-) !!
I'm getting speeds of up to 60 Kb/sec which are a lot better than the ones I
got using a serial link.

Greetings from (a rainy) Holland,

Erik

Dick Repasky wrote:

> On Sat, 10 Apr 1999 12:04:03 +0200, Erik-Jan Sinke <[EMAIL PROTECTED]>
> wrote:
> >This is a multi-part message in MIME format.
> >--------------DB234A18C764B570EDE90B46
> >Content-Type: text/plain; charset=iso-8859-1
> >Content-Transfer-Encoding: 8bit
> >
> >Hi there,
> >
> >I�m having trouble setting up a parallel link between my normal PC and
> >my laptop. Both machines are running RedHat 5.2 and kernel 2.2.4.  I�ve
> >compiled PLIP, Parport and Parport_pc as modules and configured the
> >plip0 interface through linuxconf. However, when I try to load the
> >"plip.o" module it comes back with " Device or resource busy". I�ve also
> >made sure that my parallel port is on the right IO (0x378) and Irq (7).
> >
> >Any help would be appreciated.
> >
> >Thanx in advance,
> >
> >Erik
> >
>
> Erik, I had the same problem with 2.2.5, and posted.  Nathan Myers replied
> with the following.  I don't know why I need to do it, and I have no
> idea how I was supposed to know how to do it.  But, once done,
> the plip module loads nicely.
>
> echo 7 >/proc/parport/0/irq
>
> Good luck,
>
> Dick
> Remove the underscore from my e-mail address to reply by mail.

==============13C7DF4E37A2F2F9D4903D3E
Content-Type: text/x-vcard; charset=us-ascii;
 name="Zijlware111.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Erik-Jan Sinke
Content-Disposition: attachment;
 filename="Zijlware111.vcf"

begin:vcard 
n:Sinke;Erik-Jan
x-mozilla-html:FALSE
org:Zijlware Inc.;C.E.O. IT-Solutions
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ing.
x-mozilla-cpt:;0
fn:Erik-Jan Sinke
end:vcard

==============13C7DF4E37A2F2F9D4903D3E==


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

From: [EMAIL PROTECTED] (Patrick McCall)
Subject: Stations can ping each other and on the Internet but...
Date: Sat, 10 Apr 1999 15:40:02 GMT

My Linux box can ping my WinNT station on my LAN, and get a response.
But when you try to ping from the Linux box to anywhere in the world
on the Internet, the correct IP for the web address that you are
pinging comes up, but no packets are ever received.

For example, from the Linux box, if I type "ping www.msn.com", the
correct IP address for the msn.com site shows up along with the
"www.msn.com", but no packets are ever received, hence my message, "n
packets transmitted, 0 packets received, 100% packet loss".

I am using a proxy server on my WinNT machine that worked fine with
another machine running Win95.  Once a TCP/IP request is made that is
not on the local network, it dials automatically and connects.  The
Linux box can send requests, because the modem automatically dials and
connects when I try to ping as described above.  My subnet/netmasks
are consistent, I don't have any duplicate IP's, my network address is
set correctly.  I put the IP of my WinNT machine as the gateway.  Does
anyone have any ideas?

Thanks

Patrick

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

From: "Emil Engstr�m" <[EMAIL PROTECTED]>
Subject: Networking error
Date: Sat, 10 Apr 1999 17:45:21 +0200

I can�t connect to Internet!
After a little researching I found out that the network-card should be at
eth0...

The file eth0 does not exist on my machine, does that mean that linux has�nt
detected my Realtek8029 card ?

I can ping myself, but no network-card is needed for that, right.


Thanks!

[EMAIL PROTECTED]



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

From: "ping" <[EMAIL PROTECTED]>
Subject: Re: Port Forwarding
Date: Sat, 10 Apr 1999 10:57:46 -0400

Thanks for you input.  I know I am able to connect to my work from home.  So
I am able to go from my internal lan to my work LAN but I would not be able
to go the other way.  For instance, if I had the VPN server I wanted to
connect to at my house the only IP that is physically connected to the
Internet is my Linux Gateway.  So I need a way for that machine to forward
the request to my VPN server on my network.  Maybe there is a way through
ipfwadm but I can't find anything on it in the HowTos or the Linux
Networking book I bought.

I sound confusing I am sure.  Am I just dreaming or can this be done.

Jim
Daniel Charlebois wrote in message <[EMAIL PROTECTED]>...
>I'm using a linux box as a gateway with ipfwadm policies set to
>forward internal, private LAN packets to the internet.  One of
>my internal machines is a Win98 box running VPN to a server at
>work.  There were no special requirements for VPN, packets were
>sent out correctly.  I suspect that an ipfwadm or ipchain policy
>could resolve your port forwarding problem.  Unfortunately, I can't
>tell you exactly which one, I can only point in that direction.
>
>Daniel
>
>ping wrote:
>>
>> I couldn't find IP tunneling in my HOWTOs or MINIs but I did on the Web.
It
>> looks like it is talking about VPN and PPTP.  That is what I am doing
>> ultimately but my problem right know is forwarding a port.  I want to
setup
>> a VPN on my NT server at home going through my Linux IP masquerading
gateway
>> to the internet and have my work NT workstation connect to my home NT
>> server.  I need a way to get the Linux box to forward the request for the
>> port to my NT server.
>>
>> I would think that this could be done but I can't figure it out.
>>
>> Thanks for the help,
>> Jim

>> >
>> >> I would like to set up a PPTP connection from my home LAN to my work
LAN.
>> >> At home I have an NT network with Redhat 5.2 Linux as my gateway to
the
>> >> internet using IP Masquerading.  It has a oneway cable modem that will
>> only
>> >> work with Linux and Windows 98 so I can't just hook it up to my NT
>> Server.
>> >> So what I want is to make a request for a PPTP connection from my work
NT
>> >> Workstation computer to the IP of my Linux box.  The Linux box will
see
>> that
>> >> a request for a certain port is coming in so it will forward that
request
>> to
>> >> a different IP on my network, my NT server.
>> >>
>> >> Can this be done?  If so what do I need to do?
>> >>
>> >> I have searched through Linux networking books and Linuxburg.com and
>> >> Linux.org and cannot find anything on port forwarding.  Maybe am
calling
>> it
>> >> the wrong thing!
>> >>
>> >> Thanx for your help,
>> >> Jim




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


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