Salut, J'ai installé une deb en dual boot avec ma Mandrake. Mais j'ai toujours pas réussi à configuer l'adsl avec pppoe (sous debian). J'ai pourtant suivi les instructions du README.Debian J'ai donc légèrement changé mon login et mon mdp et j'envoie mes fichiers de config sur la liste, en attachement (+inclu dans ce texte). Si quelqu'un pouvait les lire et les corriger, ça serait super sympa, ça à l'aire pourtant simple pourquoi ça va pas ? Snif; :-( Le pt 3 précise qu'il faut éditer /etc/init.d/network. Mais je n'ai pas ce fichier, donc je l'ai créé et fais un lien symbolique vers/etc/rc2.d (c'est mon runlevel) Donc mon faux login est : hb865034@SKYNET Et mon faux mdp est : szgvht15 Un tout grand merci. Benoît ************************************************************************ README.Debian : How to setup your DSL PPPoE connection Do the following steps as root: 1. Edit the file pap-secrets file, adding a line to the outbound connections sections that has the following format: username@sympatico.ca sympatico.ca password Replace 'username' by the username your DSL provider gave you and 'password' by your password. This assumes that your provider is Sympatico. If it is not, you will also need to replace 'sympatico.ca' by the address of your provider. 2. Edit the file /etc/ppp/peers/dsl-provider, adding a line that reads: user username@sympatico.ca where what follows 'user' is identical to the first part of the line you added to pap-secrets (here 'username@sympatico.ca'). 3. Edit the file /etc/init.d/network, adding a line that says: ifconfig eth0 up 4. Edit the file /etc/init.d/ppp. Find the line in the 'start' section that starts pppd and replace the word 'provider' by 'dsl-provider'. That line should now look like: start-stop-daemon --start --quiet --exec /usr/sbin/pppd -- call dsl-provider 5. Create an empty file /etc/ppp/ppp_on_boot by running the command "touch /etc/ppp/ppp_on_boot". Your DSL PPPoE connection is now set up. To start it, execute "/etc/init.d/ppp start". The connection will come up automatically the next time you boot. ********************************************************************************** # # /etc/ppp/pap-secrets # # This is a pap-secrets file to be used with the AUTO_PPP function of # mgetty. mgetty-0.99 is preconfigured to startup pppd with the login option # which will cause pppd to consult /etc/passwd (and /etc/shadow in turn) # after a user has passed this file. Don't be disturbed therfore by the fact # that this file defines logins with any password for users. /etc/passwd # (again, /etc/shadow, too) will catch passwd mismatches. # # This file should block ALL users that should not be able to do AUTO_PPP. # AUTO_PPP bypasses the usual login program so its necessary to list all # system userids with regular passwords here. # # ATTENTION: The definitions here can allow users to login without a # password if you don't use the login option of pppd! The mgetty Debian # package already provides this option; make sure you don't change that. # INBOUND connections # Every regular user can use PPP and has to use passwords from /etc/passwd * frijole "" * # UserIDs that cannot use PPP at all. Check your /etc/passwd and add any # other accounts that should not be able to use pppd! guest frijole "*" - master frijole "*" - root frijole "*" - support frijole "*" - stats frijole "*" - # OUTBOUND connections # Here you should add your userid password to connect to your providers via # PAP. The * means that the password is to be used for ANY host you connect # to. Thus you do not have to worry about the foreign machine name. Just # replace password with your password. # If you have different providers with different passwords then you better # remove the following line. frijole * szgvht15 hb865034@SKYNET skynet.be szgvht15 ******************************************************************************************* Voici le /etc/ppp/peers/dsl-provider : pty "pppoe -I eth0 -T 80" noipdefault defaultroute hide-password lcp-echo-interval 20 lcp-echo-failure 3 mtu 1492 mru 2400 noauth persist user hb865034@SKYNET ************************************************************************** #!/bin/sh #/etc/init.d/network #pour démarer ma carte réseau ifconfig eth0 up echo "démarage de la carte réseaux" #pour m'assurer qu'il s'est exécuté ******************************************************************** #!/bin/sh # # /etc/init.d/ppp: start or stop PPP link. # # If you want PPP started on boot time (most dialup systems won't need it) # rename the /etc/ppp/no_ppp_on_boot file to /etc/ppp/ppp_on_boot, and # follow the instructions in the comments in that file. PATH=/bin:/sbin:/usr/bin:/usr/sbin test -x /usr/sbin/pppd -a -f /etc/ppp/ppp_on_boot || exit 0 if [ -x /etc/ppp/ppp_on_boot ]; then RUNFILE=1; fi case "$1" in start) echo -n "Starting up PPP link: pppd" if [ "$RUNFILE" = "1" ]; then /etc/ppp/ppp_on_boot else pppd call dsl-provider ######################C'est ici que j'ai changé fi echo "." ;; stop) echo -n "Shutting down PPP link: pppd" if [ "$RUNFILE" = "1" ]; then poff else poff provider fi echo "." ;; restart|force-reload) poff -r ;; *) echo "Usage: /etc/init.d/ppp {start|stop|restart|force-reload}" exit 1 ;; esac exit 0
Attachment:
README.Debian
Description: Binary data
Attachment:
dsl-provider
Description: Binary data
Attachment:
network
Description: Binary data
Attachment:
pap-secrets
Description: Binary data
Attachment:
ppp
Description: Binary data