You are not logged in.

#1 2010-07-02 21:05:40

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

ADSL by pppoeconf. Don't works.... [solved]

I've a DSL-500B but I can't connect with it in bridge mode. nothing happens. just don't navigates

Last edited by ilkyest (2010-07-06 20:07:29)

Offline

#2 2010-07-03 07:55:19

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: ADSL by pppoeconf. Don't works.... [solved]

is your device not capable of connecting in bridge mode? if it is, have you set the correct VPI/VCI values. also, use pppoe -A -I <adsl device> to see if you can get a reply.

Offline

#3 2010-07-05 11:03:27

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: ADSL by pppoeconf. Don't works.... [solved]

On router mode it's working. but, on bridge, with same vcp/vci nothing happens

Offline

#4 2010-07-05 17:03:12

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: ADSL by pppoeconf. Don't works.... [solved]

what is the response of the pppoe command, is it able to detect the PPP server of your ISP, what is the log of pppoe in /var/log/everything.log

Offline

#5 2010-07-05 23:19:48

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: ADSL by pppoeconf. Don't works.... [solved]

well. the response of the command is ok. "conected!" but the modem's data light don't flashes. And firefox waits 'til say "so much time to response'

let's show

Jul  5 10:08:26 ilkyest pppoe-connect: PPPoE connection lost; attempting re-connection.
Jul  5 10:08:31 ilkyest pppd[6126]: pppd 2.4.5 started by root, uid 0
Jul  5 10:08:31 ilkyest pppd[6126]: Using interface ppp0
Jul  5 10:08:31 ilkyest pppd[6126]: Connect: ppp0 <--> /dev/pts/2
Jul  5 10:08:32 ilkyest pppoe[6127]: PADS: Service-Name: ''
Jul  5 10:08:32 ilkyest pppoe[6127]: PPP session is 56511 (0xdcbf)
Jul  5 10:08:33 ilkyest pppd[6126]: PAP authentication succeeded
Jul  5 10:08:33 ilkyest pppd[6126]: not replacing existing default route via 10.1.1.1
Jul  5 10:08:33 ilkyest pppd[6126]: Cannot determine ethernet address for proxy ARP
Jul  5 10:08:33 ilkyest pppd[6126]: local  IP address 14.26.209.211
Jul  5 10:08:33 ilkyest pppd[6126]: remote IP address 14.26.255.254
Jul  5 10:08:33 ilkyest pppd[6126]: primary   DNS address 201.10.128.2
Jul  5 10:08:33 ilkyest pppd[6126]: secondary DNS address 201.10.120.2
Jul  5 10:28:33 ilkyest -- MARK --
Jul  5 10:29:45 ilkyest kernel: TCP: Peer 213.81.178.2:14598/58751 unexpectedly shrunk window 2529552710:2529552715 (repaired)
Jul  5 10:42:51 ilkyest kernel: TCP: Peer 213.81.178.2:14598/54692 unexpectedly shrunk window 1974329313:1974329318 (repaired)
Jul  5 10:47:37 ilkyest kernel: TCP: Peer 213.81.178.2:14598/43070 unexpectedly shrunk window 2178282648:2178282653 (repaired)
Jul  5 10:53:38 ilkyest kernel: TCP: Peer 213.81.178.2:14598/41931 unexpectedly shrunk window 3547197739:3547197744 (repaired)
Jul  5 10:57:14 ilkyest kernel: TCP: Peer 213.81.178.2:14598/47707 unexpectedly shrunk window 2621619027:2621619032 (repaired)
Jul  5 10:59:01 ilkyest crond[3785]: FILE /var/spool/cron/root USER root PID 6156 job sys-hourly
Jul  5 11:19:01 ilkyest -- MARK --
Jul  5 11:39:01 ilkyest -- MARK --
Jul  5 11:53:20 ilkyest kernel: TCP: Peer 213.81.178.2:14598/51623 unexpectedly shrunk window 3872440494:3872440499 (repaired)
Jul  5 11:59:01 ilkyest crond[3785]: FILE /var/spool/cron/root USER root PID 6160 job sys-hourly
Jul  5 12:19:01 ilkyest -- MARK --
Jul  5 12:39:01 ilkyest -- MARK --
Jul  5 12:46:01 ilkyest kernel: TCP: Peer 213.81.178.2:14598/53654 unexpectedly shrunk window 1903670730:1903670735 (repaired)
Jul  5 12:59:01 ilkyest crond[3785]: FILE /var/spool/cron/root USER root PID 6166 job sys-hourly
Jul  5 13:19:01 ilkyest -- MARK --
Jul  5 13:25:30 ilkyest kernel: TCP: Peer 213.81.178.2:14598/38548 unexpectedly shrunk window 397569036:397569041 (repaired)
Jul  5 13:45:30 ilkyest -- MARK --
Jul  5 13:58:17 ilkyest kernel: TCP: Peer 213.81.178.2:14598/38094 unexpectedly shrunk window 1180232807:1180232812 (repaired)
Jul  5 13:59:01 ilkyest crond[3785]: FILE /var/spool/cron/root USER root PID 6174 job sys-hourly

