Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Connect/disconnect from internet.  (Read 5030 times)

0 Members and 1 Guest are viewing this topic.

alecsillidan

    Topic Starter


    Beginner

    Connect/disconnect from internet.
    « on: December 28, 2009, 04:28:56 PM »
    Hi guys, I need your to make a batch that discnnects me from the network then reconnect. (Because I have dynamik IP and want to change it fast)
    I want to disconnect from my broadband network not from LAN/Local Area Connection if possible. I searched on google and found nothing that can help me, doesn't matter if it disconnects me from LAN or broadband and reconnect me, just do to it!
    Thank you!
    We never had to cheat 'cause we already won!

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: Connect/disconnect from internet.
    « Reply #1 on: December 28, 2009, 04:34:24 PM »
    Ipconfig /?

    Try:
    ipconfig /release
    ipconfig /renew

    Is that what you want?
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    alecsillidan

      Topic Starter


      Beginner

      Re: Connect/disconnect from internet.
      « Reply #2 on: December 29, 2009, 10:11:14 AM »
      Nope, didn't work. Typed what you said, it worked 1 minute on ipconfig /renew (the LAN was showing "accuiring network address") and then this:

      [Saving space, attachment deleted by admin]
      We never had to cheat 'cause we already won!

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: Connect/disconnect from internet.
      « Reply #3 on: December 29, 2009, 10:25:48 AM »
      You're using Hamachi? I think there's a way to disconnect/reconnect from there. It also may be the reason why it's not reconecting via iponfig. 
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      alecsillidan

        Topic Starter


        Beginner

        Re: Connect/disconnect from internet.
        « Reply #4 on: January 02, 2010, 02:36:32 PM »
        I disabled TeamViewer VPN and hamachi, and i forgot to tell you, when i connect directly with the cable i get that error, when i connect from the wireless router it works, but renews my LAN ip not client.
        I need a way to disable from the broadband not local area connection, or disable/aneble local area connection, not renew my ip, disable and enable (thats how it works :|)
        We never had to cheat 'cause we already won!

        StaticEyePee



          Newbie

          Re: Connect/disconnect from internet.
          « Reply #5 on: February 23, 2010, 12:23:55 PM »
          Try creating a .bat or .cmd file with following 2 lines:
          net stop WZCSVC
          net start WZCSVC

          It will restart the Wireless Zero Configuration service, which should solve your problem, provided that you: 1. use XP (I can see that you do), 2. connect to internet wirelessly (you do, if I understand correctly), 3. you don't use 3rd party software for wireless (you let Windows manage the connection).

          StaticEyePee



            Newbie

            Re: Connect/disconnect from internet.
            « Reply #6 on: February 23, 2010, 12:41:10 PM »
            Oh, and in case you switched to Win7, use Wlansvc instead of WZCSVC (and you must run the bat file as Administrator).