Dominko,

I'm sorry if we missed a suggestion from you.  It wasn't intentional. 
the CONNECT_TIMEOUT value has been set to 0 in trunk and all recent 
images from 0.6.

Terry, I'll review the rest of your changes and implement at least most 
of them.  I'm not 100% sure on the resolv.conf lines at first glance. 
There are cases where resolv-up.conf is used instead of resolv.conf (for 
localdns resolution).  In that case, it's probably best to leave pppoe 
pointing toward /tmp/etc/resolv.conf.

We've been slowly cleaning up much of the pppoe stuff.  The initial work 
was done by Kristian without direct access to a pppoe link.  In the past 
few months, Philip enabled kernel mode debugging and cleaned up a few 
other issues.  I have a client who has a pppoe link that for the most 
part, has been reliable.  (they have other issues with their internet, 
but it's not between the pppoe daemon and the dslam, it's farther up in 
their network).

Darrick

Dominko Vrljic wrote:
> Terry,
> thanks for improving pppoe in astlinux. I wrote about these problems several 
> times, but developers refused to accept suggestions. 
> Please try to change CONNECT_TIMEOUT to 0 in the
> /trunk/target/generic/target_skeleton/etc/init.d/network script. It would 
> really improve reliability when pppoe is used for the internet connection.
> 
> Dominko
> 
> --- On Tue, 9/30/08, Terry Markovich <[EMAIL PROTECTED]> wrote:
> 
>> From: Terry Markovich <[EMAIL PROTECTED]>
>> Subject: [Astlinux-users] more PPPoE fixes
>> To: "AstLinux Users" <[email protected]>
>> Date: Tuesday, September 30, 2008, 5:22 PM
>> I've found a few more issues with rp-pppoe.  One looks
>> like a 
>> longstanding problem with resolv.conf when PPPoE is used
>> and $DNS is not 
>> set (using dns from your pppoe host).
>>
>> If $DNS is not set, the pppoe-connect script tries to
>> remove 
>> /etc/resolv.conf and add a symlink to /etc/ppp/resolv.conf.
>>  Since 
>> /etc/resolv.conf is read only, this fails.
>>
>> I've attached a new patch for the package dir with this
>> change only. 
>> There was an earlier scripts patch that never was updated
>> for 
>> rp-pppoe-3.9 or 3.8.  It looks like those changes are no
>> longer needed.
>>
>> The other issue is that rp-pppoe-3.9 fails configuration
>> when I build. 
>> The configure patch also was never moved over from
>> rp-pppoe-3.8, and 
>> would not have worked anyway, so I gnerated another patch
>> for that.
>>
>> Darrick, thanks for adding the other fix yesterday.
>>
>> Terry
>> diff -urN rp-pppoe-3.9.orig/src/configure
>> rp-pppoe-3.9/src/configure
>> --- rp-pppoe-3.9.orig/src/configure  2008-06-21
>> 10:29:42.000000000 -0400
>> +++ rp-pppoe-3.9/src/configure       2008-09-30
>> 13:51:35.000000000 -0400
>> @@ -6252,7 +6252,7 @@
>>  fi
>>  
>>  if test "$GCC" = yes; then
>> -    CFLAGS="$CFLAGS -Wall -Wstrict-prototypes
>> -ansi"
>> +    CFLAGS="$CFLAGS -Wall -Wstrict-prototypes"
>>  fi
>>  
>>  if test "$PPPD" = "NOTFOUND"; then
>> @@ -6303,7 +6303,7 @@
>>  echo "$as_me:$LINENO: checking packing order of bit
>> fields" >&5
>>  echo $ECHO_N "checking packing order of bit fields...
>> $ECHO_C" >&6
>>  if test "$cross_compiling" = yes; then
>> -  $ECHO "no defaults for cross-compiling"; exit
>> 0
>> +  $ECHO "no defaults for cross-compiling - using
>> arguments"
>>  else
>>    cat >conftest.$ac_ext <<_ACEOF
>>  /* confdefs.h.  */
>>
>> --- rp-pppoe-3.9.orig/scripts/pppoe-connect.in       2008-06-21
>> 21:47:38.000000000 -0400
>> +++ rp-pppoe-3.9/scripts/pppoe-connect.in    2008-09-30
>> 12:30:21.000000000 -0400
>> @@ -216,8 +216,7 @@
>>  # Jigger DNS if required...
>>  if test "$DNSTYPE" = "SERVER" ; then
>>      # Sorry, dude...
>> -    rm -f /etc/resolv.conf
>> -    ln -s /etc/ppp/resolv.conf /etc/resolv.conf
>> +    ln -s /etc/ppp/resolv.conf /tmp/etc/resolv.conf
>>  elif test "$DNSTYPE" = "SPECIFY" ;
>> then
>>      # Sorry, dude...
>>      rm -f /etc/resolv.conf
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move
>> Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK
>> & win great prizes
>> Grand prize is a trip for two to an Open Source event
>> anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
>> Astlinux-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via
>> PayPal to [EMAIL PROTECTED]
> 
> 
> 
>       
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/astlinux-users
> 
> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
> PROTECTED]

-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com
Small Business IT Specialists

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to