Difference between revisions of "Linux PPPoE/ADSL Clinet Support"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
m
m (Using pppoeconf)
 
(4 intermediate revisions by one user not shown)
Line 2: Line 2:
  
  
pppoe clamp MSS at 1452 bytes  (If you still get problems described above try setting to 1412 in the dsl-provider file.)
+
== Using pppoeconf ==
Now, you can make a DSL connection with "pon dsl-provider" and terminate it with "poff".
+
Tested and successful on a Mint 19.2 system, provides the ability to connect to a bridge mode router and provide PPPoE authentication to the ISP.
You can use the "plog" command to see the status or "ip addr show ppp0" for general interface info.
+
  
== undo ==
+
You can install it
 +
sudo apt install pppoeconf
  
Uninstall pppoeconf
 
  
To remove just pppoeconf package itself from Ubuntu 16.04 (Xenial Xerus) execute on terminal:
+
Running 'pppoeconf' from the command line will prompt the user for a sudo user password.  Accepting defaults and providing the correct username and password will work for most people.
  
  sudo apt-get remove pppoeconf
+
  pppoe clamp MSS at 1452 bytes  (If you still get problems described above try setting to 1412 in the dsl-provider file.)
 +
Now, you can make a DSL connection with "pon dsl-provider" and terminate it with "poff". 
 +
You can use the "plog" command to see the status or "ip addr show ppp0" for general interface info.
  
Uninstall pppoeconf and it's dependent packages
+
== Undo and Reverse Changes to your Linux Mint system after using pppoeconf ==
 +
The pppoeconf utility was tested and used successfully on a Linux Mint 19.2 installation with a PC that had a wired Ethernet controller and a Wireless controller also.  The wireless controller is not relevant to this example.
  
To remove the pppoeconf package and any other dependant package which are no longer needed from Ubuntu Xenial.
+
The owner of the system no longer needed to use pppoeconf on the system after purchasing a router/firewall appliance.  However, it was no longer possible to configure the network settings from the Mint applet.
  
 +
To remove pppoeconf from the system
 +
sudo apt-get remove pppoeconf
 
  sudo apt-get autoremove pppoeconf
 
  sudo apt-get autoremove pppoeconf
 +
sudo apt-get purge pppoeconf
  
Purging pppoeconf
+
After a reboot the wired interface appears in the "Network Connections" applet and the interface also appears in 'ifconfig'.  However, the interface is still not visible in the "Network" applet, this is the one that lets you toggle the connection on and off by clicking.  Although 'ifconfig -a' shows the Ethernet interface, the Mint Network Connections applet no longer is able to modify the configuration. It is simply ignored.
  
If you also want to delete configuration and/or data files of pppoeconf from Ubuntu Xenial then this will work:
+
Next step:  In Linux Mint 19.2 the file /etc/network/interfaces was modified by pppoeconf
 +
sudo vi /etc/network/interfaces
 +
Remove all the stuff added by pppoeconf. This is pretty much anything after the 4th line.
  
  sudo apt-get purge pppoeconf
+
For most people you should only have the following in the /etc/network/interfaces file:
 +
  # interfaces(5) file used by ifup(8) and ifdown(8)
 +
auto lo
 +
iface lo inet loopback
  
To delete configuration and/or data files of pppoeconf and it's dependencies from Ubuntu Xenial then execute:
+
After a reboot the standard Mint Network applet will show the device and Network Connections will allow configuration once again.  This essentially restores the system using the mint alternative configuration rather than the traditional configuration that one might find on a pure Debian system.  Mint does the same messing around with standards that Ubuntu does in the case, just differently in their own minty way.
  
sudo apt-get autoremove --purge pppoeconf
+
[[Category:Computer_Technology]]
 +
[[Category:Linux]]

Latest revision as of 17:00, 4 December 2020

The ncurses utility PPPoE/ADSL - PPP over ethernet driver. pppoeconf Configures PPP/ADSL connections.


Using pppoeconf

Tested and successful on a Mint 19.2 system, provides the ability to connect to a bridge mode router and provide PPPoE authentication to the ISP.

You can install it

sudo apt install pppoeconf


Running 'pppoeconf' from the command line will prompt the user for a sudo user password. Accepting defaults and providing the correct username and password will work for most people.

pppoe clamp MSS at 1452 bytes  (If you still get problems described above try setting to 1412 in the dsl-provider file.)
Now, you can make a DSL connection with "pon dsl-provider" and terminate it with "poff".  
You can use the "plog" command to see the status or "ip addr show ppp0" for general interface info.

Undo and Reverse Changes to your Linux Mint system after using pppoeconf

The pppoeconf utility was tested and used successfully on a Linux Mint 19.2 installation with a PC that had a wired Ethernet controller and a Wireless controller also. The wireless controller is not relevant to this example.

The owner of the system no longer needed to use pppoeconf on the system after purchasing a router/firewall appliance. However, it was no longer possible to configure the network settings from the Mint applet.

To remove pppoeconf from the system

sudo apt-get remove pppoeconf
sudo apt-get autoremove pppoeconf
sudo apt-get purge pppoeconf

After a reboot the wired interface appears in the "Network Connections" applet and the interface also appears in 'ifconfig'. However, the interface is still not visible in the "Network" applet, this is the one that lets you toggle the connection on and off by clicking. Although 'ifconfig -a' shows the Ethernet interface, the Mint Network Connections applet no longer is able to modify the configuration. It is simply ignored.

Next step: In Linux Mint 19.2 the file /etc/network/interfaces was modified by pppoeconf

sudo vi /etc/network/interfaces

Remove all the stuff added by pppoeconf. This is pretty much anything after the 4th line.

For most people you should only have the following in the /etc/network/interfaces file:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

After a reboot the standard Mint Network applet will show the device and Network Connections will allow configuration once again. This essentially restores the system using the mint alternative configuration rather than the traditional configuration that one might find on a pure Debian system. Mint does the same messing around with standards that Ubuntu does in the case, just differently in their own minty way.