PPTP/L2TP on interfaces
-
After Restart L2TP Wont try to dial !
(i either reassign the interfaces again, or doing this:
https://192.168.1.1/status_interfaces.php?action=Connect&if=wan)Then the PPP Log:
Aug 18 07:37:54 ppp: L2TP: Control connection 0x287d0a08 destroyed Aug 18 07:37:47 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:37:47 ppp: [wan_link0] Link: reconnection attempt 2 Aug 18 07:37:43 ppp: [wan_link0] Link: reconnection attempt 2 in 4 seconds Aug 18 07:37:43 ppp: [wan_link0] LCP: Down event Aug 18 07:37:43 ppp: [wan_link0] Link: DOWN event Aug 18 07:37:43 ppp: L2TP: Control connection 0x287d0a08 terminated: 6 (expecting reply; none received) Aug 18 07:36:49 ppp: L2TP: Control connection 0x287d0d08 destroyed Aug 18 07:36:42 ppp: L2TP: Initiating control connection 0x287d0a08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:36:42 ppp: [wan_link0] Link: reconnection attempt 1 Aug 18 07:36:38 ppp: [wan_link0] Link: reconnection attempt 1 in 4 seconds Aug 18 07:36:38 ppp: [wan_link0] LCP: Down event Aug 18 07:36:38 ppp: [wan_link0] Link: DOWN event Aug 18 07:36:38 ppp: L2TP: Control connection 0x287d0d08 terminated: 6 (expecting reply; none received) Aug 18 07:35:38 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:35:38 ppp: [wan_link0] LCP: LayerStart Aug 18 07:35:38 ppp: [wan_link0] LCP: state change Initial --> Starting Aug 18 07:35:38 ppp: [wan_link0] LCP: Open event Aug 18 07:35:38 ppp: [wan_link0] Link: OPEN event Aug 18 07:35:38 ppp: option "windowing" unknown Aug 18 07:35:38 ppp: [wan] Bundle: Interface ng0 created Aug 18 07:35:38 ppp: web: web is not running Aug 18 07:35:38 ppp: process 38787 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 17:45 2-Jul-2010) Aug 18 07:35:38 ppp: Aug 18 07:35:38 ppp: Multi-link PPP daemon for FreeBSD
After i correct the default (setting the opt1 as default) route it will connect.
Then i have to set Wan (L2TP) as default gateway again.Another problem is that the DNSs aren't overwritten , the DNS servers recived from opt1 by dhcp should be overwritten by the DNS recived by the l2tp. (but that's minor)
Entire system log:
Aug 18 07:43:03 check_reload_status: reloading filter Aug 18 07:43:02 check_reload_status: syncing firewall Aug 18 07:43:01 check_reload_status: updating dyndns Aug 18 07:42:57 php: : rc.newwanip: on (IP address: 82.81.207.202) (interface: wan) (real interface: l2tp0). Aug 18 07:42:57 php: : rc.newwanip: Informational is starting l2tp0. Aug 18 07:42:57 check_reload_status: rc.newwanip starting Aug 18 07:42:52 check_reload_status: reloading filter Aug 18 07:42:47 apinger: Starting Alarm Pinger, apinger(3804) Aug 18 07:42:47 apinger: Exiting on signal 15. Aug 18 07:42:47 kernel: ng0: changing name to 'l2tp0' Aug 18 07:42:44 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Aug 18 07:42:44 dhcpd: All rights reserved. Aug 18 07:42:44 dhcpd: Copyright 2004-2008 Internet Systems Consortium. Aug 18 07:42:44 dhcpd: Internet Systems Consortium DHCP Server V3.0.7 Aug 18 07:42:31 check_reload_status: syncing firewall Aug 18 07:42:21 check_reload_status: updating dyndns Aug 18 07:42:11 check_reload_status: reloading filter Aug 18 07:42:02 php: : rc.newwanip: on (IP address: 82.81.207.157) (interface: wan) (real interface: l2tp0). Aug 18 07:42:02 php: : rc.newwanip: Informational is starting l2tp0. Aug 18 07:42:01 check_reload_status: rc.newwanip starting Aug 18 07:42:01 check_reload_status: reloading filter Aug 18 07:42:01 check_reload_status: syncing firewall Aug 18 07:41:51 apinger: Starting Alarm Pinger, apinger(55216) Aug 18 07:41:51 apinger: Exiting on signal 15. Aug 18 07:41:51 php: /system_gateways.php: ROUTING: add default route to 172.28.128.1 Aug 18 07:41:51 php: : rc.newwanip: on (IP address: 172.28.142.143) (interface: opt1) (real interface: fxp0). Aug 18 07:41:51 php: : rc.newwanip: Informational is starting fxp0. Aug 18 07:41:51 check_reload_status: rc.newwanip starting Aug 18 07:41:49 dhclient[43940]: bound to 172.28.142.143 -- renewal in 300741 seconds. Aug 18 07:41:49 dhclient: Creating resolv.conf Aug 18 07:41:49 dhclient: Adding new routes to interface: fxp0 Aug 18 07:41:49 dhclient: New Routers (fxp0): 172.28.128.1 Aug 18 07:41:49 dhclient: New Broadcast Address (fxp0): 255.255.255.255 Aug 18 07:41:49 dhclient: New Subnet Mask (fxp0): 255.255.224.0 Aug 18 07:41:49 dhclient: New IP Address (fxp0): 172.28.142.143 Aug 18 07:41:49 dhclient: ifconfig fxp0 inet 172.28.142.143 netmask 255.255.224.0 broadcast 255.255.255.255 Aug 18 07:41:49 dhclient: Starting add_new_address() Aug 18 07:41:49 dhclient: REBOOT Aug 18 07:41:49 dhclient[43940]: DHCPACK from 10.254.192.1 Aug 18 07:41:49 dhclient[43940]: DHCPREQUEST on fxp0 to 255.255.255.255 port 67 Aug 18 07:41:49 dhclient: PREINIT Aug 18 07:41:48 dhclient[6808]: exiting. Aug 18 07:41:48 dhclient[6808]: exiting. Aug 18 07:41:48 dhclient[6808]: connection closed Aug 18 07:41:48 dhclient[6808]: connection closed Aug 18 07:41:48 dhclient: FAIL Aug 18 07:41:47 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Aug 18 07:41:47 dhcpd: All rights reserved. Aug 18 07:41:47 dhcpd: Copyright 2004-2008 Internet Systems Consortium. Aug 18 07:41:47 dhcpd: Internet Systems Consortium DHCP Server V3.0.7 Aug 18 07:40:30 check_reload_status: reloading filter Aug 18 07:40:30 check_reload_status: syncing firewall Aug 18 07:40:21 apinger: Starting Alarm Pinger, apinger(43161) Aug 18 07:40:21 apinger: Exiting on signal 15. Aug 18 07:35:38 kernel: ng0: changing name to 'l2tp0' Aug 18 07:35:28 php: : Hotplug event detected for lan but ignoring since interface is configured with static IP (192.168.1.1) Aug 18 07:35:28 check_reload_status: rc.linkup starting Aug 18 07:35:20 sshlockout[27999]: sshlockout v(null) starting up Aug 18 07:35:20 sshlockout[27999]: sshlockout v(null) starting up Aug 18 07:35:20 sshd[27619]: subsystem request for sftp Aug 18 07:35:20 sshd[27619]: Accepted keyboard-interactive/pam for root from 192.168.1.199 port 53395 ssh2 Aug 18 07:35:00 kernel: re0: link state changed to UP Aug 18 07:33:01 kernel: re0: link state changed to DOWN Aug 18 07:28:00 syslogd: kernel boot file is /boot/kernel/kernel Aug 18 07:28:00 syslogd: exiting on signal 15 Aug 18 07:27:13 sshd[9100]: fatal: Write failed: Operation not permitted Aug 18 07:27:13 sshd[9100]: fatal: Write failed: Operation not permitted Aug 18 07:26:57 sshlockout[7940]: sshlockout v(null) starting up Aug 18 07:26:57 sshlockout[7940]: sshlockout v(null) starting up Aug 18 07:26:57 login: login on ttyv0 as root Aug 18 07:26:55 php: : rc.newwanip: on (IP address: 172.28.142.143) (interface: opt1) (real interface: fxp0). Aug 18 07:26:55 php: : rc.newwanip: Informational is starting fxp0. Aug 18 07:26:55 check_reload_status: rc.newwanip starting Aug 18 07:26:55 check_reload_status: updating dyndns Aug 18 07:26:55 check_reload_status: check_reload_status is starting. Aug 18 07:26:55 php: : Resyncing configuration for all packages. Aug 18 07:26:54 dhcpd: For info, please visit http://www.isc.org/sw/dhcp/ Aug 18 07:26:54 dhcpd: All rights reserved. Aug 18 07:26:54 dhcpd: Copyright 2004-2008 Internet Systems Consortium. Aug 18 07:26:54 dhcpd: Internet Systems Consortium DHCP Server V3.0.7 Aug 18 07:26:54 php: : Creating rrd update script Aug 18 07:26:51 dnsmasq[29741]: read /etc/hosts - 2 addresses Aug 18 07:26:51 dnsmasq[29741]: using nameserver 192.168.101.101#53 Aug 18 07:26:51 dnsmasq[29741]: using nameserver 192.168.101.102#53 Aug 18 07:26:51 dnsmasq[29741]: reading /etc/resolv.conf Aug 18 07:26:51 dnsmasq[29741]: compile time options: no-IPv6 GNU-getopt no-DBus I18N DHCP TFTP Aug 18 07:26:51 dnsmasq[29741]: started, version 2.55 cachesize 10000 Aug 18 07:26:50 apinger: Starting Alarm Pinger, apinger(21363) Aug 18 07:26:49 kernel: pflog0: promiscuous mode enabled Aug 18 07:26:49 kernel: Trying to mount root from ufs:/dev/ad4s1a Aug 18 07:26:49 kernel: uhub4: 8 ports with 8 removable, self powered Aug 18 07:26:49 kernel: Root mount waiting for: usbus4 Aug 18 07:26:49 kernel: SMP: AP CPU #2 Launched! Aug 18 07:26:49 kernel: lapic2: Forcing LINT1 to edge trigger Aug 18 07:26:49 kernel: SMP: AP CPU #3 Launched! Aug 18 07:26:49 kernel: lapic3: Forcing LINT1 to edge trigger Aug 18 07:26:49 kernel: SMP: AP CPU #1 Launched! Aug 18 07:26:49 kernel: lapic1: Forcing LINT1 to edge trigger Aug 18 07:26:49 kernel: acd0: DVDR <tsstcorp cddvdw="" sh-s223f="" sb03="">at ata3-master UDMA100 SATA Aug 18 07:26:49 kernel: uhub3: 2 ports with 2 removable, self powered Aug 18 07:26:49 kernel: uhub2: 2 ports with 2 removable, self powered Aug 18 07:26:49 kernel: uhub1: 2 ports with 2 removable, self powered Aug 18 07:26:49 kernel: uhub0: 2 ports with 2 removable, self powered Aug 18 07:26:49 kernel: uhub4: <intel 1="" 9="" ehci="" root="" hub,="" class="" 0,="" rev="" 2.00="" 1.00,="" addr="">on usbus4 Aug 18 07:26:49 kernel: ugen4.1: <intel>at usbus4 Aug 18 07:26:49 kernel: uhub3: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus3 Aug 18 07:26:49 kernel: ugen3.1: <intel>at usbus3 Aug 18 07:26:49 kernel: uhub2: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus2 Aug 18 07:26:49 kernel: ugen2.1: <intel>at usbus2 Aug 18 07:26:49 kernel: uhub1: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus1 Aug 18 07:26:49 kernel: ugen1.1: <intel>at usbus1 Aug 18 07:26:49 kernel: uhub0: <intel 1="" 9="" uhci="" root="" hub,="" class="" 0,="" rev="" 1.00="" 1.00,="" addr="">on usbus0 Aug 18 07:26:49 kernel: ugen0.1: <intel>at usbus0 Aug 18 07:26:49 kernel: ad4: 76319MB <seagate st98823as="" 3.03="">at ata2-master UDMA100 SATA Aug 18 07:26:49 kernel: usbus4: 480Mbps High Speed USB v2.0 Aug 18 07:26:49 kernel: usbus3: 12Mbps Full Speed USB v1.0 Aug 18 07:26:49 kernel: usbus2: 12Mbps Full Speed USB v1.0 Aug 18 07:26:49 kernel: usbus1: 12Mbps Full Speed USB v1.0 Aug 18 07:26:49 kernel: usbus0: 12Mbps Full Speed USB v1.0 Aug 18 07:26:49 kernel: IPsec: Initialized Security Association Processing. Aug 18 07:26:49 kernel: Timecounters tick every 1.000 msec Aug 18 07:26:49 kernel: RTC BIOS diagnostic error 80 <clock_battery>Aug 18 07:26:49 kernel: p4tcc3: <cpu frequency="" thermal="" control="">on cpu3 Aug 18 07:26:49 kernel: p4tcc2: <cpu frequency="" thermal="" control="">on cpu2 Aug 18 07:26:49 kernel: p4tcc1: <cpu frequency="" thermal="" control="">on cpu1 Aug 18 07:26:49 kernel: p4tcc0: <cpu frequency="" thermal="" control="">on cpu0 Aug 18 07:26:49 kernel: ppc0: parallel port not found. Aug 18 07:26:49 kernel: ata1: [ITHREAD] Aug 18 07:26:49 kernel: ata1 at port 0x170-0x177,0x376 irq 15 on isa0 Aug 18 07:26:49 kernel: ata0: [ITHREAD] Aug 18 07:26:49 kernel: ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 Aug 18 07:26:49 kernel: vga0: <generic isa="" vga="">at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Aug 18 07:26:49 kernel: sc0: VGA <16 virtual consoles, flags=0x300> Aug 18 07:26:49 kernel: sc0: <system console="">at flags 0x100 on isa0 Aug 18 07:26:49 kernel: orm0: <isa option="" rom="">at iomem 0xce000-0xcf7ff pnpid ORM0000 on isa0 Aug 18 07:26:49 kernel: pmtimer0 on isa0 Aug 18 07:26:49 kernel: atkbd0: [ITHREAD] Aug 18 07:26:49 kernel: atkbd0: [GIANT-LOCKED] Aug 18 07:26:49 kernel: kbd0 at atkbd0 Aug 18 07:26:49 kernel: atkbd0: <at keyboard="">irq 1 on atkbdc0 Aug 18 07:26:49 kernel: atkbdc0: <keyboard controller="" (i8042)="">port 0x60,0x64 irq 1 on acpi0 Aug 18 07:26:49 kernel: atrtc0: <at realtime="" clock="">port 0x70-0x71,0x74-0x77 irq 8 on acpi0 Aug 18 07:26:49 kernel: pci0: <serial bus,="" smbus="">at device 31.3 (no driver attached) Aug 18 07:26:49 kernel: ata3: [ITHREAD] Aug 18 07:26:49 kernel: ata3: <ata 1="" channel="">on atapci0 Aug 18 07:26:49 kernel: ata2: [ITHREAD] Aug 18 07:26:49 kernel: ata2: <ata 0="" channel="">on atapci0 Aug 18 07:26:49 kernel: atapci0: [ITHREAD] Aug 18 07:26:49 kernel: atapci0: <intel ich7="" sata300="" controller="">port 0x30b8-0x30bf,0x30cc-0x30cf,0x30b0-0x30b7,0x30c8-0x30cb,0x30a0-0x30af mem 0xe0384000-0xe03843ff irq 19 at device 31.2 on pci0 Aug 18 07:26:49 kernel: isa0: <isa bus="">on isab0 Aug 18 07:26:49 kernel: isab0: <pci-isa bridge="">at device 31.0 on pci0 Aug 18 07:26:49 kernel: fxp0: [ITHREAD] Aug 18 07:26:49 kernel: inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Aug 18 07:26:49 kernel: inphy0: <i82555 10="" 100="" media="" interface="">PHY 1 on miibus1 Aug 18 07:26:49 kernel: miibus1: <mii bus="">on fxp0 Aug 18 07:26:49 kernel: fxp0: <intel 100="" 82550="" pro="" ethernet="">port 0x1000-0x103f mem 0xe0120000-0xe0120fff,0xe0100000-0xe011ffff irq 21 at device 0.0 on pci5 Aug 18 07:26:49 kernel: pci5: <acpi pci="" bus="">on pcib5 Aug 18 07:26:49 kernel: pcib5: <acpi pci-pci="" bridge="">at device 30.0 on pci0 Aug 18 07:26:49 kernel: usbus4: <intel 82801gb="" r="" (ich7)="" usb="" 2.0="" controller="">on ehci0 Aug 18 07:26:49 kernel: usbus4: EHCI version 1.0 Aug 18 07:26:49 kernel: ehci0: [ITHREAD] Aug 18 07:26:49 kernel: ehci0: <intel 82801gb="" r="" (ich7)="" usb="" 2.0="" controller="">mem 0xe0384400-0xe03847ff irq 23 at device 29.7 on pci0 Aug 18 07:26:49 kernel: usbus3: <intel 82801g="" (ich7)="" usb="" controller="" usb-d="">on uhci3 Aug 18 07:26:49 kernel: uhci3: LegSup = 0x2f00 Aug 18 07:26:49 kernel: uhci3: [ITHREAD] Aug 18 07:26:49 kernel: uhci3: <intel 82801g="" (ich7)="" usb="" controller="" usb-d="">port 0x3020-0x303f irq 16 at device 29.3 on pci0 Aug 18 07:26:49 kernel: usbus2: <intel 82801g="" (ich7)="" usb="" controller="" usb-c="">on uhci2 Aug 18 07:26:49 kernel: uhci2: LegSup = 0x2f00 Aug 18 07:26:49 kernel: uhci2: [ITHREAD] Aug 18 07:26:49 kernel: uhci2: <intel 82801g="" (ich7)="" usb="" controller="" usb-c="">port 0x3040-0x305f irq 18 at device 29.2 on pci0 Aug 18 07:26:49 kernel: usbus1: <intel 82801g="" (ich7)="" usb="" controller="" usb-b="">on uhci1 Aug 18 07:26:49 kernel: uhci1: LegSup = 0x2f00 Aug 18 07:26:49 kernel: uhci1: [ITHREAD] Aug 18 07:26:49 kernel: uhci1: <intel 82801g="" (ich7)="" usb="" controller="" usb-b="">port 0x3060-0x307f irq 19 at device 29.1 on pci0 Aug 18 07:26:49 kernel: usbus0: <intel 82801g="" (ich7)="" usb="" controller="" usb-a="">on uhci0 Aug 18 07:26:49 kernel: uhci0: LegSup = 0x2f00 Aug 18 07:26:49 kernel: uhci0: [ITHREAD] Aug 18 07:26:49 kernel: uhci0: <intel 82801g="" (ich7)="" usb="" controller="" usb-a="">port 0x3080-0x309f irq 23 at device 29.0 on pci0 Aug 18 07:26:49 kernel: pci4: <acpi pci="" bus="">on pcib4 Aug 18 07:26:49 kernel: pcib4: <acpi pci-pci="" bridge="">at device 28.3 on pci0 Aug 18 07:26:49 kernel: pci3: <acpi pci="" bus="">on pcib3 Aug 18 07:26:49 kernel: pcib3: <acpi pci-pci="" bridge="">at device 28.2 on pci0 Aug 18 07:26:49 kernel: pci2: <acpi pci="" bus="">on pcib2 Aug 18 07:26:49 kernel: pcib2: <acpi pci-pci="" bridge="">at device 28.1 on pci0 Aug 18 07:26:49 kernel: re0: [FILTER] Aug 18 07:26:49 kernel: rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto Aug 18 07:26:49 kernel: rgephy0: <rtl8169s 8110s="" 8211b="" media="" interface="">PHY 1 on miibus0 Aug 18 07:26:49 kernel: miibus0: <mii bus="">on re0 Aug 18 07:26:49 kernel: re0: MAC rev. 0x00000000 Aug 18 07:26:49 kernel: re0: Chip rev. 0x28000000 Aug 18 07:26:49 kernel: re0: Using 1 MSI messages Aug 18 07:26:49 kernel: re0: <realtek 8111="" 8168="" b="" c="" cp="" d="" dp="" e="" pcie="" gigabit="" ethernet="">port 0x2000-0x20ff mem 0xe0004000-0xe0004fff,0xe0000000-0xe0003fff irq 16 at device 0.0 on pci1 Aug 18 07:26:49 kernel: pci1: <acpi pci="" bus="">on pcib1 Aug 18 07:26:49 kernel: pcib1: <acpi pci-pci="" bridge="">at device 28.0 on pci0 Aug 18 07:26:49 kernel: pci0: <multimedia, hda="">at device 27.0 (no driver attached) Aug 18 07:26:49 kernel: agp0: aperture size is 256M Aug 18 07:26:49 kernel: agp0: detected 8188k stolen memory Aug 18 07:26:49 kernel: agp0: <intel pineview="" svga="" controller="">on vgapci0 Aug 18 07:26:49 kernel: vgapci0: <vga-compatible display="">port 0x30c0-0x30c7 mem 0xe0300000-0xe037ffff,0xd0000000-0xdfffffff,0xe0200000-0xe02fffff irq 16 at device 2.0 on pci0 Aug 18 07:26:49 kernel: pci0: <acpi pci="" bus="">on pcib0 Aug 18 07:26:49 kernel: pcib0: <acpi host-pci="" bridge="">port 0xcf8-0xcff on acpi0 Aug 18 07:26:49 kernel: acpi_button0: <sleep button="">on acpi0 Aug 18 07:26:49 kernel: Timecounter "HPET" frequency 14318180 Hz quality 900 Aug 18 07:26:49 kernel: acpi_hpet0: <high precision="" event="" timer="">iomem 0xfed00000-0xfed003ff on acpi0 Aug 18 07:26:49 kernel: cpu3: <acpi cpu="">on acpi0 Aug 18 07:26:49 kernel: cpu2: <acpi cpu="">on acpi0 Aug 18 07:26:49 kernel: cpu1: <acpi cpu="">on acpi0 Aug 18 07:26:49 kernel: cpu0: <acpi cpu="">on acpi0 Aug 18 07:26:49 kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 Aug 18 07:26:49 kernel: Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 Aug 18 07:26:49 kernel: acpi0: Power Button (fixed) Aug 18 07:26:49 kernel: acpi0: [ITHREAD] Aug 18 07:26:49 kernel: acpi0: <intel mopnv10j="">on motherboard Aug 18 07:26:49 kernel: padlock0: No ACE support. Aug 18 07:26:49 kernel: cryptosoft0: <software crypto="">on motherboard Aug 18 07:26:49 kernel: kbd1 at kbdmux0 Aug 18 07:26:49 kernel: module_register_init: MOD_LOAD (wpi_fw, 0xc08ff270, 0) error 1 Aug 18 07:26:49 kernel: wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in /boot/loader.conf. Aug 18 07:26:49 kernel: wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/. Aug 18 07:26:49 kernel: wlan: mac acl policy registered Aug 18 07:26:49 kernel: module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc072c260, 0) error 1 Aug 18 07:26:49 kernel: ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. Aug 18 07:26:49 kernel: ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. Aug 18 07:26:49 kernel: module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc072c1a0, 0) error 1 Aug 18 07:26:49 kernel: ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. Aug 18 07:26:49 kernel: ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. Aug 18 07:26:49 kernel: module_register_init: MOD_LOAD (ipw_bss_fw, 0xc072c0e0, 0) error 1 Aug 18 07:26:49 kernel: ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. Aug 18 07:26:49 kernel: ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. Aug 18 07:26:49 kernel: lapic0: Forcing LINT1 to edge trigger Aug 18 07:26:49 kernel: ioapic0 <version 2.0="">irqs 0-23 on motherboard Aug 18 07:26:49 kernel: ioapic0: Changing APIC ID to 8 Aug 18 07:26:49 kernel: cpu3 (AP/HT): APIC ID: 3 Aug 18 07:26:49 kernel: cpu2 (AP): APIC ID: 2 Aug 18 07:26:49 kernel: cpu1 (AP/HT): APIC ID: 1 Aug 18 07:26:49 kernel: cpu0 (BSP): APIC ID: 0 Aug 18 07:26:49 kernel: FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads Aug 18 07:26:49 kernel: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs Aug 18 07:26:49 kernel: ACPI APIC Table: <intel mopnv10j="">Aug 18 07:26:49 kernel: avail memory = 1014943744 (967 MB) Aug 18 07:26:49 kernel: real memory = 1073741824 (1024 MB) Aug 18 07:26:49 kernel: TSC: P-state invariant Aug 18 07:26:49 kernel: AMD Features2=0x1 <lahf>Aug 18 07:26:49 kernel: AMD Features=0x20100000 <nx,lm>Aug 18 07:26:49 kernel: Features2=0x40e31d <sse3,dtes64,mon,ds_cpl,tm2,ssse3,cx16,xtpr,pdcm,movbe>Aug 18 07:26:49 kernel: Features=0xbfebfbff <fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe>Aug 18 07:26:49 kernel: Origin = "GenuineIntel" Id = 0x106ca Family = 6 Model = 1c Stepping = 10 Aug 18 07:26:49 kernel: CPU: Intel(R) Atom(TM) CPU D510 @ 1.66GHz (1672.67-MHz 686-class CPU) Aug 18 07:26:49 kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Aug 18 07:26:49 kernel: sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 Aug 18 07:26:49 kernel: FreeBSD 8.1-RELEASE #1: Tue Aug 17 03:27:49 EDT 2010 Aug 18 07:26:49 kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Aug 18 07:26:49 kernel: The Regents of the University of California. All rights reserved. Aug 18 07:26:49 kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Aug 18 07:26:49 kernel: Copyright (c) 1992-2010 The FreeBSD Project. Aug 18 07:26:49 kernel: cpu_reset: Stopping other CPUs Aug 18 07:26:49 kernel: Rebooting... Aug 18 07:26:49 kernel: Uptime: 41m34s Aug 18 07:26:49 kernel: All buffers synced. Aug 18 07:26:49 kernel: Syncing disks, vnodes remaining...0 0 done Aug 18 07:26:49 kernel: Waiting (max 60 seconds) for system process `syncer' to stop... Aug 18 07:26:49 kernel: Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Aug 18 07:26:49 kernel: Waiting (max 60 seconds) for system process `vnlru' to stop...done Aug 18 07:26:49 kernel: pflog0: promiscuous mode disabled Aug 18 07:26:49 syslogd: kernel boot file is /boot/kernel/kernel</fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,htt,tm,pbe></sse3,dtes64,mon,ds_cpl,tm2,ssse3,cx16,xtpr,pdcm,movbe></nx,lm></lahf></intel></version></software></intel></acpi></acpi></acpi></acpi></high></sleep></acpi></acpi></vga-compatible></intel></multimedia,></acpi></acpi></realtek></mii></rtl8169s></acpi></acpi></acpi></acpi></acpi></acpi></intel></intel></intel></intel></intel></intel></intel></intel></intel></intel></acpi></acpi></intel></mii></i82555></pci-isa></isa></intel></ata></ata></serial></at></keyboard></at></isa></system></generic></cpu></cpu></cpu></cpu></clock_battery></seagate></intel></intel></intel></intel></intel></intel></intel></intel></intel></intel></tsstcorp>
Entire PPP log (after restart):
Aug 18 07:42:49 ppp: [wan] IFACE: Up event Aug 18 07:42:49 ppp: [wan] IFACE: Add route 0.0.0.0/0 82.81.207.1 failed: File exists Aug 18 07:42:49 ppp: [wan] 82.81.207.202 -> 82.81.207.1 Aug 18 07:42:49 ppp: [wan] IPCP: LayerUp Aug 18 07:42:49 ppp: [wan] IPCP: state change Ack-Sent --> Opened Aug 18 07:42:49 ppp: [wan] SECDNS 62.219.186.7 Aug 18 07:42:49 ppp: [wan] PRIDNS 192.117.235.235 Aug 18 07:42:49 ppp: [wan] IPADDR 82.81.207.202 Aug 18 07:42:49 ppp: [wan] IPCP: rec'd Configure Ack #3 (Ack-Sent) Aug 18 07:42:49 ppp: [wan] SECDNS 62.219.186.7 Aug 18 07:42:49 ppp: [wan] PRIDNS 192.117.235.235 Aug 18 07:42:49 ppp: [wan] IPADDR 82.81.207.202 Aug 18 07:42:49 ppp: [wan] IPCP: SendConfigReq #3 Aug 18 07:42:49 ppp: [wan] SECDNS 62.219.186.7 Aug 18 07:42:49 ppp: [wan] PRIDNS 192.117.235.235 Aug 18 07:42:49 ppp: [wan] 82.81.207.202 is OK Aug 18 07:42:49 ppp: [wan] IPADDR 82.81.207.202 Aug 18 07:42:49 ppp: [wan] IPCP: rec'd Configure Nak #2 (Ack-Sent) Aug 18 07:42:49 ppp: [wan] SECDNS 0.0.0.0 Aug 18 07:42:49 ppp: [wan] PRIDNS 0.0.0.0 Aug 18 07:42:49 ppp: [wan] IPADDR 0.0.0.0 Aug 18 07:42:49 ppp: [wan] IPCP: SendConfigReq #2 Aug 18 07:42:49 ppp: [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Aug 18 07:42:49 ppp: [wan] IPCP: rec'd Configure Reject #1 (Ack-Sent) Aug 18 07:42:49 ppp: [wan] IPCP: state change Req-Sent --> Ack-Sent Aug 18 07:42:49 ppp: [wan] IPADDR 82.81.207.1 Aug 18 07:42:49 ppp: [wan] IPCP: SendConfigAck #58 Aug 18 07:42:49 ppp: [wan] 82.81.207.1 is OK Aug 18 07:42:49 ppp: [wan] IPADDR 82.81.207.1 Aug 18 07:42:49 ppp: [wan] IPCP: rec'd Configure Request #58 (Req-Sent) Aug 18 07:42:49 ppp: [wan] SECDNS 0.0.0.0 Aug 18 07:42:49 ppp: [wan] PRIDNS 0.0.0.0 Aug 18 07:42:49 ppp: [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Aug 18 07:42:49 ppp: [wan] IPADDR 0.0.0.0 Aug 18 07:42:49 ppp: [wan] IPCP: SendConfigReq #1 Aug 18 07:42:49 ppp: [wan] IPCP: state change Starting --> Req-Sent Aug 18 07:42:49 ppp: [wan] IPCP: Up event Aug 18 07:42:49 ppp: [wan] IPCP: LayerStart Aug 18 07:42:49 ppp: [wan] IPCP: state change Initial --> Starting Aug 18 07:42:49 ppp: [wan] IPCP: Open event Aug 18 07:42:49 ppp: [wan] Bundle: Status update: up 1 link, total bandwidth 64000 bps Aug 18 07:42:49 ppp: [wan_link0] Link: Join bundle "wan" Aug 18 07:42:49 ppp: [wan_link0] Link: Matched action 'bundle "wan" ""' Aug 18 07:42:49 ppp: [wan_link0] LCP: authorization successful Aug 18 07:42:49 ppp: [wan_link0] PAP: rec'd ACK #1 len: 5 Aug 18 07:42:49 ppp: [wan_link0] LCP: LayerUp Aug 18 07:42:49 ppp: [wan_link0] PAP: sending REQUEST #1 len: 19 Aug 18 07:42:49 ppp: [wan_link0] PAP: using authname "Micky" Aug 18 07:42:49 ppp: [wan_link0] LCP: auth: peer wants PAP, I want nothing Aug 18 07:42:49 ppp: [wan_link0] LCP: state change Ack-Sent --> Opened Aug 18 07:42:49 ppp: [wan_link0] MAGICNUM d6ffbf44 Aug 18 07:42:49 ppp: [wan_link0] MRU 1500 Aug 18 07:42:49 ppp: [wan_link0] LCP: rec'd Configure Ack #3 (Ack-Sent) Aug 18 07:42:49 ppp: [wan_link0] MAGICNUM d6ffbf44 Aug 18 07:42:49 ppp: [wan_link0] MRU 1500 Aug 18 07:42:49 ppp: [wan_link0] LCP: SendConfigReq #3 Aug 18 07:42:49 ppp: [wan_link0] PROTOCOMP Aug 18 07:42:49 ppp: [wan_link0] ACFCOMP Aug 18 07:42:49 ppp: [wan_link0] LCP: rec'd Configure Reject #2 (Ack-Sent) Aug 18 07:42:49 ppp: [wan_link0] MAGICNUM d6ffbf44 Aug 18 07:42:49 ppp: [wan_link0] MRU 1500 Aug 18 07:42:49 ppp: [wan_link0] PROTOCOMP Aug 18 07:42:49 ppp: [wan_link0] ACFCOMP Aug 18 07:42:49 ppp: [wan_link0] LCP: SendConfigReq #2 Aug 18 07:42:47 ppp: [wan_link0] LCP: state change Req-Sent --> Ack-Sent Aug 18 07:42:47 ppp: [wan_link0] MAGICNUM 7fb2d5fd Aug 18 07:42:47 ppp: [wan_link0] AUTHPROTO PAP Aug 18 07:42:47 ppp: [wan_link0] MRU 1500 Aug 18 07:42:47 ppp: [wan_link0] LCP: SendConfigAck #33 Aug 18 07:42:47 ppp: [wan_link0] MAGICNUM 7fb2d5fd Aug 18 07:42:47 ppp: [wan_link0] AUTHPROTO PAP Aug 18 07:42:47 ppp: [wan_link0] MRU 1500 Aug 18 07:42:47 ppp: [wan_link0] LCP: rec'd Configure Request #33 (Req-Sent) Aug 18 07:42:47 ppp: [wan_link0] MAGICNUM d6ffbf44 Aug 18 07:42:47 ppp: [wan_link0] MRU 1500 Aug 18 07:42:47 ppp: [wan_link0] PROTOCOMP Aug 18 07:42:47 ppp: [wan_link0] ACFCOMP Aug 18 07:42:47 ppp: [wan_link0] LCP: SendConfigReq #1 Aug 18 07:42:47 ppp: [wan_link0] LCP: state change Starting --> Req-Sent Aug 18 07:42:47 ppp: [wan_link0] LCP: Up event Aug 18 07:42:47 ppp: [wan_link0] Link: UP event Aug 18 07:42:47 ppp: [wan_link0] L2TP: Call #6950000 connected Aug 18 07:42:47 ppp: [wan_link0] L2TP: Incoming call #6950000 via control connection 0x287d0d08 initiated Aug 18 07:42:47 ppp: L2TP: Control connection 0x287d0d08 172.28.142.143 62612 <-> 212.25.127.14 1701 connected Aug 18 07:42:47 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:42:47 ppp: [wan_link0] LCP: LayerStart Aug 18 07:42:47 ppp: [wan_link0] LCP: state change Initial --> Starting Aug 18 07:42:47 ppp: [wan_link0] LCP: Open event Aug 18 07:42:47 ppp: [wan_link0] Link: OPEN event Aug 18 07:42:47 ppp: option "windowing" unknown Aug 18 07:42:47 ppp: [wan] Bundle: Interface ng0 created Aug 18 07:42:47 ppp: web: web is not running Aug 18 07:42:46 ppp: process 38787 terminated Aug 18 07:42:46 ppp: [wan_link0] Link: Shutdown Aug 18 07:42:46 ppp: [wan] Bundle: Shutdown Aug 18 07:42:46 ppp: waiting for process 38787 to die... Aug 18 07:42:46 ppp: process 1499 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 17:45 2-Jul-2010) Aug 18 07:42:46 ppp: Aug 18 07:42:46 ppp: Multi-link PPP daemon for FreeBSD Aug 18 07:42:45 ppp: [wan_link0] LCP: state change Closing --> Initial Aug 18 07:42:45 ppp: [wan_link0] LCP: LayerFinish Aug 18 07:42:45 ppp: [wan_link0] LCP: Down event Aug 18 07:42:45 ppp: [wan_link0] Link: DOWN event Aug 18 07:42:45 ppp: [wan_link0] L2TP: call #3560000 terminated: result=1 error=0 errmsg="Received PPP Terminate Request" Aug 18 07:42:44 ppp: [wan_link0] LCP: state change Stopping --> Closing Aug 18 07:42:44 ppp: [wan_link0] LCP: Close event Aug 18 07:42:44 ppp: [wan_link0] Link: CLOSE event Aug 18 07:42:44 ppp: [wan_link0] LCP: LayerDown Aug 18 07:42:44 ppp: [wan_link0] LCP: SendTerminateAck #3 Aug 18 07:42:44 ppp: [wan] IPCP: state change Closed --> Initial Aug 18 07:42:44 ppp: [wan] IPCP: Down event Aug 18 07:42:44 ppp: [wan] IPCP: Close event Aug 18 07:42:44 ppp: [wan] Bundle: Status update: up 0 links, total bandwidth 9600 bps Aug 18 07:42:44 ppp: [wan_link0] Link: Leave bundle "wan" Aug 18 07:42:44 ppp: [wan_link0] LCP: state change Opened --> Stopping Aug 18 07:42:44 ppp: [wan_link0] LCP: rec'd Terminate Request #94 (Opened) Aug 18 07:42:44 ppp: [wan] Bundle: closing link "wan_link0"... Aug 18 07:42:44 ppp: [wan] Bundle: No NCPs left. Closing links... Aug 18 07:42:44 ppp: [wan] IPCP: LayerFinish Aug 18 07:42:44 ppp: [wan] IPCP: state change Closing --> Closed Aug 18 07:42:44 ppp: [wan] IPCP: rec'd Terminate Ack #4 (Closing) Aug 18 07:42:44 ppp: [wan] IFACE: Down event Aug 18 07:42:44 ppp: [wan] IFACE: Removing IPv4 address from l2tp0 failed: Can't assign requested address Aug 18 07:42:44 ppp: [wan] IPCP: LayerDown Aug 18 07:42:44 ppp: [wan] IPCP: SendTerminateReq #4 Aug 18 07:42:44 ppp: [wan] IPCP: state change Opened --> Closing Aug 18 07:42:44 ppp: [wan] IPCP: Close event Aug 18 07:42:44 ppp: [wan] IFACE: Close event Aug 18 07:42:44 ppp: caught fatal signal term Aug 18 07:42:07 ppp: L2TP: Control connection 0x287d0a08 destroyed Aug 18 07:42:00 ppp: [wan] IFACE: Up event Aug 18 07:42:00 ppp: [wan] IFACE: Add route 0.0.0.0/0 82.81.207.1 failed: File exists Aug 18 07:42:00 ppp: [wan] 82.81.207.157 -> 82.81.207.1 Aug 18 07:42:00 ppp: [wan] IPCP: LayerUp Aug 18 07:42:00 ppp: [wan] IPCP: state change Ack-Sent --> Opened Aug 18 07:42:00 ppp: [wan] SECDNS 62.219.186.7 Aug 18 07:42:00 ppp: [wan] PRIDNS 192.117.235.235 Aug 18 07:42:00 ppp: [wan] IPADDR 82.81.207.157 Aug 18 07:42:00 ppp: [wan] IPCP: rec'd Configure Ack #3 (Ack-Sent) Aug 18 07:42:00 ppp: [wan] SECDNS 62.219.186.7 Aug 18 07:42:00 ppp: [wan] PRIDNS 192.117.235.235 Aug 18 07:42:00 ppp: [wan] IPADDR 82.81.207.157 Aug 18 07:42:00 ppp: [wan] IPCP: SendConfigReq #3 Aug 18 07:42:00 ppp: [wan] SECDNS 62.219.186.7 Aug 18 07:42:00 ppp: [wan] PRIDNS 192.117.235.235 Aug 18 07:42:00 ppp: [wan] 82.81.207.157 is OK Aug 18 07:42:00 ppp: [wan] IPADDR 82.81.207.157 Aug 18 07:42:00 ppp: [wan] IPCP: rec'd Configure Nak #2 (Ack-Sent) Aug 18 07:42:00 ppp: [wan] SECDNS 0.0.0.0 Aug 18 07:42:00 ppp: [wan] PRIDNS 0.0.0.0 Aug 18 07:42:00 ppp: [wan] IPADDR 0.0.0.0 Aug 18 07:42:00 ppp: [wan] IPCP: SendConfigReq #2 Aug 18 07:42:00 ppp: [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Aug 18 07:42:00 ppp: [wan] IPCP: rec'd Configure Reject #1 (Ack-Sent) Aug 18 07:42:00 ppp: [wan] IPCP: state change Req-Sent --> Ack-Sent Aug 18 07:42:00 ppp: [wan] IPADDR 82.81.207.1 Aug 18 07:42:00 ppp: [wan] IPCP: SendConfigAck #45 Aug 18 07:42:00 ppp: [wan] 82.81.207.1 is OK Aug 18 07:42:00 ppp: [wan] IPADDR 82.81.207.1 Aug 18 07:42:00 ppp: [wan] IPCP: rec'd Configure Request #45 (Req-Sent) Aug 18 07:42:00 ppp: [wan] SECDNS 0.0.0.0 Aug 18 07:42:00 ppp: [wan] PRIDNS 0.0.0.0 Aug 18 07:42:00 ppp: [wan] COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Aug 18 07:42:00 ppp: [wan] IPADDR 0.0.0.0 Aug 18 07:42:00 ppp: [wan] IPCP: SendConfigReq #1 Aug 18 07:42:00 ppp: [wan] IPCP: state change Starting --> Req-Sent Aug 18 07:42:00 ppp: [wan] IPCP: Up event Aug 18 07:42:00 ppp: [wan] IPCP: LayerStart Aug 18 07:42:00 ppp: [wan] IPCP: state change Initial --> Starting Aug 18 07:42:00 ppp: [wan] IPCP: Open event Aug 18 07:42:00 ppp: [wan] Bundle: Status update: up 1 link, total bandwidth 64000 bps Aug 18 07:42:00 ppp: [wan_link0] Link: Join bundle "wan" Aug 18 07:42:00 ppp: [wan_link0] Link: Matched action 'bundle "wan" ""' Aug 18 07:42:00 ppp: [wan_link0] LCP: authorization successful Aug 18 07:42:00 ppp: [wan_link0] PAP: rec'd ACK #1 len: 5 Aug 18 07:42:00 ppp: [wan_link0] LCP: LayerUp Aug 18 07:42:00 ppp: [wan_link0] PAP: sending REQUEST #1 len: 19 Aug 18 07:42:00 ppp: [wan_link0] PAP: using authname "Micky" Aug 18 07:42:00 ppp: [wan_link0] LCP: auth: peer wants PAP, I want nothing Aug 18 07:42:00 ppp: [wan_link0] LCP: state change Ack-Sent --> Opened Aug 18 07:42:00 ppp: [wan_link0] MAGICNUM 6cb8d461 Aug 18 07:42:00 ppp: [wan_link0] MRU 1500 Aug 18 07:42:00 ppp: [wan_link0] LCP: rec'd Configure Ack #2 (Ack-Sent) Aug 18 07:42:00 ppp: [wan_link0] MAGICNUM 6cb8d461 Aug 18 07:42:00 ppp: [wan_link0] MRU 1500 Aug 18 07:42:00 ppp: [wan_link0] LCP: SendConfigReq #2 Aug 18 07:42:00 ppp: [wan_link0] PROTOCOMP Aug 18 07:42:00 ppp: [wan_link0] ACFCOMP Aug 18 07:42:00 ppp: [wan_link0] LCP: rec'd Configure Reject #1 (Ack-Sent) Aug 18 07:42:00 ppp: [wan_link0] LCP: state change Req-Sent --> Ack-Sent Aug 18 07:42:00 ppp: [wan_link0] MAGICNUM 2c7d6d3c Aug 18 07:42:00 ppp: [wan_link0] AUTHPROTO PAP Aug 18 07:42:00 ppp: [wan_link0] MRU 1500 Aug 18 07:42:00 ppp: [wan_link0] LCP: SendConfigAck #93 Aug 18 07:42:00 ppp: [wan_link0] MAGICNUM 2c7d6d3c Aug 18 07:42:00 ppp: [wan_link0] AUTHPROTO PAP Aug 18 07:42:00 ppp: [wan_link0] MRU 1500 Aug 18 07:42:00 ppp: [wan_link0] LCP: rec'd Configure Request #93 (Req-Sent) Aug 18 07:42:00 ppp: [wan_link0] MAGICNUM 6cb8d461 Aug 18 07:42:00 ppp: [wan_link0] MRU 1500 Aug 18 07:42:00 ppp: [wan_link0] PROTOCOMP Aug 18 07:42:00 ppp: [wan_link0] ACFCOMP Aug 18 07:42:00 ppp: [wan_link0] LCP: SendConfigReq #1 Aug 18 07:42:00 ppp: [wan_link0] LCP: state change Starting --> Req-Sent Aug 18 07:42:00 ppp: [wan_link0] LCP: Up event Aug 18 07:42:00 ppp: [wan_link0] Link: UP event Aug 18 07:42:00 ppp: [wan_link0] L2TP: Call #3560000 connected Aug 18 07:41:59 ppp: [wan_link0] L2TP: Incoming call #3560000 via control connection 0x287d0d08 initiated Aug 18 07:41:59 ppp: L2TP: Control connection 0x287d0d08 172.28.142.143 13049 <-> 212.25.127.14 1701 connected Aug 18 07:41:59 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:41:59 ppp: [wan_link0] Link: reconnection attempt 6 Aug 18 07:41:56 ppp: [wan_link0] Link: reconnection attempt 6 in 3 seconds Aug 18 07:41:56 ppp: [wan_link0] LCP: Down event Aug 18 07:41:56 ppp: [wan_link0] Link: DOWN event Aug 18 07:41:56 ppp: L2TP: Control connection 0x287d0a08 terminated: 6 (expecting reply; none received) Aug 18 07:41:04 ppp: L2TP: Control connection 0x287d0d08 destroyed Aug 18 07:40:56 ppp: L2TP: Initiating control connection 0x287d0a08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:40:56 ppp: [wan_link0] Link: reconnection attempt 5 Aug 18 07:40:53 ppp: [wan_link0] Link: reconnection attempt 5 in 3 seconds Aug 18 07:40:53 ppp: [wan_link0] LCP: Down event Aug 18 07:40:53 ppp: [wan_link0] Link: DOWN event Aug 18 07:40:53 ppp: L2TP: Control connection 0x287d0d08 terminated: 6 (expecting reply; none received) Aug 18 07:39:59 ppp: L2TP: Control connection 0x287d0a08 destroyed Aug 18 07:39:52 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:39:52 ppp: [wan_link0] Link: reconnection attempt 4 Aug 18 07:39:48 ppp: [wan_link0] Link: reconnection attempt 4 in 4 seconds Aug 18 07:39:48 ppp: [wan_link0] LCP: Down event Aug 18 07:39:48 ppp: [wan_link0] Link: DOWN event Aug 18 07:39:48 ppp: L2TP: Control connection 0x287d0a08 terminated: 6 (expecting reply; none received) Aug 18 07:38:58 ppp: L2TP: Control connection 0x287d0d08 destroyed Aug 18 07:38:48 ppp: L2TP: Initiating control connection 0x287d0a08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:38:48 ppp: [wan_link0] Link: reconnection attempt 3 Aug 18 07:38:47 ppp: [wan_link0] Link: reconnection attempt 3 in 1 seconds Aug 18 07:38:47 ppp: [wan_link0] LCP: Down event Aug 18 07:38:47 ppp: [wan_link0] Link: DOWN event Aug 18 07:38:47 ppp: L2TP: Control connection 0x287d0d08 terminated: 6 (expecting reply; none received) Aug 18 07:37:54 ppp: L2TP: Control connection 0x287d0a08 destroyed Aug 18 07:37:47 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:37:47 ppp: [wan_link0] Link: reconnection attempt 2 Aug 18 07:37:43 ppp: [wan_link0] Link: reconnection attempt 2 in 4 seconds Aug 18 07:37:43 ppp: [wan_link0] LCP: Down event Aug 18 07:37:43 ppp: [wan_link0] Link: DOWN event Aug 18 07:37:43 ppp: L2TP: Control connection 0x287d0a08 terminated: 6 (expecting reply; none received) Aug 18 07:36:49 ppp: L2TP: Control connection 0x287d0d08 destroyed Aug 18 07:36:42 ppp: L2TP: Initiating control connection 0x287d0a08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:36:42 ppp: [wan_link0] Link: reconnection attempt 1 Aug 18 07:36:38 ppp: [wan_link0] Link: reconnection attempt 1 in 4 seconds Aug 18 07:36:38 ppp: [wan_link0] LCP: Down event Aug 18 07:36:38 ppp: [wan_link0] Link: DOWN event Aug 18 07:36:38 ppp: L2TP: Control connection 0x287d0d08 terminated: 6 (expecting reply; none received) Aug 18 07:35:38 ppp: L2TP: Initiating control connection 0x287d0d08 172.28.142.143 0 <-> 212.25.127.14 1701 Aug 18 07:35:38 ppp: [wan_link0] LCP: LayerStart Aug 18 07:35:38 ppp: [wan_link0] LCP: state change Initial --> Starting Aug 18 07:35:38 ppp: [wan_link0] LCP: Open event Aug 18 07:35:38 ppp: [wan_link0] Link: OPEN event Aug 18 07:35:38 ppp: option "windowing" unknown Aug 18 07:35:38 ppp: [wan] Bundle: Interface ng0 created Aug 18 07:35:38 ppp: web: web is not running Aug 18 07:35:38 ppp: process 38787 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 17:45 2-Jul-2010) Aug 18 07:35:38 ppp: Aug 18 07:35:38 ppp: Multi-link PPP daemon for FreeBSD
-
Ermal,
I looked up this network/ISP configuration online and found a few references. This setup is in Israel and the connection they have works like this: http://www.megavolt.co.il/connecting/ISP/chooseISP.html
(from provided link)
Consumers who want to connect to the internet in Israel must purchase two services, an “infrastructure” service (known in Hebrew as “tashtit”) and an ISP (“internet service provider”) service. Each without the other is of no value. There are currently two infrastructure providers in Israel, Bezeq - the telephone company, and HOT - the cable company. There are a number of internet service providers, with 5 major ISP’s sharing the bulk of the market.
(Bezeq, the teleco, uses PPPoE, but that's not what we're discussing here. This thread is only about users that get internet via Cable.)
Step 1: User selects an ISP, say NetVision, and enters a hostname given by ISP into the "Gateway" field in the L2TP/PPTP setup pages. User also sets up OPT1 as DHCP interface and uses the same physical interface as the L2TP/PPTP connection uses.
Step 2: pfSense box does a DHCP request through the cable box, and this request gets routed by the cable box to the cable company's servers which hand out an IP address to pfSense.
Step 3: Then, pfSense needs to do a DNS query to the servers just received in the DHCP response. It queries for the IP of the hostname entered into the "Gateway" field in Step 1. This IP is then used as the Gateway for the L2TP/PPTP link, connecting the user to their ISP.
Hope this helps understand what is happening with these guys.
GB
-
Well, Adding this
$parent_gw = get_interface_gateway($port); mwexec("route add -host {$gateways[$pid]} {$parent_gw}");
Into Interfaces.inc at line 1101 Solved the gateway/"dialing on restart" problems
(the entire block:)/* We bring up the parent interface first because if DHCP is configured on the parent we need to obtain an address first so we can write it in the mpd .conf file for PPTP and L2TP configs */ foreach($ports as $pid => $port){ switch ($ppp['type']) { case "pppoe": /* Bring the parent interface up */ interfaces_bring_up($port); break; case "pptp": case "l2tp": /* configure interface */ if(is_ipaddr($localips[$pid])){ // Manually configure interface IP/subnet pfSense_interface_setaddress($port, "{$localips[$pid]}/{$subnets[$pid]}"); interfaces_bring_up($port); } else if (empty($localips[$pid])) $localips[$pid] = get_interface_ip($port); // try to get the interface IP from the port if(!is_ipaddr($localips[$pid])){ log_error("Could not get a Local IP address for PPTP/L2TP link on {$port} in interfaces_ppps_configure."); return 0; } /* XXX: This needs to go away soon! [It's commented out!] */ /* Configure the gateway (remote IP ) */ if (!$g['booting'] && !is_ipaddr($gateways[$pid]) && is_hostname($gateways[$pid])) { /* XXX: Fix later $gateways[$pid] = gethostbyname($gateways[$pid]); if(!is_ipaddr($gateways[$pid])) { log_error("Could not get a valid Gateway IP from {$port} via DNS in interfaces_ppps_configure."); return 0; } */ } if(!is_ipaddr($gateways[$pid])){ log_error("Could not get a PPTP/L2TP Remote IP address from {$dhcp_gateway} for {$gway} in interfaces_ppps_configure."); return 0; } $parent_gw = get_interface_gateway($port); mwexec("route add -host {$gateways[$pid]} {$parent_gw}"); break; case "ppp": if (!file_exists("{$port}")) { log_error("Device {$port} does not exist. PPP link cannot start without the modem device."); return 0; } break; default: log_error("Unkown {$type} configured as ppp interface."); break; } }
I still don't know how to make it dial on boot…..edit: And i still see only one gateway (the dhcp (opt1) ) in Status->Gateways but the routes are correct and in
System->routing there are 2 gatewaysin function interface_bring_down Added:
$int_list = get_configured_interface_list_by_realif(); if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) { foreach ($config['ppps']['ppp'] as $pppid => $ppp) { if ($ppp['type'] == 'pptp' || $ppp['type'] == 'l2tp') { $ports = explode(',',$ppp['ports']); foreach($ports as $pid => $port){ if ($port == $interface) { interface_bring_down($int_list[$ppp['if']]); } } } } }
Entire part:
function interface_bring_down($interface = "wan", $destroy = false) { global $config, $g; if (!isset($config['interfaces'][$interface])) return; $ifcfg = $config['interfaces'][$interface]; $realif = get_real_interface($interface); $int_list = get_configured_interface_list_by_realif(); if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) { foreach ($config['ppps']['ppp'] as $pppid => $ppp) { if ($ppp['type'] == 'pptp' || $ppp['type'] == 'l2tp') { $ports = explode(',',$ppp['ports']); foreach($ports as $pid => $port){ if ($port == $interface) { interface_bring_down($int_list[$ppp['if']]); } } } } } switch ($ifcfg['ipaddr']) { case "ppp": case "pppoe": case "pptp": case "l2tp": if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) { foreach ($config['ppps']['ppp'] as $pppid => $ppp) { if ($realif == $ppp['if']) { if (file_exists("{$g['varrun_path']}/{$ifcfg['ipaddr']}_{$interface}.pid")) { killbypid("{$g['varrun_path']}/{$ifcfg['ipaddr']}_{$interface}.pid"); sleep(2); } unlink_if_exists("{$g['varetc_path']}/mpd_{$interface}.conf"); if (isset($ppp['ondemand']) && !$destroy) { interface_configure($interface); } break; } } } break; case "carpdev-dhcp": /* * NB: When carpdev gets enabled it would be better to be handled as all * other interfaces! */
And in function interface_dhcp_configure Added at the end:
$int_list = get_configured_interface_list_by_realif(); if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) { foreach ($config['ppps']['ppp'] as $pppid => $ppp) { if ($ppp['type'] == 'pptp' || $ppp['type'] == 'l2tp') { $ports = explode(',',$ppp['ports']); foreach($ports as $pid => $port){ if ($port == $interface) { interface_ppps_configure($int_list[$ppp['if']]); } } } } }
Entire part:
/* bring wan interface up before starting dhclient */ if($wanif) interfaces_bring_up($wanif); else log_error("Could not bring up {$wanif} interface in interface_dhcp_configure()"); /* fire up dhclient */ mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_{$interface}.conf {$wanif} > {$g['tmp_path']}/{$wanif}_output > {$g['tmp_path']}/{$wanif}_error_output"); $int_list = get_configured_interface_list_by_realif(); if (is_array($config['ppps']['ppp']) && count($config['ppps']['ppp'])) { foreach ($config['ppps']['ppp'] as $pppid => $ppp) { if ($ppp['type'] == 'pptp' || $ppp['type'] == 'l2tp') { $ports = explode(',',$ppp['ports']); foreach($ports as $pid => $port){ if ($port == $interface) { interface_ppps_configure($int_list[$ppp['if']]); } } } } } return 0; }
So now it reconnects on reboot and on physical wan unplug-plug event.
Probably not the correct way to this but it works. -
Hi,
are there any news on this? Are Micky's suggestions implemented?
Unfortunately, it's impossible for me to test it in production, but I'd be happy to try a more stable version of this.Thanks.
-
Micky's suggestions aren't implemented.
I'm sure what he's done works, and there are lots of ways to make this one use case work, but pfSense has to support so many network topologies that we need to make sure it's done in a clean and maintainable way and we haven't sorted that out yet.We're still discussing this issue among the devs and trying to figure out if and how to officially get the functionality into the code base.
See here for example: http://redmine.pfsense.org/issues/838 (This is one small issue that needed to be cleared up before we can possibly support your network/ISP configuration.)
GB
-
pfSense has to support so many network topologies that we need to make sure it's done in a clean and maintainable way
No argument here.
See here for example: http://redmine.pfsense.org/issues/838 (This is one small issue that needed to be cleared up before we can possibly support your network/ISP configuration.)
it seems like this is issue is resolved, isn't it?
Anyway, just wanted to make sure this problem is being worked on and whether I can start testing it.
Thanks. -
pfSense has to support so many network topologies that we need to make sure it's done in a clean and maintainable way
No argument here.
See here for example: http://redmine.pfsense.org/issues/838 (This is one small issue that needed to be cleared up before we can possibly support your network/ISP configuration.)
it seems like this is issue is resolved, isn't it?
Anyway, just wanted to make sure this problem is being worked on and whether I can start testing it.
Thanks.hi all,
is there any news regarding this issue ? -
guys, is there any update on this?
-
I triad again several snaps ago and it was not working. :'(
-
For info in France we have an ISP with same problem :
Numericable with DHCP for classic client.
For Fixed IP, they use a L2TP tunnel on WAN. -
Does the DHCP server give you a public IP address?
GB -
Hi,
so as I understand this whole thing will not make it into the 2.0 release?
Will we have to manually do the changes Micky was doing?
Or is it also obsolete due to some changes in the code?Thanks.
-
Yes default mode is a public ip from DHCP.
And if you want to use the static IP you have to go to L2TP. -
Guldil,
pretty much like us, only it's not very easy to get the ISP give you a DHCP public IP (you have to fight for that). But most businesses only use static IPs so it's irrelevant. We need the PPTP/L2TP badly. -
It's really annoying for us because we have really good transfer :
30Mbps download / 1Mbps Upload and some of us have 100 Mbps download / 5 mbps upload…And the really bad part of this, looks like my current router dont have the CPU to handle the L2TP tunnel at 30Mbps... so i don't use my static ip :(
-
The way it is set at the moment is that every ISP "give" HOT, the cable company a block of IP's.
Hot know what client is connected with what ISP using the cable modem's MAC. using this it assign the client a IP from the ISP's block and do MPLS routing to the ISP's network. this way when the MPLS is done, the client already have the correct IP,DNS and any other settings it need and all it need to do is request them using DHCP.BUT-
If you want a static IP, you cant use MPLS and you need to go back to the old way - L2TP or PPTP. this is the only way the ISP's system can recognize you by the user/pass and "assigne" you the correct static IP.I need a static IP so I need this to work.
At the moment I use another router in the middle that all it's doing is the L2TP connection. -
Hi roi,
I used to have another router(Level One) too in work environment for connecting to PPTP, however it's not very practical since these small $50 pieces of sh#t can't really handle the load of 70-80 users surfing the 3x10Mb lines.
The RRD quality graph would show over a 100ms just pinging the router from pfSense, because it was so overloaded.
And of course, buying an expensive equipment just for dialing - doesn't make sense.By the way, I don't know if any of you know this, but there's a guy named Evgeny, that created a package for doing something very similar but for version 1.2.3: http://ru.doc.pfsense.org/dhcppptp/dhcppptp_v0.tar.gz
http://forum.pfsense.org/index.php/topic,24734.msg128543.html#msg128543I couldn't test it, since my firewall is in very production, but I should warn you that:
a. It's made for russian ISPs
b. He says it's a total alpha, so no guaranteesBut maybe, just maybe, someone can adapt his work and create something similar for 2.0. Maybe it's good that it comes in a package form?
-
But do you need a static IP on each of these connections and are they all with Hot ?
Can't you move some of these connections to MPLS and use only one with L2TP/PPTP for a static IP ? -
I wish. But we have several server farms (with pfsense of course) and we need to connect to the servers there - I can't change IPs every time the DHCP changes address.
-
This is by far a great FW with the L2TP/PPTP the only limitation for me.
I had to move to a PPTP/L2TP solution as the ISPs are forcing this by giving crappy service on DHCP only service.
Currently I installed a virtual linux with xl2tp client and so making double nat on linux and pfsense.I'm very experienced in networking, worked at the engineering of one of the ISP's in Israel.
I will try to make a very detailed general explanation of the process (not specific to how it should look on pf-sense):Setup before the process: l2tp/pptp server (not just IP, can be DNS entry of server), user/password
1.) Router (any router, could be windows client) - sends DHCP request to the cable company (not the ISP).
2.) Router Gets DHCP address from cable company - usually a private address but it doesn't matter if its public
3.) Router also get from DHCP default GW to the cable company and DNSes of the cable company (not DNS of the ISPs)
4.) Router performs DNS query for the l2tp/pptp server IP (the cable company has in their DNS servers all the servers of all the ISP's)
5.) Router should add static route of the IP it got to the l2tp/pptp server to the default GW of the cable company (as when the tunnels is created the default gw changes to it and we then can loose the tunnel)
6.) open l2tp/pptp tunnel to the IP we got
7.) remove the current default gw and change the gw to the tunnel interface (could be that default gw is pushed from the l2tp/pptp protocol so we just use it, but still remove the default gw of the cable company)
8.) DNSes are also pushed from the l2tp/pptp connectionWhat I do on linux scripts is save the resolve.conf of the cables, also get the default cables gw and resolved ip of the l2tp/pptp server to add the static route so the l2tp/pptp tunnel still goes to the cables GW and the rest of the traffic flows through the ppp0 tunnel interface
example:
I got from the cables a DHCP address of: 172.16.200.100 gw: 172.16.200.1 DNS: 192.168.101.101 (yes dns is private IP)
I resolve l2tp.bezeq.net to: 208.73.210.29
I route add 208.73.210.29/32 to (cables) gw 172.16.200.1
I open l2tp tunnel to: 208.73.210.29
on successful connection I add default gw to ppp0 interface (if not pushed from the tunnel, usually in configuration option on the l2tp client if dgw accepted), I should have also gotten the ISPs DNS servers from the tunnel.Hope this helps, please let me know if more information is needed.
I would love to see it works on pfsense.