Linking an embedded system running QNX Neutrino to a Windows network connection

The following information provides the steps to link an embedded system running QNX Neutrino to a Windows network connection. Windows networking is controlled from a Network Connections panel. The following example shows you how to prepare your target and host for debugging using a PPP connection.

To build a connection to your embedded system:
  1. From the Start menu, select Settings > Control Panel > Network Connections .
  2. Select New Connection Wizard.

    New Connection wizard

  3. Click Next to continue.

    New Connection wizard: Network Connection Type

  4. Select Set up an advanced connection, and then click Next.

    New Connection wizard: Advanced Connection Options

  5. Select Connect directly to another computer, and then click Next.

    New Connection wizard: Host or Guest?

  6. Select Guest, and then click Next.

    New Connection wizard: Connection Name

  7. In the Computer name field, type the name of the computer you want to connect, and then click Next.

    New Connection wizard: Select a Device

  8. From the list, select a device that you want to use to make the connection, and then click Next. For this example, we'll use the Communications cable between two computer (COM1) device.

    New Connection wizard: Connection Availability

  9. Select Anyone's use if it isn't currently selected, and then click Next.

  10. Click Finish to create the connection.

    Next, the network connections dialog, Connect, is displayed. Now, you'll have to provide the login credentials and configure the network connection to the machine you specified earlier.

    Establishing a network connection using login credentials

  11. Type the User name and Password for the machine you want to connect to, and then click Properties to configure.

    Connection properties: General tab

  12. Click Configure.

    Network Connection: Properties dialog

  13. In the Maximum speed (bps) field, select 115200.
  14. Deselect the option Enable hardware flow of control, and then click OK.
  15. Click the Options tab.

    Connection Properties: Options tab

  16. In the Redial attempts field, change the value to 0.
  17. Click the Security tab, and then click Settings.

    Connection: Advanced security Settings dialog

  18. Deselect the following options:
    • Unencrypted password (PAP)
    • Shiva Password Authentication Protocol (SPAP)
    • Microsoft CHAP (MS-CHAP)
    • Microsoft CHAP Version 2 (MS-CHAP-v2)
  19. Click OK, and then click Yes to keep the settings.
  20. Click the Networking tab.

    Connection Properties: Networking tab

  21. Click Settings.

    Internet Protocol (TCP/IP) Properties dialog

  22. Ensure that Enable LCP extensions and Enable software compression are the only options selected, and then click OK.

    PPP Settings dialog

  23. For the Internet Protocol (TCP/IP), select Properties.

    Internet Protocol (TCP/IP) Properties dialog

  24. Select Use the following IP address and type a value, such as 10.0.0.2.
  25. Click Advanced.

    Advanced TCP/IP Settings dialog

  26. Deselect the option Use default gateway on remote network.
  27. Ensure that the Use IP header compression option is selected, and then click OK.
  28. Click OK, and then select the Advanced tab.

    Connection Properties: Advanced tab

  29. No options should be selected on this dialog.
  30. Click OK. The Connect dialog is displayed.

    Connecting dialog

  31. Log in and click Connect.

While Windows waits to receive, the Connecting dialog is displayed.

Connecting dialog

Once communication begins, the following dialog is displayed:

Connecting dialog

Once the connection is established, the verification Connecting dialog closes, and a network icon is added to the Taskbar. To disconnect, you can right-click on the Taskbar icon and select Disconnect. You can reconnect as often as you wish without rebooting the target.

Related concepts
Preparing an embedded system for a Windows target
QNX Networking
Verifying a network connection
Related tasks
Verifying a serial connection