public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] ppp connection problem
@ 2009-03-08 20:20 Moshe Kamensky
  2009-03-09  4:35 ` Mike Kazantsev
  2009-03-09 16:31 ` [gentoo-user] " Daniel da Veiga
  0 siblings, 2 replies; 9+ messages in thread
From: Moshe Kamensky @ 2009-03-08 20:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 777 bytes --]

Hi,

I am trying to help my father install gentoo on a new computer (I am 
across the ocean). We have a problem with the internet connection. He 
has an adsl account. He runs pppoe-start, and it says that he is 
connected. ifconfig shows that ppp0 is up, and gives an ip address.  
However, I can't ping that address (I get 100% packet loss). He also 
can't ping any address.

We called the ISP, and from their side it seems that he is connected, 
and everything is fine. I don't know where else to look. The log 
messages showed in the beginning messages of the form

LCP: timeout sending Config-Requests

but they seem to no longer appear. As I said, I don't even know where to 
start looking for the problem. Any help is appreciated.

Thank you,
Moshe


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] ppp connection problem
  2009-03-08 20:20 [gentoo-user] ppp connection problem Moshe Kamensky
@ 2009-03-09  4:35 ` Mike Kazantsev
  2009-03-09 22:09   ` [gentoo-user] " Moshe Kamensky
  2009-03-09 16:31 ` [gentoo-user] " Daniel da Veiga
  1 sibling, 1 reply; 9+ messages in thread
From: Mike Kazantsev @ 2009-03-09  4:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On Sun, 8 Mar 2009 16:20:32 -0400
Moshe Kamensky <moshe.kamensky@googlemail.com> wrote:

> We called the ISP, and from their side it seems that he is connected, 
> and everything is fine. I don't know where else to look. The log 
> messages showed in the beginning messages of the form
> 
> LCP: timeout sending Config-Requests
> 
> but they seem to no longer appear. As I said, I don't even know where to 
> start looking for the problem. Any help is appreciated.

I can suggest trying at least two things:

1. pon <connection name> debug nodetach
  You'll see a lot of messages, and, probably, some errors. Most of
  them are probably non-fatal, but try eliminating all of them by
  setting right asyncmap, compression, authentication etc
  In the end you should get IP and connection shouldn't break after a
  minute or so, which is often because of 2.

2. ip route
  Check that there's only one default route, that there's a route to IP
  you're connecing with, aside from default one through it, and that
  it's metric is lower than the default one. Check that you can still
  ping that IP.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] ppp connection problem
  2009-03-08 20:20 [gentoo-user] ppp connection problem Moshe Kamensky
  2009-03-09  4:35 ` Mike Kazantsev
@ 2009-03-09 16:31 ` Daniel da Veiga
  2009-03-09 16:31   ` Daniel da Veiga
  2009-03-09 22:06   ` [gentoo-user] " Moshe Kamensky
  1 sibling, 2 replies; 9+ messages in thread
From: Daniel da Veiga @ 2009-03-09 16:31 UTC (permalink / raw
  To: gentoo-user, gentoo-user

On Sun, Mar 8, 2009 at 17:20, Moshe Kamensky
<moshe.kamensky@googlemail.com> wrote:
> Hi,
>
> I am trying to help my father install gentoo on a new computer (I am
> across the ocean). We have a problem with the internet connection. He
> has an adsl account. He runs pppoe-start, and it says that he is
> connected. ifconfig shows that ppp0 is up, and gives an ip address.
> However, I can't ping that address (I get 100% packet loss). He also
> can't ping any address.
>
> We called the ISP, and from their side it seems that he is connected,
> and everything is fine. I don't know where else to look. The log
> messages showed in the beginning messages of the form
>
> LCP: timeout sending Config-Requests
>
> but they seem to no longer appear. As I said, I don't even know where to
> start looking for the problem. Any help is appreciated.
>

OK, this may me a little off topic. I don't even know where to start
when it comes to check your dad's connection. Being far away and not
knowing the exact messages, with no access to the machine itself, its
almost impossible to debug and resolve the problem.

My advice: get a router! Configure it for your dad's connection, the
router will assume the PPoE connection, saving you the trouble. It
also will act as a firewall and even if your dad's computer fail, any
other DHCP enabled device connected to the router will have Internet
access.

Anyway, my two cent :D

-- 
Daniel da Veiga



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] ppp connection problem
  2009-03-09 16:31 ` [gentoo-user] " Daniel da Veiga
