bonjour a tous ! voila mon probleme:
j'ai reussi a configurer le modem (bewan adsl usb st "gris") ,
le module se charge bien ,les deux leds vertes sont allumés je lance le script fourni par bewan, la connexion se fait mais a chaque fois:
LCP terminated by peer
ps:dans le script pppoatm-start j'ai remplace la 1ere ligne :
/etc/init.d/functions par /etc/sysconfig/network/script/functions
(il ne trouvait pas functions mais on dirait que ça cree une erreur)
de plus mon fai demande les mot de passe en majuscule.
suse 8.2
noyau 2.4.24
ci joint mes fichiers de config:
resultat de la comande:
root: unicorn-pppoatm start
/usr/bin/unicorn-pppoatm:
/etc/sysconfig/network/scripts/functions: line 75: syntax error near unexpected token `<'
/usr/bin/unicorn-pppoatm: /etc/sysconfig/network/scripts/functions: line 75: ` done < <(echo -e "$*")'
start unicorn_usb_atm 8.35
Plugin pppoatm.so loaded.
PPPoATM plugin_init Plugin /usr/lib/pppd/2.4.1/pppoatm.so loaded.
PPPoATM plugin_init PPPoATM setdevname - remove unwanted options
PPPoATM setdevname_pppoatm - SUCCESS:8.35
using channel 1
Using interface ppp0 Connect: ppp0 <--> 8.35
sent [LCP ConfReq id=0x1 <magic 0x2c9f01ca>]
rcvd [LCP ConfReq id=0x99 <mru 1500> <auth chap MD5> <magic 0x51572621>]
sent [LCP ConfRej id=0x99 <auth chap MD5>]
rcvd [LCP ConfAck id=0x1 <magic 0x2c9f01ca>]
rcvd [LCP ConfReq id=0x9a <mru 1500> <auth pap> <magic 0x51572621>]
sent [LCP ConfRej id=0x9a <auth pap>]
rcvd [LCP ConfReq id=0x9b <mru 1500> <magic 0x51572621>]
sent [LCP ConfAck id=0x9b <mru 1500> <magic 0x51572621>]
sent [LCP EchoReq id=0x0 magic=0x2c9f01ca]
cbcp_lowerup
want: 2
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP TermReq id=0x9c]
LCP terminated by peer
cbcp_lowerdown
sent [LCP TermAck id=0x9c]
Connection terminated.
Fatal signal 11
/usr/bin/unicorn-pppoatm: line 66: echo_success: command not found
fichier pap secrets
# Secrets for authentication using PAP
# client server secret IP addresses
# OUTBOUND CONNECTIONS
# Here you should add your PPP Login and PPP password to connect to your
# provider via pap. The * means that the entry(login and passoword may 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.
identifiantxxx@ool * motdepassexxxxxxxx
# PREDIFINED CONNECTIONS
# These are user and password entries for publically accessible call-by-call
# Internet providers in Germany. If they confict with your config, remove them
# READ_IN_CALLBYCALL_SECRETS
# INBOUND CONNECTIONS
#client hostname <password> 192.168.1.1
# If you add "auth login -chap +pap" to /etc/mgetty+sendfax/login.config,
# all users in /etc/passwd can use their password for pap-authentication.
#
# Every regular user can use PPP and has to use passwords from /etc/passwd
#* hostname ""
# UserIDs that cannot use PPP at all. Check your /etc/passwd and add any
# other accounts that should not be able to use pppd! Replace hostname
# with your local hostname.
#guest hostname "*" -
#master hostname "*" -
#root hostname "*" -
#support hostname "*" -
#stats hostname "*" -
fichier chap secret:
# Secrets for authentication using CHAP
# client server secret IP addresses
# OUTBOUND CONNECTIONS
# Here you should add your PPP Login and PPP password to connect to your
# provider via pap. The * means that the entry(login and passoword may 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.
xxxxxxxxxx@OOL * xxxxxxx
# PREDIFINED CONNECTIONS
# These are user and password entries for publically accessible call-by-call
# Internet providers in Germany. If they confict with your config, remove them.
# READ_IN_CALLBYCALL_SECRETS
# INBOUND CONNECTIONS
#client hostname <password> 192.168.1.1
/ETC/PPP/OPTIONS
user xxx/xxxxxxx@OOL
name xxx/xxxxxxx@OOL
persist
usepeerdns
sync
defaultroute
mtu 1500
mru 1500
novj
novjccomp
nodeflate
nobsdcomp
noaccomp
hide-password
default-asyncmap
plugin pppoatm.so
noipdefault
noauth
asyncmap 0
lock
modem
nodetach
lcp-echo-interval 30
lcp-echo-failure 3
idle 600
noipx
bon ben si qqeulqun m'aide ca serait sympa merci d' avance.