| Microware OS-9 Support Links | ||||||
|---|---|---|---|---|---|---|
| Home | Training | Resources | TECH-CHECK | History | Registered Support | Logout |
Problem: Can't resolve hostname error with FasTrak 2.1Things to check: If you are using the low-level modules (ISP is NOT on the target system), be sure that you have run "p2init hlproto", and the module 'undpd' is running. If 'undpd' is not running, start it by typing: "undpd <>>>/nil&" for ethernet connections, or "undpd -s <>>>/nil" for SLIP. Also check that undpd and undpdc are in the module directory. mdir "undpd*" will show you this information.
If you are using the high-level modules (ISP IS on the target system), check that your network connection is up and running (try 'ping'ing another host on your network). If the network is working, check that ndpd and nppd are running on the target system. If they aren't, start them as "ndpd <>>>/nil&" and "nppd <>>>/nil&" for an ethernet connection, or "ndpd -s <>>>/nil&" and "nppd -s <>>>/nil&" for SLIP.
If you are using SLIP: Check your null modem cable and connection. Before starting ISP, try 'echo'ing text out to a terminal.
Example: If your serial port is /t1, type: echo "Hello" >/t1
If you do not see "Hello" on your terminal, check the terminal's serial port settings. It should be set at either 9600 or 19200 baud, 8 bits, 1 stop bit, no parity. If this doesn't help, verify that your null modem cable is hooked up correctly.
For a low-level setup, type: echo "Hello" >/t1 before typing 'p2init hlproto'. Note: if hlproto is in your pre-IO extensions in your boot, you will not be able to send plain text to the serial port.
Problem: I have created a makefile with the FasTrak Makefile Editor for my C++ program. But when I make my program, I get odd runtime errors. Compiling the same program directly with cc/xcc works fine.FasTrak 2.1 needs to resolve a name, even if you only give it an IP address. This can either be by DNS lookup, or an entry in your 'hosts' file.
Location of 'hosts' file:
Windows95: \Windows\hosts (Note: this file is called 'hosts' with no extensions)
WindowsNT: \Winnt\system32\drivers\etc\hostsFormat of 'hosts' file:
#IP Address Host Name Aliases (if desired)
206.72.9.92 target
FAQ: FastTrakIn order to build Makefiles that work for C++ programs, you must select Source Mode "Strict ANSI C++ Mode" in the Ultra C/C++ options section of the Makefile Editor. Or you can add the "-qp" options to Additional Options.
Problem: I can connect to the target when connected to my LAN, but when I remove the FasTrak host and OS-9/9000 target from the LAN and create a simple network with just the 2 machines, I can no longer connect even though I have both defined in my Windows 'hosts' file.
Most likely, you have DNS enabled which allowed you to connect the machines when on the LAN. Disable DNS through your 'Network' control panel and try again.