JSI Tip 0371 - Logging your RAS connection.

Depending on whether your using UniModem (default for NT 4.0) or Modem.INF ( see tip 234 ), the method for enabling logging of your RAS connection is different. To insure that logging is enabled:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\RasMan\Parameters and change Logging, a type REG_DWORD to 1.

This will generate a device log at %SystemRoot%\System32\ras\DEVICE.LOG.

Using the UniModem driver, you can also enable %SystemRoot%\Modemlog_<model>.txt by using:

Control Panel / Modems to select your modem and click on Properties /Connection tab /Advanced and checking Record a log file.

Here is a sample of %SystemRoot%\System32\ras\DEVICE.LOG:

Remote Access Service Device Log 12/26/1997 12:13:43
---------------------------------------------------------------
Port:COM2 Command to Device:ATE1&F&C1 &D2 &A1 &B1 V1 Q0 S0=0 S2=128 S7=55
Port:COM2 Echo from Device :ATE1&F&C1 &D2 &A1 &B1 V1 Q0 S0=0 S2=128 S7=55
Port:COM2 Response from Device:
OK
Port:COM2 Command to Device:AT&R2&H1&K0&M4M1
Port:COM2 Echo from Device :AT&R2&H1&K0&M4M1
Port:COM2 Response from Device:
OK
Port:COM2 Command to Device:ATDT4048178166X7
Port:COM2 Echo from Device :ATDT4048178166X7
Port:COM2 Response from Device:
CONNECT 33600/ARQ
Port:COM2 Connect BPS:115200
Port:COM2 Carrier BPS:33600
Port:COM2 Command to Device:
Port:COM2 Echo from Device :
Port:COM2 Response from Device: UQKT2 Max1.Atlanta.GA.MS.UU.NET
Login:
Port:COM2 Command to Device:MSN/my MSN id
Port:COM2 Echo from Device :MSN/my MSN id
Port:COM2 Response from Device:
Password:
Port:COM2 Command to Device:my password
Port:COM2 Echo from Device :
Ente
Port:COM2 Response from Device:ring PPP Mode.
IP address is 153.35.41.39
MTU is 1524.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish