Re: Trouble starting ADSL connection

From: bards (bards1888_at_yahoo.com.au.au)
Date: 08/22/04

  • Next message: George Thorogood: "Re: Where is my BSD CD???"
    Date: Sun, 22 Aug 2004 12:21:37 GMT
    
    

    Johnathan Doe wrote:
    > (Apologies for the double post if that has happened. I think Google
    > groups failed to post it when I tried...)
    >
    > I've been working through the man pages for pppoe and ppp, and so far
    > I've come up with this (for my connection: a D-Link ADSL ethernet
    > modem in bridged mode connected to my RealTek ethernet card):
    >
    > /etc/ppp/ppp.conf:
    >
    > default:
    > set log Phase Chat LCP IPCP CCP tun command
    >
    > iinet:
    > set device "!/usr/sbin/pppoe -i rl0"
    > set mtu max 1492
    > set mru max 1492
    > set speed sync
    > disable acfcomp protocomp
    > deny acfcomp
    > set authname "xxx"
    > set authkey "xxx"
    > add! default HISADDR
    > enable dns
    >
    > When I start the network:
    > ifconfig rl0 up
    >
    > and start ppp:
    >
    > ppp -background iinet
    >
    > I get the error message:
    >
    > Starting ppp in backround mode
    > Using interface tun0
    > Child Failed (errdead)
    >
    > There's nothing in /var/log/messages about this. One thing is that I
    > don't know what IP address to use for my machine. When configuring my
    > modem with a web browser I use the address 10.1.1.1. I've got this in
    > my /etc/hosts:
    >
    > 127.0.0.1 localhost.localdomain localhost
    > 10.0.0.1 puffy.localdomain puffy
    >
    > Is the IP address 10.0.0.1 correct? Should I have two lines in
    > /etc/hosts? I don't have a hostname.if file. I used to have
    > /etc/hostname.rl0 with the contents:
    >
    > inet 10.0.0.1 255.255.255.0 NONE
    >
    > But I deleted it.
    >
    > What could be the problem? (Where are the logs?) Also, shouldn't I
    > have something like "dial" or "login?" (The PPPoE manpage says
    > nothing about actually bringing up the connection, similar to 'dial'
    > when using a dialup modem.)
    >
    > Thanks very much.

    Here is my 2 year old ppp.conf - which has worked with 3 different ISPs;

    swift:
      set log Phase Chat IPCP CCP tun command
      set device "!/usr/sbin/pppoe -i tl0"
      set reconnect 5 180000
      disable acfcomp protocomp
      deny acfcomp
      set mtu max 1492
      set mru max 1492
      set speed sync
      enable lqr
      set lqrperiod 100
      set cd 5
      set dial
      set login
      set timeout 0
      set authname "whatever@isp.com"
      set authkey "passwordthingo"
      enable dns
      enable mssfixup
      add! default HISADDR

    messages will be in /var/log/daemon *not* /var/log/messages.

    Not sure about your IP address issues, how many physical interfaces (eg
    network cards) does your firewall have ?

    Bards.


  • Next message: George Thorogood: "Re: Where is my BSD CD???"

    Relevant Pages

    • Re: Trouble starting ADSL connection
      ... > set log Phase Chat LCP IPCP CCP tun command ... > ppp -background iinet ... > modem with a web browser I use the address 10.1.1.1. ...
      (comp.unix.bsd.openbsd.misc)
    • Re: ADSL, PPPoE, PPP and more garbage
      ... When I was on dsl I used to start ppp from within netstart. ... > set log Phase Chat LCP IPCP CCP tun command ... >recommend using zoneedit.com if you have a dynamic IP address and your own DNS domain name, free and with a really good ...
      (comp.unix.bsd.openbsd.misc)
    • Re: ADSL, PPPoE, PPP and more garbage
      ... > When I was on dsl I used to start ppp from within netstart. ... >> set log Phase Chat LCP IPCP CCP tun command ... I changed some of my ppp.conf settings (most notably the 'enable lqr') and I hope they work. ...
      (comp.unix.bsd.openbsd.misc)
    • Re: PPP nat redirect problems
      ... natting out from the inside just redirecting inwards. ... set log Phase Chat IPCP CCP tun command ... nat port tcp 10.0.0.1:10101-10102 10101-10102 ...
      (comp.unix.bsd.openbsd.misc)
    • Re: ppp is broken???
      ... # set log Phase Chat LCP IPCP CCP tun command ... # enable dns # I use my own DNS server ... nat port tcp 172.16.0.48:3389 51234 ...
      (freebsd-questions)