@ 2009-03-09 16:31   ` Daniel da Veiga
  2009-03-09 22:06   ` [gentoo-user] " Moshe Kamensky
  1 sibling, 0 replies; 9+ messages in thread
From: Daniel da Veiga @ 2009-03-09 16:31 UTC (permalink / raw
  To: gentoo-user, gentoo-user

On Sun, Mar 8, 2009 at 17:20, Moshe Kamensky
<moshe.kamensky@googlemail.com> wrote:
> Hi,
>
> I am trying to help my father install gentoo on a new computer (I am
> across the ocean). We have a problem with the internet connection. He
> has an adsl account. He runs pppoe-start, and it says that he is
> connected. ifconfig shows that ppp0 is up, and gives an ip address.
> However, I can't ping that address (I get 100% packet loss). He also
> can't ping any address.
>
> We called the ISP, and from their side it seems that he is connected,
> and everything is fine. I don't know where else to look. The log
> messages showed in the beginning messages of the form
>
> LCP: timeout sending Config-Requests
>
> but they seem to no longer appear. As I said, I don't even know where to
> start looking for the problem. Any help is appreciated.
>

OK, this may me a little off topic. I don't even know where to start
when it comes to check your dad's connection. Being far away and not
knowing the exact messages, with no access to the machine itself, its
almost impossible to debug and resolve the problem.

My advice: get a router! Configure it for your dad's connection, the
router will assume the PPoE connection, saving you the trouble. It
also will act as a firewall and even if your dad's computer fail, any
other DHCP enabled device connected to the router will have Internet
access.

Anyway, my two cent :D

-- 
Daniel da Veiga



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: ppp connection problem
  2009-03-09 16:31 ` [gentoo-user] " Daniel da Veiga
  2009-03-09 16:31   ` Daniel da Veiga
@ 2009-03-09 22:06   ` Moshe Kamensky
  2009-03-09 23:26     ` Daniel da Veiga
  1 sibling, 1 reply; 9+ messages in thread
From: Moshe Kamensky @ 2009-03-09 22:06 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1860 bytes --]

* Daniel da Veiga <danieldaveiga@gmail.com> [09/03/09 12:33]:
> On Sun, Mar 8, 2009 at 17:20, Moshe Kamensky
> <moshe.kamensky@googlemail.com> wrote:
> > Hi,
> >
> > I am trying to help my father install gentoo on a new computer (I am
> > across the ocean). We have a problem with the internet connection. He
> > has an adsl account. He runs pppoe-start, and it says that he is
> > connected. ifconfig shows that ppp0 is up, and gives an ip address.
> > However, I can't ping that address (I get 100% packet loss). He also
> > can't ping any address.
> >
> > We called the ISP, and from their side it seems that he is connected,
> > and everything is fine. I don't know where else to look. The log
> > messages showed in the beginning messages of the form
> >
> > LCP: timeout sending Config-Requests
> >
> > but they seem to no longer appear. As I said, I don't even know where to
> > start looking for the problem. Any help is appreciated.
> >
> 
> OK, this may me a little off topic. I don't even know where to start
> when it comes to check your dad's connection. Being far away and not
> knowing the exact messages, with no access to the machine itself, its
> almost impossible to debug and resolve the problem.
> 
> My advice: get a router! Configure it for your dad's connection, the
> router will assume the PPoE connection, saving you the trouble. It
> also will act as a firewall and even if your dad's computer fail, any
> other DHCP enabled device connected to the router will have Internet
> access.
> 
> Anyway, my two cent :D
> 

Thanks for the advice. I was told that it is possible to configure the 
current modem as a router, and that's what I will try next. Generally 
speaking, I don't understand what is the advantage: the router also 
needs to be configured, and can also fail?

