From owner-freebsd-questions@FreeBSD.ORG Wed Oct 8 22:09:14 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E0EB16A4B3 for ; Wed, 8 Oct 2003 22:09:14 -0700 (PDT) Received: from nova.globaldial.com (nova.globaldial.com [202.74.164.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B71743FA3 for ; Wed, 8 Oct 2003 22:09:11 -0700 (PDT) (envelope-from elpiojo@globaldial.com) Received: from elpiojo (unknown [203.24.54.144]) by nova.globaldial.com (Postfix) with SMTP id B978D3FA2F for ; Thu, 9 Oct 2003 13:07:54 +0800 (WST) Message-ID: <001301c38e23$743cff60$0200a8c0@elpiojo> From: "Edwet" To: Date: Thu, 9 Oct 2003 13:09:01 +0800 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: dial ppp problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 05:09:14 -0000 I'm a newbie I would like to for support to freebsd experts around the = world, about my ppp problem I've got 2 computers: 1. Installed with freebsd 5.1 plus 1 external modem dynalink (33.6) , IP = address 192.168.0.1 2. Installed with windows XP, IP address 192.168.0.2 the network with this 2 computers doesn't have any problem since I can = ping both machines. everytime I execute the ppp command from the freebsd the modem will dial = my ISP number however after dialling sequence and authentication, I = still can't get to the net (ping, traceroute or whatever), I've been = doing a lot of reseach in the net (google.com/bsd ; freebsd.org ; = defcon1.org ; freebsddiarries ; etc) about my problem but probably I = miss some important URLs if you guys can enlighten me I would be = grateful.=20 here's the log from the freebsd box Log modem ------------------- Working in interactive mode Using interface: tun0 ppp ON jester> term deflink: Entering terminal mode on /dev/cuaa0 Type `~?' for help atdt92238000 CARRIER 31200 PROTOCOL: LAP-M COMPRESSION: V.42BIS CONNECT 38400 User Access Verification login: ---- Password: Entering PPP mode. Async interface address is unnumbered (FastEthernet0) Your IP address is 202.74.163.135. MTU is 1500 bytes Header compression is on. ppp ON jester> PPp ON jester> Warning: ff02:4::/32: Change route failed: errno: Network = is unreachable PPP ON jester> This morning I've tried to dial again i've got this error message from = ppp PPP ON jester> Oct 9 10:39:26 jester routed[229]: IP_ADD_MEMBERSHIP = ALLHOSTS: Can't assign requested address Oct 9 10:39:26 jester routed[229]: setsopckopt(IP_ADD_MEMBERSHIP RIP): = Can't assign requested address Oct 9 10:39:26 jester routed[229]: ignore RTM_CHANGE without mask ppp ON jester> Oct 9 10:43:51 jester routed[229]: ignore RTM_CHANGE = without mask ppp ON jester> Oct 9 10:43:51 jester routed[229]: interface tun0 to = 202.74.164.5 turned off ppp.log ----------------- Oct 8 17:11:53 jester ppp[577]: tun0: Command: /dev/ttyp0: term Oct 8 17:11:53 jester ppp[577]: tun0: Phase: bundle: Establish Oct 8 17:11:53 jester ppp[577]: tun0: Phase: deflink: closed -> opening Oct 8 17:11:53 jester ppp[577]: tun0: Phase: deflink: Connected! Oct 8 17:11:53 jester ppp[577]: tun0: Phase: deflink: opening -> = carrier Oct 8 17:11:54 jester ppp[577]: tun0: Phase: deflink: /dev/cuaa0 = doesn't support CD Oct 8 17:11:54 jester ppp[577]: tun0: Phase: deflink: carrier -> ready Oct 8 17:12:36 jester ppp[577]: tun0: Phase: deflink: PPP packet = detected, coming up Oct 8 17:12:36 jester ppp[577]: tun0: Phase: deflink: ready -> carrier Oct 8 17:12:36 jester ppp[577]: tun0: Phase: deflink: carrier -> lcp Oct 8 17:12:36 jester ppp[577]: tun0: LCP: FSM: Using "deflink" as a = transport Oct 8 17:12:36 jester ppp[577]: tun0: LCP: deflink: State change = Initial --> Closed Oct 8 17:12:36 jester ppp[577]: tun0: LCP: deflink: State change Closed = --> Stopped Oct 8 17:12:37 jester ppp[577]: tun0: LCP: deflink: LayerStart Oct 8 17:12:37 jester ppp[577]: tun0: LCP: deflink: SendConfigReq(1) = state =3D Stopped Oct 8 17:12:37 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:37 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:37 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x00000000 Oct 8 17:12:37 jester ppp[577]: tun0: LCP: MRU[4] 1500 Oct 8 17:12:37 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xbf3a62ae Oct 8 17:12:37 jester ppp[577]: tun0: LCP: deflink: State change = Stopped --> Req-Sent Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: RecvConfigAck(1) = state =3D Req-Sent Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x00000000 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MRU[4] 1500 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xbf3a62ae Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: State change = Req-Sent --> Ack-Rcvd Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: RecvConfigReq(118) = state =3D Ack-Rcvd Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x000a0000 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xc81b4317 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: SendConfigAck(118) = state =3D Ack-Rcvd Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACCMAP[6] 0x000a0000 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM[6] 0xc81b4317 Oct 8 17:12:38 jester ppp[577]: tun0: LCP: PROTOCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: ACFCOMP[2] Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: State change = Ack-Rcvd --> Opened Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: LayerUp Oct 8 17:12:38 jester ppp[577]: tun0: LCP: deflink: SendIdent(0) state = =3D Opened Oct 8 17:12:38 jester ppp[577]: tun0: LCP: MAGICNUM bf3a62ae Oct 8 17:12:38 jester ppp[577]: tun0: LCP: TEXT user-ppp 3.1 (built = Jun 5 2003) Oct 8 17:12:38 jester ppp[577]: tun0: CCP: FSM: Using "deflink" as a = transport Oct 8 17:12:38 jester ppp[577]: tun0: CCP: deflink: State change = Initial --> Closed Oct 8 17:12:38 jester ppp[577]: tun0: CCP: deflink: LayerStart. Oct 8 17:12:38 jester ppp[577]: tun0: CCP: MPPE: Not usable without = CHAP81 Oct 8 17:12:38 jester ppp[577]: tun0: CCP: deflink: SendConfigReq(1) = state =3D Closed Oct 8 17:12:38 jester ppp[577]: tun0: CCP: DEFLATE[4] win 15 Oct 8 17:12:38 jester ppp[577]: tun0: CCP: PRED1[2] Oct 8 17:12:38 jester ppp[577]: tun0: CCP: deflink: State change Closed = --> Req-Sent Oct 8 17:12:38 jester ppp[577]: tun0: Phase: deflink: lcp -> open Oct 8 17:12:38 jester ppp[577]: tun0: Phase: bundle: Network Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: FSM: Using "deflink" as a = transport Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: deflink: State change = Initial --> Closed Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: deflink: LayerStart. Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: deflink: SendConfigReq(1) = state =3D Closed Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: IPADDR[6] 192.168.0.1 Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: COMPPROTO[6] 16 VJ slots = with slot compression Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: PRIDNS[6] 202.74.164.33 Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: SECDNS[6] 255.255.255.255 Oct 8 17:12:38 jester ppp[577]: tun0: IPCP: deflink: State change = Closed --> Req-Sent Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: RecvConfigReq(196) = state =3D Req-Sent Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: COMPPROTO[6] 16 VJ slots = without slot compression Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: IPADDR[6] 202.74.164.8 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: SendConfigAck(196) = state =3D Req-Sent Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: COMPPROTO[6] 16 VJ slots = without slot compression Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: IPADDR[6] 202.74.164.8 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: State change = Req-Sent --> Ack-Sent Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(119) state =3D Opened Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x80fd = (Compression Control Protocol) was rejected! Oct 8 17:12:39 jester ppp[577]: tun0: CCP: deflink: State change = Req-Sent --> Stopped Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: RecvConfigNak(1) = state =3D Ack-Sent Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: IPADDR[6] 202.74.163.135 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: IPADDR[6] changing = address: 192.168.0.1 --> 202.74.163.135 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: PRIDNS[6] 202.74.164.3 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: SECDNS[6] 202.74.164.33 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: Primary nameserver set to = 202.74.164.3 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: Secondary nameserver set to = 202.74.164.33 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: SendConfigReq(2) = state =3D Ack-Sent Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: IPADDR[6] 202.74.163.135 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: COMPPROTO[6] 16 VJ slots = with slot compression Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: PRIDNS[6] 202.74.164.3 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: SECDNS[6] 202.74.164.33 Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(120) state =3D Opened Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:39 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: RecvConfigAck(2) = state =3D Ack-Sent Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: IPADDR[6] 202.74.163.135 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: COMPPROTO[6] 16 VJ slots = with slot compression Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: PRIDNS[6] 202.74.164.3 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: SECDNS[6] 202.74.164.33 Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: State change = Ack-Sent --> Opened Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: deflink: LayerUp. Oct 8 17:12:39 jester ppp[577]: tun0: IPCP: myaddr 202.74.163.135 = hisaddr =3D 202.74.164.8 Oct 8 17:12:39 jester ppp[577]: tun0: Warning: ff02:4::/32: Change = route failed: errno: Network is unreachable Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(121) state =3D Opened Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:39 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Oct 8 17:12:42 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(122) state =3D Opened Oct 8 17:12:42 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(121) state =3D Opened Oct 8 17:12:39 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:39 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Oct 8 17:12:42 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(122) state =3D Opened Oct 8 17:12:42 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:42 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Oct 8 17:12:45 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(123) state =3D Opened Oct 8 17:12:45 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:45 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Oct 8 17:12:48 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(124) state =3D Opened Oct 8 17:12:48 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:48 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Oct 8 17:12:51 jester ppp[577]: tun0: LCP: deflink: = RecvProtocolRej(125) state =3D Opened Oct 8 17:12:51 jester ppp[577]: tun0: LCP: deflink: -- Protocol 0x8057 = (Internet Protocol V6 Control Protocol) was rejected! Oct 8 17:12:51 jester ppp[577]: tun0: Phase: deflink: IPV6CP protocol = reject closes IPV6CP ! Netstat ----------- su-2.05b# netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif = Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#1 UC 1 0 fxp0 192.168.0.2 00:40:f4:59:f8:8f UHLW 1 763 fxp0 = 744 202.74.163.135 127.0.0.1 UH 0 0 lo0 202.74.164.8 202.74.163.135 UH 0 0 tun0 Internet6: Destination Gateway Flags = Netif Expire ::1 ::1 UH = lo0 fe80::%fxp0/64 link#1 UC = fxp0 fe80::203:47ff:fe94:2bcc%fxp0 00:03:47:94:2b:cc UHL = lo0 fe80::%lo0/64 fe80::1%lo0 Uc = lo0 fe80::1%lo0 link#3 UHL = lo0 ff01::/32 ::1 U = lo0 ff02::%fxp0/32 link#1 UC = fxp0 ff02::%lo0/32 ::1 UC = lo0 ff02::%tun0/32 fe80::203:47ff:fe94:2bcc%tun0 UGS = tun0 ff02::%tun1/32 fe80::203:47ff:fe94:2bcc%tun1 UC = tun1 su-2.05b# netstat -nr Routing tables Internet: Destination Gateway Flags Refs Use Netif = Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#1 UC 1 0 fxp0 192.168.0.2 00:40:f4:59:f8:8f UHLW 1 763 fxp0 = 744 202.74.163.135 127.0.0.1 UH 0 0 lo0 202.74.164.8 202.74.163.135 UH 0 0 tun0 Internet6: Destination Gateway Flags = Netif Expire ::1 ::1 UH = lo0 fe80::%fxp0/64 link#1 UC = fxp0 fe80::203:47ff:fe94:2bcc%fxp0 00:03:47:94:2b:cc UHL = lo0 fe80::%lo0/64 fe80::1%lo0 Uc = lo0 fe80::1%lo0 link#3 UHL = lo0 ff01::/32 ::1 U = lo0 ff02::%fxp0/32 link#1 UC = fxp0 ff02::%lo0/32 ::1 UC = lo0 ff02::%tun0/32 fe80::203:47ff:fe94:2bcc%tun0 UGS = tun0 ff02::%tun1/32 fe80::203:47ff:fe94:2bcc%tun1 UC = tun1 Ifconfig ---------- su-2.05b# ifconfig -a fxp0: flags=3D8843 mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::203:47ff:fe94:2bcc%fxp0 prefixlen 64 scopeid 0x1 ether 00:03:47:94:2b:cc media: Ethernet autoselect (100baseTX ) status: active lp0: flags=3D8810 mtu 1500 lo0: flags=3D8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 tun0: flags=3D8051 mtu 1500 inet 202.74.163.135 --> 202.74.164.8 netmask 0xffffffff Opened by PID 577 tun1: flags=3D8010 mtu 1500 ppp configuration ---------------------- su-2.05b# ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2) # set device /dev/cuaa0 set speed 38400 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the = default) enable dns # request DNS info (for = resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # set phone ------- set authname ----- set authkey ------- set ifaddr 0 0 127.2.2.2 add default HISADDR # Add a (sticky) default route hosts -------- 127.0.0.1 localhost.exhausted.org localhost 192.168.0.1 jester.exhausted.org jester 192.168.0.1 jester.exhausted.org. 192.168.0.2 elpiojo resolv --------- resolv.conf domain exhausted.org nameserver 202.74.164.3 nameserver 202.74.164.33 cheers, Edwet