Re: Trouble starting ADSL connection
From: bards (bards1888_at_yahoo.com.au.au)
Date: 08/22/04
- Previous message: Johnathan Doe: "Trouble starting ADSL connection"
- In reply to: Johnathan Doe: "Trouble starting ADSL connection"
- Next in thread: Reid Nichol: "Re: Trouble starting ADSL connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: Johnathan Doe: "Trouble starting ADSL connection"
- In reply to: Johnathan Doe: "Trouble starting ADSL connection"
- Next in thread: Reid Nichol: "Re: Trouble starting ADSL connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|