Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[pppd] timeout
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
ark
n00b
n00b


Joined: 27 Aug 2003
Posts: 70
Location: BZH

PostPosted: Wed Apr 05, 2006 8:33 pm    Post subject: [pppd] timeout Reply with quote

Bonjour,
j'ai conf ma co avec rp-pppoe et adsl-setup, puis qd jessaye de me co avec adsl-start ca me donne ;
Quote:

# adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 196: 4929 Terminated $CONNECT <(echo "$CONFREAD") >/dev/null 2>&1


pour les logs.. :
Quote:


pppd[4946]: pppd 2.4.2 started by root, uid 0
pppd[4946]: Couldn't open pty slave /dev/pts/0: No such file or directory
pppd[4946]: Using interface ppp0
pppd[4946]: Connect: ppp0 <--> /dev/ttyp2
pppd[4946]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
pppd[4946]: LCP: timeout sending Config-Requests
pppd[4946]: Connection terminated.
pppoe[4948]: Timeout waiting for PADO packets
pppd[4946]: Exit.


c'est un kernel 2.4.28
si quelqu'un a une idee.. merci
_________________
Poah!
Back to top
View user's profile Send private message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1088
Location: Hélécine - Belgium

PostPosted: Wed Apr 05, 2006 8:38 pm    Post subject: Reply with quote

ce serait bien que tu donnes les infos sur le kernel concernant ppp.
et aussi ton fichier /etc/ppp/pppoe.conf

tu pourrais essayer de changer la valeur de SYNCHRONOUS (la mettre à "no") dans ce fichier pppoe.conf
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
ark
n00b
n00b


Joined: 27 Aug 2003
Posts: 70
Location: BZH

PostPosted: Wed Apr 05, 2006 8:43 pm    Post subject: Reply with quote

pour SYNCHRONOUS il est deja a no, sinon pour le kernel:
Quote:

<M> PPP (point-to-point protocol) support
[ ] PPP filtering
<M> PPP support for async serial ports
<M> PPP support for sync tty ports
<M> PPP Deflate compression
<M> PPP BSD-Compress compression

_________________
Poah!
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Wed Apr 05, 2006 8:48 pm    Post subject: Reply with quote

Salut,


Pourquoi as-tu un kernel 2.4 ?

Sinon colle ton fichier /etc/ppp/pppoe.conf sans tes identifiants bien sûr !!!!
As-tu vérifié ce fichier ?

Tes fichiers /etc/ppp/chap-secrets et pap-secrets ont bien ton pass et ton identifiant de connexion ?

Colle cette commande:
Code:
ifconfig -a




@+
_________________
Get Up and Go !
Back to top
View user's profile Send private message
ark
n00b
n00b


Joined: 27 Aug 2003
Posts: 70
Location: BZH

PostPosted: Wed Apr 05, 2006 8:58 pm    Post subject: Reply with quote

hum pour le 2.4 jlavais mis ya un moment, jpensais que c'etait mieux pour un serv

pppoe.conf :
Quote:

# When you configure a variable, DO NOT leave spaces around the "=" sign.

# Ethernet card connected to ADSL modem
#
# NB: Gentoo overrides ETH when adsl-start is called from the
# networking scripts. This setting has no effect in that case.
ETH='eth1'

# ADSL user name. You may have to supply "@provider.com" Sympatico
# users in Canada do need to include "@sympatico.ca"
# Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
# contains the right username/password combination.
# For Magma, use xxyyzz@magma.ca
USER='fti/xxxxxx'

# Bring link up on demand? Default is to leave link up all the time.
# If you want the link to come up on demand, set DEMAND to a number indicating
# the idle time after which the link is brought down.
DEMAND=no
#DEMAND=300

# DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
# NOCHANGE=do not adjust.
DNSTYPE=SPECIFY

# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS. Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=no

DNS1=193.252.19.3
DNS2=193.252.19.4

# Make the PPPoE connection your default route. Set to
# DEFAULTROUTE=no if you don't want this.
DEFAULTROUTE=yes

### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT

# How long adsl-start waits for a new PPP interface to appear before
# concluding something went wrong. If you use 0, then adsl-start
# exits immediately with a successful status and does not wait for the
# link to come up. Time is in seconds.
#
# WARNING WARNING WARNING:
#
# If you are using rp-pppoe on a physically-inaccessible host, set
# CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying
# to connect forever after adsl-start is called. Otherwise, it will
# give out after CONNECT_TIMEOUT seconds and will not attempt to
# connect again, making it impossible to reach.
CONNECT_TIMEOUT=30

# How often in seconds adsl-start polls to check if link is up
CONNECT_POLL=2

# Specific desired AC Name
ACNAME=

# Specific desired service name
SERVICENAME=

# Character to echo at each poll. Use PING="" if you don't want
# anything echoed
PING="."

# File where the adsl-connect script writes its process-ID.
# Three files are actually used:
# $PIDFILE contains PID of adsl-connect script
# $PIDFILE.pppoe contains PID of pppoe process
# $PIDFILE.pppd contains PID of pppd process
#
# NB: Gentoo overrides PIDFILE when adsl-start is run from the
# networking scripts. This setting has no effect in that case.
PIDFILE="/var/run/$CF_BASE-adsl.pid"

# Do you want to use synchronous PPP? "yes" or "no". "yes" is much
# easier on CPU usage, but may not work for you. It is safer to use
# "no", but you may want to experiment with "yes". "yes" is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others.
SYNCHRONOUS=no

# Do you want to clamp the MSS? Here's how to decide:
# - If you have only a SINGLE computer connected to the ADSL modem, choose
# "no".
# - If you have a computer acting as a gateway for a LAN, choose "1412".
# The setting of 1412 is safe for either setup, but uses slightly more
# CPU power.
CLAMPMSS=1412
#CLAMPMSS=no

# LCP echo interval and failure count.
LCP_INTERVAL=20
LCP_FAILURE=3

# PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
PPPOE_TIMEOUT=80

# Firewalling: One of NONE, STANDALONE or MASQUERADE
FIREWALL=NONE

# Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
# plugin, use LINUX_PLUGIN=rp-pppoe.so
LINUX_PLUGIN=

# Any extra arguments to pass to pppoe. Normally, use a blank string
# like this:
PPPOE_EXTRA=""

# Rumour has it that "Citizen's Communications" with a 3Com
# HomeConnect ADSL Modem DualLink requires these extra options:
# PPPOE_EXTRA="-f 3c12:3c13 -S ISP"

# Any extra arguments to pass to pppd. Normally, use a blank string
# like this:
PPPD_EXTRA=""


########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
# If you wish to COMPLETELY overrride the pppd invocation:
# Example:
# OVERRIDE_PPPD_COMMAND="pppd call dsl"

# If you want adsl-connect to exit when connection drops:
# RETRY_ON_FAILURE=no


ifconfig -a :
Quote:

eth0 Link encap:Ethernet HWaddr 00:05:5D:6A:DC:3A
inet addr:192.168.1.5 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7830 errors:0 dropped:0 overruns:0 frame:0
TX packets:5422 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:664572 (648.9 Kb) TX bytes:1851376 (1.7 Mb)
Interrupt:10 Base address:0xe000

eth1 Link encap:Ethernet HWaddr 00:0D:88:4F:1A:7C
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2852 (2.7 Kb) TX bytes:4020 (3.9 Kb)
Interrupt:11 Base address:0xe400


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


et oui pour chap et pap
_________________
Poah!
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Wed Apr 05, 2006 9:18 pm    Post subject: Reply with quote

Salut,


Pour un serveur un kernel-2.6 hardened !!!!

Sinon moi aussi, j'ai mon propre routeur/firewall(iptables)/serveur + point d'accès wifi avec une gentoo :D ...
Ton modem est configurer comment ?
Il faut le mettre en passerelle (bridge) !!!!

Essais :
Code:
/etc/init.d/net.eth1  restart

Si tu te connectes, tu n'es pas ds le bon mode...alors règle ton modem en bridge pour utiliser le client pppoe...

Colle aussi le /etc/conf.d/net


@+
_________________
Get Up and Go !
Back to top
View user's profile Send private message
ark
n00b
n00b


Joined: 27 Aug 2003
Posts: 70
Location: BZH

PostPosted: Wed Apr 05, 2006 9:43 pm    Post subject: Reply with quote

hum il se configure pas le modem jcrois, c'est un sagem fast908.
pour eth1 jai rien conf, il attend le dhcp si jle restart, pppoe s'en charge pas ?
_________________
Poah!
Back to top
View user's profile Send private message
man in the hill
Veteran
Veteran


Joined: 15 Dec 2005
Posts: 1552
Location: Madinina

PostPosted: Wed Apr 05, 2006 10:05 pm    Post subject: Reply with quote

Salut,


Pour info,regarde un post que j'ai fait et l'explication de widan :
https://forums.gentoo.org/viewtopic-p-3168591-highlight-.html#3168591



@+
_________________
Get Up and Go !
Back to top
View user's profile Send private message
ark
n00b
n00b


Joined: 27 Aug 2003
Posts: 70
Location: BZH

PostPosted: Thu Apr 06, 2006 1:55 pm    Post subject: Reply with quote

mais personne sait d'ou vient cette erreur ?
Quote:
Couldn't open pty slave /dev/pts/0: No such file or directory


J'ai bien devpts et unix pty support de mis dans le kernel
_________________
Poah!
Back to top
View user's profile Send private message
ark
n00b
n00b


Joined: 27 Aug 2003
Posts: 70
Location: BZH

PostPosted: Thu Apr 06, 2006 7:44 pm    Post subject: Reply with quote

c'est bon pour pts par contre les LCP: timeout et Timeout waiting for PADO packets ..
jvois plus quoi faire la, si des ptites idees encore :)
_________________
Poah!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum