What's the recommended way to deploy PPP/PPPoE in 20.04 ? Netplan doesn't seem to support that; Is ifupdown still the way forward even though it's going away ?
Cheers,
I have an Ubuntu Server 14.04 install which is connected to the internet using PPPoE. At the moment my ppp0
interface have an MTU of 1492 which mostly works.
I'd like to increase the MTU to 1500, which is supported by my ISP.
So far I have increased the MTU of the underlying Ethernet interface to 1508, and I have tried adding the following lines in /etc/ppp/peers/dsl-provider
mtu 1500
mru 1500
But my ppp0
interface still has an MTU of 1492. I believe the syntax of my added lines is correct, since using values lower than 1492 does work as expected.
Manually changing the MTU of the ppp0
interface to 1500 after it has been brought up works, but it only affects packets in one direction. Doing that I am able to send 1500 bytes packets across the internet and they will arrive at their destination with no fragmentation. But incoming traffic to me is still sent in 1492 byte fragments.
By capturing traffic on the Ethernet interface as the PPPoE connection is brought up, I can see that in the configuration request that my Ubuntu Server 14.04 machine sends to the provider, the MRU is specified as 1492. So I know the issue is on my end of the connection.
Why does Ubuntu Server 14.04 use 1492 as MRU in the configuration request, when the configuration file says 1500? And how can I change it to 1500?
I just installed Ubuntu 12.04 on a computer. I want to use this computer as a router for my other computers. The computer only has 1 network card, there is no slot for a second card. I can get the computer to connect to my ISP via pppoe and it can access the web. However the other computers on my local net can only see the router computer. I have tried 2 different pppoe packages, roaring penguin and network-manager-gnome.
When I get it to work I will be replacing a 15 year old computer that is running Slackware 7.1. The old computer is currently my router. It is running Roaring Penguin> I tried to setup the new computer with the same Roaring Penguin parameters as the old computer.
Bob
Does anybody knows why Ubuntu's NM does'n use native implementations for networking ?
For example if I set up a pppoe connection in the network manager (using nm-applet) it has it's own way of storing connections and doesn't use native debian networking sheme, for PPPoE use pppd and store settings in /etc/ppp/pears
. I once configured a wired connection that didn's show up in /etc/network/interfaces
but was visible in NM ... This is BAD for me because if I don't start X, from CLI I cannot connect to my network connections configured in NM ( or not as easy I would expect), for example in CLI I could do pon "dsl-provider" or poff to turn on or off pppoe connection, but my NM's pppoe connections are not visible to pppd and if I configure a pppoe connection using pppd is not visible in NM.
Maybe I am missing something and don't know how to use it ...
Thank you.
I use a wired PPPoE connection to connect to the Internet. What I need to do on Windows to connect to it is put in static IP address, gateway, subnet mask and DNS servers for my LAN card. Next I have to create a dialer for a PPPoE connection, put in my user name, the service name and the password, and "dial" this connection. And it works fine.
On Ubuntu 10.04, however, I have tried setting things up in a similar fashion - put in all static addresses for the "automatic" wired connection, then put in user name, service name, password for a "DSL" connection. It worked for a while, then stopped. I have tried putting in all the details within the DSL configuration dialog, same thing happened - it worked for a while, then stopped. I have tried deleting the ethernet connection and only keeping the DSL one with all the numbers put in place, same thing happened - it worked for a while, then stopped. Each of the times, when it connected, it connected randomly, after trying a few times, and either stopped working within a few minutes, or after I had rebooted. I have deleted and remade the connection dozens of times - even with different names, but nothing seems to be working.
I have also tried pppoeconf
from the terminal, didn't work.
I have checked /var/log/kern.log
, but nothing changes in the file when I try to connect. I have also checked /sbin/route
, but gedit can't even open it (says it can't figure the character encoding...).
The "connection established" notification pops up from the top right corner, the same way as when the computer is actually connected to a network.
Can anyone figure what's wrong and how it can be solved?