Linux-Networking Digest #198, Volume #11 Tue, 18 May 99 23:13:43 EDT
Contents:
Re: PPP route error (Clifford Kite)
minicom problems (bbryant)
Problem with Chat Script (Rand Simberg)
Re: How to avoid down router? (Frank Sweetser)
Re: PPP Server probable LCP problem? (Clifford Kite)
Re: vnc xserver terminal error (Edwin Chacon)
Problems with autodial and a proxy forcing ISP (Spirit)
Re: Is Linux Slower than Windows??(ppp) (Jonathan Luckey)
Re: ppp connection (Clifford Kite)
Re: How to avoid down router? (Roger Rouse)
Networking question - Looking for a Howto (Chip Wiegand)
PPP & Netscape don't see each other
Re: Problems with PPP and PAP (Bill Unruh)
Re: God of Networking (or demon) needed to help! ("William B. Cattell")
Re: NetWare Support Disabled? (Erik Jensen)
Re: HELP SYN Flood attack (Jim Roberts)
Maximum size of email attachment ("Model Printing")
----------------------------------------------------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP route error
Date: 18 May 1999 18:16:33 -0500
Paul Douglas ([EMAIL PROTECTED]) wrote:
: Details as follows:
: Kernel = 2.2.5
: pppd = 2.3.3
Hmm.. You haven't read the linux/Documentation/Changes file that comes
in the new kernel source. One of the things it says is that you need
at least ppp-2.3.5 and this has been so since 2.1.100 . The symptoms
are similar to some I had with ppp-2.2.0f when I mistakenly used it a
couple of times. IP addresses in the logs look good but nothing works.
That's almost certainly the problem.
The Changes file should be read since there are other things that need
updating. Get the latest ppp package, ppp-2.3.8, at
cs.anu.edu.au/pub/software/ppp/
: route -n output :-
: Kernel IP routing table
: Destination Gateway Genmask Flags Metric Ref Use
: Iface
: 194.131.240.7 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
: 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
: 0.0.0.0 194.131.240.7 0.0.0.0 UG 0 0 0 ppp0
: ifconfig output :-
: ppp0 Link encap:Point-to-Point Protocol
: inet addr:194.131.243.54 P-t-P:194.131.240.7 Mask:255.255.255.255
: UP POINTOPOINT RUNNING NOARP MULTICAST MTU:552 Metric:1
: RX packets:14 errors:0 dropped:0 overruns:0 frame:0
: TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
: collisions:0 txqueuelen:10
: I was getting this message a couple of days ago, though it now seems
: to have disappeared (unless I've inadvertantly sent it somewhere else)
: May 16 20:43:14 sandlestoke pppd[229]: not replacing existing default route
: to : ppp0 [194.131.240.7]
: This is a selection of messages from logs. Having set debug level to
: 7 they're pretty copious, of course, so I've just selected a few bits.
: : Connect: ppp0 <--> /dev/modem
: May 18 21:22:54 sandlestoke pppd[187]: sent [LCP ConfReq id=0x1 <mru 552>
: <asyncmap 0x0> <magic 0x43beca07> <pcomp> <accomp>]
: May 18 21:22:54 sandlestoke kernel: ppp: write frame, count = 28
Big time break???
: May 18 21:33:08 sandlestoke pppd[230]: rcvd [LCP ConfReq id=0x3 <mru 1500>
: <asyncmap 0x0> <magic 0xf3f611a8> <pcomp> <accomp>]
: May 18 21:33:08 sandlestoke pppd[230]: sent [LCP ConfAck id=0x3 <mru 1500>
: <asyncmap 0x0> <magic 0xf3f611a8> <pcomp> <accomp>]
: May 18 21:33:08 sandlestoke pppd[230]: sent [IPCP ConfReq id=0x1 <addr
: 0.0.0.0> <compress VJ 0f 01>]
: May 18 21:33:08 sandlestoke pppd[230]: sent [CCP ConfReq id=0x1 <deflate 15>
: <deflate(old#) 15> <bsd v1 15>]
: May 18 21:33:08 sandlestoke pppd[230]: rcvd [IPCP ConfReq id=0x4 <addr
: 194.131.240.7>]
: May 18 21:33:11 sandlestoke pppd[230]: sent [CCP ConfReq id=0x1 <deflate 15>
: <deflate(old#) 15> <bsd v1 15>]
: May 18 21:33:11 sandlestoke pppd[230]: sent [IPCP ConfReq id=0x1 <addr
: 0.0.0.0> <compress VJ 0f 01>]
: May 18 21:33:11 sandlestoke pppd[230]: rcvd [LCP ProtRej id=0x5 80 fd 01 01
: 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
The ISP doesn't do CCP, not fatal...
: May 18 21:33:11 sandlestoke pppd[230]: rcvd [IPCP ConfNak id=0x1 <addr
: 194.131.243.63> <compress VJ 0f 00>]
: May 18 21:33:11 sandlestoke pppd[230]: sent [IPCP ConfReq id=0x2 <addr
: 194.131.243.63> <compress VJ 0f 00>]
: May 18 21:33:11 sandlestoke pppd[230]: rcvd [IPCP ConfReq id=0x6 <addr
: 194.131.240.7>]
: May 18 21:33:11 sandlestoke pppd[230]: sent [IPCP ConfAck id=0x6 <addr
: 194.131.240.7>]
: May 18 21:33:11 sandlestoke pppd[230]: rcvd [IPCP ConfAck id=0x2 <addr
: 194.131.243.63> <compress VJ 0f 00>]
: May 18 21:33:11 sandlestoke pppd[230]: local IP address 194.131.243.63
: May 18 21:33:11 sandlestoke pppd[230]: remote IP address 194.131.240.7
: pppd[187]: local IP address 194.131.243.52
: pppd[187]: remote IP address 194.131.240.7
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* The wealth of a nation is created by the productive labor of its
* citizens. */
------------------------------
From: bbryant <[EMAIL PROTECTED]>
Subject: minicom problems
Date: Tue, 18 May 1999 02:09:10 GMT
I am trying to set up my modem in RH 5.2. I got the IRQ and I/O
that the BIOS sets from windows and set them in linux. The modem is
there in Linux under /dev/cua3. When I try to get minicom to dial
nothing happens. The dialogue box for minicom comes up and says its
dialing but it isn't. As far as I can tell everything should be ok and I
am not to sure where to go from here. Any ideas?
bill
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---
------------------------------
From: [EMAIL PROTECTED] (Rand Simberg)
Crossposted-To: comp.os.linux.setup
Subject: Problem with Chat Script
Date: Wed, 19 May 1999 00:48:25 GMT
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: Frank Sweetser <[EMAIL PROTECTED]>
Crossposted-To: [EMAIL PROTECTED]
Subject: Re: How to avoid down router?
Date: 18 May 1999 16:20:57 -0400
Roger Rouse <[EMAIL PROTECTED]> writes:
> Hi Everybody,
>
> I lost access to part of the network today. The output from traceroute
> is below. My question is how
> can I avoid a down router like this? I thought the whole point of
> routers was to avoid bad connections.
> Seems like I should be able to specify another route. Thanks, Roger
you can't. all that your machine can do is direct traffic towards your
local gateway. its' the gateway's job to keep track of which routes go
where. note that 1) such routing around damage can take time, and 2) there
may ot *be* any route around the fscking up routers.
--
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
I'm sure that that could be indented more readably, but I'm scared of
the awk parser.
-- Larry Wall in <[EMAIL PROTECTED]>
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPP Server probable LCP problem?
Date: 16 May 1999 14:35:24 -0500
Teri ([EMAIL PROTECTED]) wrote:
: I am trying to get a PPP server on my Linux box (Debian 2.0.34) going
: using getty and pppd and am having trouble getting a connection from a
: Win98 machine to stay up. The connection seems to hang at "Verifying
: user name and password" and then errors with "The computer you're dialing
: in to cannot establish a Dial-Up Networking connection. Check your
: password and then try again." The Win98 dial-up connection is configured
: with all the defaults...
: Any help would be greatly appreciated!
I've seen this problem posted once before, but with the pppd log and the
debug option turned on. I can give you an idea of what's happening but
I don't have an answer now anymore than I did the other time.
The initial PPP link negotiations show each side communicating with
the other but as soon as the client requests to be identified with PAP
authentication pppd seems to stall. The client finally terminates
the link negotiations, and only then does pppd send PAP replies that
authenticate the client - but too late. The replies seem to have been
queued somewhere until the link goes down and then they're all released.
The PPP packets from pppd that acknowledge PAP authentication of the
client are those at the end of the client's log:
: 05-14-1999 22:22:04.37 - PPP : Received Control Packet of length: 7
: 05-14-1999 22:22:04.37 - Data 0000: c0 23 02 02 00 05 00 00 | .#......
In the absence of any better answer you might try getting and installing
the latest pppd package, ppp-2.3.8 at
cs.anu.edu.au/pub/software/ppp/
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Better is the enemy of good enough. */
------------------------------
From: Edwin Chacon <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.x,comp.os.ms-windows.networking.tcp-ip,comp.os.ms-windows.nt.misc
Subject: Re: vnc xserver terminal error
Date: Tue, 18 May 1999 17:52:14 -0700
umm...try using the IP address instead of the server name...that might work.
Matt wrote:
> Hi,
>
> I have the following problem whilst configuring vnc
> from AT&T research.
>
> 19/05/99 00:55:13 Xvnc version 3.3.2
> 19/05/99 00:55:13 Copyright (C) 1997-8 Olivetti & Oracle Research
> Laboratory
> 19/05/99 00:55:13 See http://www.orl.co.uk/vnc for information about VNC
> 19/05/99 00:55:13 Desktop name 'x11' (:0)
> 19/05/99 00:55:13 Protocol version supported 3.3
> 19/05/99 00:55:13 Listening for VNC connections on TCP port 5900
>
> Fatal server error:
> Couldn't add screen
>
> On windows NT I type the following on the vncveiwer
>
> <hostname>:0
>
> Then I am retruned with..
>
> Failed to connect to server.
>
> Any ideas on how to correct this would be great.
>
> Many thanks
>
> Matt
------------------------------
From: xxx@50+.com.invalid.obviously.look.at.the.plus (Spirit)
Subject: Problems with autodial and a proxy forcing ISP
Date: Tue, 18 May 1999 22:25:17 +0200
I have set up a small network using a Debian Linux 2.0/2.1 glibc mix
router with 2.2.7 kernel and some other software updates I deemed
critical for security reasons. The router will masquerade all packets
from the inside to the internet using a dialup ISDN account with a local
provider. This provider forces the use of its proxy for all http
requests; only when a site is not found on the proxy are connections from
the IP which had been looking for it allowed out directly. Netscape
running on Win98 makes use of this, I think; it does not contact the
proxy again the second time it retreives a site from a server it has
previously accessed.
This is all fair and good. However, my phone budget is very small
(Luckily, I did not have to pay for the computers and the software on the
net), so I issue "isdnctrl huptimeout ippp0 10" whenever I intend to surf
via my EAZ/MSN. This way I can read lengthy texts without having to worry
about an unused connection in the background. The disadvantage is that
every time I try to access something my router will get a new IP
address dynamically assigned for its ippp0 interface; this IP will,
however, not be allowed to access anything on port 80 (I guess this is
how my ISP distinguishes http from other connections) directly but will
have to try to go through the proxy first. The Navigator, of course,
knows nothing of this and tries to access the site directly, which fails.
Does anyone know of a workaround for this problem? It is obviously not a
design flaw in any software, although it would have been nice to have an
option in Netscape to make it go through the proxy for every http
request. I am also aware that this might be the wrong group, so please
feel free to yell at me for wasting your time.
--
All sheep are created equal.
Greetings to Dolly.
And all the other ones out there.
------------------------------
From: [EMAIL PROTECTED] (Jonathan Luckey)
Subject: Re: Is Linux Slower than Windows??(ppp)
Date: 18 May 1999 17:15:34 -0400
"Bono" <[EMAIL PROTECTED]> writes:
[SNIP]
>Here are the comparison.
><case 1> I used Dial Up Networking server & client and Wingate for the ppp
>connection when I booted my desktop with win95.
><case 2> When I booted the desktop with Linux(RedHat 5.2), I used
>PPPD(2.3.5).
>****Average ping time between desktop and notebook*******
><case 1>___> 6ms
><case 2>___> 20ms
W95 plays with the interrupt controller inside the PC to give
the serial port the highest priority. This makes fairly large
changes to packet latency when using PPP as a network device.
Linux can do this too using the irqtune program. Use it to
rotate IRQ priorities to put your serial port first
usually IRQ 3 or IRQ 4, and see if that tightens up your
ping times.
Look for irqtune in your distribution.
-- Jon Luckey
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: ppp connection
Date: 16 May 1999 14:53:26 -0500
madzax ([EMAIL PROTECTED]) wrote:
: New problem /var/lock/ doesn't exist. Do I just need to reinstall? Or is
: there something better I can do?
mkdir /var/lock
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* A salute to Inspector Baynes, of the Surry Constabulary, the only
police Inspector to ever best Mr. Sherlock Holmes at his own game.
"The Adventure of Wisteria Lodge", by Sir Arthur Conan Doyle. */
------------------------------
From: Roger Rouse <[EMAIL PROTECTED]>
Crossposted-To: [EMAIL PROTECTED]
Subject: Re: How to avoid down router?
Date: Tue, 18 May 1999 19:32:48 -0700
Ok, how do I figure out what my local gateway is and how do I get the
people running it to avoid this troublesome router?
Frank Sweetser wrote:
> Roger Rouse <[EMAIL PROTECTED]> writes:
>
> > Hi Everybody,
> >
> > I lost access to part of the network today. The output from traceroute
> > is below. My question is how
> > can I avoid a down router like this? I thought the whole point of
> > routers was to avoid bad connections.
> > Seems like I should be able to specify another route. Thanks, Roger
>
> you can't. all that your machine can do is direct traffic towards your
> local gateway. its' the gateway's job to keep track of which routes go
> where. note that 1) such routing around damage can take time, and 2) there
> may ot *be* any route around the fscking up routers.
>
> --
> Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net | PGP key available
> paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5 i586 | at public servers
> I'm sure that that could be indented more readably, but I'm scared of
> the awk parser.
> -- Larry Wall in <[EMAIL PROTECTED]>
------------------------------
From: Chip Wiegand <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,linux.redhat.install
Subject: Networking question - Looking for a Howto
Date: Tue, 18 May 1999 19:30:49 -0700
I have two (going on 3) pc's networked at home (10/100 Mbps nic's, 100
Mbps hub). I have looked at the Howto's located at
-http://www.lh.umu.se/~bjorn/linux/howto/mini/HOWTO-INDEX-3.html#ss3.1.
I see lots of networking howto's but they seem to be alot more than I
need for my home net. Can someone please fill me in on just what I need
to do for settings? These two pc's dual boot with win95, and I have two
shared printers, and want to share my ISDN terminal adapter (which is
shared in win95 via LanBridge Server).
I don't have a server, just peer-to-peer.
I appreciate any help anyone can provide.
Chip
[EMAIL PROTECTED]
------------------------------
From: <[EMAIL PROTECTED]>
Subject: PPP & Netscape don't see each other
Date: 19 May 1999 02:30:58 GMT
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
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: es.comp.os.linux,linux.redhat.ppp,comp.os.linux.setup
Subject: Re: Problems with PPP and PAP
Date: 19 May 1999 02:45:42 GMT
In <7hr2ek$[EMAIL PROTECTED]> [EMAIL PROTECTED] (CUESTA CUESTA) writes:
> I can't access to internet using PPP properly. I've only been successful
>once, connecting manually, using minicom, exiting without reseting the modem
>and starting pppd with the command:
> pppd -d -detach /dev/ttyS1 28800 &
>May 16 17:55:58 loopback pppd[599]: sent [LCP ConfReq id=0x1 <auth pap> <magic
>0xf95a002c> <pcomp> <accomp>]
Why are you asking the remote computer to validate itself to you? Almost
none will do that. Get rid of the +pap in your commandline for ppp
------------------------------
From: "William B. Cattell" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: God of Networking (or demon) needed to help!
Date: Wed, 19 May 1999 02:31:57 GMT
Brian Livesey wrote:
>
> I'm having a weird problem with my home computer's networking.
> Networking just freezes suddenly; a full halt. I get no kernel messages
> re: it. To bring the connection back up, I have to bring the interface
> down, bring it back up, and reroute. Then, the network will work for
> another two to twenty minutes or so, then freeze again. Wiping the
> routing table & re-entering the routes won't fix the problem.
>
> My computer is a 486/66 running Debian linux, kernel 2.0.36. My
> networking setup is a cable-modem connected to an isa smc-etherEZ 10bT
> ethernet card.
>
> I have run tcpdump a few times while the network is functioning, and
> have three logs that begin with normal network functionality, and stop
> at the moment networking became non-responsive. If these would be
> helpful in diagnosing this problem, they are:
>
> http://members.home.net/elaura/dump1.txt
> http://members.home.net/elaura/dump2.txt
> http://members.home.net/elaura/dump3.txt
>
> I have used this computer with all the same hardware like this for
> weeks, and networking worked just fine, the computer running 24/7, never
> needing resetting. I'm not sure if this condition is a result of
> something I may have changed, or something that has changed in my
> provider's network.
>
> That's as much info as I can think of! Thank you thank you thank you in
> advance to all replies. :)
One thought - could the NIC be going bad? I've seen this a bunch of
times and in the majority of the cases it turned out to be faulty
hardware. Systems running 24x7 over long periods will burn up ICs.
Just a thought.
Bill
--
==============================================================
http://members.home.com/wcattell
==============================================================
Park not thy Harley in the darkness of thine garage, that it
may collect dust for want of being oft ridden. Ride thy Harley
with thy brethren, and rejoice in the spirit of the road.
==============================================================
------------------------------
From: Erik Jensen <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.redhat.install
Subject: Re: NetWare Support Disabled?
Date: Tue, 18 May 1999 22:10:26 GMT
> >
> > I have not been able to connect to my Netware server since installing
> > Redhat 6.0. I WAS able to connect with Redhat 5.2.
>
> this error does not occur at my place
> i have a mounted NW 411 server mounted with "ncpmount"
Ncpmount won't work (for me) since slist does not report ANY NetWare
servers present (& I have two: one 4.11 & one 3.12).
------------------------------
From: [EMAIL PROTECTED] (Jim Roberts)
Subject: Re: HELP SYN Flood attack
Date: Tue, 18 May 1999 02:24:27 GMT
In article <[EMAIL PROTECTED]>,
Jay O'Connor <[EMAIL PROTECTED]> writes:
> Hello,
>
> I've been receiving SYN flood attacks on my server runnind RedHat 5.2.
> It see,s to require rebooting my machine once the web server dies. Is
> there anything I can get to prevent or gracefully recover from these?
> Thanks
>
> Take care,
>
>
You can compile the kernel to prevent this type of attack if it
is a 2.0.xx kernel. If it is a 2.2.x kernel you can compile the
protection in then use a script to enable it. Check the docs
in the kernel source tree.
jim
------------------------------
From: "Model Printing" <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail
Subject: Maximum size of email attachment
Date: Tue, 18 May 1999 19:07:27 -0700
Where is the configuration setting in Qmail for setting the maximum size of
a file attachment that someone can send. is this set at compile time?
------------------------------
** 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
******************************