Re: Internet (Once and for all)

From: Robert Storey (y2kbug_at_ms25.hinet.net)
Date: 05/13/05

  • Next message: Problem Email: "Migrating from Redhat 9 grub questions"
    Date: Fri, 13 May 2005 12:18:09 +0800
    To: "David R. Litwin" <presently42@gmail.com>
    
    

    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
    mine:

    # /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
              address 192.168.0.2
              netmask 255.255.255.0
              network 192.168.0.0
            broadcast 192.168.0.255

    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
    complaint?

    best regards,
    Robert

    >
    > 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
    > >
    >

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Problem Email: "Migrating from Redhat 9 grub questions"

    Relevant Pages

    • Re: Gnome to KDE (Internet Troubles)
      ... On 04/05/05, John Hasler wrote: ... PPP is in the base system and pppd is part of it. ... I printed the ifconfig from knoppix when I was properly connected. ... When I run ifconfig ppp0, ...
      (Debian-User)
    • ifconfig
      ... When I run ifconfig I get that ppp0 is given the Inet ... address of the ppp0 dev is supposed to be 192.168.0.20 and the P-t-P ...
      (comp.os.linux.networking)
    • Re: Internet (Once and for all)
      ... does not show up in ifconfig. ... You can start pppoe anytime with the command: ...
      (Debian-User)
    • Re: When is ppp0 created?
      ... command line, it seems to only create ppp0 once the link is actually ... or am i able to create routes to ppp0 ... shortly after pptp has been called. ... As you can see pptp says its using ppp0 yet it doesnt show in ifconfig ...
      (comp.os.linux.networking)