Re: [lwip-users] 2 Interfaces

2013-03-05 Thread Dipswitch
On 2013-03-05 16:17, Fabian Cenedese wrote: Thanks for the link, I'll have a look at it. There are several changes, I don't know if they're all related to 2 interfaces. On the other hand I'd like to stay close to the original sources so an update is easier. I'll play a bit with it. Thanks by

Re: [lwip-users] 2 Interfaces

2013-03-05 Thread Fabian Cenedese
At 15:43 05.03.2013 +0100, you wrote: >On 2013-03-05 15:07, Fabian Cenedese wrote: >>That's what I already tried. However if I netif_set_up the second >>interface then the communication over the first interface doesn't >>work anymore. I found out that the interfaces must have IP >>addresses differi

Re: [lwip-users] 2 Interfaces

2013-03-05 Thread Dipswitch
On 2013-03-05 15:07, Fabian Cenedese wrote: That's what I already tried. However if I netif_set_up the second interface then the communication over the first interface doesn't work anymore. I found out that the interfaces must have IP addresses differing inside the network mask. That may be obvio

Re: [lwip-users] 2 Interfaces

2013-03-05 Thread Fabian Cenedese
At 15:30 05.03.2013 +0700, you wrote: >> Assuming that both interfaces have different IP/MAC and >> don't need to handle the same ports, would it then be >> possible to handle both devices with the same instance >> of lwip? I mean there's netif_add, can't I call this twice >> for every interface an

Re: [lwip-users] 2 Interfaces

2013-03-05 Thread Artem Pisarenko
05.03.2013 15:07, Fabian Cenedese пишет: At 11:50 28.02.2013 +0100, you wrote: Fabian Cenedese wrote: I have a device with 2 Ethernet interfaces. Can I have two "instances" of lwip to handle those? Not unless you use a full-blown OS that can give the 2 instances seperated address spaces. In

Re: [lwip-users] 2 Interfaces

2013-03-05 Thread Fabian Cenedese
At 11:50 28.02.2013 +0100, you wrote: >Fabian Cenedese wrote: >> I have a device with 2 Ethernet interfaces. Can I have two >> "instances" of lwip to handle those? > >Not unless you use a full-blown OS that can give the 2 instances seperated >address spaces. In other words, the answer is possibly

Re: [lwip-users] 2 Interfaces

2013-02-28 Thread Fabian Cenedese
At 11:50 28.02.2013 +0100, you wrote: >Fabian Cenedese wrote: >> I have a device with 2 Ethernet interfaces. Can I have two >> "instances" of lwip to handle those? > >Not unless you use a full-blown OS that can give the 2 instances seperated >address spaces. In other words, the answer is possibly

Re: [lwip-users] 2 Interfaces

2013-02-28 Thread Simon Goldschmidt
Fabian Cenedese wrote: > I have a device with 2 Ethernet interfaces. Can I have two > "instances" of lwip to handle those? Not unless you use a full-blown OS that can give the 2 instances seperated address spaces. In other words, the answer is possibly "no, you can't". > My problem is that both

[lwip-users] 2 Interfaces

2013-02-28 Thread Fabian Cenedese
Hi I have a device with 2 Ethernet interfaces. Can I have two "instances" of lwip to handle those? My problem is that both are equal and should allow the same functionality. E.g. it should be possible to have handlers that listen on the same (UDP) port for each interface. But lwip can obviously on

Re: [lwip-users] 2 Interfaces , PPP over Serial and Ethernet

2012-03-08 Thread N.Karakotas
-users] 2 Interfaces , PPP over Serial and Ethernet Hi, I thought it might be that the heap was getting smaller so I set the heap of FreeRTOS to the upper unused USB space on the lpc1769. Things run a lot smoother with this setup so I enable again the the PPP thread. Again I was having problems. I

Re: [lwip-users] 2 Interfaces , PPP over Serial and Ethernet

2012-03-07 Thread N.Karakotas
Hi, I thought it might be that the heap was getting smaller so I set the heap of FreeRTOS to the upper unused USB space on the lpc1769. Things run a lot smoother with this setup so I enable again the the PPP thread. Again I was having problems. I am not sure what could be at fault. Could it b

Re: [lwip-users] 2 Interfaces , PPP over Serial and Ethernet

2012-03-06 Thread goldsi...@gmx.de
Kieran Mansley wrote: On 5 Mar 2012, at 09:23, wrote: Afterwards it iterates the list and the weird thing is that it doesn’t find em interface. Then netif –>next should be 0x0 but is 0xfff. This makes me think of some overflow or stack problem. I don’t really know where to look any he

Re: [lwip-users] 2 Interfaces , PPP over Serial and Ethernet

2012-03-06 Thread Kieran Mansley
On 5 Mar 2012, at 09:23, wrote: > Afterwards it iterates the list and the weird thing is that it doesn’t find > em interface. Then netif –>next should be 0x0 but is 0xfff. This makes me > think of some overflow or stack problem. I don’t really know where to look > any help would be appr

[lwip-users] 2 Interfaces , PPP over Serial and Ethernet

2012-03-05 Thread nkarakotas
Hello, I have system with an ethernet and a GSM modem on. The application involves uploading remotely through the PPP connection and ethernet usually to access the web application. I have a problem when running the two interfaces together. Separately they run ok. Initialy I bring up the etherne