the LCP negotiations looked like? What options
were negotiated? If nothing else, what was the ACCM set to?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
on?
Patrick Klos
Laufer Wind
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
void
modifying the LwIP stack if at all possible.
If I get a chance, I'll pull out my Tiva Launchpad and see if I can rig
up something like what you're trying to do.
Good luck,
Patrick Klos
Laufer Wind
___
lwip-users mailing list
lwip-users@nongnu.org
ht
Hi ,
Digital Power on the Xilinx Zynq Webinar
As an electronics engineer, you will no doubt be switched on to ELMG
Digital Power’s stellar reputation as specialists in FPGA and power
electronics. This coming month, on Tuesday 12^th July, they are
offering you the
ill think the actual byte stream may shed some light on what might
be happening??
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
(no charge).
Or if you have packets in the form of raw bytes, I could help you decode
them. Just post or email them.
Patrick Klos
Laufer Wind (and Klos Technologies, Inc.)
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailma
ned state. Once LCP finishes, you'll know if you've negotiated
MSCHAPv2 and if you even need to enable CCP (and MPPE) negotiations.
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
On 8/4/2016 6:30 PM, Sylvain Rochet wrote:
Hello,
On Thu, Aug 04, 2016 at 10:15:56AM -0400, Patrick Klos wrote:
Again, the TermReq packet is an LCP packet. If your peer is ignoring
all LCP packets (as you stated earlier), it's just ignore that packet
as well. I'm sure you could find a way
. I'm sure you could find a way to get LwIP to send the packet -
just not sure if it'll help given your symptoms.
Describe the exact link setup between the peers and get a packet trace. :o)
Patrick Klos
Laufer Wind
___
lwip-users mailing list
lwip
, have you noticed that 29200 is exactly 20 packets
of 1460 bytes each? I wonder if you're freeing the buffers properly
once you're done with them?
Patrick Klos
Laufer Wind
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org
?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
On 3/2/2017 8:10 AM, Sylvain Rochet wrote:
Hi Axel,
On Thu, Mar 02, 2017 at 08:55:15PM +0800, Axel Lin wrote:
Hi,
I'm using current lwIP master tree.
I got my device connect to internet via 4G/LTE module now (by PPPoS).
However, I found sometimes download file size mismatch when
try to
Hello again Axel,
On 3/2/2017 10:11 AM, Axel Lin wrote:
HTTP uses TCP so whatever happens you shouldn't have a size mismatch.
I was thinking the same thing. If you get to the end of the HTTP download
with a file, then the network communications via TCP is (probably) not
responsible for the
On 3/3/2017 5:59 AM, Axel Lin wrote:
Axel Lin" wrote:
LTE or not doesn't matter much: TCP should rearrange the stream based
on good checksums and sequence numbers.
If anything is wrong at the application level, I would first debug the
application, not the PPP connection.
Actually, I did
On 7/31/2017 12:15 AM, parwat...@yashaswinies.com wrote:
Hello all,
I am running udp client on lwip 2.0.2 stack with pppos on
controller its only sending 14 times after that I am not receiving
anything in server(running in linux machine). same problem while
receiving also.. How to resolve
?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
be a
simple protocol to implement, but I haven't implemented it myself (at
least not as a high speed data transfer protocol).
We had ENET on our device for other reasons, but have since removed it
and replaced it with a simpler "reliable UDP protocol" we wrote ourselves.
Patrick
On 4/26/2017 3:31 AM, Andreas Dinter wrote:
Potential NULL pointer access in ip4_frag.c
Hi,
When compiling ip4_frag.c with GCC option -Wnull-dereference, it
complains with the following warning.
../../../lwIp/src/core/ipv4/ip4_frag.c:327:16: warning: potential null
pointer dereference
t to a single buffer pbuf depending on the
capabilities of the ethernet interface. Even so, your Zynq processor
will probably be able to handle the copies faster than a 1Gb link could
transfer the data?
Good luck!
Patrick Klos
Klos Technologies, Inc.
__
you're using a variable before it has been initialized?!?)
Patrick Klos
Klos Technologies, Inc.
pbuffer = pbuf_alloc(PBUF_TRANSPORT, len, PBUF_POOL);
memcpy(pbuffer->payload, buffer, len);
pbuffer->len = pbuffer->tot_len = len;
status = udp_send(sock, pbuffer);
and the HP-Unix machine, and feed the monitored traffic to a port that
goes to your Wireshark machine? Those things can be tricky (i.e. a pain
in the ass), so you really need to know what's going on.
I thank you to give ideas.
It's my pleasure.
Good luck!
Patrick Klos
Klos Technol
ee traffic for a
while?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
On 9/6/2017 1:55 AM, Ran Shalit wrote:
Hello,
I porting lwip into uc/os, but noticed that lwip use malloc()
operation, and I have limitation with this OS, thet malloc is limited
to 4045.
Is that 4045 bytes max per allocation? Or 4045 bytes total allocatable
space?
Does it mean that it
to tell where "messages" start and stop.
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
modem as well?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
On 12/27/2017 11:04 AM, Prashant Gupta wrote:
can i use PPP over serial port??
Yes, that's what PPP was made for. :)
Patrick Klos
Klos Technologies, Inc.
On Wed, Dec 27, 2017 at 5:52 PM, Sergio R. Caprile <scapr...@gmail.com
<mailto:scapr...@gmail.com>> wrote:
> I am n
clude some other option in DHCP message or this is enough?
Not sure, but not usually with DHCP.
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
IP
address, and LwIP would need to have a route or two to route them?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
packetizes the serial stream, presenting the LwIP interface with
packets. There is no such thing as passing data transparently from the
modem to LwIP.
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.no
On 8/15/2018 4:19 PM, Sylvain Rochet wrote:
But what is very strange is that checksum including checksum itself for
comparison purpose for "0x01 0x01 0x16 0x03 0x6 0x81 0x6 0x83 0x06 0x6e
0xdb" is 0xeb 0xbe, which is not 0x4114 (nor 0x1441 with byte swap) as
displayed in your "Dropping bad fcs"
let's figure out where the payload packet went. Maybe you can add
debug output in your ethernet output routine?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
it sent a response to the PC (bumping the ACK to 9b56), LwIP
should have noticed that and resent the data from the previous packet.
Patrick Klos-2 wrote
Based on your description, yes, LwIP is acting properly. You need to
find out why the payload packet isn't making it to the PC? How big
On 4/23/2018 11:49 AM, goldsi...@gmx.de wrote:
On 23.04.2018 17:18, Patrick Klos wrote:
[..]
Thinking about the retransmission from PC side:
Shouldn't lwip also do a retransmission of the lost frame?
You know, these bytes never get acknowledged by PC.
Yes, the LwIP side should have
ntly the PPP packets), followed by a
disconnect (likely due to not getting answers to the packets the other
side sent after a reasonable amount of time)?
Can you log the data your device is trying to send over the modem as
well? (and dumping the serial data in hex would make decoding the
packet
by the time you try to use it again, that could break things?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
ask,
and default gateway? Does it support DHCP or is it manually
configured? Does that "antiquated hardware" just need to talk to MCU#2
or does it need to communicate with other devices on the network (or on
the Internet) as well?
Good luck,
Patrick Klos
Klos Technologies, Inc.
_
On 10/10/2018 8:59 AM, Patrick Klos wrote:
On 10/9/2018 8:24 PM, Bob Jones wrote:
Hello,
I'm trying to resolve an issue with regards to PPP and ARP requests.
My network topology is as follows,
Laptop (192.168.1.3, ethernet) <-> MCU #1 (192.168.1.4, ethernet) <->
MCU #1 (192.16
en dereferenced (freed) more
than it has been referenced. Check that you're not freeing the pbuf
more than once.
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
30 5E 00 00 7F 01 39 47 64 7A 0F 44 08 08 08 08 08 00 48
^^ ^^ ^^ ^^ 100.122.15.68?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman
How much memory do you have available on this processor? Maybe you can
set aside some memory to store debug messages rather then trying to
print them in real time? Then you can view the messages later where
viewing them won't have an impact on the PPP link??
Patrick
}
{FF}{03}{C0}{21}{01}{01}{00}{12}{02}
Those are not valid packets.
Does your hardware have a 16 byte FIFO on the serial receiver? Is your
serial port receiver interrupt driven? What baud rate are you running at?
Patrick Klos
Klos Technologies, Inc
port so you can take the bytes before the FIFO fills and you
start losing bytes??
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
On 12/14/2018 3:55 PM, arsz6733 wrote:
My processor doesn't do anything else just get 32 byte pass it to ppp clear
buffer using memset and that repeats again
Why are you waiting for 32 bytes? Where is that number coming from?
Why don't you pass each byte as they come in individually? Or at
hernet interface?
If you could use a debugger to step through the receive code for the
IP/ICMP packet (or instrument the receive code with some short
printf()'s), maybe you can see what it's doing with the packet or why it
might be rejecting it??
Patrick Klos
Klos Technologie
responding to the CHAP challenges.
Are you dialing into an ISP (which would require authentication) or into
another system configured to be a "server"? Either way, the peer is
expecting you to have a username and password of some kind, but you're
not responding to their challenges.
Also
On 3/20/2019 1:48 PM, Sylvain Rochet wrote:
Hi Patrick,
Hi Sylvain,
On Wed, Mar 20, 2019 at 01:20:02PM -0400, Patrick Klos wrote:
For whatever reason, you're not responding to the CHAP challenges.
Are you dialing into an ISP (which would require authentication) or into
another system
receiving? Are these
broadcast packets actually IP and/or ARP packets? If they aren't, maybe
you can optimize the path in your device's ethernet driver to discard
these uninteresting packets more efficiently?
Patrick Klos
Klos Technologies, Inc
tional. That device
appears to have a TCP/IP stack that should never have let the (invalid)
broadcast TCP packet(s) get anywhere near the TCP stack. And why is it
responding with (at least) 9 TCP RST packets?
Yes, a PCAP file would be a little more useful / interesting.
Patrick Klo
On 3/22/2019 3:17 AM, michele.corra...@socomec.com wrote:
Dear all,
thanks for all your replies and sorry if I didn't add enough information.
I'm not able to reply to your questions now, I have to check with ITD to try
to discover that device.
As you can see the problem I'm experiencing in my
ns at 7 hours and 35
minutes? What other network activity or protocols are active at the
same time? Can you provide a packet trace file?
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/m
send only 1 packet per second? Or 1 packet every few
seconds?? If it always stops at 7 hours and 35 minutes, that's a pretty
significant clue.
Patrick Klos
Klos Technologies, Inc.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.or
On 10/21/2019 3:49 PM, jcwilli585 wrote:
I run the lwip echo server on the zynq 7020 and I get a DHCP timeout error.
When I ping the default IP address of 192.168.1.10 I get either "Request
timed out" or "Destination is unreachable" and telnet is unable to connect.
I connect directly to the rj45
you change the behavior of your LwIP TCP stack, the "other
listening device" will not understand your broken TCP implementation and
won't work properly with it.
Patrick Klos
___
lwip-users mailing list
lwip-users@nongnu.org
https://list
On 4/7/2020 8:15 AM, Hemant Kapoor wrote:
Hello,
I am a newbie to networking and managed to port lwip stack to LPC17xx
controller runninf freertos.
I have requirement to send UDP data to a static destination IP Address.
I have a task which tries to send a UDP Packet every one second.
When I
On 3/26/2020 11:23 AM, Artem Moroz wrote:
Can it be some problems in PPOS input path? Some data that may hang PPOS in
case of bad input. I doubt this is stack overflow or timer wrap-around, I
have double checked this
I doubt an input issue would consistently show up at 12 hours on a
regular
hunting!
Patrick Klos
Klos Technologies, Inc.
On 3/25/2020 7:06 PM, Artem Moroz wrote:
Hi, All!
I have STM32F7 board with lwip 2.0.3 running PPOS connection with SIMCOM
modem. I am attaching my lwipopts.h file. lwipopts.h
<http://lwip.100.n7.nabble.com/file/t2270/lwipopts.h> After some
On 10/9/2020 5:02 AM, Mário Luzeiro wrote:
Hello all,
I'm sending UDP messages sequential, at "full speed" from a PC to a MCU (using
Lwip)
I know I'm loosing some UDP messages (I implemented a sequential counter to
debug it)
the udp_recv_fn is doing nothing much and exists almost
-
it's not that complicated)
Regards
Jon
On 19/07/2020 15:18, Patrick Klos wrote:
On 7/19/2020 6:44 AM, Jon Bean wrote:
Hi
I have an application were I need to send around 4k of data using
UDP. What I would like to know is how I go about sending this using
LWIP. I can send small packets
and
fixed - it's not that complicated)
Regards
Jon
On 19/07/2020 15:18, Patrick Klos wrote:
On 7/19/2020 6:44 AM, Jon Bean wrote:
Hi
I have an application were I need to send around 4k of data using
UDP. What I would like to know is how I go about sending this
using LWIP. I can send small
On 7/19/2020 6:44 AM, Jon Bean wrote:
Hi
I have an application were I need to send around 4k of data using UDP.
What I would like to know is how I go about sending this using LWIP. I
can send small packets no problem. I first allocate a pbuf. Then copy
my data to the pbuf. Then send the
ds [%d])\n",
subtick/120, ((subtick%120)*1000)/120, subtick);
}
pbuf_free(p);
}
else
{
printf("Couldn't allocate a pbuf!!\n");
}
Good luck!
Patrick Klos
Klos Technologies, Inc.
___
04x\n",
addr.ip4.addr, port, udp_addr.ip4.addr, udp_port);
(what version of LwIP are you using? I still have 1.4.1 on my TIVA
Launchpad)
See if (make sure) you get the same numbers to start with.
Patrick
On 10/07/2020 13:06, Patrick Klos wrote:
On 7/10/2020 6:44 AM, Jon Bean
y to use it?
I've been using LwIP with the TIVA platform over 5 years (maybe 7?) and
it has been working quite well for me. I'm sure you'll be able to get
things working without too much (more) trouble.
Patrick
On 10/07/2020 13:37, Patrick Klos wrote:
On 7/10/2020 8:19 AM, Jon Bean wrote:
Hi
64 matches
Mail list logo