I'll try again in a few minutes. I don't believe that my provider requires a dialer, but.....

In a few minutes I'll post new things on this log
===========
continuing

Jul  5 17:27:40 ilkyest pppd[6526]: pppd 2.4.5 started by root, uid 0
Jul  5 17:27:40 ilkyest pppd[6526]: Using interface ppp0
Jul  5 17:27:40 ilkyest pppd[6526]: Connect: ppp0 <--> /dev/pts/2
Jul  5 17:27:40 ilkyest pppoe[6527]: PADS: Service-Name: ''
Jul  5 17:27:40 ilkyest pppoe[6527]: PPP session is 15351 (0x3bf7)
Jul  5 17:27:41 ilkyest pppd[6526]: PAP authentication succeeded
Jul  5 17:27:41 ilkyest pppd[6526]: not replacing existing default route via 10.1.1.1
Jul  5 17:27:41 ilkyest pppd[6526]: Cannot determine ethernet address for proxy ARP
Jul  5 17:27:41 ilkyest pppd[6526]: local  IP address 201.66.188.150
Jul  5 17:27:41 ilkyest pppd[6526]: remote IP address 201.14.223.254
Jul  5 17:27:41 ilkyest pppd[6526]: primary   DNS address 201.10.1.3
Jul  5 17:27:41 ilkyest pppd[6526]: secondary DNS address 201.10.120.3
Jul  5 17:27:43 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=151.55.35.143 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=117 ID=8237 DF PROTO=TCP SPT=50983 DPT=63555 WINDOW=8192 RES=0x00 SYN URGP=0
Jul  5 17:27:46 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=151.55.35.143 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=117 ID=8513 DF PROTO=TCP SPT=50998 DPT=40600 WINDOW=8192 RES=0x00 SYN URGP=0
Jul  5 17:27:48 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=151.55.35.143 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=117 ID=8790 DF PROTO=TCP SPT=50983 DPT=63555 WINDOW=8192 RES=0x00 SYN URGP=0
Jul  5 17:27:52 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=151.55.35.143 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=117 ID=9084 DF PROTO=TCP SPT=50998 DPT=40600 WINDOW=8192 RES=0x00 SYN URGP=0
Jul  5 17:28:22 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=200.125.95.66 DST=201.66.188.150 LEN=52 TOS=0x00 PREC=0x00 TTL=57 ID=5367 DF PROTO=TCP SPT=58334 DPT=32173 WINDOW=8192 RES=0x00 SYN URGP=0
Jul  5 17:28:31 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=200.125.95.66 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=57 ID=5399 DF PROTO=TCP SPT=58334 DPT=32173 WINDOW=8192 RES=0x00 SYN URGP=0
Jul  5 17:29:06 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=190.231.210.171 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=13525 DF PROTO=TCP SPT=4472 DPT=32173 WINDOW=65535 RES=0x00 SYN URGP=0
Jul  5 17:29:09 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=190.231.210.171 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=13555 DF PROTO=TCP SPT=4472 DPT=32173 WINDOW=65535 RES=0x00 SYN URGP=0
Jul  5 17:29:15 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=190.231.210.171 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=13583 DF PROTO=TCP SPT=4472 DPT=32173 WINDOW=65535 RES=0x00 SYN URGP=0
Jul  5 17:30:10 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=190.231.210.171 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=13939 DF PROTO=TCP SPT=4504 DPT=32173 WINDOW=65535 RES=0x00 SYN URGP=0
Jul  5 17:30:13 ilkyest kernel: IN=ppp0 OUT= MAC= SRC=190.231.210.171 DST=201.66.188.150 LEN=48 TOS=0x00 PREC=0x00 TTL=118 ID=13951 DF PROTO=TCP SPT=4504 DPT=32173 WINDOW=65535 RES=0x00 SYN URGP=0
Jul  5 17:31:21 ilkyest pppd[6526]: No response to 3 echo-requests
Jul  5 17:31:21 ilkyest pppd[6526]: Serial link appears to be disconnected.
Jul  5 17:31:21 ilkyest pppd[6526]: Connect time 3.7 minutes.
Jul  5 17:31:21 ilkyest pppd[6526]: Sent 0 bytes, received 4279 bytes.
Jul  5 17:31:27 ilkyest pppd[6526]: Connection terminated.
Jul  5 17:31:27 ilkyest pppd[6526]: Modem hangup
Jul  5 17:31:27 ilkyest pppoe[6527]: read (asyncReadFromPPP): Session 15351: Input/output error
Jul  5 17:31:27 ilkyest pppoe[6527]: Sent PADT
Jul  5 17:31:27 ilkyest pppd[6526]: Exit.
Jul  5 17:31:27 ilkyest pppoe-connect: PPPoE connection lost; attempting re-connection.
Jul  5 17:31:32 ilkyest pppd[6561]: pppd 2.4.5 started by root, uid 0
Jul  5 17:31:32 ilkyest pppd[6561]: Using interface ppp0
Jul  5 17:31:32 ilkyest pppd[6561]: Connect: ppp0 <--> /dev/pts/2
Jul  5 17:32:03 ilkyest pppd[6561]: LCP: timeout sending Config-Requests
Jul  5 17:32:03 ilkyest pppd[6561]: Connection terminated.
Jul  5 17:32:03 ilkyest pppd[6561]: Modem hangup
Jul  5 17:32:07 ilkyest pppoe[6562]: Timeout waiting for PADO packets
Jul  5 17:32:07 ilkyest pppd[6561]: Exit.
Jul  5 17:32:07 ilkyest pppoe-connect: PPPoE connection lost; attempting re-connection.
Jul  5 17:32:12 ilkyest pppd[6565]: pppd 2.4.5 started by root, uid 0
Jul  5 17:32:12 ilkyest pppd[6565]: Using interface ppp0
Jul  5 17:32:12 ilkyest pppd[6565]: Connect: ppp0 <--> /dev/pts/2
Jul  5 17:32:43 ilkyest pppd[6565]: LCP: timeout sending Config-Requests
Jul  5 17:32:43 ilkyest pppd[6565]: Connection terminated.
Jul  5 17:32:43 ilkyest pppd[6565]: Modem hangup
Jul  5 17:32:47 ilkyest pppoe[6566]: Timeout waiting for PADO packets
Jul  5 17:32:47 ilkyest pppd[6565]: Exit.
Jul  5 17:32:47 ilkyest pppoe-connect: PPPoE connection lost; attempting re-connection.
Jul  5 17:32:52 ilkyest pppd[6569]: pppd 2.4.5 started by root, uid 0
Jul  5 17:32:52 ilkyest pppd[6569]: Using interface ppp0
Jul  5 17:32:52 ilkyest pppd[6569]: Connect: ppp0 <--> /dev/pts/2
Jul  5 17:33:23 ilkyest pppd[6569]: LCP: timeout sending Config-Requests
Jul  5 17:33:23 ilkyest pppd[6569]: Connection terminated.
Jul  5 17:33:23 ilkyest pppd[6569]: Modem hangup
Jul  5 17:33:27 ilkyest pppoe[6570]: Timeout waiting for PADO packets
Jul  5 17:33:27 ilkyest pppd[6569]: Exit.
Jul  5 17:33:27 ilkyest pppoe-connect: PPPoE connection lost; attempting re-connection.
Jul  5 17:33:32 ilkyest pppd[6575]: pppd 2.4.5 started by root, uid 0
Jul  5 17:33:32 ilkyest pppd[6575]: Using interface ppp0
Jul  5 17:33:32 ilkyest pppd[6575]: Connect: ppp0 <--> /dev/pts/2

