DEBIAN SARGE PPPOECONF

From: hakim (hakim.st_at_web.de)
Date: 05/30/05


Date: 30 May 2005 08:34:07 -0700

Hi,

pppoe does not bring up my ethernetinterface automatically...

/etc/network/interfaces:
---------------------------
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.2.20
netmask 255.255.255.0
broadcast 192.168.2.255
#gateway 192.168.2.254

auto eth0:0
iface eth0:0 inet static
address 192.168.2.15
netmask 255.255.255.0
broadcast 192.168.2.255
#gateway 192.168.2.254

#auto eth1
#iface eth1 inet static
#address 10.0.0.20
#netmask 255.255.255.0
#broadcast 10.0.0.255

iface dsl-provider inet ppp
     provider dsl-provider
# please do not modify the following line
     pre-up /sbin/ifconfig eth1 up # line maintained by pppoeconf

/etc/ppp/peers/dsl-provider:
-------------------------------
noipdefault
# Try to get the name server addresses from the ISP.
#usepeerdns
# Use this connection as the default route.
# Comment out if you already have the correct default route installed.
defaultroute

##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.

#demand
#idle 300

##
# Section 3
#
# You shouldn't need to change these options...

hide-password
lcp-echo-interval 20
lcp-echo-failure 3
# Override any connect script that may have been set in
/etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492

# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)
noaccomp
# Asynchronous-Control-Character-Map (ACCM)
default-asyncmap

plugin rp-pppoe.so eth1
user "notforoogle@t-online.de"

So far as I understand it, the option "pre-up /sbin/ifconfig eth1 up"
in /etc/network/interfaces should bring up eth1, but it doesn't. If I
bring up eth1 manually before invokin "pon" it works fine. But I want
that pppoeconf does its job.

Please Help...



Relevant Pages

  • Re: router and server on one linux machine, need help.
    ... on the eth1 interface, eth1 doesn't need to have an ip address. ... iface lo inet loopback ... auto dsl-provider ... iface dsl-provider inet ppp ...
    (comp.os.linux.networking)
  • Re: IP Alias
    ... It is running Ubuntu 6.9. ... iface eth1:0 inet static ... Do you have an "eth1" interface? ... how do I change this card to be eth0? ...
    (Ubuntu)
  • [opensuse] IPTV and MythTV Setup
    ... iface lo inet loopback ... iface eth0 inet dhcp ... iface eth1 inet dhcp ...
    (SuSE)
  • Re: Two ethernet cards....!
    ... auto eth1 ... iface eth1 inet static ... > iface lo inet loopback ... > Faculty Of Computer Science, ...
    (Debian-User)
  • Re: enable duplex
    ... iface lo inet loopback ... iface eth0 inet static ... iface eth1 inet static ...
    (Debian-User)