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

Re: Internet (Once and for all)

On Thu, 12 May 2005 22:30:44 -0400
"David R. Litwin" <presently42@gmail.com> wrote:

> Here is my problem. When I do this (I've done it countless times), the
> ppp0  does not show up in ifconfig. That is the problem. How do I
> solve it?

If you're not getting a ppp0 interface, that simply means you aren't
connecting to your ISP. The cause could be anything from
misconfiguration to wrong username or password, or even that the
Ethernet cable is disconnected. So let's diagnose this.

I'll assume that your Ethernet cable is connected and DSL modem is
turned on (otherwise, pppoeconf would error out and exit). The problem
could possibly be your /etc/network/interfaces file - feel free to copy

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

   # The loopback interface
   # automatically added when upgrading
   auto lo eth0
   iface lo inet loopback

   iface eth0 inet static

If you make any changes to /etc/network/interfaces, reboot (actually you
just need to restart the network, but rebooting is probably easier). Try
running "pon dsl-provider" - if it doesn't work, try running it as root
(to eliminate any possibility of a permissions error). If it's working
properly, this is the output you should see:

bob@sonic:~> pon dsl-provider
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2

If it still doesn't work, please post the output of "ifconfig" and I'll
get back to you.

By the way, when you ran "pppoeconf", did it give you any error
messages, or did it accept your username/password and exit without

best regards,

> On 12/05/05, Robert Storey <y2kbug@ms25.hinet.net> wrote:
> > 
> > Sorry, I missed the beginning of this thread. But I know how to set
> > up pppoe. Assuming that your Ethernet card is already being detected
> > (as indicated by ifconfig), do this:
> > 
> > 1) As root, run "pppoeconf"
> > 2) When asked for your username, you probably need to put the whole
> > thing, like "myname@myisp.com" (rather than just "myname")
> > 3) And, of course, supply the password when asked for it.
> > 4) You'll be asked if you want to start up pppoe on boot-up - I
> > prefer not to. You can start pppoe anytime with the command:
> > 
> > pon dsl-provider
> > 
> > and stop it with the command:
> > 
> > poff dsl-provider
> > 
> > A few notes: "dsl-provider" is literally just that. Don't substitute
> > the name of your ISP, type it exactly as I did above. Also, you
> > probably don't want to be root to use the pon and poff commands - in
> > that case, add yourself to "dip" group and relogin (dip - dial-up ip
> > I think). Make sure /etc/ppp/peers/dsl-provider is readable by group
> > dip by doing:
> > 
> > chmod 640 /etc/ppp/peers/dsl-provider
> > 
> > Check the results:
> > 
> > ls -l /etc/ppp/peers/dsl-provider
> > -rw-r----- 1 root dip 250 Feb 26 10:57 /etc/ppp/peers/dsl-provider
> > 
> > cheers,
> > Robert
> >

Reply to: