Linux-Networking Digest #201, Volume #11 Wed, 19 May 99 10:13:43 EDT
Contents:
Squid 2.2 FTP PUT problems ([EMAIL PROTECTED])
Re: PPP connexion but no ppp0 interface ! (Bill Unruh)
Re: ppp configuration: "serial link is not 8 bit clean" (Duncan Simpson)
Re: Routing question. ("Curt")
what does this error mean? (Steven Unruh)
Re: Compiling SSH 2.0.26 on RH 6.0 or kernel 2.2.x (Duncan Simpson)
Re: Win95->Linux PPP can't see past subnet (Bill Unruh)
Re: Linksys ethernet cards (John Oliver)
Re: PPP & Netscape don't see each other (Bob Martin)
POP3 server question (Teri)
Re: Eth0 and ppp0 on gw works. routing not working ("Curt")
ip_allow (root)
Re: Problem with Chat Script (Bob Martin)
Re: Can't telnet to Linux Red Hat 6.0 box. ([EMAIL PROTECTED])
Re: what does this error mean? (Clifford Kite)
Re: Samba Help ([EMAIL PROTECTED])
Re: Eth0 and ppp0 on gw works. routing not working (Bill Unruh)
SSH v1.2.27 is out! ("rackles")
Re: Can't telnet to Linux Red Hat 6.0 box. ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Squid 2.2 FTP PUT problems
Date: Wed, 19 May 1999 10:51:14 GMT
Hi,
I'm having trouble getting FTP PUT commands to work
with my Squid 2.2.STABLE1 (the redhat 6 rpm).
Tracing seems to suggest that squid is attempting the
PUT but never gets a return back from the ftp server.
The browser (Netscape) just sits there waiting for a return from squid.
>From strace (truss) it looks like squid isn't opening a data connection
with the ftp server.
Does anybody have any clues?
Cheers
Steve S.
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: PPP connexion but no ppp0 interface !
Date: 19 May 1999 02:47:12 GMT
In <[EMAIL PROTECTED]> Lucas <[EMAIL PROTECTED]> writes:
>Hi,
>I want to create a PPP connection ... I've tried with minicom and
Try reading the page
axion.physics.ubc.ca/ppp-linux.html
which is a step by step guide to getting yourself connected.
------------------------------
From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: ppp configuration: "serial link is not 8 bit clean"
Date: 19 May 1999 11:31:31 GMT
In <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Frank Hahn) writes:
<stuff snipped>
>------------------------------------------------------------------------
>Q: When I try to establish a connection, I get an error message saying
>"Serial link is not 8-bit clean". Why?
>A: The most common cause is that your connection script hasn't
>successfully dialled out to the remote system and invoked ppp service
>there. Instead, pppd is talking to something (a shell or login
>process on the remote machine, or maybe just the modem) which is only
>outputting 7-bit characters.
>This can also arise with a modem which uses an AT command set if the
>dial command is issued before pppd is invoked, rather than within a
>connect script started by pppd. If the serial port is set to 7
>bits/character plus parity when the last AT command is issued, the
>modem serial port will be set to the same setting.
>Note that pppd *always* sets the local serial port to 8 bits per
>character, with no parity and 1 stop bit. So you shouldn't need to
>issue an stty command before invoking pppd.
Let me add that many people start pppd immediately after connect and
it does not work. A lot ISPs give you a login and password prompt
before being willing to talk PPP to you. Livingston portmasters seem to
operate this way (my ISP uses Living portmasters and they give me a login
and password prompt before being willing to talk PPP).
Connecting with your favorite terminal program to determine the prompts
is highly recommended. Be aware that some annexs also ask you for a protocol
after you have given them responses to ogin: and ssword: they like. You
probably want ypur chat script to send whatever AT commands to the modem and
type good things when it seems the oign: and ssword: prompts.
Duncan (-:
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Routing question.
Date: Wed, 19 May 1999 06:25:11 -0500
It would be simpler to help, if you'd post the result of 'ifconfig' and
'netstat -nr'
MarkT <[EMAIL PROTECTED]> wrote in message
news:4uw03.2732$[EMAIL PROTECTED]...
> Can someone tell me what my route table should look like with the
following
> situation:
> I have 1PC running Linux with two network cards installed.
> One 192.168.0.25 mask 255.255.255.0 (for intranet)
> one 24.4.46.125 mask 255.255.248.0(for internet)
> My first upstream router on the internet is 24.4.40.1
> I have the 24. address plugged into a utp hub that is plugged into a cable
> modem next to a NT40 webserver with a 24.4.41.201 address with mask
> 255.255.248.0 NT is currently active as webserver.
> Right now, I can ping both internal network cards, and also ping any local
> address 192. I cannot ping the other 24.4.41.201 that is plugged into the
> same hub as the 24.4.46.125 network card. I checked the subnet
255.255.248.0
> and both of the 41 and 46 addresses are on the same subnet.
> I don't think I have the gw or default gw setup right.
> Any suggestions?
>
> Thanks,
> MarkT.
>
>
>
------------------------------
From: Steven Unruh <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.ppp
Subject: what does this error mean?
Date: 19 May 1999 11:38:05 GMT
i'm getting the following:
May 18 13:29:39 thanos pppd[11886]: Connect: ppp0 <--> /dev/ttyp0
May 18 13:29:43 thanos modprobe: can't locate module ppp-compress-21
May 18 13:29:43 thanos modprobe: can't locate module ppp-compress-26
May 18 13:29:43 thanos modprobe: can't locate module ppp-compress-24
May 18 13:30:13 thanos pppd[11886]: IPCP: timeout sending Config-Requests
May 18 13:30:13 thanos pppd[11886]: Connection terminated.
does anybody know what it means and how do i fix it so it works?
steve
--
He who laughs last thinks slowest!
------------------------------
From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: Compiling SSH 2.0.26 on RH 6.0 or kernel 2.2.x
Date: 19 May 1999 11:48:36 GMT
In <7hq2tr$3nm$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
<stuff snipped>
>Yes, it's very much an issue. IMHO, *NOBODY* should be running ssh2.
>First off, it's not 100% backwards compatible with ssh1. Secondly, it
>doesn't have as many features as ssh1. Lastly, the license is so
>restrictive as to make anything but "play" use illegal.
>ssh2 is _not_ the "latest" release of ssh1 -- it is a completely
>different product, and one that most sysadmins I know consider to be
>crap.
As one of these admins on in my copious spare time, and close to
another of these admins, let me explain
AFAIK ssh2 is not lacking in features or security. It fixes a very
academic security problem with the version 1 of the ssh protocol. It
seems very unlikely that the attack can be made worthwhile unless you
crack the encryption first, so nobody is seriously worried about it.
The licence is a serious snag. Commercial use was drastically
redefined to include almost everything. ssh version 1's licence says
lots of uses are not uses that require you to pay datafellows. Result?
Everyone continues to use ssh version 1. So whatever client you use to
speak to your ISPs servers it will almost certaintly be speaking
version 1 of the protocol.
This would include my ISP and LANL (the place that gave those spies access
to classifed stuff, an unsmart move).
Duncan (-:
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.protocols.ppp
Subject: Re: Win95->Linux PPP can't see past subnet
Date: 19 May 1999 02:52:59 GMT
In <7hsc60$k0f$[EMAIL PROTECTED]> Robin Munn <[EMAIL PROTECTED]> writes:
>The Windows box (I'll call it "winbox") can't see past the class C
>subnet it's on. The Debian box (I'll call it "thorn") has IP a.b.65.12
You have routing problems.
>Running winipcfg on winbox I get:
>PPP Adapter
>Adapter Address: 44-45-53-54-00-00
>IP Address: a.b.65.102
>Subnet Mask: 255.255.255.0 <-- should be 255.255.255.255, see below
>Default gateway: a.b.65.102 <-- shouldn't this be a.b.65.12?
It sure should not be using itself as teh gateway since this is for
stuff it does not know about!
What is the full route info on the win box? (Sorry I do not know how to
ask it)
------------------------------
From: [EMAIL PROTECTED] (John Oliver)
Subject: Re: Linksys ethernet cards
Date: Wed, 19 May 1999 03:01:13 GMT
On Mon, 17 May 1999 23:24:42 -0500, root <[EMAIL PROTECTED]> wrote:
>Does anyone know if there is a driver for a linksys card available? I
>have not gotten a response from the company. I want to know before i try
>to make it emulate an NE2000.
LinkSys makes all sorts of different cards. You've gotta be a little
more specific...
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: PPP & Netscape don't see each other
Date: Tue, 18 May 1999 21:58:50 -0500
[EMAIL PROTECTED] wrote:
>
> Hi guys,
>
> PPP & Netscape don't see each other.
> PPP dials ok and I get connected, but Netscape Communicator can't
> see any URL.
> What shall I do?
>
> PS: I have the same problem with 2 diff ISP.
>
> Config: RH 6.0 on a Thinkpad 765D (100M ram, 5.1 G HDD)
> my modem is a PRETEC pcmcia and woks well under win98.
>
> Thanks
> Dominique
>
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
Sounds like you do not have DNS setup correctly.
------------------------------
From: [EMAIL PROTECTED] (Teri)
Subject: POP3 server question
Date: Wed, 19 May 1999 03:02:21 GMT
Dumb question, but I have Linux running on two machines, both
Debian 2.0.34 using smail (sendmail). On one machine I installed
mail from the setup packages, on the other I forgot to install
mail, and installed it later. On the first machine, when I
connect to get mail from a windows machine, everything works fine.
On the second machine (the one I installed mail manually), windows
complains that it can't find the POP3 server. I can't find what it
is I'm missing to get it to be a POP3 server. Please help!
Teri
------------------------------
Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Eth0 and ppp0 on gw works. routing not working
Date: Tue, 18 May 1999 22:02:19 -0500
<[EMAIL PROTECTED]> wrote in message news:7hsodn$s9n$[EMAIL PROTECTED]...
> Can anyone help? I am certain that this has a simple, easy solution.
>
> I have two machines:
> dev2 (192.168.1.3)
> main (192.168.1.1 and 158.152.71.154)
>
> "main" has a dialup connection to the 'net.
> "dev2" is connected to "main" via ethernet.
>
> "main" and "dev2" can talk to each other (ping, telnet, etc).
> "main" can access the net "and it being used for this posting).
> "dev2" can't access the 'net via "main".
>
> Obviously, I want it to!
>
> I want "main" to actroute add -net 192.168.1.0 netmask as the router for
> the 192.168.1.* network (eth0).
> All these machines should be able to use "main" to hope onto the 'net.
>
> Main's eth0 config looks like this:
>
> route add -host 158.152.71.154 dev lo
Shouldn't this be ppp0 instead of lo?
Also make sure you have IP forwarding on.
#echo 1 > /proc/sys/net/ipv4/ip_forward
> ifconfig eth0 192.168.1.1 netmask 255.255.255.255
> route add -net 192.168.1.0 netmask 255.255.255.0 eth0
> route add default gw 158.152.71.154 dev eth0
>
> Dev2's config is as follows:
> ifconfig eth0 192.168.1.3 netmask 255.255.255.255
> route add -host main dev eth0
Shouldn't you have a route to the local network?
#route add -net 192.168.1.0 dev eth0
I would suggest using network configurator under X, I think you'll find it
simpler to use
than doing everything by hand.
> route add default gw main dev eth0
>
> Main's output from "route" when it is dialled up is the following:
>
> kieser.demon.co * 255.255.255.255 UH 0 0
> 0 lo
> demon-du.demon. * 255.255.255.255 UH 0 0
> 0 ppp0
> 192.168.1.0 * 255.255.255.0 U 0 0
> 0 eth0
> loopback * 255.0.0.0 U 0 0
> 0 lo
> default demon-du.demon. 0.0.0.0 UG 0 0
> 0 ppp0
>
> Dev2's output from "route" is the following:
>
> main * 255.255.255.255 UH 0 0
> 3 eth0
> 127.0.0.0 * 255.0.0.0 U 0 0
> 0 lo
> default main 0.0.0.0 UG 0 0
> 7 eth0
>
> Can anyone see what is wrong here?
>
> Please bear in mind that I will be adding more machines to the ethernet
> network later.
>
> Thanks,
>
> Brad
>
>
> --== Sent via Deja.com http://www.deja.com/ ==--
> ---Share what you know. Learn what you don't.---
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: ip_allow
Date: 18 May 1999 20:07:42 PDT
Hi:
I have a Linux box (RH5.2) running as a mail gateway and running IP
Masquerading. After placing my ISP's mail relay into the relay_allow
file and placing my internal class C (192.168) along with 127.0.0.1 into
the ip_allow my internal users can send mail out with no problem.
How go I get outside mail into the shop via the same box?
My DNS MX is pointing at the box. When I mail from an outside source, It
bounces with the proverbial '551 relay not allowed' kind of error.
I guess I'm looking for how to turn off the relay filter and allow all
mail from all sources into the gateway, Or am I to have my MX entry
point to a seconf IP and use tunneling to route it directly to my
internal sendmail hub?
What am I missing?
Thanks
------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: Problem with Chat Script
Date: Tue, 18 May 1999 22:03:38 -0500
I suspect it is timing out before the connection completes. try using
the -t option in the chat command.
chat -v -t 30 ....rest of command string
Rand Simberg wrote:
>
> OK, now that I think I've got my modem working without stepping on my
> mouse, I'm trying to set up a proper connection to my ISP. Per the
> instructions on the PPP web page, just to start, I'm sending the
> following single command line, without a chat script.
>
> Command:
>
> pppd /dev/ttyS2 115200 debug connect "/usr/sbin/chat -v ''
> ATD13108960011 CONNECT '' ogin:
> us,ppp,simberg assword: *********"
>
> When I do this, after connecting to the ISP, it bombs out, and I can't
> figure out why. Here's the session log...
>
> May 18 17:20:28 localhost pppd[769]: pppd 2.3.7 started by root, uid 0
> May 18 17:20:29 localhost chat[771]: send (ATD13108960011^M)
> May 18 17:20:29 localhost chat[771]: expect (CONNECT)
> May 18 17:20:58 localhost chat[771]: ATD13108960011^M
> May 18 17:20:58 localhost chat[771]: CONNECT
> May 18 17:20:58 localhost chat[771]: -- got it
> May 18 17:20:58 localhost chat[771]: send (^M)
> May 18 17:20:58 localhost chat[771]: expect (ogin:)
> May 18 17:21:08 localhost chat[771]: 115200^M
> May 18 17:21:08 localhost chat[771]: netcom login:
> May 18 17:21:08 localhost chat[771]: -- got it
> May 18 17:21:08 localhost pppd[769]: Connect script failed
> May 18 17:21:09 localhost pppd[769]: Exit.
>
> Note that it expected "ogin:" and it got it, but it quits right after
> that instead of sending the user name. Anyone have any idea what's
> going on?
>
> ************************************************************************
> simberg.interglobal.org * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)
> interglobal space lines * 307 733-1391 (Fax) http://www.interglobal.org
>
> "Extraordinary launch vehicles require extraordinary markets..."
> Replace first . with @ and throw out the "@trash." to email me.
> Here's my email address for autospammers: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Can't telnet to Linux Red Hat 6.0 box.
Date: Wed, 19 May 1999 12:14:04 GMT
In article <7hqp8k$9mo$[EMAIL PROTECTED]>,
The Phreique <[EMAIL PROTECTED]> wrote:
>
> I've seen a few telnet questions on here, but mine seems to be a
problem
> that no one's seen. This is the problem:
>
> When I try to telnet to my machine I get a connection refused message.
> However when I telnet to work (from home), and then back to my machine
> everything works ok.
>
> I looked in the hosts.allow and deny files.... they're blank (asside
from
> some comments).
>
> Any suggestions?
>
> :-)
>
> -Sterling W. Lombard (The Phreique)
> http://www.primenet.com/~slombard
>
>
please be a bit more precise here.
i take it you have 3 machines, 1 at work ( �= somewhere else) and 2
locally, is that correct so far ?
lets call those 2 local1 and 2.
so if you telnet local2 from local1 you get WHAT? service denied? no
connection?
you telnet as WHAT? ( not as root,hopefully)
can you ping local2 from local1? ping xxx.xxx.xxx.xxx (adress) AND ping
local2 (name)?
do you use the same user to telnet work as you telnet local2 ?
maybe you look in var/log/messages and or warnings , both in local2 and
local1 - you might get a hint whats amiss here
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: linux.redhat.ppp
Subject: Re: what does this error mean?
Date: 19 May 1999 07:04:14 -0500
Steven Unruh ([EMAIL PROTECTED]) wrote:
: i'm getting the following:
: May 18 13:29:39 thanos pppd[11886]: Connect: ppp0 <--> /dev/ttyp0
: May 18 13:29:43 thanos modprobe: can't locate module ppp-compress-21
: May 18 13:29:43 thanos modprobe: can't locate module ppp-compress-26
: May 18 13:29:43 thanos modprobe: can't locate module ppp-compress-24
: May 18 13:30:13 thanos pppd[11886]: IPCP: timeout sending Config-Requests
: May 18 13:30:13 thanos pppd[11886]: Connection terminated.
You and the ISP couldn't neotiate IP addresses. Try the pppd option
"asyncmap a0000" and then "asyncmap 0" if that doesn't work, some PPP
implementations are broken wrt negotiating this.
The trick above will ofter work but if it doesn't add teh pppd debug option
and find the PPP negotiation log for more insight.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Samba Help
Date: Wed, 19 May 1999 12:33:45 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (K Berrien) wrote:
> On Sun, 16 May 1999 23:53:33 -0400, "CHECKERA, VINOD"
> <[EMAIL PROTECTED]> wrote:
>
> I've been using WebMin (Web Linux configuration tool) to configure
> Samba, which is much easier than doing it manually. I still have not
> had any success. The services appear to be running, yet WebMin states
> Samba is not running, and can't start the services itself.
>
> I as of yet have had no results that are encouraging.
>
> Any Samba experts available to help? Mike and myself could benefit
> from the help.
>
> Tnx, Kevin
>
> >I'm adding some Linux machines to an NT network and I'm looking for
> >documentation/HowTos/etc on the subject. I'm also wondering how tough
> >this is going to be... :P
> >
> >Thanx.
> >Mike
>
>
i used samba for a while now, and most of the time it worked ( maybe
after a few short reconfigs ).
i use it now with swat, which comes with the new ( >=2.0.x) samba.
i find the diagnosis.txt ( which lets you diagnose in some steps 1-5 or
so) is absolutely helpful and to the point.
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Eth0 and ppp0 on gw works. routing not working
Date: 19 May 1999 02:58:23 GMT
In <7hsodn$s9n$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
>Can anyone help? I am certain that this has a simple, easy solution.
>I have two machines:
> dev2 (192.168.1.3)
> main (192.168.1.1 and 158.152.71.154)
192.168.x.y are illegal addresses ( which is why they can be used on
intranets). There is no way that anything outside your little system can
send anything to these addresses. Either your internal machines must be
assigned valid addresses (from your ISP or from Internic or whoever is
selling them these days) or you have to switch on IP Masquarading.
You als have to make sure tha t IP forwarding is switched on on your
main box. (it is off by default in Redhat 5.x)
/etc/sysconfig/network
------------------------------
From: "rackles" <[EMAIL PROTECTED]>
Subject: SSH v1.2.27 is out!
Crossposted-To:
comp.os.linux.security,comp.security.unix,comp.os.linux.misc,alt.linux,alt.os.linux,comp.unix.bsd.freebsd.misc,comp.unix.solaris
Date: Wed, 19 May 1999 12:32:02 GMT
Cool...
ftp://sunsite.unc.edu/pub/packages/security/ssh/ssh-1.2.27.tar.gz
http://x39.deja.com/getdoc.xp?AN=478128364 for the official announcement on
news:comp.security.ssh ...
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Can't telnet to Linux Red Hat 6.0 box.
Date: Wed, 19 May 1999 12:40:05 GMT
In article <7hqp8k$9mo$[EMAIL PROTECTED]>,
The Phreique <[EMAIL PROTECTED]> wrote:
>
> I've seen a few telnet questions on here, but mine seems to be a
problem
> that no one's seen. This is the problem:
>
> When I try to telnet to my machine I get a connection refused message.
> However when I telnet to work (from home), and then back to my machine
> everything works ok.
>
> I looked in the hosts.allow and deny files.... they're blank (asside
from
> some comments).
>
> Any suggestions?
>
> :-)
>
> -Sterling W. Lombard (The Phreique)
> http://www.primenet.com/~slombard
>
>
this is reply 2, 1st one seems to have gone lost.
please be more specific to your setup.
3 machines, 2 local ( local1 and 2 ) and one remote (work)?
you can telnet work but not local2 from local1?
can you ping local2 from local1? , adress AND name?
you do NOT telnet as root?
WHAT exectly do you get in return ? ( access denied? host not found?...
or what?)
look in /var/log/messages and or warnings for more hints
--== 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.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
******************************