From: Darrick H. <dha...@dj...> - 2007-05-08 02:17:10
|
There have been some issues with PPPoe, that I hope to get corrected. I need to better determine the problem and may need some assistance from users to get there. First, does anyone have a working PPPoE installation using Astlinux? If so, what did you need to modify to get it working? Defining EXTIF as ppp0 and setting the variables PPPOEUSER, PPPOEPASS and PPPOEIF should result in a configuration file being generated in /tmp/etc/ppp but nothing is generated. Let's get this corrected! Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Kristian K. <kri...@gm...> - 2007-05-08 02:47:59
|
On 5/7/07, Darrick Hartman <dha...@dj...> wrote: > There have been some issues with PPPoe, that I hope to get corrected. I > need to better determine the problem and may need some assistance from > users to get there. > > First, does anyone have a working PPPoE installation using Astlinux? If > so, what did you need to modify to get it working? > > Defining EXTIF as ppp0 and setting the variables PPPOEUSER, PPPOEPASS > and PPPOEIF should result in a configuration file being generated in > /tmp/etc/ppp but nothing is generated. > > Let's get this corrected! > > Darrick > Darrick, I use PPP quite a bit. Here is a box: grep -i ppp /etc/rc.conf: EXTIF=ppp0 PPPOEKERNEL="YES" PPPOEUSER="fakeuser" PPPOEPASS="fakepass" PPPOEIF=eth0 pbx ~ # cat /tmp/etc/ppp/pppoe.conf ETH=eth0 USER=fakeuser DEMAND=no DNSTYPE=SERVER PEERDNS=yes DNS1= DEFAULTROUTE=yes CONNECT_TIMEOUT=30 CONNECT_POLL=2 ACNAME= SERVICENAME= PING=. CONFIG=/etc/ppp CF_BASE=pppoe.conf PIDFILE=/var/run/pppoe.conf-adsl.pid SYNCHRONOUS=no CLAMPMSS=1412 LCP_INTERVAL=20 LCP_FAILURE=3 PPPOE_TIMEOUT=160 FIREWALL=NONE PPPOE_EXTRA= PPPD_EXTRA= LINUX_PLUGIN=/usr/lib/ppp/rp-pppoe.so pbx ~ # cat /tmp/etc/ppp/pap-secrets fakeuser * fakepass pbx ~ # ifconfig ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:X.X.X.X P-t-P:X.X.X.X Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:34252005 errors:0 dropped:0 overruns:0 frame:0 TX packets:23859058 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:3130688181 (2.9 GiB) TX bytes:2504443931 (2.3 GiB) Been up for quite some time... -- Kristian Kielhofner |
From: Darrick H. <dha...@dj...> - 2007-05-08 03:07:15
|
Kristian Kielhofner wrote: > On 5/7/07, Darrick Hartman <dha...@dj...> wrote: > >> There have been some issues with PPPoe, that I hope to get corrected. I >> need to better determine the problem and may need some assistance from >> users to get there. >> >> First, does anyone have a working PPPoE installation using Astlinux? If >> so, what did you need to modify to get it working? >> >> Defining EXTIF as ppp0 and setting the variables PPPOEUSER, PPPOEPASS >> and PPPOEIF should result in a configuration file being generated in >> /tmp/etc/ppp but nothing is generated. >> >> Let's get this corrected! >> >> Darrick >> >> > > Darrick, > > I use PPP quite a bit. Here is a box: > > grep -i ppp /etc/rc.conf: > EXTIF=ppp0 > PPPOEKERNEL="YES" > PPPOEUSER="fakeuser" > PPPOEPASS="fakepass" > PPPOEIF=eth0 > Kristian, Do you have "WANDELAY" set to anything? Perhaps that's what I'm missing. Thanks, Darrick > pbx ~ # cat /tmp/etc/ppp/pppoe.conf > ETH=eth0 > USER=fakeuser > DEMAND=no > DNSTYPE=SERVER > PEERDNS=yes > DNS1= > DEFAULTROUTE=yes > CONNECT_TIMEOUT=30 > CONNECT_POLL=2 > ACNAME= > SERVICENAME= > PING=. > CONFIG=/etc/ppp > CF_BASE=pppoe.conf > PIDFILE=/var/run/pppoe.conf-adsl.pid > SYNCHRONOUS=no > CLAMPMSS=1412 > LCP_INTERVAL=20 > LCP_FAILURE=3 > PPPOE_TIMEOUT=160 > FIREWALL=NONE > PPPOE_EXTRA= > PPPD_EXTRA= > LINUX_PLUGIN=/usr/lib/ppp/rp-pppoe.so > > pbx ~ # cat /tmp/etc/ppp/pap-secrets > fakeuser * fakepass > > pbx ~ # ifconfig ppp0 > ppp0 Link encap:Point-to-Point Protocol > inet addr:X.X.X.X P-t-P:X.X.X.X Mask:255.255.255.255 > UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 > RX packets:34252005 errors:0 dropped:0 overruns:0 frame:0 > TX packets:23859058 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:3130688181 (2.9 GiB) TX bytes:2504443931 (2.3 GiB) > > > Been up for quite some time... > > -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |
From: Kristian K. <kri...@gm...> - 2007-05-08 03:13:27
|
On 5/7/07, Darrick Hartman <dha...@dj...> wrote: > > Kristian, > > Do you have "WANDELAY" set to anything? Perhaps that's what I'm missing. > > Thanks, > > Darrick > Darrick, No sir. WANDELAY is only necessary if the WAN adapter is in the machine (usually for Sangoma cards) - you have to wait for the physcial negotation before you try to bring up PPP. That's what WANDELAY is for. Are you using a Sangoma card? -- Kristian Kielhofner |
From: Darrick H. <dha...@dj...> - 2007-05-08 03:59:00
|
Kristian Kielhofner wrote: > On 5/7/07, Darrick Hartman <dha...@dj...> wrote: > >> Kristian, >> >> Do you have "WANDELAY" set to anything? Perhaps that's what I'm missing. >> >> Thanks, >> >> Darrick >> >> > > Darrick, > > No sir. WANDELAY is only necessary if the WAN adapter is in the > machine (usually for Sangoma cards) - you have to wait for the > physcial negotation before you try to bring up PPP. That's what > WANDELAY is for. > > Are you using a Sangoma card? > > Doh! I was missing a P in front of one of the PPPOE variables. Now the config files are generated. I'll try this tomorrow, but it looks like it should work with no problem. I could get a connection to start if I manually created the files. I'd really like to replace dhcp'd nameservers with opendns.com name servers. Charter's name servers really suck. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com |