how to connect net using PPPoE manually through PC

  • Thread starter Thread starter doomrocks
  • Start date Start date
  • Replies Replies 8
  • Views Views 8,426

doomrocks

Newbie
Messages
17
Location
NA
ISP
bsnl
guys i have bsnl dataone Home 500 connection. I was provided with DareGlobal ADSL modem with my connection. recently I purchased Linksys WRH54G wifi router. b4 i had this router i used to connect to internet manually using windows. but latter (after buying router and confging it) , i confg my modem to dial connection automatically. every thing works fine i.e i am able to connect internet ,utorrent is transferring data. But i cannot disconnect from net!!! to do so i have to manually switch off modem. I have confg modem with idle line drop down time of 10 mins. It does work, i.e in wan settings (modem),status is UP but IP is unknown/blank (in idle state ). Now i was thinking of confg my net connection such a way that i connect/disconnect from net manually. that is for establishing/terminating connection a 2am/8am. for that i need help.i used rasdial method when i dint have router.i want to return to my old method(connecting net by PPPoE through my PC),with present setup (modem+router). this is the configuration used for modem and router modem: dareglobalip: 192.168.1.1mode: bridgedhcp: disabled router: linksys WRH54Gwan ip: 192.168.1.2lan ip: 192.168.2.1dhcp: disabled pcip: 192.168.2.3default gateway: 192.168.2.1 i have enabled PPPoE passthrough on my router... but still not able to connect through my pc. Can't understand what else is needed to be done!!! PLS helpnote: i have tired the option of confg router with auto dial, but it doesn't give option for manual disconnect . i have enter routers home page to disconnect. or set an idle time out (5mins default).
 
In PPPoE you do not have to dial, the modem connects automatically when you first switch on. Power on, modem is also on and connected. If you are having to configure diallers (autodial or otherwise) you aren't using PPPoE. Check your configuration in the "Connections" setting in your ADSL modem.

To disconnect you log into the ADSL modem with 192.168.1.1 or whatever is required, and then click on an icon that says connect/disconnect. You might have to browse around in your modem to find that particular command but it is there.

http://img184.imageshack.us/img184/9611/b3sdfryz6.png

If you want to do this automatically at certain times then you have to use telnet scripting tool which will reboot your modem whenever you want.

Just to let you know how a PPPoE connection looks like:

http://img184.imageshack.us/img184/7451/pp1tn5.png

http://img390.imageshack.us/img390/3052/pp2vc4.png

You can see that the user name and password are provided in the ADSL modem, and no additional dialing assitance is required.

Can you post screenshots of your configuration as well? We'll understand your situation better then.
 
pal...i am already using auto dial feature in my modem for connecting to net... but as u said i have to either disconnect from modems home page or switch off modem.I want to get rid of all these things I want to establish connection only when i want. This is only for scheduling utorrent client to start download at 2 am so i want to connect my connection a 2 am and disconnect at 8am. This is my requirement.I felt rasdial was easy way to establish/terminate connection during free hours. but I cant use it now with my modem router setup. This is what troubling me!!thing is that yesterday when I scheduled my utorrent for download,it started download at preset time (2:06am). but since my connecton was active since 12:30 am, BSNL have charged me for download!!!!1 more thing i would like to add....I did confg auto dial feature in my modem (and still using that) with idle tmeout dsconnect to 10 mins. but after 10 mns of dle when i checked modems home page, under wan tab, STATE is still UP but WAN address is blank/unknown!!! and when i m using net, STATE is UP and there is IP add in WAN address column.So i feel my connection is not terminated even if i enter idle state!!!
 
I feel I am beginning to understand your issue. You aren't dialing so stop using that term, you confuse me. You are connecting with PPPoE, that's good.

You want night download to begin after 0200 and end before 0800, right? At other times it doesn't matter if you stay connected all day. You just want to avoid usage rollover resulting in huge bills.

I had the same issue and know how to fix it with telnet script and scheduling.

It is a straightforward method that works, you just reset the modem with a script at specified time. Since BSNL counts each new session seperately, your charges are not rolled over into billing. See this, notice the time at which computer automatically reboots the ADSL modem:

http://img371.imageshack.us/my.php?image=usageua3.pnghttp://g.imageshack.us/thpix.php

Do not pay attention to reboots other than the one I highlighted, becuase that is just me waking up from sleep and using computer 😀

A bit busy with dinner, give me two hours भाईसाहब, I am preparing a step-by-step tutorial (with images!) for you. I'll also try and see if I can put it in wiki for other members to follow. :thumb:
 
You want night download to begin after 0200 and end before 0800/

