[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: connexion adsl impossible avec tele2



Ainsi parla efiliot@ens-lyon.fr le 007ème jour de l'an 2004:

> je n'arrive pas à me connecter avec télé2. Des détails :

Beu ? Curieux ;)

> - un modem Bewan ADSL Ethernet st 

pareil.

> - je suis en instable avec le kernel 2.6.0

Ah, 2.4 pour moi.

> - j'ai installé ppp, pppoe, et pppoeconf

Bien.

> - j'ai configuré avec pppoeconf

Très bien.

> - je tape pon dsl-provider et je n'ai pas de connection 

Beu ?

> (ping d'une adresse IP impossible, par contre je peux pinguer 
> mon modem)
> - l'adsl fonctionne sous windows

> Résultats de la commande ifconfig :
> 
> eth0      Link encap:Ethernet  HWaddr 00:00:39:AE:FF:DF  
>           inet addr:192.168.1.2  Bcast:192.168.1.255 
>           Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST  MTU:1500 
>           Metric:1 RX packets:82 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000 
>           RX bytes:4920 (4.8 KiB)  TX bytes:5124 (5.0 KiB)
>           Interrupt:11 Base address:0x6000 
> 
> 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)

Ça parait correct.

> Le résultat de la commande plog :
> Jan  7 19:33:28 platpays pppd[1179]: Script /usr/sbin/pppoe -I eth0 -T
> 80 -m 1452 finished (pid 1180), status = 0x1
> Jan  7 19:33:57 platpays pppd[1179]: Serial connection established.
> Jan  7 19:33:57 platpays pppd[1179]: Couldn't set tty to PPP
> discipline: Invalid argument
> Jan  7 19:33:58 platpays pppd[1179]: Script /usr/sbin/pppoe -I eth0 -T
> 80 -m 1452 finished (pid 1188), status = 0x1

Beu, là je comprends plus: c'est quoi le TTY dont il parle ?

> Le fichier /var/log/syslog :
> Jan  7 19:34:27 platpays pppd[1179]: Serial connection established.
> Jan  7 19:34:27 platpays pppd[1179]: Couldn't set tty to PPP
> discipline: Invalid argument
> Jan  7 19:34:28 platpays pppoe[1195]: PADS: Service-Name: ''
> Jan  7 19:34:28 platpays pppoe[1195]: PPP session is 19534
> Jan  7 19:34:28 platpays pppoe[1195]: read (asyncReadFromPPP): Session
> 19534: Input/output error
> Jan  7 19:34:28 platpays pppoe[1195]: Sent PADT
> Jan  7 19:34:28 platpays pppd[1179]: Script /usr/sbin/pppoe -I eth0 -T
> 80 -m 1452 finished (pid 1195), status = 0x1

Bon, un exemple de truc qui marche bien:

#######################################################################
pppd[259]: Serial connection established. pppd[259]: Using interface
ppp0 pppd[259]: Connect: ppp0 <--> /dev/pts/20
pppoe[30952]: PADS: Service-Name: ''
pppoe[30952]: PPP session is 5691
pppd[259]: CHAP authentication succeeded: CHAP authentication success,
unit 6644
pppd[259]: Cannot determine ethernet address for proxy ARP
pppd[259]: local  IP address 80.170.63.235 remote IP address 80.170.63.1
pppd[259]: primary   DNS address 212.151.136.242
pppd[259]: secondary DNS address 130.244.127.162
#######################################################################

#######################################################################
firewall:~# ifconfig ppp0
ppp0      Link encap:Point-to-Point Protocol
          inet addr:80.170.63.235  P-t-P:80.170.63.1 
Mask:255.255.255.255          UP POINTOPOINT RUNNING NOARP MULTICAST 
MTU:1492  Metric:1          RX packets:27407 errors:0 dropped:0
overruns:0 frame:0          TX packets:36033 errors:0 dropped:0
overruns:0 carrier:0          collisions:0 txqueuelen:3
          RX bytes:5721265 (5.4 MiB)  TX bytes:2715184 (2.5 MiB)
####################################################################### 

####################################################################### 
firewall:~# cat /etc/ppp/peers/dsl-provider
# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
 
pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
 
noipdefault
defaultroute
 
hide-password
lcp-echo-interval 60
lcp-echo-failure 3
 
connect /bin/true
noauth
persist
mtu 1492
user "euXXXXXX@tele2.fr"
usepeerdns
####################################################################### 

Et une solution éventuelle: as-tu compilé le support ppp-asyn dans ton
noyo:

####################################################################### 
bash-2.05b$ grep PPP /usr/src/linux/.config
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
####################################################################### 

Si c'est le cas:

- que donne "lsmod" ?
- que donne "pppoe -I eth0 -d" ?

sinon: bah recompile. Et ça ira mieux.

-- 
  .,p**"*=b_   Nicolas Rueff
 ?P"  .__ `*b   Montbéliard  -  France
|P  .d?'`&, 9|   http://rueff.tuxfamily.org
M:  |}   |- H'   n.rueff@free.fr
&|  `#?_._oH'   +33 6 77 64 44 80
`H.   "`"`'   GPG 0xDD44DAB4
 `#?.	    ICQ 97700474
   `^~.

We are Penguin. Resistance is futile. You will be assimilated.

Attachment: pgpCi0aEB_un7.pgp
Description: PGP signature


Reply to: