Networking Forums

Networking Forums > Computer Networking > Linux Networking > DEBIAN SARGE PPPOECONF

Reply
Thread Tools Display Modes

DEBIAN SARGE PPPOECONF

 
 
hakim
Guest
Posts: n/a

 
      05-30-2005, 03:34 PM
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...

 
Reply With Quote
 
 
 
 
hakim
Guest
Posts: n/a

 
      05-30-2005, 04:49 PM
Hi,

If I try to establish a connection without invoking ifonfig eth1 up
before, I get the following error of ppp:

May 30 18:41:08 clusty2 pppd[6020]: Plugin rp-pppoe.so loaded.
May 30 18:41:08 clusty2 pppd[6021]: pppd 2.4.3 started by root, uid 0
May 30 18:41:08 clusty2 pppd[6021]: sendPacket: send: Network is down

if I invoke ifconfig eth1 up before pon dsl-provider:

May 30 18:42:47 clusty2 pppd[6246]: Plugin rp-pppoe.so loaded.
May 30 18:42:47 clusty2 pppd[6247]: pppd 2.4.3 started by root, uid 0
May 30 18:42:48 clusty2 pppd[6247]: PPP session is 3482
May 30 18:42:48 clusty2 pppd[6247]: Using interface ppp0
May 30 18:42:48 clusty2 pppd[6247]: Connect: ppp0 <--> eth1
May 30 18:42:48 clusty2 pppd[6247]: Couldn't increase MTU to 1500
May 30 18:42:48 clusty2 pppd[6247]: Couldn't increase MRU to 1500
May 30 18:42:48 clusty2 pppd[6247]: Couldn't increase MRU to 1500
May 30 18:42:48 clusty2 pppd[6247]: PAP authentication succeeded
May 30 18:42:48 clusty2 pppd[6247]: peer from calling number
08:90:1A:41:66:41 authorized
May 30 18:42:48 clusty2 pppd[6247]: Cannot determine ethernet address
for proxy ARP
May 30 18:42:48 clusty2 pppd[6247]: local IP address x.x.x.x
May 30 18:42:48 clusty2 pppd[6247]: remote IP address x.x.x.x

Thanks...

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up DSL debian sarge Big Al Linux Networking 1 12-29-2006 12:05 PM
Ndiswrapper on Debian Sarge with 2.4 kernel =?ISO-8859-15?Q?Daniel_B=F6hmer?= Linux Networking 6 11-24-2005 04:45 PM
vsftpd under Debian sarge Fabio C. Linux Networking 0 01-31-2005 01:24 PM
More lan configuration under Debian Sarge Robert Murr Linux Networking 2 10-10-2004 07:11 PM
LAN configuration - Debian Sarge Robert Murr Linux Networking 15 10-08-2004 05:12 PM



1 2 3 4 5 6 7 8 9 10 11