Connect Disconnect PPPOE or Dial up using Command Line or Batch Scripting
Trying to reconnect your internet connection with some batch script or command line code then , yes you have a saviour the RASDIAL utility, which can easily connect or disconnect your Dial up modem or a PPPOE broadband connection. It works in both XP and Vista
just go to your command line or inside your batch script add these
Suppose you have a Internet connection named BSNL with username- vivekz and password- secret123 .
Now to Disconnect from it use,
rasdial BSNL /disconnect
To connect to Internet through BSNL connection type in
rasdial BSNL vivekz secret123
ie. rasdial <connection name> <username> <password>
Hope that helped you out as I was stuck with the same issue and I was using the rather general purpose nircmd utility for it .
Thanks a lot.. 🙂
Very useful utility for scheduling Broadband connectivity….
Thanks for sharing. it is a very useful utility that will save me a lot of time.
hey….is it possible to disconnect and reconnect internet by using Modem in ubuntu 8.10??
if yes please explain
thnax in advance:)
thanks but how to overcome the error 623 when i try to connect in the way u told.plz please please help me by sending e mail to me at ravigpa@gmail.com
Oh God I’m too thankful for it due to this issue I got too much issues today I went somewhere else just due to internet got disconnected I came back from that place to connect it again & about 150 KM far away that place was from my home
Thanks once again
We are always here to help mail us @ help.techstroke@gmail.com
Thanks for the effort, man!
BUT I need a command/utility in Command Prompt to connect ‘Mobile Broadband Connection’ Using HSDPA Network connection. It does not work with RASDIAL as it DOES NOT fall under the category ‘Dial- up and VPN’ in Win7.
I am usin Huawei UMG1831 3g modem (HUAWEI Mobile Connect – 3G Network Card)
Can u PLS. help
Hey thanx a loz n loz n loz……
U saved my tons of time….
Gr8 Work…
Thanx a lot 1ce again…
🙂