From owner-freebsd-questions@FreeBSD.ORG Wed May 5 03:34:12 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 2DA7216A4CE for ; Wed, 5 May 2004 03:34:12 -0700 (PDT) Received: from rastaban.dandy.net (rastaban.dandy.net [209.128.224.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8268F43D5E for ; Wed, 5 May 2004 03:34:11 -0700 (PDT) (envelope-from andy@neu.net) Received: from Mira.dandy.net (mira.dandy.net [209.128.224.15]) by rastaban.dandy.net (8.12.10/8.12.6) with ESMTP id i45AYAhI000276 for ; Wed, 5 May 2004 06:34:10 -0400 Date: Wed, 5 May 2004 06:34:10 -0400 (EDT) From: andy@neu.net X-X-Sender: andyneu@Mira.dandy.net To: freebsd-questions@freebsd.org In-Reply-To: <20040505092205.6A3BC16A4DE@hub.freebsd.org> Message-ID: References: <20040505092205.6A3BC16A4DE@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: spppcontrol 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: Wed, 05 May 2004 10:34:12 -0000 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