Arya Posted September 2, 2009 Report Share Posted September 2, 2009 HelloIs there any commands in DOS that would connect and disconnect your PPPoE (DSL) connection?Best Regards! Quote Link to comment Share on other sites More sharing options...
homecomputeraid Posted September 2, 2009 Report Share Posted September 2, 2009 You could try [edit]ipconfig /release on the PPPoE adapter to disconnect, but I'm not sure there's a way to connect via command line.[edit]Sorry, I've been working on Linux a lot lately and put ifconfig instead of the Windows command ipconfig! Quote Link to comment Share on other sites More sharing options...
ɹəuəllıʍ ʇɐb Posted September 3, 2009 Report Share Posted September 3, 2009 You could try ifconfig /releaseDid you mean ipconfig ? Quote Link to comment Share on other sites More sharing options...
Hb_Kai Posted September 3, 2009 Report Share Posted September 3, 2009 I think there is. But it may not be what you're looking for as I've never used it myself.There's a tool called RASDIAL which can be used in Command Line in both XP and Vista and should already be usable on your machine but to test it quickly, just open the command line and typeRASDIAL and if it does work then it should say something like...C:\........> RASDIALNo connections.Command completed successfuly.To connect:rasdial ABC123 Horace Password7090To disconnect:rasdial ABC123 /disconnectIn this example, I've used ABC123 as your internet connection name, Horace as your username and Password7090 as your password.Is this what you mean? Quote Link to comment Share on other sites More sharing options...
Hb_Kai Posted September 3, 2009 Report Share Posted September 3, 2009 You could try ifconfig /releaseDid you mean ipconfig ?I forgot to say, I think he's referring to the Linux terminal command that will show you a list of the network adapters installed. Quote Link to comment Share on other sites More sharing options...
homecomputeraid Posted September 4, 2009 Report Share Posted September 4, 2009 Yes Hb_Kai and Pat, I meant ipconfig instead of ifconfig. Along with viewing interface configuration, ipconfig also lets you perform actions like releasing and renewing IP addresses.P:\>ipconfig /?USAGE: ipconfig [/? | /all | /renew [adapter] | /release [adapter] | /flushdns | /displaydns | /registerdns | /showclassid adapter | /setclassid adapter [classid] ]where adapter Connection name (wildcard characters * and ? allowed, see examples) Options: /? Display this help message /all Display full configuration information. /release Release the IP address for the specified adapter. /renew Renew the IP address for the specified adapter. /flushdns Purges the DNS Resolver cache. /registerdns Refreshes all DHCP leases and re-registers DNS names /displaydns Display the contents of the DNS Resolver Cache. /showclassid Displays all the dhcp class IDs allowed for adapter. /setclassid Modifies the dhcp class id.The default is to display only the IP address, subnet mask anddefault gateway for each adapter bound to TCP/IP.For Release and Renew, if no adapter name is specified, then the IP addressleases for all adapters bound to TCP/IP will be released or renewed.For Setclassid, if no ClassId is specified, then the ClassId is removed.Examples: > ipconfig ... Show information. > ipconfig /all ... Show detailed information > ipconfig /renew ... renew all adapters > ipconfig /renew EL* ... renew any connection that has its name starting with EL > ipconfig /release *Con* ... release all matching connections, eg. "Local Area Connection 1" or "Local Area Connection 2"P:\> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.