Raspppoe Question

  • Thread starter Thread starter yogi
  • Start date Start date
  • Replies Replies 9
  • Views Views 2,216

yogi

no fate but what we make
Messages
266
Location
NA
ISP
pacenet
Is it possible to write a script which can access the results of raspppoe and click the button "query available services" via this script, and access the results that it sends back?I dont know low level coding...so maybe someone here knows? Please reply!🙂
 
Use RASPPPOE dude... 😛
 
QUOTE(amogh_gulwady @ Jul 28 2006, 05:00 PM) [snapback]56921[/snapback]
Use RASPPPOE dude... 😛
[/b]

I already am using it, I mean to automate it.
 
^ Automate it ? I could not understand why one needs this automation .

anyway , you have to start RASPPPOE and send the code of Q to
click the button . RASPPPOE gives the "query available services" .
if required RASPPPOE can be closed after a few seconds by sending
the code of E .
It is possible to do this thru c++ / Pascal / etc .

But I donot know if the output can be sent to a text file ...
 
I need the automation because the isp does not offer services unless queried. This is the technique they use to disconnect users every few hours, and not let automated software reconnect. I dont need the output to a text file but I do need the results ie. if query failed or succeeded. And depending on results, I can do other steps. I dont know c++ or pascal very well, so if you can write the code, then tell me. I know java but it does not have good interface for native windows 32 apps.
 
@ Yogi , I'd sent a personal message .
perhaps you didnt get its notification .

I need to know your Operating System and
if you have visual c / turbo c++ compiler .

I will try to give the required code .[/b]

And also where is RASPPPOE.exe located on your system ?
give the complete path .
 


Operating system is Widows 2000 professional.I dont have any c++ compiler installed, so please provide info about that also. And the path to raspppoe is C:\WINNT\system32\RASPPPOE.exeActually you should make all these parameters if you can...I mean path to raspppoe, how many times the program should use raspppoe, etc. Thanks for helping!!!🙂
 
^ I found that the code in turbo c++ is not detecting raspppoe .
strange ! I donot have a visual C compiler .

anyway I used AutoIt ; made a simple script and compiled it .
it is working as a stand alone program .

site : http://www.autoitscript.com
download AutoIt (aprox 2MB) :
http://www.autoitscript.com/cgi-bin/getfil...it-v3-setup.exe

the required simple code : (autoraspppoe.au3)
note : the code is case sensitive .

Code:
run("c:\winnt\system32\raspppoe.exe")WinWaitActive("RASPPPOE - Dial-Up Connection Setup")send("!Q")
you can customize it as per your requirements . it is a simple task .
 
ok great! thanks for that. I am busy with some things, so will try it soon & put the results here...!
 
This is a great tool! I never knew about it....now I can automate a lot of things that I wanted to 😉 If I have questions, will ask you! Thanks for telling about this 🙂
 

Top