Network Demos on QEMU
joel.sherrill at oarcorp.com
Sun May 10 23:21:27 UTC 2015
On May 10, 2015 6:17:19 PM CDT, Sujay Raj <sujayraaj at gmail.com> wrote:
>netdemo of 'network-demos' doesn't run as expected. I set up tap
>successfully, and am trying to run netdemo using the
>1. The echoServer starts, as visible in the terminal :
>But neither telnet or ping work.
>2. running transmitTcp with 't' shows :Can't connect socket: Host is
>3. running transmitUdp with 'u' leads to a fatal error and ends the
>Can't broadcast: Host is unreachable
>fatal error, exiting
>Note: My tap device is has been set up correctly and is working. I
>tried it on ttyLinux running in QEMU, through tap, and I was able to
>ssh into it. All I had to do was to manually give the IP address to
>eth0 as 10.1.2.5.
>So, it works for other systems, not for rtems.
>The diff of my networkconfig.h file with the default
>networkconfig-qemu.h has minimal change:
>< extern int rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig
>> extern int rtems_3c509_driver_attach (struct rtems_bsdnet_ifconfig *,
>which I had to change to compile everything.
File a ticket with your patch, configuration and how you got the error.
I have never gotten the 3c905 driver to work with qemu. I either use Intel or Realtek. An Intel driver is in the main tree. A newer Intel driver and Realtek drivers are in the rtems-libbsd repo.
>Any help would be greatly appreciated.
>Thanks and regards.
>devel mailing list
>devel at rtems.org
More information about the devel