Talk:Linux PPPoE/ADSL Clinet Support
Undoing changes by pppoeconf
Date: 2008-02-02 | Tags: linux, ubuntu
I just got my new Dell with Ubuntu and thought I needed to configure something to get my new DSL service up and running so I ran pppoeconf. (It turns out I needed to register with ATT first. See my previous post.) So I needed to undo the changes I made with pppoeconf. Googling around a little, it appears there is no undo command for pppoeconf. However, I found the key configuration file was: /etc/network/interfaces. I looked at it, but wasn't sure which stuff to delete. I popped in my Ubuntu live installation disk (included with my Dell). Using the live CD, the internet worked great. So I looked at the /etc/network/interfaces while using the live CD and then edited my installed version to match.
Here is what my /etc/network/interfaces file looked like after running pppoeconf:
auto lo iface lo inet loopback
auto dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider
auto eth0 iface eth0 inet manual
Here is the default /etc/network/interfaces on Ubuntu 7.10 Gutsy (only two lines):
auto lo iface lo inet loopback
Remove pppoe settings manually
Remove pppoe settings manually. First, edit /etc/network/interfaces and comment out the pppoe part:
auto lo iface lo inet loopback
# auto dsl-provider # iface dsl-provider inet ppp # pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf # provider dsl-provider
auto eth0 iface eth0 inet manual
Then change the last line from manual to dhcp:
iface eth0 inet dhcp
Remove the file /etc/ppp/peers/dsl-provider. Finally, restart networking: “sudo /etc/init.d/networking restart“.
undo
Uninstall pppoeconf
To remove just pppoeconf package itself from Ubuntu 16.04 (Xenial Xerus) execute on terminal:
sudo apt-get remove pppoeconf
Uninstall pppoeconf and it's dependent packages
To remove the pppoeconf package and any other dependant package which are no longer needed from Ubuntu Xenial.
sudo apt-get autoremove pppoeconf
Purging pppoeconf
If you also want to delete configuration and/or data files of pppoeconf from Ubuntu Xenial then this will work:
sudo apt-get purge pppoeconf
To delete configuration and/or data files of pppoeconf and it's dependencies from Ubuntu Xenial then execute:
sudo apt-get autoremove --purge pppoeconf
In Linux Mint 19.2 the file /etc/network/interfaces was modified by pppoeconf
sudo vi /etc/network/interfaces