link-removed: Easy Filehosting
((http://www.)) shajul.net/news.php?item.3.2
The author's web site.
shajul.net/documentation/dataonemanager/introduction.htm
 
I can guide you step by step. It is a bit long process, but works flawlessly. You will have to launch an automated Telnet script that reboots your ADSL modem at specified times.

Here's what you do:


1. Stop using any dialer or autodial in modem or OS. It is not needed in PPPoE mode. If unsure, reset your modem and configure a fresh PPPoE connection.

2. Download Telnet Scripting Tool for your OS. (XP or Win98). What this lightweight tool does is very simple: It runs a set of user supplied telnet commands in a determined order, which allows you to reset or reboot your ADSL modem.

3. After downloading, put it in a directory you will remember. Let us say C:\

4. Click on "Add Scheduled Tasks"

http://imageshack.us
http://g.imageshack.us/img338/01ft6.jpg/1/

Locate the TST (Telnet Scripting tool) program in your chosen directory.

http://img367.imageshack.us/my.php?image=02fk3.jpghttp://g.imageshack.us/thpix.php

Follow the next four steps. Having a username and password is essential (Step 3), since the task will not run even if you login as admin but with no password. So go to control panel and give yourself a login + password you'll remember.

http://img204.imageshack.us/my.php?image=03wv9.jpghttp://g.imageshack.us/thpix.php

5. Now, set the other properties as shown in the image. Set the time correctly or change it later!

http://img390.imageshack.us/my.php?image=04fj1.jpghttp://g.imageshack.us/thpix.php

In the run box, the command should be:
Code:
C:\TST10.exe /r:script.txt /m
Make sure that your "Run" box has this exact command, copy and paste. The "script.txt" is the file which contains the Telnet instructions to reboot your computer. We'll create this next.

6. Open Notepad. Copy and paste this generic reboot format. This script works for Huawei MT 841 (and I'll also show you how to make your own if this one dosen't work in your modem):

Code:
192.168.1.1 23WAIT \"Login:\"SEND \"admin\m\"WAIT \"Password:\"SEND \"yourpass\m\"WAIT \"-->\"SEND \"system restart\m\"WAIT \"-->\"
Save and exit. In the two SEND commands, in place of "admin" put your ADSL login name. In place of "yourpass" put the ADSL login password. Not the Dataone username or password. Clear? Let the "\m" remain, it is important.

7. Sit close to your ADSL modem so that you can see the lights. Now run this scheduled task by setting a time and see what happens. Does the modem reboot?


If yes, congratulations! Set the time to when you want the script to actually execute and you are done. You can schedule the torrent or other file sharing programs in similar way. :thumb:

(PS: To avoid Auto-merge (more than 10 images per post etc.), I'll post further instructions for your specific modem in a few minutes.)
 


This post is continuation to last one:



8. It is possible that this script will not work because this is for my Huawei MT841 modem. But if you read the script, you can very well modify it for your own ADSL modem. Here's how:

9. The first line tells starts a Telnet session to hostname "192.168. 1. 1" and Port "23". This will remain same for all ADSL modems unless you know otherwise.

10. The next line tells the script to wait till it receives a trigger. This has to be in proper format. In my modem the modem asks "Login:" In your case it might ask for "login". How do you find out what are the correct triggers? Simple, login into telnet manually and observe.

11. Go to Start>>Run>> and enter telnet in the box. Hit Enter. You should see this:

http://img386.imageshack.us/my.php?image=06oj7.jpghttp://g.imageshack.us/thpix.php

Notice the command I have typed. It is alphabet "o" followed by the ADSL modem address. O for open.

12.
http://img231.imageshack.us/my.php?image=07tr5.jpg http://g.imageshack.us/thpix.php

Login with your regular admin/password. But note down the format of the commands.

13. Once you have login successfully, you'll be greeted with a blank screen. To fix that, put the "?" at the prompt. Without the quotes. You should see something like this:

http://img79.imageshack.us/my.php?image=08bq9.jpghttp://g.imageshack.us/thpix.php

14. Notice the "System" category? There should be something similar in your ADSL modem. Type "system ?" and see the available commands. Or you can put the "?" after other stuff like "console" "user" etc to play around. The idea is to find the command that allows you to restart or reboot your modem.

15. In my case it is the "system restart" command. To find available commands put "?" behind system. As in, "system ?". This will give you a list. And so on.

http://img142.imageshack.us/my.php?image=09wf0.jpghttp://g.imageshack.us/thpix.php

16. Finally, note the characters "-->" in the script.txt file. Your modem might present a slightly different format ">>" or "->". Change accordingly in the script.txt file.


Everything should work now when you run the TST script at certain time. If you need more help with specific steps, ask here.
 
essbebe, from the author's own site:

Code:
PVC Number - PVC-0 (Or default connection, in some modems you will have to delete it and then create it again!)Change Wan Type - RFC2684Bridged  (Or just plain bridged)VPI/VCI - 0/35Encap. - LLC

That looks like bridge mode and not PPPoE to me. User wants PPPoE mode.

For PPPoE you have to work on the ADSL modem itself, either via telnet script to reboot it or perhaps a hardhack with timer switch that allows you to switch on/off the power to modem.

Script is relatively cheaper, easier and more flexible, IMO. 😀

PS: I am also forced to use PPPoE mode since bridge mode is always slower, with higher latencies and drops connection frequently. Could never figure the damn thing out, but when asked to BSNL officer he nodded his head and said use PPPoE many other users also have problem with Bridge mode 😕 If you don't have issues you use bridge mode.
 
essbebe, from the author's own site:



That looks like bridge mode and not PPPoE to me. User wants PPPoE mode.

For PPPoE you have to work on the ADSL modem itself, either via telnet script to reboot it or perhaps a hardhack with timer switch that allows you to switch on/off the power to modem.

Script is relatively cheaper, easier and more flexible, IMO. 😀

PS: I am also forced to use PPPoE mode since bridge mode is always slower, with higher latencies and drops connection frequently. Could never figure the damn thing out, but when asked to BSNL officer he nodded his head and said use PPPoE many other users also have problem with Bridge mode 😕 If you don't have issues you use bridge mode.



thanx buddy script had worked, with some modifications. hey sankalpit I have a new query, and right now i am making a new post. this is regrading accessing my home pc from net. so do check it out and see whether u can help me out in dat too...
1c again thank you for providing me step by step detail. i will be soon posting what changes i made to work my script.
sankalpit ki jai
 

Top