Announcement

Collapse
No announcement yet.

Web connect/disconnect button

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Web connect/disconnect button

    I want to put a button (or buttons) for web connect/disconnect.
    I am using a tethed(sp?) cellphone and need to be able to manually connect and disconnect.

    I searched and found a reference to the rasdial.exe app.
    However I have not been able to figure out the syntax to make/diconnect the connection.

    Your assistance most appreciated as always.
    ...Paul

  • #2
    You need to write a script that does the disconnect/connect. Then from Road Runner, use a button with the Run command. Read Skin Commands.txt from your RR installation folder for syntax.
    iGMon - Integration between iGuidance and Road Runner
    CFX - Skin for Road Runner

    Comment


    • #3
      Originally posted by b8bboi
      You need to write a script that does the disconnect/connect. Then from Road Runner, use a button with the Run command. Read Skin Commands.txt from your RR installation folder for syntax.

      It's the syntax for that script that I am not clear on.
      Once I have the script I know how to create a button to execute the command.
      Thanks...Paul

      Comment


      • #4
        You want something which calls rasdial. You can find the syntax here: http://www.microsoft.com/resources/d....mspx?mfr=true

        Comment


        • #5
          I have to .bat files I made just for this purpose that I'll post when I get out to the car to copy them. One .bat file is to dial the bluetooth connection and there's another one to disconnect. Then I just made two Folders/entries in the LAUNCH folder and pointed the .ini files to the two .bat files. Has been working fine so far. I just go to the Applications/Launch screen and I then have to entries a DIAL and DISCONNECT "App" that I can then launch. A cmd.exe window pops up for a few seconds while it connects. I'm sure it wouldn't be too hard to make a couple buttons in RR to run the .bat file, I just haven't gone that far with it yet.

          I'll post the commands I used this evening.
          Nick
          '99 Ford Escort ZX2 CarPC <-- RIP Feb '07

          2006 Chevy Equinox LS (Current Project)

          **VIA EPIA PD 1ghz Mobo, OPUS 150, 7" LinITX LCD touchscreen, 512 Ram, 60Gig HD, DLink Bluetooth, Belkin 802.11g wireless,

          Comment


          • #6
            Originally posted by nkotch
            I have to .bat files I made just for this purpose that I'll post when I get out to the car to copy them. One .bat file is to dial the bluetooth connection and there's another one to disconnect. Then I just made two Folders/entries in the LAUNCH folder and pointed the .ini files to the two .bat files. Has been working fine so far. I just go to the Applications/Launch screen and I then have to entries a DIAL and DISCONNECT "App" that I can then launch. A cmd.exe window pops up for a few seconds while it connects. I'm sure it wouldn't be too hard to make a couple buttons in RR to run the .bat file, I just haven't gone that far with it yet.

            I'll post the commands I used this evening.

            I would appreciate that, In the meantime I'll check out the rasdial syntax.
            Thanks...Paul

            Comment


            • #7
              Alrighty, sorry for the delay but here are the two .bat files I use. Pretty simple really...

              To Dial: dialbluetoothconnection.bat (filename doesn't matter, I just pointed to this file in my launch folder .ini entry)
              Syntax:
              rasdial "BluetoothConnection"
              "BluetoothConnection" is the actual name of the dialup connection you assigned in windows and so will vary. Just go to My Network Places, then click on View Network Connections.


              To disconnect: disconnectbluetoothconnection.bat
              Syntax:
              rasdial "BluetoothConnection" /d
              Again, use the name of your connection in the quotes.

              Works fine here, I "launch" the connect script and a command prompt window comes up with the status of the connection (dialing, connecting, etc..) and then just goes away when connected.
              Nick
              '99 Ford Escort ZX2 CarPC <-- RIP Feb '07

              2006 Chevy Equinox LS (Current Project)

              **VIA EPIA PD 1ghz Mobo, OPUS 150, 7" LinITX LCD touchscreen, 512 Ram, 60Gig HD, DLink Bluetooth, Belkin 802.11g wireless,

              Comment


              • #8
                any way to do something like this with wifi connection?
                The MC of Florida Car PC Meets
                CAR:2001 Ford Crown Victoria
                PC: Acer EEE 900HA with Win7 with CF 2.0.
                Memory:1G
                Drives:160gig
                WI-FI:Cingular
                GPS:IG2k9
                Screen:Xenarc 700TSV
                The Florida Meets Thread

                Comment


                • #9
                  Nkotch, you're a genius. The disconnect works like a charm and it couldn't be easier to set up. I didn't use a separate connect batch file because I have set up my browser and email programs to connect automatically when I open them. Thanks.

                  Comment


                  • #10
                    HAHA..... thanks but I definitely don't take credit.... was lucky enough to stumble upon how to do it myself! (not sure where I finally found it though). But glad it helped ya none the less. Next I may try to make a couple dedicated buttons in RR to do this....but right now it's not a big deal to do a couple button pushes.

                    As far as with a wifi connection..... I know there's recently been a few threads looking for a decent wifi utility and/or trying to find a way to automatically have it connect to networks. I've had good luck though with just selecting the option in the wifi utility (whether windows builtin or a 3rd party) to enable automatic connection to wireless networks that it detects.
                    Nick
                    '99 Ford Escort ZX2 CarPC <-- RIP Feb '07

                    2006 Chevy Equinox LS (Current Project)

                    **VIA EPIA PD 1ghz Mobo, OPUS 150, 7" LinITX LCD touchscreen, 512 Ram, 60Gig HD, DLink Bluetooth, Belkin 802.11g wireless,

                    Comment


                    • #11
                      i have no problems connecting with wifi. Just need a button to enable and disable the connection. it sometimes hangs when hybernating when the connection is enabled even when there is no connection available. Just thought there might be a way..
                      The MC of Florida Car PC Meets
                      CAR:2001 Ford Crown Victoria
                      PC: Acer EEE 900HA with Win7 with CF 2.0.
                      Memory:1G
                      Drives:160gig
                      WI-FI:Cingular
                      GPS:IG2k9
                      Screen:Xenarc 700TSV
                      The Florida Meets Thread

                      Comment


                      • #12
                        I'm am looking something to connect and disconnect the wifi also.
                        In my Belkin usb wifi utility, I've seen options to enable/disable radio, but I dont know if Windows has commands to do that.

                        Comment


                        • #13
                          anyone know how to do a similar thing to autoconnect to a bluetooth headset?...
                          CarPuter Progress:
                          Planning:-----> [||||||||||] 100%
                          Hardware Buying:-> [||||||||||] 100%
                          Software:-----> [||||||||||] 100%
                          Installing:-----> [||||||||||] 100%
                          Current Project= Making skins in photoshop...

                          Comment


                          • #14
                            You may want have a look at this thread http://www.mp3car.com/vbulletin/show...859#post961859 which contains details about this application http://www.nirsoft.net/utils/nircmd.html

                            Hope this helps.
                            System - Epia SP13000 for Main PC, Holux GR-213 USB GPS Receiver SiRF Star III, 2.4Ghz Uplink with VNC and Custom designed USB Intelligent SDC (In DEV). All fed to a Sony CDX-F7500 Headunit via USB. www.wrx-carpc.co.uk

                            Comment


                            • #15
                              Originally posted by Tissy View Post
                              You may want have a look at this thread http://www.mp3car.com/vbulletin/show...859#post961859 which contains details about this application http://www.nirsoft.net/utils/nircmd.html

                              Hope this helps.
                              thanks, ill give it a go...
                              CarPuter Progress:
                              Planning:-----> [||||||||||] 100%
                              Hardware Buying:-> [||||||||||] 100%
                              Software:-----> [||||||||||] 100%
                              Installing:-----> [||||||||||] 100%
                              Current Project= Making skins in photoshop...

                              Comment

                              Working...
                              X