mpd as pppoe server problem
Hi, I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However ADSL user can't log in to pppoe server. Nothing happens on mpd console. MX# mpd -f mpd.conf Multi-link PPP for FreeBSD, by Archie L. Cobbs. Based on iij-ppp, by Toshiharu OHNO. mpd: pid 20841, version 3.18 ([EMAIL PROTECTED] 10:43 7-Nov-2005) [PPPoE] ppp node is "mpd20841-PPPoE" [PPPoE] using interface ng0 mpd: accept encryption: not applicable [PPPoE] the max MTU on type "pppoe" links is 1492 [PPPoE] exec: /sbin/ifconfig rl0 up [PPPoE:PPPoE] [PPPoE] PPPoE server listening on rl0: for service "*" Here is is my mpd.conf: default: load pppoe pppoe: new -i ng0 PPPoE PPPoE set bundle no multilink set bundle enable compression set bundle accept encryption set bundle max-logins 1 set bundle enable radius-acct set bundle enable radius-auth set iface idle 0 set iface disable on-demand set iface disable proxy-arp set iface enable tcpmssfix set iface mtu 1500 set iface route default set link type pppoe set link mtu 1500 set link no pap chap set link enable pap chap set link keep-alive 60 180 set link max-redial -1 set link mtu 1492 set link latency 1 set ccp yes mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless set pppoe iface rl0 set pppoe service "*" set pppoe disable originate set pppoe enable incoming set ipcp ranges 192.168.5.50/32 192.168.5.128/32 set ipcp dns x.x.x.x set ipcp yes vjcomp set ipcp no vjcomp set radius server x.x.x.x 1812 1813 set radius timeout 10 set radius config /etc/ppp/radius.conf set radius retries 3 What am I missing on above config? How can I debug mpd ? Because I don't see any logs coming. thanks in advance, Ganbold ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd as pppoe server problem
On Mon, Nov 07, 2005 at 05:05:45PM +0800, Ganbold wrote: G> I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However ADSL G> user can't log in to pppoe server. G> Nothing happens on mpd console. Do you see PPPoE PADI packets with help of tcpdump? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd as pppoe server problem
At 05:12 PM 11/7/2005, you wrote: On Mon, Nov 07, 2005 at 05:05:45PM +0800, Ganbold wrote: G> I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However ADSL G> user can't log in to pppoe server. G> Nothing happens on mpd console. Do you see PPPoE PADI packets with help of tcpdump? Gleb, I got it working. I have several questions: In log it says: ... [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK [PPPoE] setting interface ng0 MTU to 1480 bytes [PPPoE] up: 1 link, total bandwidth 64000 bps ... [PPPoE:PPPoE] show link Link PPPoE: Configuration MRU: 1500 bytes Ctrl char map : 0x000a bytes Retry timeout : 2 seconds Max redial : -1 connect attempts Bandwidth : 64000 bits/sec Can I change the bandwidth of my customer? Basically I would like to configure it in DSLAM, not in mpd server. Is it possible to change it in mpd? thanks, Ganbold -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd as pppoe server problem
On Mon, Nov 07, 2005 at 05:29:40PM +0800, Ganbold wrote: G> At 05:12 PM 11/7/2005, you wrote: G> >On Mon, Nov 07, 2005 at 05:05:45PM +0800, Ganbold wrote: G> >G> I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However G> >ADSL G> >G> user can't log in to pppoe server. G> >G> Nothing happens on mpd console. G> > G> >Do you see PPPoE PADI packets with help of tcpdump? G> G> Gleb, I got it working. I have several questions: G> G> In log it says: G> ... G> [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK G> [PPPoE] setting interface ng0 MTU to 1480 bytes G> [PPPoE] up: 1 link, total bandwidth 64000 bps G> ... G> [PPPoE:PPPoE] show link G> Link PPPoE: G> Configuration G> MRU: 1500 bytes G> Ctrl char map : 0x000a bytes G> Retry timeout : 2 seconds G> Max redial : -1 connect attempts G> Bandwidth : 64000 bits/sec G> G> Can I change the bandwidth of my customer? Basically I would like to G> configure it in DSLAM, not in mpd server. G> Is it possible to change it in mpd? Does mpd really limits bandwidth to 64000 bits/sec? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd as pppoe server problem
At 05:50 PM 11/7/2005, you wrote: On Mon, Nov 07, 2005 at 05:29:40PM +0800, Ganbold wrote: G> At 05:12 PM 11/7/2005, you wrote: G> >On Mon, Nov 07, 2005 at 05:05:45PM +0800, Ganbold wrote: G> >G> I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However G> >ADSL G> >G> user can't log in to pppoe server. G> >G> Nothing happens on mpd console. G> > G> >Do you see PPPoE PADI packets with help of tcpdump? G> G> Gleb, I got it working. I have several questions: G> G> In log it says: G> ... G> [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK G> [PPPoE] setting interface ng0 MTU to 1480 bytes G> [PPPoE] up: 1 link, total bandwidth 64000 bps G> ... G> [PPPoE:PPPoE] show link G> Link PPPoE: G> Configuration G> MRU: 1500 bytes G> Ctrl char map : 0x000a bytes G> Retry timeout : 2 seconds G> Max redial : -1 connect attempts G> Bandwidth : 64000 bits/sec G> G> Can I change the bandwidth of my customer? Basically I would like to G> configure it in DSLAM, not in mpd server. G> Is it possible to change it in mpd? Does mpd really limits bandwidth to 64000 bits/sec? Gleb, Sorry for confusion, it was configured on the DSLAM as 64kb. One more question, where mpd sends its log? I don't see any logs on syslog messages. How do I make mpd log its messages? Sorry again for lot of questions. thanks again, Ganbold -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd as pppoe server problem
On Mon, Nov 07, 2005 at 05:54:52PM +0800, Ganbold wrote: G> Sorry for confusion, it was configured on the DSLAM as 64kb. G> One more question, where mpd sends its log? I don't see any logs on syslog G> messages. How do I make mpd log its messages? G> Sorry again for lot of questions. Just run mpd with argument "-s mpd". And add the following to syslogd.conf: !mpd *.* /var/log/mpd -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Current problem reports assigned to you
Current FreeBSD problem reports Critical problems Serious problems Non-critical problems S Submitted Tracker Resp. Description --- o [2003/07/11] kern/54383 net [nfs] [patch] NFS root configurations wit o [2005/11/03] kern/88450 net SYN+ACK reports strange size of window 2 problems total. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine
"jb" == "John Baldwin" said: jb> We don't detect the local APIC via MSR's or the APIC bit in jb> cpu_features, but rely on a working MP Table or MADT table jb> to setup both the local APIC(s) and I/O APIC(s). Unfortunately not having the APIC enabled in the BIOS also means that we cannot use PMCs, the APIC timer or the thermal monitor, even if the CPU implements these features. My too simple experiment attempting to enable the local APIC on an AMD K7 box didn't go very well; this would be entirely due to lack of clue on my part since Linux 2.4 seems to be able to turn on the APIC on the same hardware without issues. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ARP request retransmitting
Colleagues, I have a proposition on changing the behavior of ARP retransmitting. Currently we after sending several ARP requests, sending ARP requests for given IP is suppressed for some interval (by default 20 seconds). Probably this feature was designed in early 90th, when sending one additional broadcast packet was an expensive thing. I suggest to keep sending ARP requests while there is a demand for this (we are trying to transmit packets to this particular IP), ratelimiting these requests to one per second. This will help in a quite common case, when some host on net is rebooting, and we are waiting for him to come up, and notice this only after 1 - 20 seconds since the time it is reachable. Any objections? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine
On Sunday 06 November 2005 05:44 pm, Nate Lawson wrote: > Vaibhave Agarwal wrote: > > On Sun, 6 Nov 2005, John Baldwin wrote: > >>We don't detect the local APIC via MSR's or the APIC bit in cpu_features, > >> but rely on a working MP Table or MADT table to setup both the local > >> APIC(s) and I/O APIC(s). Does your machine have a valid MP Table or an > >> APIC table in its acpidump? Many UP machine BIOSes don't include those > >> tables. > > > > I think you are right. > > There is no valid APIC table in the acpidump. > > The only place where APIC is mentioned in the acpidump(8) is in > > following: > > > > Scope (\_SB) > > { > > Name (APIC, 0x00) > > Method (_PIC, 1, NotSerialized) > > { > > Store (Arg0, APIC) > > } > > } > > > > > > And I suppose APIC is disabled in the BIOS too. > > Is there a way to enable APIC using software, without changing the BIOS, > > since I dont have access to the BIOS, as it is a remote machine (with > > root access) ? > > The above references to APIC just store a value in a convenience > variable. If there's nothing else in the AML that references the > \_SB.APIC variable, then it has no effect on the system. In that case, > the only way to get APIC support on that machine is to implement another > way of enumerating it. And even then it can't be used for any device interrupts since there aren't any I/O APICs. On a UP machine without I/O APICs, it's actually probably more optimal to just use irq0 and irq8 for clocks rather than the lapic timer anyway. The only real possible gain is the ability to use the profiling interrupt from the local APIC. -- John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mpd as pppoe server problem
Gleb Smirnoff wrote: On Mon, Nov 07, 2005 at 05:29:40PM +0800, Ganbold wrote: G> At 05:12 PM 11/7/2005, you wrote: G> >On Mon, Nov 07, 2005 at 05:05:45PM +0800, Ganbold wrote: G> >G> I'm trying to configure mpd as a pppoe server in FreeBSD 5.3. However G> >ADSL G> >G> user can't log in to pppoe server. G> >G> Nothing happens on mpd console. G> > G> >Do you see PPPoE PADI packets with help of tcpdump? G> G> Gleb, I got it working. I have several questions: G> G> In log it says: G> ... G> [PPPoE] LCP: phase shift AUTHENTICATE --> NETWORK G> [PPPoE] setting interface ng0 MTU to 1480 bytes G> [PPPoE] up: 1 link, total bandwidth 64000 bps G> ... G> [PPPoE:PPPoE] show link G> Link PPPoE: G> Configuration G> MRU: 1500 bytes G> Ctrl char map : 0x000a bytes G> Retry timeout : 2 seconds G> Max redial : -1 connect attempts G> Bandwidth : 64000 bits/sec G> G> Can I change the bandwidth of my customer? Basically I would like to G> configure it in DSLAM, not in mpd server. G> Is it possible to change it in mpd? Does mpd really limits bandwidth to 64000 bits/sec? that number is only 'pretend' it is so tha tyou can tell mpd which lionks ahf what % of the traffic in multilink ppp. i.e 64000 and 64000 will split the traffic in half for each link 64000 and 128000 will split it 1/3 and 2/3 (or so I remenber archie saying.) ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPsec: panic/reboot with 5.4-STABLE
Panics occur as often as every few hours (usually once or twice a day) on eight identical systems used as VPN devices in hospital radiology appliance maintenance network. System were upgraded to 5.4-STABLE because panic(s) was followed by hang in 5.4-RELEASE. One other system running 4.10-RELEASE on Soekris Net4801 doesn't experience this problem. dmesg output: WARNING: pseudo-random number generator used for IPsec processing Fatal trap 12: page fault while in kernel mode fault virtual address = 0x23 fault code = supervisor read, page not present instruction pointer = 0x8:0xc06c9530 stack pointer = 0x10:0xcc7378f4 frame pointer = 0x10:0xcc737904 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 498 (isakmpd) trap number = 12 panic: page fault Uptime: 18h55m51s Dumping 255 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 Dump complete Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... Copyright (c) 1992-2005 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 5.4-STABLE #1: Fri Oct 14 10:37:20 EDT 2005 [EMAIL PROTECTED]:/usr/obj/var/cvsup/usr/src/sys/RADIOLOGY WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 1500MHz (1496.34-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf07 Stepping = 7 Features=0x3febfbff real memory = 268173312 (255 MB) avail memory = 252772352 (241 MB) npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf800-0xfbff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xdc00-0xdc7f mem 0xff9ffc00-0xff9ffc7f irq 3 at device 10.0 on pci2 miibus0: on xl0 xlphy0: <3c905C 10/100 internal PHY> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:04:76:bb:82:cc rl0: port 0xd800-0xd8ff mem 0xff9ff800-0xff9ff8ff irq 9 at device 11.0 on pci2 miibus1: on rl0 rlphy0: on miibus1 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:0d:88:35:27:a3 rl1: port 0xd400-0xd4ff mem 0xff9ff400-0xff9ff4ff irq 10 at device 12.0 on pci2 miibus2: on rl1 rlphy1: on miibus2 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: Ethernet address: 00:0d:88:35:27:89 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xef40-0xef5f irq 5 at device 31.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 31.3 (no driver attached) uhci1: port 0xef80-0xef9f irq 9 at device 31.4 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3,0x3f0-0x3f1 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console ppc0: port 0x778-0x77f,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: at iomem 0xc8000-0xc87ff,0xc-0xc7fff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter "TSC" frequency 1496337224 Hz quality 800 Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default ad0: FAILURE - SET_MULTI status=51 error=4 ad0: 19470MB [39560/16/63] at ata0-master UDMA100 acd0: CDROM at ata1-master PIO3 cd0 at ata1 bus 0 target 0 lun 0 cd0: R
6.0-RELEASE: if_bridge+vlan panic
Hello, I'm trying tho have if_bridge work with vlan members but kernel panics after a few minutes. I tried if_bridge+ng_eiface+ng_vlan but it panics too. The strange thing is that it seems forwarding packets correctly until it crushes. I have the following setup: -x.x.2.1 [FreeBSD]x.x.1.1/24--tagged--[Cisco 2950] | | vlan1 vlan2 | | x.x.1.2/24x.x.1.3/24 STP must be disabled on the switch because it uses per vlan spanning- tree (PVST) and if_bridge doesn't understand that but I can't set up vlans in the bridge to be in STP mode anyway. Does it work for anybody? Csaba _ Kötelező autóbiztosítás 2006. Nézze meg, hogy mit spórolhat és kösse meg kényelmesen online! KLIKK IDE: www.hirkereso.hu/b ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 6.0-RELEASE: if_bridge+vlan panic
On Mon, Nov 07, 2005 at 05:55:14PM +0100, Csaba Urban wrote: > Hello, > > I'm trying tho have if_bridge work with vlan members but kernel panics > after a few minutes. I tried if_bridge+ng_eiface+ng_vlan but it panics > too. The strange thing is that it seems forwarding packets correctly > until it crushes. > Can you submit a PR with the panic string, ifconfig output and any other info that would be helpful. A backtrace would be greatly appreciated, see the docs here http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html Andrew ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Freebsd 6.0 doesnt detect local APIC on a Pentium 3 machine
On Mon, 7 Nov 2005, John Baldwin wrote: > And even then it can't be used for any device interrupts since there aren't > any I/O APICs. On a UP machine without I/O APICs, it's actually probably > more optimal to just use irq0 and irq8 for clocks rather than the lapic timer > anyway. The only real possible gain is the ability to use the profiling > interrupt from the local APIC. I got access to the BIOS of the Pentium 3 machine I am using, but it has no option to enable/disable the local APIC. Joseph Koshy is right, Linux enables the local APIC timer while booting up. I got the following in the bootup log of Linux 2.4 kernel on the same machine. - Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Using local APIC timer interrupts. calibrating APIC timer ... - Though there is no I/O apic in the UP machines, but I only wanted to use local APIC timer in the lapic_timer_oneshot() mode to schedule few timers accurately. thanks vaibhave ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"