Dear Gregory,
Am Dienstag, den 07.10.2008, 00:33 +0200 schrieb Gregory Colpart: > > could you please provide a big fat warning when configuring pppoeconf > > and /e/n/i already exists/is already setup. Something like this. > > > > It looks like your network is already configured. Please note, that > > pppoeconf is currently not able to ensure to adapt this file to work > > properly. You are advised, to move this file. > > There are already a warning when /e/n/i appears to be invalid > after pppoeconf modification. Well, I did not see any. > I agree that I could add a warning > everytime before set modifications. As I understood it, there are just problems if /e/n/i has been configured beforehand. So it should be sufficient to show this warning if there are lines like # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp from the Debian-Installer, which interfere. I guess iface eth0 inet dhcp conflicts for example. > > I was using the portable system with a router before and > > network-manager-gnome. Wanting to access the Internet using directly a > > DSL modem I could not get pppoeconf to set it up to work. > > Please provide the broken files (/e/n/i, dsl-provider, > chap-secrets, pap-secrets) and log messages about failures. $ cat /etc/network/interfaces # file after first run of sudo pppoeconf $ # This did not work. # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider $ cat /etc/network/interfaces # file after reading [1] and running sudo\ pppoeconf # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback auto eth0 iface eth0 inet ppp pre-up /sbin/ifconfig eth0 up post-down /sbin/ifconfig eth0 down #create ppp0 interface which connects via eth0 connection provider dsl-provider iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider I do not have the other files anymore. > > I than adapted /e/n/i to proposal 1 in [1] and probably had a > > authentication error afterwards. Deleting chap-secrets and pap-secrets > > and rerunning sudo pppoeconf solved it finally for me. > > I don't really understand your problem: was it just a password issue? No, I just needed to tell someone the problems I went through ;-) Only the second issue was probably a password issue. The following messages were logged. Oct 3 19:10:52 x pppd[1778]: PADS: Service-Name: '' Oct 3 19:10:52 x pppd[1778]: PPP session is 7582 Oct 3 19:10:52 x pppd[1778]: using channel 2 Oct 3 19:10:52 x pppd[1778]: Using interface ppp0 Oct 3 19:10:52 x pppd[1778]: Connect: ppp0 <--> eth0 Oct 3 19:10:52 x pppd[1778]: sent [LCP ConfReq id=0x5 <mru 1492> <magic 0xd9f005d8>] Oct 3 19:10:53 x pppd[1778]: rcvd [LCP ConfReq id=0x3e <mru 1492> <auth pap> <magic 0x11abeb62>] Oct 3 19:10:53 x pppd[1778]: sent [LCP ConfAck id=0x3e <mru 1492> <auth pap> <magic 0x11abeb62>] Oct 3 19:10:53 x pppd[1778]: rcvd [LCP ConfAck id=0x5 <mru 1492> <magic 0xd9f005d8>] Oct 3 19:10:53 x pppd[1778]: sent [LCP EchoReq id=0x0 magic=0xd9f005d8] Oct 3 19:10:53 x pppd[1778]: sent [PAP AuthReq id=0xc user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:10:53 x pppd[1778]: rcvd [LCP EchoRep id=0x0 magic=0x11abeb62] Oct 3 19:10:53 x pppd[1778]: rcvd [LCP ConfReq id=0x73 <mru 1492> <auth pap> <magic 0x11abeb62>] Oct 3 19:10:53 x pppd[1778]: sent [LCP ConfReq id=0x6 <mru 1492> <magic 0x6875f91f>] Oct 3 19:10:53 x pppd[1778]: sent [LCP ConfAck id=0x73 <mru 1492> <auth pap> <magic 0x11abeb62>] Oct 3 19:10:53 x pppd[1778]: rcvd [LCP ConfAck id=0x6 <mru 1492> <magic 0x6875f91f>] Oct 3 19:10:53 x pppd[1778]: sent [LCP EchoReq id=0x0 magic=0x6875f91f] Oct 3 19:10:53 x pppd[1778]: sent [PAP AuthReq id=0xd user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:10:53 x pppd[1778]: rcvd [LCP EchoRep id=0x0 magic=0x11abeb62] Oct 3 19:10:56 x pppd[1778]: sent [PAP AuthReq id=0xe user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:10:59 x pppd[1778]: sent [PAP AuthReq id=0xf user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:02 x pppd[1778]: sent [PAP AuthReq id=0x10 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:05 x pppd[1778]: sent [PAP AuthReq id=0x11 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:08 x pppd[1778]: sent [PAP AuthReq id=0x12 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:11 x pppd[1778]: sent [PAP AuthReq id=0x13 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:14 x pppd[1778]: sent [PAP AuthReq id=0x14 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:17 x pppd[1778]: sent [PAP AuthReq id=0x15 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:20 x pppd[1778]: sent [PAP AuthReq id=0x16 user="[EMAIL PROTECTED]" password=<hidden>] Oct 3 19:11:23 x pppd[1778]: sent [LCP EchoReq id=0x1 magic=0x6875f91f] Oct 3 19:11:23 x pppd[1778]: No response to PAP authenticate-requests Oct 3 19:11:23 x pppd[1778]: sent [LCP TermReq id=0x7 "Failed to authenticate ourselves to peer"] Oct 3 19:11:26 x pppd[1778]: sent [LCP TermReq id=0x8 "Failed to authenticate ourselves to peer"] Oct 3 19:11:29 x pppd[1778]: Connection terminated. Oct 3 19:11:30 x pppd[1778]: Modem hangup Oct 3 19:11:57 x pppd[1778]: Terminating on signal 15 Oct 3 19:11:57 x pppd[1778]: Exit. > > PS: Is there a possible set up to use a Router by default (with DHCP) > > and just when issuing pon to connect over a modem directly? (For the > > cases with a notebook for example.) > > It requires probably a complex /e/n/i or high-level tool > (netconf? NetworkManager?). For sure, pppoeconf won't help > you for this setup. Thanks for the hints. • laptop-netconf sounds promising. • network-manager does not support PPPoE if I read the sites correctly on the net. But I am not sure. Thanks, Paul
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil