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 "(E-Mail Removed)"
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...
|