Re: Trouble starting ADSL connection

From: Ben O'Brien (ftoomch_at_hotmail.com)
Date: 08/23/04


Date: Mon, 23 Aug 2004 17:37:55 +1000

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.
Check out the thread that I started (03/08/04 12:07) and it might help show you how to connect to iinet with a d-link
300 adsl modem as a bridge (it's how it worked for me anyway).



Relevant Pages

  • Re: Trouble starting ADSL connection
    ... > set log Phase Chat LCP IPCP CCP tun command ... > modem with a web browser I use the address 10.1.1.1. ...
    (comp.unix.bsd.openbsd.misc)
  • Trouble starting ADSL connection
    ... I've come up with this (for my connection: ... ppp -background iinet ... modem with a web browser I use the address 10.1.1.1. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Trouble starting ADSL connection
    ... But in my experience the network card that is ... attached to the xDSL modem must be up. ... > ppp -background iinet ...
    (comp.unix.bsd.openbsd.misc)
  • [Fwd: Re: ADSL connection woes]
    ... do you have SYNC with the DSL provider on the modem? ... > set log Phase Chat LCP IPCP CCP tun command ... To unsubscribe, ...
    (freebsd-questions)
  • Re: ADSL connection woes
    ... I had a problem like this but found out it was the dsl modem losing sync. ... > set log Phase Chat LCP IPCP CCP tun command ... The information contained in this communication is confidential, private, ...
    (freebsd-questions)