lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: problems with the RTL-LWip (liu kun)


From: Sergio Perez Alcañiz
Subject: [lwip-users] Re: problems with the RTL-LWip (liu kun)
Date: Tue, 25 May 2004 14:51:35 +0200
User-agent: Internet Messaging Program (IMP) 3.2.2

Hello, Liu kun!!

First of all, you won't find no "/dev/rtl" device, because RTLinux devices are
"mounted" in a virtual file system, not in the real one. I mean, "/dev/rtl"
only exists in the RTLinux context, and only for RT-Tasks.

Secondly, in order to be sure that you've correctly installed RTL-lwIP I
recommend you to check your communications with one Linux machine, not
RTLinux-RTLinux directly. In the RTL-lwIP distribution theres a "unix"
directory  that contains some linux examples to communicate with RT-Tasks in
other machine. First of all you must check the configuration of both files (IP
addresses, server port, etc..) and then launch the tcp echo server in RTLinux
an run the tcp echo client in Linux.

Please let me know the result of this test.

Best regards.

Sergio.



> hi,list:
>    hi,all.I have installed the RTL-lwip0.4 in two machines(linux 
> 2.4.20+RTLinux-3.2-pre2+realtak8139),and there is no problem during the 
> installation this time.Since the document tell me that before use the 
> driver for RTL-lwip,the ethernet card driver for linux must be down,so I 
> didn't install the 8139 driver for linux.But now I can't use the examples 
> to check if RTL-lwip goes well,such as the tcp_echo and udp_tcho.
> 
> The steps will be show as follows:
> address@hidden RTL-lwIP-0.4]#rtlinux start
> address@hidden RTL-lwIP-0.4]#./instools
> address@hidden RTL-lwIP-0.4]# insmod rtl_rtl8139_drv.o
> 
> RT-Linux driver for the Ethernet Card rtl8139 being loaded                  
>      
> Registered device /dev/rtl major number 205 
> 
> address@hidden RTL-lwIP-0.4]# insmod rtl_lwip_stack.o
> RTLinux TCP/IP stack inserted. linux thread id: 0xc4831ec4
> System initialized.
> TCP/IP initialized.
> Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+: RealTek RTL8139CP 
> Fast Ethernet at 0xc4872000, 00:e0:4c:5d:c4:16, IRQ 10
> Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+: Setting 100mbps 
> full-duplex based on auto-negotiated partner ability 41e1.
> Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+:   
> rtl8139_set_rx_mode(60000) done -- Rx config 0000d68b.
> Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+: dev_8139_open() 
> ioaddr 0xe6001000 IRQ 10 GP Pins 00 full-duplex.
> Successfully Opened
> rt_rtl8139 interface added to netif list
> rt_rtl8139 set as default
> 
>     Anyone can tell me whether the RTL-lwip dirver have installed 
> successfully it seems there is no wrong with the installation.but I can't 
> find the device "/dev/rtl"(why ?).And next I used the example 
> udp_echo/tcp_echo in two RTLinux machines-insmod 
> udpserver.o/udpclient.o,there is no result shows the communication between 
> them goes well. I think I have changed all the neccessary configuration,and 
> the machines IP are 192.168.0.1 and 192.168.0.2. Can any one please help me 
> with the problem,and how I can check my RTL-lwip's working status ?
> thanks in advance
> with best regards
> 
> liukun
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]