[LUG.ro Mix] No conecta ADSL Arnet en Debian Sarge

J. Mario Oroz lugro-mix@lugro.org.ar
Thu, 10 Nov 2005 16:32:48 -0300


Buenas Listeros;

Les comento el entorno:
Debian Sarge 3.1 kernel 2.4.27-2-386
Modem Aztech DSL 305EU con salida Ethernet
-configurado como bridge porque los vivos de arnet me
lo dieron conf. como router y me autoconectaba y eso no era lo
que queria-

Con realcion a que interface esta conectada; pues hay 2 ethernets:

eth0      Link encap:Ethernet  HWaddr 00:10:5A:99:25:8E
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1038188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1210828 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:159945194 (152.5 MiB)  TX bytes:873043081 (832.5 MiB)
          Interrupt:18 Base address:0xd880
eth1      Link encap:Ethernet  HWaddr 00:10:4B:9D:3E:11
          inet addr:200.73.xxx.xxx  Bcast:200.73.xxx.xxx  
Mask:255.255.xxx.xxx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1542212 errors:5 dropped:0 overruns:0 frame:10
          TX packets:1209372 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:899493912 (857.8 MiB)  TX bytes:191168693 (182.3 MiB)
          Interrupt:21 Base address:0xdc00
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:47390 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47390 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5838866 (5.5 MiB)  TX bytes:5838866 (5.5 MiB)
--------
La eth1 esta conectada aun servicio WDSL, con ip Publica y fija, en esta 
interface coloco el
cable que sale del modem/router Aztech.

El tema es que pppoeconf detecta y configura la coneccion adsl;
======> dsl-provider
# Configuration file for PPP, using PPP over Ethernet
# to connect to a DSL provider.
#
# See the manual page pppd(8) for information on all the options.

##
# Section 1
#
# Stuff to configure...

# MUST CHANGE: Uncomment the following line, replacing the user@provider.net
# by the DSL user name given to your by your DSL provider.
# (There should be a matching entry in /etc/ppp/pap-secrets with the 
password.)
#user myusername@myprovider.net

# Use the pppoe program to send the ppp packets over the Ethernet link
# This line should work fine if this computer is the only one accessing
# the Internet through this DSL connection. This is the right line to use
# for most people.
pty "/usr/sbin/pppoe -I eth1 -T 80 -m 1452"

# An even more conservative version of the previous line, if things
# don't work using -m 1452...
#pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1412"

# If the computer connected to the Internet using pppoe is not being used
# by other computers as a gateway to the Internet, you can try the following
# line instead, for a small gain in speed:
#pty "/usr/sbin/pppoe -I eth0 -T 80"

# The following two options should work fine for most DSL users.

# Assumes that your IP address is allocated dynamically
# by your DSL provider...
noipdefault
# Try to get the name server addresses from the ISP.
#usepeerdns
# Use this connection as the default route.
# Comment out if you already have the correct default route installed.
defaultroute

##
# Section 2
#
# Uncomment if your DSL provider charges by minute connected
# and you want to use demand-dialing.
#
# Disconnect after 300 seconds (5 minutes) of idle time.

#demand
#idle 300

##
# Section 3
#
# You shouldn't need to change these options...

hide-password
lcp-echo-interval 60
lcp-echo-failure 3
# Override any connect script that may have been set in /etc/ppp/options.
connect /bin/true
noauth
persist
mtu 1492

# RFC 2516, paragraph 7 mandates that the following options MUST NOT be
# requested and MUST be rejected if requested by the peer:
# Address-and-Control-Field-Compression (ACFC)
#noaccomp
# Asynchronous-Control-Character-Map (ACCM)
#default-asyncmap

#plugin rp-pppoe.so eth1
user "usuario@arnet-rosario-apd"
<====== fin dsl-provider

