Date: Tue, 28 Aug 2007 12:48:54 +0200 From: deeptech71@gmail.com To: freebsd-questions@freebsd.org Subject: Re: i can't get ppp running Message-ID: <46D3FD96.7060308@gmail.com> In-Reply-To: <46D3E031.60908@math.arizona.edu> References: <46D3DF1F.4070804@gmail.com> <46D3E031.60908@math.arizona.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
What does configuring the modem in bridging mode means? ====================================================================== ========================= ppp.conf ============================= ====================================================================== default: set device PPPoE:rl0 set MTU 1492 set MRU 1492 set crtscts off set speed sync #set timeout 0 #set redial 0 0 enable lqr #disable deflate #disable pred1 #disable vjcomp #disable acfcomp #disable protocomp set log Phase tun LCP IPCP CCP Warning Error Alert set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 add default HISADDR #enable proxy #nat enable yes #nat log yes #nat same_ports yes #nat unregistered_only yes #nat deny_incoming yes dsl: set login set authname q123@qwerty.comg set authkey asd12345 ====================================================================== ========================= rc.conf ============================== ====================================================================== usbd_enable="YES" inetd_enable="YES" hostname="some.host.name" #defaultrouter="192.168.123.254" ifconfig_ed0="inet 192.168.123.251 netmask 255.255.255.0" ifconfig_rl0="up" rpcbind_enable="YES" nfs_server_enable="YES" nfs_client_enable="YES" mountd_flags="-r" firewall_enable="YES" firewall_type="open" #firewall_type="/etc/rc.firewall.local" #firewall_quiet="YES" firewall_logging="YES" #ppp_enable="YES" #ppp_mode="ddial" #ppp_profile="dsl" #ppp_nat="YES" gateway_enable="YES" #natd_enable="YES" #natd_interface="tun0" #natd_flags="-dynamic" #router_enable="NO" ====================================================================== ======================= sysctl.conf ============================ ====================================================================== net.link.ether.bridge.config=rl0:0,ed0:0 net.link.ether.bridge.ipfw=1 net.link.ether.bridge.enable=1 net.inet.ip.forwarding=1 ====================================================================== ========================= ppp.log ============================== ====================================================================== Aug 28 03:58:21 cp ppp[786]: Phase: Using interface: tun0 Aug 28 03:58:21 cp ppp[786]: Phase: deflink: Created in closed state Aug 28 03:58:21 cp ppp[786]: tun0: Phase: PPP Started (interactive mode). Aug 28 03:58:22 cp ppp[801]: Phase: Using interface: tun1 Aug 28 03:58:22 cp ppp[801]: Phase: deflink: Created in closed state Aug 28 03:58:22 cp ppp[802]: tun1: Phase: PPP Started (auto mode). Aug 28 03:59:40 cp ppp[786]: tun0: Phase: bundle: Establish Aug 28 03:59:40 cp ppp[786]: tun0: Phase: deflink: closed -> opening Aug 28 03:59:40 cp ppp[786]: tun0: Phase: deflink: Connected! Aug 28 03:59:40 cp ppp[786]: tun0: Phase: deflink: opening -> dial Aug 28 03:59:40 cp ppp[786]: tun0: Phase: deflink: dial -> carrier Aug 28 03:59:45 cp ppp[786]: tun0: Phase: deflink: Disconnected! Aug 28 03:59:45 cp ppp[786]: tun0: Phase: deflink: carrier -> hangup Aug 28 03:59:45 cp ppp[786]: tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 03:59:45 cp ppp[786]: tun0: Phase: deflink: 0 packets in, 0 packets out Aug 28 03:59:45 cp ppp[786]: tun0: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 03:59:40 2007 Aug 28 03:59:45 cp ppp[786]: tun0: Phase: deflink: hangup -> closed Aug 28 03:59:45 cp ppp[786]: tun0: Phase: bundle: Dead Aug 28 03:59:46 cp ppp[786]: tun0: Phase: PPP Terminated (normal). Aug 28 04:10:05 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:10:05 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:10:05 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:10:05 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:10:05 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:10:10 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:10:10 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:10:10 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:10:10 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:10:10 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:10:05 2007 Aug 28 04:10:10 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:10:10 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:10:12 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:10:12 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:10:12 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:10:12 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:10:12 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:10:17 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:10:17 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:10:17 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:10:17 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:10:17 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:10:12 2007 Aug 28 04:10:17 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:10:17 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:10:22 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:10:22 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:10:22 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:10:22 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:10:22 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:10:27 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:10:27 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:10:27 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:10:27 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:10:27 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:10:22 2007 Aug 28 04:10:27 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:10:27 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:10:28 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:10:28 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:10:28 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:10:28 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:10:28 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:10:33 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:10:33 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:10:33 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:10:33 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:10:33 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:10:28 2007 Aug 28 04:10:33 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:10:33 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:10:35 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:10:35 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:10:35 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:10:35 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:10:35 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:10:40 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:10:40 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:10:40 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:10:40 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:10:40 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:10:35 2007 Aug 28 04:10:40 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:10:40 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:10:45 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:10:45 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:10:45 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:10:45 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:10:45 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:10:50 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:10:50 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:10:50 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:10:50 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:10:50 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:10:45 2007 Aug 28 04:10:50 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:10:50 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:11:16 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:11:16 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:11:16 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:11:16 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:11:16 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:11:21 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:11:21 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:11:21 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:11:21 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:11:21 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:11:16 2007 Aug 28 04:11:21 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:11:21 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:11:23 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:11:23 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:11:23 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:11:23 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:11:23 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:11:28 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:11:28 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:11:28 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:11:28 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:11:28 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:11:23 2007 Aug 28 04:11:28 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:11:28 cp ppp[802]: tun1: Phase: bundle: Dead Aug 28 04:11:33 cp ppp[802]: tun1: Phase: bundle: Establish Aug 28 04:11:33 cp ppp[802]: tun1: Phase: deflink: closed -> opening Aug 28 04:11:33 cp ppp[802]: tun1: Phase: deflink: Connected! Aug 28 04:11:33 cp ppp[802]: tun1: Phase: deflink: opening -> dial Aug 28 04:11:33 cp ppp[802]: tun1: Phase: deflink: dial -> carrier Aug 28 04:11:38 cp ppp[802]: tun1: Phase: deflink: Disconnected! Aug 28 04:11:38 cp ppp[802]: tun1: Phase: deflink: carrier -> hangup Aug 28 04:11:38 cp ppp[802]: tun1: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out Aug 28 04:11:38 cp ppp[802]: tun1: Phase: deflink: 0 packets in, 0 packets out Aug 28 04:11:38 cp ppp[802]: tun1: Phase: total 0 bytes/sec, peak 0 bytes/sec on Tue Aug 28 04:11:33 2007 Aug 28 04:11:38 cp ppp[802]: tun1: Phase: deflink: hangup -> closed Aug 28 04:11:38 cp ppp[802]: tun1: Phase: bundle: Dead ====================================================================== ========================== dmesg =============================== ====================================================================== Copyright (c) 1992-2007 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE-p5 #0: Wed Aug 8 12:52:18 CEST 2007 teh_uzer@some.host.name:/usr/obj/usr/src/sys/CP Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Celeron (952.17-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE> real memory = 268369920 (255 MB) avail memory = 253104128 (241 MB) kbd1 at kbdmux0 acpi0: <VIA692 AWRDACPI> on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0x4000-0x407f,0x4080-0x40ff,0x5000-0x500f,0x6000-0x607f on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xd0000000-0xd1ffffff at device 0.0 on pci0 pcib1: <PCI-PCI bridge> at device 1.0 on pci0 pci1: <PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 7.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686A UDMA66 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xa000-0xa00f at device 7.1 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 uhci0: <VIA 83C572 USB controller> port 0xa400-0xa41f irq 12 at device 7.2 on pci0 uhci0: [GIANT-LOCKED] usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0xa800-0xa81f irq 12 at device 7.3 on pci0 uhci1: [GIANT-LOCKED] usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: <multimedia, audio> at device 7.5 (no driver attached) ed0: <RealTek 8029> port 0xbc00-0xbc1f irq 10 at device 11.0 on pci0 ed0: Ethernet address: 00:50:bf:4a:60:c4 ed0: type RTL8029 (16 bit) rl0: <RealTek 8139 10/100BaseTX> port 0xc000-0xc0ff mem 0xd9000000-0xd90000ff irq 11 at device 15.0 on pci0 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:e0:4c:13:3c:66 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: <Parallel port bus> on ppc0 plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xc0000-0xc9fff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 952166967 Hz quality 800 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to deny, logging unlimited ad0: DMA limited to UDMA33, device found non-ATA66 cable ad0: FAILURE - SET_MULTI status=51<READY,DSC,ERROR> error=4<ABORTED> ad0: 19470MB <QUANTUM FIREBALLlct20 20 APL.0900> at ata0-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a rl0: link state changed to UP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46D3FD96.7060308>