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

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "==Undoing changes by pppoeconf== [https://www.saltycrane.com/blog/2008/02/undoing-changes-by-pppoeconf/ Date: 2008-02-02 | Tags: linux, ubuntu] I just got my new Dell with ...")
 
(Remove pppoe settings manually: new section)
Line 23: Line 23:
 
  auto lo
 
  auto lo
 
  iface lo inet loopback
 
  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“.

Revision as of 13:15, 4 December 2020

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“.