luego hago:
# pon dsl-provider
y en el log /var/log/messages
veo que se conecta; autentifica correctamente y luego de un segundo
se desconecta. Se observa que hubo trafico porque marca paquetes
recibidos y enviados. En todos los intentos pasa esto y la coneccion que
reintenta continuamente:
...
Nov 10 12:46:24 aries pppd[21728]: pppd 2.4.3 started by root, uid 0
Nov 10 12:46:24 aries pppd[21728]: Serial connection established.
Nov 10 12:46:24 aries pppd[21728]: Using interface ppp0
Nov 10 12:46:24 aries pppd[21728]: Connect: ppp0 <--> /dev/pts/6
Nov 10 12:46:24 aries pppd[21728]: PAP authentication succeeded
Nov 10 12:46:24 aries pppd[21728]: Connect time 0.0 minutes.
Nov 10 12:46:24 aries pppd[21728]: Sent 109 bytes, received 82 bytes.
Nov 10 12:46:24 aries pppd[21728]: LCP terminated by peer
Nov 10 12:46:24 aries pppd[21728]: Modem hangup
Nov 10 12:46:24 aries pppd[21728]: Connection terminated.
Nov 10 12:46:54 aries pppd[21728]: Serial connection established.
Nov 10 12:46:54 aries pppd[21728]: Using interface ppp0
Nov 10 12:46:54 aries pppd[21728]: Connect: ppp0 <--> /dev/pts/7
Nov 10 12:46:55 aries pppd[21728]: PAP authentication succeeded
Nov 10 12:46:55 aries pppd[21728]: Connect time 0.1 minutes.
Nov 10 12:46:55 aries pppd[21728]: Sent 109 bytes, received 82 bytes.
Nov 10 12:46:55 aries pppd[21728]: LCP terminated by peer
Nov 10 12:46:55 aries pppd[21728]: Modem hangup
Nov 10 12:46:55 aries pppd[21728]: Connection terminated.
Nov 10 12:47:25 aries pppd[21728]: Serial connection established.
Nov 10 12:47:25 aries pppd[21728]: Using interface ppp0
Nov 10 12:47:25 aries pppd[21728]: Connect: ppp0 <--> /dev/pts/8
Nov 10 12:47:25 aries pppd[21728]: PAP authentication succeeded
Nov 10 12:47:25 aries pppd[21728]: Connect time 0.0 minutes.
Nov 10 12:47:25 aries pppd[21728]: Sent 109 bytes, received 82 bytes.
Nov 10 12:47:25 aries pppd[21728]: LCP terminated by peer
Nov 10 12:47:25 aries pppd[21728]: Modem hangup
Nov 10 12:47:25 aries pppd[21728]: Connection terminated.
Nov 10 12:47:56 aries pppd[21728]: Serial connection established.
Nov 10 12:47:56 aries pppd[21728]: Using interface ppp0
Nov 10 12:47:56 aries pppd[21728]: Connect: ppp0 <--> /dev/pts/9
Nov 10 12:47:56 aries pppd[21728]: PAP authentication succeeded
Nov 10 12:47:56 aries pppd[21728]: Connect time 0.1 minutes.
Nov 10 12:47:56 aries pppd[21728]: Sent 109 bytes, received 82 bytes.
Nov 10 12:47:56 aries pppd[21728]: LCP terminated by peer
Nov 10 12:47:56 aries pppd[21728]: Modem hangup
Nov 10 12:47:56 aries pppd[21728]: Connection terminated.
Nov 10 12:48:26 aries pppd[21728]: Serial connection established.
Nov 10 12:48:26 aries pppd[21728]: Using interface ppp0
Nov 10 12:48:26 aries pppd[21728]: Connect: ppp0 <--> /dev/pts/10
Nov 10 12:48:26 aries pppd[21728]: PAP authentication succeeded
Nov 10 12:48:27 aries pppd[21728]: Connect time 0.1 minutes.
Nov 10 12:48:27 aries pppd[21728]: Sent 109 bytes, received 82 bytes.
Nov 10 12:48:27 aries pppd[21728]: LCP terminated by peer
Nov 10 12:48:27 aries pppd[21728]: Modem hangup
Nov 10 12:48:27 aries pppd[21728]: Connection terminated.
Nov 10 12:48:44 aries pppd[21728]: Terminating on signal 15
Nov 10 12:48:44 aries pppd[21728]: Exit.
...

Si les falta info... avisen!
Alguien me tira un punta!
desde ya Gracias.
Mario