Verifying a network connection
While connected, from Windows type ipconfig, and you should notice the following output:
PPP adapter QNX:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.0.0.2
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 10.0.0.2
In addition, you should also be able to successfully ping 10.0.0.1.
If you started qconn on your target, you can now use QNX Momentics IDE to debug a program for a qconn/IP debug session.
Before you configure this type of connection, you'll need to consider the following:
- Use of the internet and/or corporate VPN connections will be disrupted while the PPP connection is made unless you deselect the option Use default gateway on remote network on the Advanced TCP/IP Settings dialog.
- If you experience communications problems, it may be helpful to run the following command, and or slay and restart the devc-ser* driver.
stty raw sane </dev/ser1
- If you experience communication problems on a 3-wire cable (no control signals), ensure that you disable hardware flow control. (In all cases, software flow control should be disabled since 8-bit binary data is being sent.) Use the following command to disable hardware flow control:
stty 115200 par=none bits=8 stopb=1 -isflow -osflow -ihflow -ohflow </dev/ser1