lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #43951] minimal project "echop" not working on the spe


From: salih ahi
Subject: [lwip-devel] [bug #43951] minimal project "echop" not working on the specified ip
Date: Thu, 08 Jan 2015 09:29:34 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?43951>

                 Summary: minimal project "echop" not working on the specified
ip
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: legyndir
            Submitted on: Thu 08 Jan 2015 09:29:33 AM GMT
                Category: Contrib
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

When I compile and run "contrib-1.4.1/ports/unix/proj/minimal" the default
message indicates:
Host at 192.168.0.2 mask 255.255.255.0 gateway 192.168.0.1

But if I try to connect with "nc -C 192.168.0.2 7" I get "No route to host"
error.

If add this line to low_level_init() before executing system(buf), then I can
connect to 192.168.0.2 and the program echoes my commands, as intended

  sprintf(buf, "/sbin/ifconfig tap0 inet 192.168.0.8 netmask 255.255.255.0");

Obviously, this is not the solution. Just to show that the program does not
respond to the IP connections it was supposed to.

mintapif.c is attached.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 08 Jan 2015 09:29:33 AM GMT  Name: mintapif.c  Size: 11kB   By:
legyndir

<http://savannah.nongnu.org/bugs/download.php?file_id=32783>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?43951>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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