Changes between Version 1 and Version 2 of Docs/Prog/Manual/DeviceSupport/Network


Ignore:
Timestamp:
11/30/09 10:37:22 (15 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/DeviceSupport/Network

    v1 v2  
    11== Network ==
     2
     3=== Network File System (NFS) Testing ===
     4It is helpful to setup an NFS share on your host computer for application testing. You may place your executables to be tested in the directory and access them from the target hardware. Using MiniCom, HyperTerminal or another communications program to communicate with the debug serial port 115000 8N1 the prompt should appear as:
     5
     6{{{
     7#
     8}}}
     9Type:
     10
     11{{{
     12# mount –t nfs !90.1.2.69:/tftpboot/ltib /mnt/nfs –o nolock <CR>
     13}}}
     14Replace 90.1.2.69:/tftpboot/ltib with the appropriate IP address and share name of your NFS share
     15
     16Type:
     17
     18{{{
     19# cd /mnt/nfs
     20}}}
     21to change to the NFS directory. You can then run an application from the NFS folder such as:
     22
     23{{{
     24# ./indicator &
     25}}}
     26To run an application named indicator. Make sure the application is flagged as executable from the host. To stop a running application type:
     27
     28{{{
     29# ps
     30
     31  PID TTY          TIME CMD
     32    1 ?        00:00:02 init
     33    2 ?        00:00:00 kthreadd
     34    3 ?        00:00:00 migration/0
     35    4 ?        00:00:00 ksoftirqd/0
     36    5 ?        00:00:00 watchdog/0
     37    6 ?        00:00:00 migration/1
     38    7 ?        00:00:00 ksoftirqd/1
     39    8 ?        00:00:00 watchdog/1
     40    9 ?        00:00:00 events/0
     41   10 ?        00:00:00 events/1
     42   11 ?        00:00:00 khelper
     43   85 ?        00:00:00 kintegrityd/0
     44   86 ?        00:00:00 kintegrityd/1
     45   88 ?        00:00:00 kblockd/0
     46   89 ?        00:00:00 kblockd/1
     47   91 ?        00:00:00 kacpid
     48   92 ?        00:00:00 kacpi_notify
     49}}}
     50This will list the running processes. Identify the PID number of the process to stop and type:
     51
     52{{{
     53# kill <PID>  (where <PID> is the appropriate process ID)
     54}}}
     55At times you may lose track of your current path. To check the current path type:
     56
     57{{{
     58# pwd
     59}}}
     60This will respond with the current path such as “/mnt/nfs”.
     61
     62[[Top]]