RE: Set up PPPoE




Vincent Trouilliez wrote:

>> I would like to know if someone can techme or tell me how to set up
a
>> pppoe connection from the command line.
>
>try : "sudo pppoeconf"
>
> That worked a treat under Warty. I have not had to use it on later
> Ubuntu releases, but it's probably still available...

Still works, but really lacks IMO to provide the required flexibility.
E.g. cannot handle multiple ADSL service providers/network
configuration, does not support supplying passwords at runtime (we use
RSA encryption seeds that change every 60 seconds as part of the
password), etc.

What it does do is create templates to hack. Look at file
/etc/ppp/peers/dsl-provider - this is the default that the config
creates. I used that as the base copy for configuring multiple
provider config files.

A funny - the username is specified in there -and- in the secrets
files (/etc/ppp/chap-secrets and /etc/ppp/pap-secrets). If the
username differs it uses the one in the /etc/ppp/peers/nnn config file
and not the one specified in the secrets file.

All these need to be run as sudo, so simply do a 'sudo bash' to become
root and then run the following commands.

To bring up the connection use
$ pon <provider>

Where provider is the applicable conf file in /etc/ppp/peers.

To shutdown use
# poff -a

This will terminate all pppoe connections.

I prefer tailing /var/log/messages over plog, e.g.
# tail -f /var/log/messages

This will show you all pppoe stuff and list any problems - like failed
auth. Note that there could be MTU set errors. It is safe to ignore
them (at least the connections work despite these in my case).

After pon, you can do an ifconfig to check the ppp device settings
(IP, netmask, etc).

--
Billy

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This e-mail and its contents are subject to the Telkom SA Limited
e-mail legal notice available at
http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
http://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: DHCP Intermittent loss of connection
    ... Since you are using Verizon DSL with a PPPOE connection, ... > put it to sleep (via the Power Management tab on the nic configuration ...
    (microsoft.public.windowsxp.network_web)
  • Re: Disconnecting from a dial up connection
    ... Terminate your dial-up / PPPoE connection at a specified time using Task Scheduler: ... command line command to disconnect the modem from phone line. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Set up PPPoE
    ... > I would like to know if someone can techme or tell me how to set up a ... > pppoe connection from the command line. ... Prev by Date: ...
    (Ubuntu)
  • Re: Using pppoe : nameserver not provided?
    ... >> Configuration was a breeze, ... >> I can't determine what nameserver the pppoe connection is directing ... the ISP nameserver was shown on the ...
    (freebsd-questions)
  • Set up PPPoE
    ... I would like to know if someone can techme or tell me how to set up a ... pppoe connection from the command line. ... Cristian. ...
    (Ubuntu)