Thanks,
Moshe


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: ppp connection problem
  2009-03-09  4:35 ` Mike Kazantsev
@ 2009-03-09 22:09   ` Moshe Kamensky
  2009-03-09 22:22     ` Dale
  0 siblings, 1 reply; 9+ messages in thread
From: Moshe Kamensky @ 2009-03-09 22:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]


* Mike Kazantsev <mike_kazantsev@fraggod.net> [09/03/09 06:15]:
> On Sun, 8 Mar 2009 16:20:32 -0400
> Moshe Kamensky <moshe.kamensky@googlemail.com> wrote:
> 
> > We called the ISP, and from their side it seems that he is connected, 
> > and everything is fine. I don't know where else to look. The log 
> > messages showed in the beginning messages of the form
> > 
> > LCP: timeout sending Config-Requests
> > 
> > but they seem to no longer appear. As I said, I don't even know where to 
> > start looking for the problem. Any help is appreciated.
> 
> I can suggest trying at least two things:
> 
> 1. pon <connection name> debug nodetach
>   You'll see a lot of messages, and, probably, some errors. Most of
>   them are probably non-fatal, but try eliminating all of them by
>   setting right asyncmap, compression, authentication etc
>   In the end you should get IP and connection shouldn't break after a
>   minute or so, which is often because of 2.

Thanks. As far as I understand, the <connection name> should be the name 
of a file in /etc/ppp/peers? If so, this is probably something he should 
create.

> 
> 2. ip route
>   Check that there's only one default route, that there's a route to IP
>   you're connecing with, aside from default one through it, and that
>   it's metric is lower than the default one. Check that you can still
>   ping that IP.

I checked that already, that seems fine.

Thank you,
Moshe

> 
> -- 
> Mike Kazantsev // fraggod.net



[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: ppp connection problem
  2009-03-09 22:09   ` [gentoo-user] " Moshe Kamensky
@ 2009-03-09 22:22     ` Dale
  0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2009-03-09 22:22 UTC (permalink / raw
  To: gentoo-user

Moshe Kamensky wrote:
>
>
> Thanks. As far as I understand, the <connection name> should be the name 
> of a file in /etc/ppp/peers? If so, this is probably something he should 
> create.
>
>   

That can be created using pppconfig if I recall correctly.  I also
noticed pppoe-setup in case that may be of interest. 

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: ppp connection problem
  2009-03-09 22:06   ` [gentoo-user] " Moshe Kamensky
@ 2009-03-09 23:26     ` Daniel da Veiga
  2009-03-09 23:26       ` Daniel da Veiga
  0 siblings, 1 reply; 9+ messages in thread
From: Daniel da Veiga @ 2009-03-09 23:26 UTC (permalink / raw
  To: gentoo-user, gentoo-user

On Mon, Mar 9, 2009 at 19:06, Moshe Kamensky
<moshe.kamensky@googlemail.com> wrote:
> * Daniel da Veiga <danieldaveiga@gmail.com> [09/03/09 12:33]:
>> On Sun, Mar 8, 2009 at 17:20, Moshe Kamensky
>> <moshe.kamensky@googlemail.com> wrote:
>> > Hi,
>> >
>> > I am trying to help my father install gentoo on a new computer (I am
>> > across the ocean). We have a problem with the internet connection. He
>> > has an adsl account. He runs pppoe-start, and it says that he is
>> > connected. ifconfig shows that ppp0 is up, and gives an ip address.
>> > However, I can't ping that address (I get 100% packet loss). He also
>> > can't ping any address.
>> >
>> > We called the ISP, and from their side it seems that he is connected,
>> > and everything is fine. I don't know where else to look. The log
>> > messages showed in the beginning messages of the form
>> >
>> > LCP: timeout sending Config-Requests
>> >
>> > but they seem to no longer appear. As I said, I don't even know where to
>> > start looking for the problem. Any help is appreciated.
>> >
>>
>> OK, this may me a little off topic. I don't even know where to start
>> when it comes to check your dad's connection. Being far away and not
>> knowing the exact messages, with no access to the machine itself, its
>> almost impossible to debug and resolve the problem.
>>
>> My advice: get a router! Configure it for your dad's connection, the
>> router will assume the PPoE connection, saving you the trouble. It
>> also will act as a firewall and even if your dad's computer fail, any
>> other DHCP enabled device connected to the router will have Internet
>> access.
>>
>> Anyway, my two cent :D
>>
>
> Thanks for the advice. I was told that it is possible to configure the
> current modem as a router, and that's what I will try next. Generally
> speaking, I don't understand what is the advantage: the router also
> needs to be configured, and can also fail?
>

There are some advantages. The router (or modem in router mode) is
already configured, you usually just have to set the right auth method
(PPPoE) and provide a valid user/pass, and that's about it. It will
only authenticate when the connection is ready or keep trying till it
suceeds. You don't need to start the connection ever, you'll get a
firewall and DHCP server, and the configuration (usually a web
interface) is easy (at least easier than a ppp connection). Most
routers get all information and relay it (DNS, gateway) to their
address, or provide this info in DHCP, so there's no configuration to
do at your computer, as an eth0 not configured is assumed DHCP. Also
you can get rid of all ppp related stuff from the computer.

I only say that cause my dad's home connection was setup that way so I
would never have to spend a whole weekend afternoon teaching him
again, he turns the computer on and its already online.

-- 
Daniel da Veiga



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: ppp connection problem
  2009-03-09 23:26     ` Daniel da Veiga
@ 2009-03-09 23:26       ` Daniel da Veiga
  0 siblings, 0 replies; 9+ messages in thread
From: Daniel da Veiga @ 2009-03-09 23:26 UTC (permalink / raw
  To: gentoo-user, gentoo-user

On Mon, Mar 9, 2009 at 19:06, Moshe Kamensky
<moshe.kamensky@googlemail.com> wrote:
> * Daniel da Veiga <danieldaveiga@gmail.com> [09/03/09 12:33]:
>> On Sun, Mar 8, 2009 at 17:20, Moshe Kamensky
>> <moshe.kamensky@googlemail.com> wrote:
>> > Hi,
>> >
>> > I am trying to help my father install gentoo on a new computer (I am
>> > across the ocean). We have a problem with the internet connection. He
>> > has an adsl account. He runs pppoe-start, and it says that he is
>> > connected. ifconfig shows that ppp0 is up, and gives an ip address.
>> > However, I can't ping that address (I get 100% packet loss). He also
>> > can't ping any address.
>> >
>> > We called the ISP, and from their side it seems that he is connected,
>> > and everything is fine. I don't know where else to look. The log
>> > messages showed in the beginning messages of the form
>> >
>> > LCP: timeout sending Config-Requests
>> >
>> > but they seem to no longer appear. As I said, I don't even know where to
>> > start looking for the problem. Any help is appreciated.
>> >
>>
>> OK, this may me a little off topic. I don't even know where to start
>> when it comes to check your dad's connection. Being far away and not
>> knowing the exact messages, with no access to the machine itself, its
>> almost impossible to debug and resolve the problem.
>>
>> My advice: get a router! Configure it for your dad's connection, the
>> router will assume the PPoE connection, saving you the trouble. It
>> also will act as a firewall and even if your dad's computer fail, any
>> other DHCP enabled device connected to the router will have Internet
>> access.
>>
>> Anyway, my two cent :D
>>
>
> Thanks for the advice. I was told that it is possible to configure the
> current modem as a router, and that's what I will try next. Generally
> speaking, I don't understand what is the advantage: the router also
> needs to be configured, and can also fail?
>

There are some advantages. The router (or modem in router mode) is
already configured, you usually just have to set the right auth method
(PPPoE) and provide a valid user/pass, and that's about it. It will
only authenticate when the connection is ready or keep trying till it
suceeds. You don't need to start the connection ever, you'll get a
firewall and DHCP server, and the configuration (usually a web
interface) is easy (at least easier than a ppp connection). Most
routers get all information and relay it (DNS, gateway) to their
address, or provide this info in DHCP, so there's no configuration to
do at your computer, as an eth0 not configured is assumed DHCP. Also
you can get rid of all ppp related stuff from the computer.

I only say that cause my dad's home connection was setup that way so I
would never have to spend a whole weekend afternoon teaching him
again, he turns the computer on and its already online.

-- 
Daniel da Veiga



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-03-09 23:27 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 20:20 [gentoo-user] ppp connection problem Moshe Kamensky
2009-03-09  4:35 ` Mike Kazantsev
2009-03-09 22:09   ` [gentoo-user] " Moshe Kamensky
2009-03-09 22:22     ` Dale
2009-03-09 16:31 ` [gentoo-user] " Daniel da Veiga
2009-03-09 16:31   ` Daniel da Veiga
2009-03-09 22:06   ` [gentoo-user] " Moshe Kamensky
2009-03-09 23:26     ` Daniel da Veiga
2009-03-09 23:26       ` Daniel da Veiga

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox