Re: [lwip-users] lwip not working with Linksys switch?

2012-03-19 Thread Xia, Fei
Thanks guys. You are right. After I set the MAC address according to standard MAC group address convention, the problem is resolved. Best regards, Xia -Original Message- From: lwip-users-bounces+fxia=kns@nongnu.org [mailto:lwip-users-bounces+fxia=kns@nongnu.org] On Behalf Of Joe

[lwip-users] Sockets Client/Server

2012-03-19 Thread N.Karakotas
Hi, I would like to ask you guys what is the best way to do the following: I have a Server accepting multiple connections over a port this is to implement modbus. I used the chargen example as a reference. I need to do client request on the same port. I have a thread that does all the socket rou

[lwip-users] Defining the default route

2012-03-19 Thread Mason
Hello, I'm using lwip 1.4.1 Below is the code I use to initialize the network stack. static void do_lwip_init(void *arg) { struct netif *netif = malloc(sizeof *netif); memset(netif, 0, sizeof *netif); #if USE_DHCP netif_add(netif, NULL, NULL, NULL, NULL, ethernetif_init, tcpip_input); dh

Re: [lwip-users] Defining the default route

2012-03-19 Thread Simon Goldschmidt
Mason wrote: > 1) The correct function to use is netif_set_default, right? > > 2) If I use static addressing, I have to declare the > default route myself, using netif_set_default? > > 3) When using DHCP, does the DHCP code take care of > declaring the default route, or do I have to do it > mys