Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 02:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Synchronous pppoe module - for ADSL connection
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 15 Jan 2006, 02:57    Post subject:  Synchronous pppoe module - for ADSL connection  

synchronous pppoe module

this installs the kernel module n_hdlc.o.gz
which allows you to use the synchronous PPP option
when you connect to the internet using Roaring Penguin (adsl)

modules
source
synchronous.pup
Description  synchronous pppoe module
pup

 Download 
Filename  synchronous.pup 
Filesize  5.73 KB 
Downloaded  465 Time(s) 
Back to top
View user's profile Send private message 
bombayrockers


Joined: 24 Sep 2005
Posts: 427
Location: Mumbai, India

PostPosted: Sun 15 Jan 2006, 03:56    Post subject:  

Can you Kindly explain what is synchronous pppoe and its advantages ?
Back to top
View user's profile Send private message Yahoo Messenger 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Sun 15 Jan 2006, 04:53    Post subject:  

http://linux.com.hk/penguin/man/8/pppoe.html
"You are encouraged to use this option if it works, because it greatly reduces the CPU overhead of pppoe. However, it MAY be unreliable on slow machines -- there is a race condition between pppd writing data and pppoe reading it. For this reason, the default setting is asynchronous. If you encounter bugs or crashes with Synchronous PPP, turn it off"

/etc/ppp/pppoe.conf
"Do you want to use synchronous PPP? "yes" or "no". "yes" is much
# easier on CPU usage, but may not work for you. It is safer to use
# "no", but you may want to experiment with "yes". "yes" is generally
# safe on Linux machines with the n_hdlc line discipline; unsafe on others."


http://tinyurl.com/ddeud
"You can immediately see two gross inefficiencies: User-space code is executed for every PPPoE frame, and byte-stuffing and de-stuffing is done twice. For outgoing frames, the kernel carefully performs byte stuffing, which is undone by pppoe. For incoming frames, pppoe stuffs them and the kernel de-stuffs them."

basically, asynchronous PPP is safer, but uses more cpu time

synchronous PPP is less work for the cpu, but might cause problems on a slow machine

you probably wouldn't notice much difference for internet connections ... if you use pppoe on a LAN at higher speeds than an internet connection, you might notice a big difference

the main reason i made this package is because a few people were having trouble connecting to adsl with Roaring Penguin, and i thought that being able to try the synchronous PPP option might help ... i seem to remember reading somewhere that some hardware will only work with synchronous PPP

anyway, it seems to work ... i have synchronous PPP enabled right now
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 7047
Location: Perth, Western Australia

PostPosted: Sun 15 Jan 2006, 21:46    Post subject:  

G2, thanks for that info.
The next test release of Puppy2 will have n_hdlc.o module.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0482s ][ Queries: 13 (0.0049s) ][ GZIP on ]