From owner-freebsd-questions Wed Nov 29 11:59:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 9EEB337B404 for ; Wed, 29 Nov 2000 11:59:22 -0800 (PST) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0G4S00801Y6CAH@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Wed, 29 Nov 2000 11:59:02 -0800 (PST) Received: from tagalong ([165.107.42.145]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0G4S007LCY6CNL@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.org; Wed, 29 Nov 2000 11:59:00 -0800 (PST) Date: Wed, 29 Nov 2000 11:59:14 -0800 From: Drew Tomlinson Subject: How to Setup DSL To: "FreeBSD Questions (E-mail)" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset="iso-8859-1" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've read the info in the handbook, Greg's book, mostgraveconcern, the ppp man page, and searched the email archives but have not found anything to get my setup working. I have a 3Com Dual Link External ADSL modem attached to a NIC (ed1) in my FreeBSD box. If I understand correctly, I need to make a PPPoE connection from ed1 to the DSL modem and I have attempted to do that. At the bottom of this email is my /etc/ppp/ppp.conf and a snip from my log when running ppp -background from the command line. The software that came with the modem is for Windows environment. To verify that the modem and line is working, I connected the modem to my laptop runnning Win2K and installed the software. From this exercise, I learned that the modem is connected to my ISP via PPP over ATM. I also had to set something called the "Virtual Path Identifier" (VPI) and "Virtual Channel Identifier" (VCI) to 0 and 35. Is this something that needs to be set somewhere in my ppp.conf file? Then there is a "dialer" program from 3Com that works much like Dial-Up networking in Windows where I have to set my login and password to establish a connection. (I don't understand why this step is necessary since the connection is hardwired to my home but that's another subject). What seems to happen is that the NIC connected to the modem receives a private IP address from the modem (192.168.157.x) and the dial-up software shows the real IP address assigned from my ISP. Anyway, everything works fine from the windows environment and now I would like to attach the modem to my FBSD box and get things working there. My goal is to be setup as follows: 3Com Dual Link External ADSL Modem | | | ed1 NIC in FBSD Box | | FBSD box is gateway/router/proxy/etc. | ed0 NIC in FSBD Box | | My home network | |------------------------------------| | | | | Win2K Win2K I would appreciate any help you could give me in reaching my ultimate goal. I am willing to continue reading if there are any other resources you think might be of help. I am new to both Unix and FBSD so I may have overlooked something really simple. Thanks for your help! Drew Here's my ppp.conf: default: set device PPPoE:ed1 set log Phase Chat LCP IPCP CCP tun command set mru 1492 set mtu 1492 set authname ****** #My real info has been replaced by *s set authkey ****** set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns nat enable yes # if you want to enable nat for your local net papchap: set authname ****** set authkey ****** And here's a snip of my log: Nov 29 11:16:00 blacksheep ppp[2920]: tun0: Command: default: enable dns Nov 29 11:16:00 blacksheep ppp[2920]: tun0: Command: default: nat enable yes Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Phase: PPP Started (background mode) . Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Phase: bundle: Establish Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Phase: deflink: closed -> opening Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Phase: deflink: Connected! Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Phase: deflink: opening -> dial Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Chat: deflink: Dial attempt 1 of 1 Nov 29 11:16:00 blacksheep ppp[2921]: tun0: Phase: deflink: dial -> carrier Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: deflink: Disconnected! Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: deflink: carrier -> hangup Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: deflink: Connect time: 5 secs : 0 octets in, 0 octets out Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: deflink: : 0 packets in, 0 pa ckets out Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: total 0 bytes/sec, peak 0 by tes/sec on Wed Nov 29 11:16:05 2000 Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: deflink: hangup -> closed Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: bundle: Dead Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Phase: PPP Terminated (normal). Nov 29 11:16:05 blacksheep ppp[2921]: tun0: Chat: Parent notified of failure Nov 29 11:16:05 blacksheep ppp[2920]: tun0: Phase: Parent: Child failed (errdead ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message