handdator

Visa fullständig version : Relakks batch file connection problem?


randomjester
2008-10-12, 02:32
Relakks batch file

http://forum.piratpartiet.se/Topic75482-164-1.aspx



I"ve used the batch file before without any problems, but for some reason when I try it now it doesn"t keep my Relakks connection. I successfully connect to Relakks but as soon as the connection is made and I see the icon show, the connection immediately drops, the icon disappears, and it starts the connection process over. It keeps doing that same process endlessly. If I try connecting using my Relakks desktop network connection shortcut I successfully connect and stay connected. For some reason now using the batch file I get a connection but it immediately drops and tries to reconnect, doing that over and over again, never keeping the connection. I have an example here to show with all output showing. Does anyone know why this is happening now? Could Relakks have "fixed" this batch file from working properly?



Thanks

- RJ





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:14.63 "C:Documents and SettingsJamesDesktopMy FolderRelakks.b

at" running for Relakks

Sat 10/11/2008 19:52:14.63 "C:Documents and SettingsJamesDesktopMy FolderRe

lakks.bat" running for Relakks



C:Documents and SettingsJamesDesktopMy Folder>ping -i 4 -n 2 83.233.168.2

| FIND "Reply from 83.233.168.2" 1>CON



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 GOTO :testfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:16.06 Connection to Relakks is not alive

Sat 10/11/2008 19:52:16.06 Connection to Relakks is not alive



C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:16.08 Dialing the Relakks connection

Sat 10/11/2008 19:52:16.08 Dialing the Relakks connection



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL /D 1>CON

No connections

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL Relakks USER

PASS 1>CON

Connecting to RELAKKS...

Verifying username and password...

Registering your computer on the network...

Successfully connected to RELAKKS.

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 goto :rasfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:24.8 Connection to Relakks established

Sat 10/11/2008 19:52:24.8 Connection to Relakks established



C:Documents and SettingsJamesDesktopMy Folder>goto :testboundary



C:Documents and SettingsJamesDesktopMy Folder>ping -i 4 -n 2 83.233.168.2

| FIND "Reply from 83.233.168.2" 1>CON



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 GOTO :testfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:26.28 Connection to Relakks is not alive

Sat 10/11/2008 19:52:26.28 Connection to Relakks is not alive



C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:26.28 Dialing the Relakks connection

Sat 10/11/2008 19:52:26.28 Dialing the Relakks connection



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL /D 1>CON

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL Relakks USER

PASS 1>CON

Connecting to RELAKKS...

Verifying username and password...

Registering your computer on the network...

Successfully connected to RELAKKS.

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 goto :rasfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:3.63 Connection to Relakks established

Sat 10/11/2008 19:52:3.63 Connection to Relakks established



C:Documents and SettingsJamesDesktopMy Folder>goto :testboundary



C:Documents and SettingsJamesDesktopMy Folder>ping -i 4 -n 2 83.233.168.2

| FIND "Reply from 83.233.168.2" 1>CON



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 GOTO :testfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/



11/2008 19:52:39.11 Connection to Relakks is not alive



Sat 10/11/2008 19:52:39.11 Connection to Relakks is not alive



C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:39.11 Dialing the Relakks connection

Sat 10/11/2008 19:52:39.11 Dialing the Relakks connection



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL /D 1>CON

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL Relakks USER

PASS 1>CON

Connecting to RELAKKS...

Verifying username and password...

Registering your computer on the network...

Successfully connected to RELAKKS.

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 goto :rasfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:50.39 Connection to Relakks established

Sat 10/11/2008 19:52:50.39 Connection to Relakks established



C:Documents and SettingsJamesDesktopMy Folder>goto :testboundary



C:Documents and SettingsJamesDesktopMy Folder>ping -i 4 -n 2 83.233.168.2

| FIND "Reply from 83.233.168.2" 1>CON



C:Documents and SettingsJamesDesktopMy Folder>IF ERRORLEVEL 1 GOTO :testfail





C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:51.89 Connection to Relakks is not alive

Sat 10/11/2008 19:52:51.89 Connection to Relakks is not alive



C:Documents and SettingsJamesDesktopMy Folder>IF FALSE == FALSE ECHO Sat 10/

11/2008 19:52:51.89 Dialing the Relakks connection

Sat 10/11/2008 19:52:51.89 Dialing the Relakks connection



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL /D 1>CON

Command completed successfully.



C:Documents and SettingsJamesDesktopMy Folder>RASDIAL Relakks USER

PASS 1>CON

Connecting to RELAKKS...

Verifying username and password...^C

Terminate batch job (Y/N)?