[Tutor] Python code to connect using PPPoE

Kent Johnson kent37 at tds.net
Wed Jan 24 14:52:17 CET 2007


Johan Geldenhuys wrote:
> Hi all,
>  
> I don't know if this the right place to ask the question, but I did some 
> Googling and struggled to get decent examples of code to use for PPPoE 
> connection.
>  
> I have a wireless modem that uses PPPoE to connect and want to use 
> Python to connect to the internet through this modem using PPPoE.
>  
> Does anybody know where I can get something like this? Is it in Twisted 
> or is there possibly a "cleaner" example of this?

I'm not too sure what you want to do. Are you trying to use Python to 
establish the connection, or do you want to access the internet over an 
established connection?

If it is the former, I don't have an answer for you. For the latter, 
check out urllib, urllib2, httplib, etc.

Kent



More information about the Tutor mailing list