Last edited by ilkyest (2010-07-05 23:36:53)

Offline

#6 2010-07-06 05:17:56

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: ADSL by pppoeconf. Don't works.... [solved]

from your log file, yes, the ppoe connection is working but it is not replacing the default route, try deleting the original default route by using

route del default

and then try connecting to your provider. make sure that pppoe can properly modify your /etc/resolv.conf file so that the DNS server addresses from the ISP can be used.

Offline

#7 2010-07-06 11:13:13

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: ADSL by pppoeconf. Don't works.... [solved]

route del default

this command?

to pppoeconf be able to modify my resolv.conf, what may I do, or how can I be truth that pppoeconf has this ability? chmod +x resolv.conf?

Offline

#8 2010-07-06 11:24:16

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: ADSL by pppoeconf. Don't works.... [solved]

ops. I did route del default...... And it's working now. what wonderful....
=============

Okay. I added adsl to rc.conf, I don't know if it's necessary take off "network" from this. I didn't taked it off yet.

I've restarted my system....But, don't navigates again.

I did:

/etc/rc.d/adsl stop

route del default

adsl start.

navigating again.

What more may I do to do this "automatic"

Last edited by ilkyest (2010-07-06 11:34:17)

Offline

#9 2010-07-06 11:50:35

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: ADSL by pppoeconf. Don't works.... [solved]

if you are getting your network settings (your local ip) from your router/modem, save the following script, and then run it by adding it to /etc/rc.local

#!/bin/bash

route del default
/etc/rc.d/adsl start

this should automate it, if on the other hand, you are setting your local ip address statically, then you should ! the default gateway in rc.conf.

Offline

#10 2010-07-06 12:10:53

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: ADSL by pppoeconf. Don't works.... [solved]

ok.... but, on my rc.conf, the daemons adsl, and network, should I remove? adsl I think yes, cause rc.local would have it....but network?

I am not setting to a static ip.... What I would do is put a iptables
=============
my rc.conf

#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond hal alsa cups sensors fam kdm)

Last edited by ilkyest (2010-07-06 12:16:40)

Offline

#11 2010-07-06 12:32:21

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: ADSL by pppoeconf. Don't works.... [solved]

okay. it's working with network and without adsl.... adsl only on rc.local.

An now I'm fined. Why? I've passed 55 miles/hour on my connection, eheheheh.

Offline

Board footer

Powered by FluxBB