Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2001 03:16:12 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Antoine Beaupre (LMC)" <Antoine.Beaupre@ericsson.ca>
Cc:        freebsd-stable@FreeBSD.ORG, brian@Awfulhak.org, brian@Awfulhak.org
Subject:   Re: Problem with user-pppoe after upgrade, fixed 
Message-ID:  <200107130216.f6D2GDW66205@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Antoine Beaupre (LMC)" <Antoine.Beaupre@ericsson.ca>  of "Thu, 12 Jul 2001 12:16:28 EDT." <3B4DCD5C.4060004@lmc.ericsson.se> 

index | next in thread | previous in thread | raw e-mail

Hi,

I think your ppp.conf was a bit too censored.

If you're setting the MTU or MRU to 1500, this will now fail.  The 
maximum these can be set to for PPPoE is 1492.  That's now enforced 
by the PPPoE ppp device as it knows the limitations on the physical 
Ethernet.

Just commenting out your setting of the MTU/MRU should solve your 
problems.

> Hi.
> 
> After a stable upgrade from 2001.06.09 to 2001.07.09, I had some
> problems connecting to my PPPoe provider. ppp was falling into a loop
> like this one:
> 
> Jul 12 08:28:34 khan ppp[144]: tun0: Phase: deflink: hangup -> opening
> Jul 12 08:28:34 khan ppp[144]: tun0: Phase: deflink: Enter pause (3) for
> redialing.
> Jul 12 08:28:37 khan ppp[144]: tun0: Phase: deflink: Connected!
> Jul 12 08:28:37 khan ppp[144]: tun0: Phase: deflink: opening -> dial
> Jul 12 08:28:37 khan ppp[144]: tun0: Phase: deflink: dial -> carrier
> Jul 12 08:28:38 khan ppp[144]: tun0: Phase: Received NGM_PPPOE_SUCCESS
> (hook "tun0")
> Jul 12 08:28:38 khan ppp[144]: tun0: Phase: deflink: carrier -> login
> Jul 12 08:28:38 khan ppp[144]: tun0: Phase: deflink: login -> lcp
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: Too many LCP NAKs
> sent - abandoning negotiation
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: Disconnected!
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: lcp -> logout
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: logout -> hangup
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: Disconnected!
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: Connect time: 2
> secs: 482 octets in, 294 octets
> out
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase: deflink: : 594 packets in,
> 540 packets out
> Jul 12 08:28:39 khan ppp[144]: tun0: Phase:  total 388 bytes/sec, peak 0
> bytes/sec on Thu Jul 12 08:2
> Jul 12 08:28:34 khan ppp[144]: tun0: Phase: deflink: hangup -> opening
> [on so on...]
> 
> For the record, changing the mtu and the mru from 1500 to 1492 fixed the
> problem, I don't know why. I've been told that having that set to 1500 
> was not a good idea in the first place, but it *did* work before. :)
> 
> I can provide more debug information tonight if necessary, but for that
> I must just down network access (pppoe) and since I'm remote now.. :)
> 
> Brian, I think I guess your answer: "can you send me the output of set
> log +lcp?" :) Yes, I will, tonight.
> 
> Also, for the record, ng* modules are loaded on boot as klds, my
> censored ppp.conf file is attached, along with a nice dmesg.
> 
> cvsup logs are available at:
> 
> http://ftp.anarcat.dyndns.org/ftp/pub/FreeBSD/local_info/
> 
> Thanks for any info.
> 
> A.
> -- 
> Antoine Beaupré
> Jambala TCM team
> Ericsson Canada inc.
> mailto:antoine.beaupre@ericsson.ca
> 
> 
> --------------090905060702090808000200
> Content-Type: text/html;
>  name="ppp.conf"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="ppp.conf"
> 
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <HTML><HEAD>
> <TITLE>403 Forbidden</TITLE>
> </HEAD><BODY>
> <H1>Forbidden</H1>
> You don't have permission to access /ftp/pub/FreeBSD/local_info/ppp.conf
> on this server.<P>
> <HR>
> <ADDRESS>Apache/1.3.19 Server at www.anarcat.dyndns.org Port 80</ADDRESS>
> </BODY></HTML>
> 
> --------------090905060702090808000200
> Content-Type: text/plain;
>  name="dmesg.boot"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="dmesg.boot"
> 
> Copyright (c) 1992-2001 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
> 	The Regents of the University of California. All rights reserved.
> FreeBSD 4.3-STABLE #1: Sat May 12 17:54:35 EDT 2001
>     anarcat@shall.anarcat.dyndns.org:/usr/obj/usr/src/sys/KHAN
> Timecounter "i8254"  frequency 1193182 Hz
> CPU: i486 DX4 (486-class CPU)
>   Origin = "GenuineIntel"  Id = 0x480  Stepping = 0
>   Features=0x3<FPU,VME>
> real memory  = 16777216 (16384K bytes)
> avail memory = 13799424 (13476K bytes)
> Preloaded elf kernel "kernel" at 0xc02b4000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc02b40a8.
> Preloaded elf module "netgraph.ko" at 0xc02b40f8.
> md0: Malloc disk
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> isa0: <ISA bus> on motherboard
> ep0: <3Com 3C509-TPO EtherLink III> at port 0x200-0x20f irq 5 on isa0
> ep0: Ethernet address 00:10:5a:aa:51:33
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
> fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16450
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16450
> ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> ppi0: <Parallel I/O> on ppbus0
> plip0: <PLIP network interface> on ppbus0
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> pca0 at port 0x40 on isa0
> ep1: <3Com 3C509B-TPO EtherLink III (PnP)> at port 0x210-0x21f irq 9 on isa0
> ep1: Ethernet address 00:60:97:04:b7:ca
> IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 100 packets/entry by default
> ad0: 122MB <QUANTUM ELS127A> [919/16/17] at ata0-master BIOSPIO
> ad1: 3079MB <QUANTUM FIREBALL ST3.2A> [6256/16/63] at ata0-slave BIOSPIO
> Mounting root from ufs:/dev/ad1a
> 
> --------------090905060702090808000200--

-- 
Brian <brian@freebsd-services.com>                <brian@Awfulhak.org>
      http://www.freebsd-services.com/        <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour !      <brian@[uk.]OpenBSD.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107130216.f6D2GDW66205>