Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 2004 07:41:51 -0400
From:      "JJB" <Barbish3@adelphia.net>
To:        <andy@neu.net>, <freebsd-questions@freebsd.org>
Subject:   RE: spppcontrol
Message-ID:  <MIEPLLIBMLEEABPDBIEGAEICFNAA.Barbish3@adelphia.net>
In-Reply-To: <Pine.LNX.4.56.0405050614380.15127@Mira.dandy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGAEICFNAA.Barbish3>