4.11netdemos-4-5-branchnetwork-demos-4-10-branchnetwork-demos-4-6-branchnetwork-demos-4-7-branchnetwork-demos-4-8-branchnetwork-demos-4-9-branchrtems-4-5-branch
Last change
on this file since 481950e was
481950e,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/30/98 at 21:46:06
|
Added notes from Eric to README.
Added CVS $Id$ to all files.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | A simple application to test some of the KA9Q networking code. |
---|
6 | |
---|
7 | ************************** |
---|
8 | * NOTES * |
---|
9 | ************************** |
---|
10 | |
---|
11 | 1. Make sure you change the definition of MY_ETHERNET_ADDRESS in init.c |
---|
12 | before you try to use this program. |
---|
13 | |
---|
14 | 2. If you do not use BOOTP (i.e. the `#define USE_BOOTP 1' in init.c is |
---|
15 | removed), make sure you change the definition of MY_INTERNET_ADDRESS |
---|
16 | before you try to use the program. |
---|
17 | |
---|
18 | FAILURE TO FOLLOW THE ABOVE INSTRUCTIONS MAY PROVOKE YOUR NETWORK |
---|
19 | ADMINISTRATOR TO THE POINT WHERE VICIOUS ATTACKS WILL BE MADE UPON YOU. |
---|
20 | |
---|
21 | 3. Once this program is running on the target machine, you can test |
---|
22 | the network code by: |
---|
23 | a) Typing commands at the target console: |
---|
24 | s - show network statistics |
---|
25 | t - transmit TCP packets |
---|
26 | u - transmit UDP packets |
---|
27 | b) Run `telnet target_machine 24742' on another machines. |
---|
28 | Everything you type should be echoed back and noted on |
---|
29 | the target console. |
---|
30 | You can run more than one telnet session at once. |
---|
31 | You can use port number 24743 as well. |
---|
32 | |
---|
33 | Debugging Hints |
---|
34 | =============== |
---|
35 | If you also define |
---|
36 | TRACE_NETWORK_DRIVER you'll get a *lot* of printout describing each packet as |
---|
37 | it passes through the stack. |
---|
38 | |
---|
39 | For debugging, I'd suggest breakpoints in the socket receive and transmit |
---|
40 | tasks to trace where you're running. Also, if you have a LANalyzer or |
---|
41 | workstation with `snoop' capability set it up to show all packets to/from the |
---|
42 | hardware (Ethernet) address of your target machine. |
---|
43 | |
---|
Note: See
TracBrowser
for help on using the repository browser.