Author Topic: ubuntu pppoeconf [SOLVED]  (Read 4994 times)

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
ubuntu pppoeconf [SOLVED]
« on: August 17, 2010, 02:06:57 am »
I pre-installed my ebox (well it later got ebox) with some VirtualBox VM's, pppoeconf and some private DDNS sytem working with ssh to some central server I have.

My problem is that ebox do not recognise my pppoe connection! ???

I will another posting to see how i can integrate my ddns system

Thanx
« Last Edit: August 22, 2011, 02:32:26 pm by JPB »

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: ubuntu pppoeconf
« Reply #1 on: August 24, 2010, 05:27:00 am »
Hello,

This is a community forum and we rely on the information you give to be able to help you. So the more info you can provide, the better is the chance of getting help.

Please take a look at the post that I have linked to in my signature for some tips on what information to include.
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
Re: ubuntu pppoeconf
« Reply #2 on: August 24, 2010, 11:18:15 pm »
Hello,

This is a community forum and we rely on the information you give to be able to help you. So the more info you can provide, the better is the chance of getting help.

Please take a look at the post that I have linked to in my signature for some tips on what information to include.
The Package: pppoeconf (1.19ubuntu1) http://packages.ubuntu.com/lucid/pppoeconf
creates pppoe connections via an Bridged router like an Bridged DSL router.  This will enable an direct IP number and all open ports bypassing all NAT ant other functionality of the Gateway - possibly NAT 'ed routing.

The link it create looks like this
Code: [Select]
ppp0      Link encap:Point-to-Point Protocol
          inet addr:41.222.122.222  P-t-P:41.222.122.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:1350943 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1573496 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:744630204 (744.6 MB)  TX bytes:1203528565 (1.2 GB)

It can be started automatically by the lines appending to your /etc/network/interfaces config file
Code: [Select]
...
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider
...

All other functionality and configuration is found in /etc/ppp specifically under /etc/ppp/peers is the file called /etc/ppp/peers/dsl-provider that contain the specific settings for the rp-pppoe.so plugin.

to install require only the command
Code: [Select]
sudo aptitude pppoeconffollowed by
Code: [Select]
sudo pppoeconfIn the end of this all ebox simply delete the functionality from the /etc/network/interfaces file and provide no alternative to do the same via the interface or otherwise!  If you can provide the solution of HOW to create an DSL dialup / other ppp connections using ebox I will be thankfull because that is an Awesome way to create an failover via 3G device and or dsl over pppoe when the normal internet connection fails.  Other reasons also exist.

P.S. A good understanding require half a word

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: ubuntu pppoeconf
« Reply #3 on: August 24, 2010, 11:39:41 pm »
Hi again,

We need one more thing from you: The version of eBox/Zentyal you are using.

As the different version uses very different versions of Ubuntu, the solution might depend on what you are running.
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
Re: ubuntu pppoeconf
« Reply #4 on: August 24, 2010, 11:59:57 pm »
Hi again,

We need one more thing from you: The version of eBox/Zentyal you are using.

As the different version uses very different versions of Ubuntu, the solution might depend on what you are running.
root@chaos:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.1 LTS
Release:        10.04
Codename:       lucid

Core version      1.5.13 - Zentyal

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: ubuntu pppoeconf
« Reply #5 on: August 25, 2010, 11:38:39 pm »
A couple of questions:

Did you try to set this up on a plain Ubuntu Server 10.04 with no VM's and no Zentyal?

Have you tried to disable networking in Zentyal and then set up pppoe manually?
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
Re: ubuntu pppoeconf
« Reply #6 on: August 26, 2010, 07:00:09 am »
A couple of questions:

Did you try to set this up on a plain Ubuntu Server 10.04 with no VM's and no Zentyal?

Have you tried to disable networking in Zentyal and then set up pppoe manually?

Yes I have about 19 servers doing this properly, It work strait away.
I was hoping that Zentyal will use "user" configurations or at worse be able to connect witj technology like pppoe other ppp and even 3g devices due to the fact that they have sorted the failover.

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: ubuntu pppoeconf
« Reply #7 on: August 27, 2010, 08:17:57 pm »
Just checked my own server and the natural place for it would be under the gateway settings.

After adding pppoe, what do you get when running

Code: [Select]
ifconfig
in a terminal? Do you get an extra interface?

If so, and the extra interface do not show in the Zentyal web interface, then it is safe to assume that Zentyal do not support pppoe yet. Then this would be something you should add as a feature request in the correct forum section.

Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

JPB

  • Zen Monk
  • **
  • Posts: 77
  • Karma: +1/-1
    • View Profile
Re: ubuntu pppoeconf
« Reply #8 on: September 02, 2010, 12:55:44 am »
Yes I do However Zentyal remove the /etc/network/interfaces entries that make it work!

Code: [Select]
root@zentyal:~# ifconfig |grep Link
eth0      Link encap:Ethernet  HWaddr 00:1a:92:1f:99:a6
lo        Link encap:Local Loopback
ppp0      Link encap:Point-to-Point Protocol

the route shows

Code: [Select]
root@zeus:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
44.44.44.1    0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.11.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0

The entries in the /etc/network/interfaces that make it work is:

Code: [Select]
auto dsl-provider
iface dsl-provider inet ppp
pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
provider dsl-provider



Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: ubuntu pppoeconf
« Reply #9 on: September 02, 2010, 05:35:22 am »
That mean it is safe to say that at this moment, the feature you are asking for do not exist. Please add this as a feature request.
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

jpv

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: ubuntu pppoeconf
« Reply #10 on: September 28, 2010, 11:12:29 pm »
I notice that the Zentyal website say they do support pppoe:
http://www.zentyal.com/en/products/server/gateway/

Unfortunately there isn't any documentation on how to configure it, yet.

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: ubuntu pppoeconf
« Reply #11 on: September 29, 2010, 12:32:54 am »
Unfortunately there isn't any documentation on how to configure it, yet.

PPPoE support was added in eBox 1.4, the doc is there since then:

http://doc.zentyal.org/en/intro.html#network-configuration-with-ebox-platform
Zentyal Server Lead Developer

Svein Wisnaes

  • Zen Samurai
  • ****
  • Posts: 325
  • Karma: +5/-0
  • A Norwegian living in Brazil
    • View Profile
    • Oceanwatcher Media | Svein Wisnaes
Re: ubuntu pppoeconf
« Reply #12 on: September 29, 2010, 01:58:35 am »
Shame on me for not checking through all options!  :-[
Regards,

Oceanwatcher
Do NOT use PM for support. This is a community forum and support is not on a one-on-one basis.
READ BEFORE POSTING - How to make a good post - click here

jpv

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: ubuntu pppoeconf
« Reply #13 on: September 29, 2010, 07:40:00 am »
Thanks J.A. Calvo.  According to the screenshot in the documentation it seems that it is fine to configure PPPoE with only one nic and setting that nic as external but then how do I create an internal static IP address for the internal side of the gateway?