Hi, For SuSE Linux 7.1 or 7.2, is SuSE planning to integrate pppoed fully into the init scripts and SuSEconfig in a similar way to ISDN or other Internet connections? If not, is there a HOWTO guide to integrating init.d with /sbin/SuSEconfig and /etc/rc.config ? I did read at http://sdb.suse.de/sdb/en/html/hoe_adsl_pppoe.html that as at April 2000 and as at SuSE Linux 6.3, PPPoE for Linux was considered experimental. But it is now January 2001 and I am talking about SuSE Linux 7.1+ My models are: o /sbin/init.d/pppoed, maintained by Bernd Kaindl. This contains a reference to START_PPPOED, which I cannot find anywhere in /etc o /sbin/init.d/i4l, maintained by Karsten Keil. This contains many references to environment variables set up in /etc/rc.config.d/i4l*.rc.config I have read /sbin/init.d/README and from this, I gather that I need to: o set START_PPPOED somewhere, o link /sbin/init.d/pppoed into the boot order some time after /sbin/init.d/rc3.d/S05network, and o make sure that S05network starts my Ethernet card, which is eth0. Presumably, I do this by changing IFCONFIG_0 in /etc/rc.config to something like "eth0 up" But unfortunately I don't have the knowledge, skills, experience or time to figure it all out myself just now. I have an account with Telstra BigPond ADSL and am running the SuSE-supplied pppoed in accordance with http://sdb.suse.de/sdb/en/html/hoe_adsl_pppoe.html and the man page for pppoed. One peculiarity I found is that I had to put my ID and password into chap-secrets even though the pppoed man page said that I did not need to. Telstra BigPond ADSL uses CHAP and does not use PAP. In /etc/ppp/peers/pppoe I also had to have "refuse-pap". I will report this separately to feedback@suse.de as a bug in the documentation. Right now, I am starting and stopping my ADSL connection using scripts which I must run as root. These scripts work, but are a bit messy. What I would really like to do is treat PPPoE as if it were a LAN connection and always on. To do this, I need to start and stop pppoed in the init scripts? start_bigpond.sh: # # Script to start Telstra BigPond ADSL # Paul C. Leopardi 2001-01-20 # # Start Ethernet card /sbin/ifconfig eth0 up # # Wait a bit /bin/sleep 5s # # Start pppoed /usr/sbin/pppoed >>/var/log/pppoed.log 2>&1& # # Wait a bit /bin/sleep 5s # # Start the network by pinging something /bin/ping -q -c 1 1.1.1.1 >/dev/null stop_bigpond.sh: # # Script to stop Telstra BigPond ADSL # Paul C. Leopardi 2001-01-21 # # Stop ppp daemon PPP_DAEMON=`/sbin/route -n|/bin/grep UG|/bin/sed 's/\(.*\)\(ppp[0-9]*\)/\2/'` /sbin/ifconfig $PPP_DAEMON down # # Wait a bit /bin/sleep 5s # # Stop Ethernet card /sbin/ifconfig eth0 down
On January 21, 2001 03:32 pm, Paul C. Leopardi wrote:
Hi, For SuSE Linux 7.1 or 7.2, is SuSE planning to integrate pppoed fully into the init scripts and SuSEconfig in a similar way to ISDN or other Internet connections?
Have you looked at the roaring penguin package? It's been so long since I set it up I may have forgotten but it's always on for me. It will restart itself if the connection drops. It's included with 7.0 but the version is a little old. Nick
participants (2)
-
Nick Zentena
-
Paul C. Leopardi