RTEMS netdemos-4.5.0 questions:

Bert doclzs at 21cn.com
Mon May 12 14:40:39 UTC 2003


Hi, i want to test the network funtions
of RTEMS, in the process i met some
problems:

1.Enviroment

(1)host: 
   OS: Redhat Linux 8.0,
   hostname: ghm,
   ip address: 192.0.2.9,
   domain name: ghm.sim.com

(2)client: 
   Archtecture: i386,
   hostname: bert,
   ip address: 192.0.2.2,
   domain name: bert.sim.com

2.Server's configuration on host machine

(1)DHCP Server (dhcp-3.0pl1-9.i386.rpm)
the dhcp config file "/etc/dhcp.conf"
is as following :
  ddns-update-style none;
  ignore client-updates;
  allow bootp;
  authoritative;
  subnet 192.0.2.0 
  netmask 255.255.255.0 
  {
    option routers 255.255.255.255;
    option subnet-mask 255.255.255.0;
    option broadcast-address 192.0.2.255;
    option nis-domain "sim.com";
    option domain-name "sim.com";
    option domain-name-servers 192.0.2.9;
    option ntp-servers 192.0.2.9;
    range dynamic-bootp 192.0.2.2 192.0.2.8;
    default-lease-time 216000;
    max-lease-time 432000;
    always-broadcast on;
    host bert 
    {
      hardware ethernet 00:60:08:3D:3A:6E;
      fixed-address 192.0.2.2;
      option host-name "bert";
      filename "test.txt";
      allow booting;
     }
  }
	
(2)tftp server (tftp-server-0.29-3 )
The file "/etc/xinetd.d/tftp" is following :
service tftp
{
socket_type		= dgram
protocol		= udp
wait			= yes
user			= root
server			= /usr/sbin/in.tftpd
#server_args		= -s /tftpboot
disable			= no
#per_source		= 11
#cps			= 100 2
}

3.Testing of programs in netdemos-4.5.0 packages 
  for rtems networking test:

i used "grub" to boot up the target,after it got
its hostname and IP address etc,there always was
a message "nfs_boot: Add route,error=114" on the
screen. Why? How to correct it?

(1)netdemo test

when i typed "t" on the target, got:
 Creat socket.
 Bind socket.
 Connect socket.
 Can't connect socket : Connection refused.

What's the problem with Connecting socket ?

(2)ttcp test

the error information:
  >>>ttcp -t 192.0.2.9
  buflen=8192, nbuf=2048, align=16384/0, 
  port=5001, 
  tcp-> 192.0.2.9
  ttcp-t : socket
  ttcp-t : connect : Connection refused
  errno=111

Why?

(3)netlink test

target's information:
webs : Listening for HTTP requests at 192.0.2.2
Then tpye "http://192.0.2.2/index.html" in the 
web browser on the host,the browser return:
  Access Error: Page not found
  when trying to obtain /index.html
  Cannot open URL /index.html
At the same time,on the screen of the target
it showed that:
  webs : accept request.
  webs : accept request.

Why the Access Error occured ? Where would 
the file "index.html" should be located ?

(4)tftpTest

the error information on the target's screen:
	
  TFTP mount failed : Not supported.
  Read 'TFTP/192.0.2.9/'
  Open failed : No such file or directory.
  Open failed : No such file or directory.
  Read 'TFTP/192.0.2.9/BAD-FILE-NAME'
  Open failed : No such file or directory.
  Open failed : No such file or directory.
  Read 'TFTP/192.0.2.9/test.txt'
  Open failed : No such file or directory.
  Open failed : No such file or directory.

where the file "test.txt" should be put?
How to set the path in "/etc/dhcp.conf"?

Thanks a lot in advance!
----------------------------------------------
Ãâ·ÑÍæÆ»¹ûÅÉÍøÂçÓÎÏ·£¬ÓÃ21CNÓÊÏä×¢²áËͲÊÆÁÊÖ»ú¼°¼ÛÖµÊýÊ®ÍòµÄ¾«ÃÀ½±Æ· 
http://www.appie.com.cn 
Áô¸øÕŹúÈÙ×î°®µÄ˵»° 
http://sms.21cn.com/leslie/ 
½¡¿µÐÔ¹ÛÄîÏíÊÜÃÀÃîµÄʱ¿Ì 
http://sms.21cn.com/sexxy.jsp 
21CN²ÊÐÅÓÊ£¬ÉùÉ«²ÊÐÅ£¬×ÔÓÉÊÕ·¢ 
http://mail.21cn.com/huodong/0304/ 
ÐÂÔöHTML±à¼­Æ÷£¬ÁîÓʼþ¸ü³öÉ« 
http://mail.21cn.com/bijiao/02.html 





More information about the users mailing list