Hi, I have second thought, there can be another style too.
The intent of pppoeconf seems to have stanza for each interface which is right and reasonable. But if "auto dsl-provider" is used as in the case of pppoeconf, then /etc/network/run/ifstate will contain dsl-provider=dsl-provider which is wrong. Let me propose new option 3. With this, /etc/network/run/ifstate will have ppp0=dsl-provider and is right even in detail. Option 3: (pedantically correct and use manual and ppp) |auto lo |iface lo inet loopback | |# comment out next 1 line for manual start |auto eth0 |iface eth0 inet manual |pre-up /sbin/ifconfig eth0 up |up ifup ppp0=dsl-provider |down ifdown ppp0=dsl-provider |post-down /sbin/ifconfig eth0 down | |iface dsl-provider inet ppp |provider dsl-provider (If dsl-provider in iface stanza line is replaced by ppp0 in option 3, then "ppp0=dsl-provider" should be changed to simple "ppp0". I think above example is nicer in style.) I just checked this works as intended. Option 1 and 2 (see below) will not have ppp0 line in ifstate but for all practical purpose, dropping ppp0 will not have negative impact. But for configuration helper script such as pppoeconf should create best styled one. These correct configurations can be set "manual start" mode by commenting out pertinent "auto" line. Then you can install the ifplugd package to change trigger for interface up/down to the plugging-in/out of cable. That together with guessnet can automate selecting pppoe connection and DHCP etc. when machine moves around environment. I have updated this kind of Debian network tutorial of "Debian Reference" and temporary hosting at: http://people.debian.org/~osamu/pub/getwiki/html/ch06.en.html Osamu -------------------- PS: Let me recap what are other acceptable configuration: Option 1: (I think this is best since it is simple.) |auto lo |iface lo inet loopback | |# comment out next 1 line for manual start |auto eth0 |iface eth0 inet ppp |pre-up /sbin/ifconfig eth0 up |post-down /sbin/ifconfig eth0 down |# create ppp0 interface which connects via eth0 connection |provider dsl-provider Option 2: (If you insist using manual instead of ppp) |auto lo |iface lo inet loopback | |# comment out next 1 line for manual start |auto eth0 |iface eth0 inet manual |pre-up /sbin/ifconfig eth0 up |# create ppp0 interface which connects via eth0 connection |up /usr/bin/pon dsl-provider |down /usr/bin/poff dsl-provider |post-down /sbin/ifconfig eth0 down Osamu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]