From owner-freebsd-questions@FreeBSD.ORG Thu May 6 04:41:53 2004 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 7445616A4CF for ; Thu, 6 May 2004 04:41:53 -0700 (PDT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id C377D43D58 for ; Thu, 6 May 2004 04:41:52 -0700 (PDT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta11.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040506114152.BLCL21898.mta11.adelphia.net@barbish>; Thu, 6 May 2004 07:41:52 -0400 From: "JJB" To: , Date: Thu, 6 May 2004 07:41:51 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: RE: spppcontrol X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 11:41:53 -0000 Andy In 5 years this is the first time for question about spppcontrol. I had not known it even existed. Went and read the man info on it and still I am unclear of it's purpose. Is this something new in 5.2.1? Is this just for ADSL PCI cards? Can you give some info or point me to an link that has more details? In the way of help, all I can say is the 'Network device is not UP!' message for pppoe means you need the following statements added to rc.conf. ifconfig_wpaadsl0=up ifconfig_tun0="DHCP" Joe -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of andy@neu.net Sent: Wednesday, May 05, 2004 6:34 AM To: freebsd-questions@freebsd.org Subject: spppcontrol I am trying to build a router based on the following components: 1.ADSL Pci card 2.FreeBSD 5.2.1 3.IPFilter The card gets configured by the driver, and I am able to connect the ADSL link, but I can't get authenticated to my ISP. I am trying to use a spppcontrol script to negotiate the connection manually. So, after I start the ADSL card service I run the script, but it doesn't seem to do anything. Here is the script, and the response I get when I execute it: ]# cat sppp.sh #!/bin/sh #-------------------------------------- # ppp example setup # last edit-date: [Tue May 4 21:18:13 2004 ] #-------------------------------------- echo "Enable Debug for wpaadsl0:" ifconfig wpaadsl0 debug echo "--------------------" echo "" echo "setting PPP options" spppcontrol wpaadsl0 disable-ipv6 spppcontrol wpaadsl0 myauthproto=pap spppcontrol wpaadsl0 myauthname=andxxxx@IBxxxx spppcontrol wpaadsl0 myauthsecret=xxxxxx echo "" echo "finished" [root@duron ~]# ./sppp.sh Enable Debug for wpaadsl0: -------------------- setting PPP options finished -------------------------------------------------------------------- --------------- The following is from /var/log/messages: May 5 12:58:54 duron kernel: WANPIPE Hardware Support Module v2.7.2 (c) 1995-2002 Sangoma Technologies Corp. May 5 12:58:54 duron kernel: WANPIPE(tm) Multiprotocol Driver v2.7.2 (c) 1995-2001 Sangoma Technologies Inc. May 5 12:58:54 duron kernel: wanpipe: S518 PCI ADSL card found, cpu(s) 1, bus #0, slot #11, irq #3 May 5 12:58:54 duron kernel: WANPIPE: Allocating maximum 1 devices: May 5 12:58:54 duron kernel: WANPIPE: wanpipe1-wanpipe1. May 5 12:58:54 duron kernel: Processing WAN device wanpipe1... May 5 12:58:54 duron kernel: wanpipe1: Locating: ADSL card, CPU , PciSlot=11, PciBus=0 May 5 12:58:54 duron kernel: wanpipe1: Found: ADSL card, CPU , PciSlot=11, PciBus=0 May 5 12:58:54 duron kernel: wanpipe1: Starting hardware setup... May 5 12:58:54 duron kernel: wanpipe1: ADSL PCI memory at 0xcffb0000 May 5 12:58:54 duron kernel: wanpipe1: IRQ 3 allocated to the ADSL card May 5 12:58:54 duron kernel: wanpipe1: Set interrupt handler... May 5 12:58:54 duron kernel: wanpipe1: Starting ADSL device. May 5 12:58:54 duron kernel: wanpipe1: Initializing S518 ADSL card... May 5 12:58:54 duron kernel: wanpipe1: Initializing LAN Interface May 5 12:58:54 duron kernel: wanpipe1: Enabling ADSL (ATM OAM) Watchdog May 5 12:58:54 duron kernel: wanpipe1: ADSL HW Addr: 00:77:77:77:78:e6 May 5 12:58:54 duron kernel: wanpipe1: Creating new WAN interface wpaadsl0... May 5 12:58:54 duron kernel: wanpipe1: Configuring Interface: wpaadsl0 May 5 12:58:54 duron kernel: wanpipe1: ATM configured for PPP (VC) over ATM May 5 12:58:54 duron kernel: wanpipe1: ADSL Link connecting... May 5 12:58:54 duron kernel: wanpipe1: Attaching SPPP protocol May 5 12:58:54 duron kernel: wanpipe1: Attaching network interface wpaadsl0... May 5 12:59:22 duron kernel: wanpipe1: Cell Delination successful May 5 12:59:22 duron kernel: wanpipe1: GP_LINK_UP, State Trained May 5 12:59:22 duron kernel: wanpipe1: ADSL Link connected (Down 1856 kbps, Up 128 kbps) May 5 12:59:30 duron kernel: wanpipe1: Link connected! May 5 12:59:32 duron kernel: wanpipe1: Network device is not UP! May 5 12:59:42 duron kernel: wanpipe1: Network device is not UP! -------------------------------------------------------------------- -------------------- Not sure what to do now, any advice would be really appreciated. Thanks in advance. Andy _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"