[Coco] IP packets on my coco
Brett Gordon
beretta42 at gmail.com
Sun Jul 24 23:16:09 EDT 2016
Ok. This weekend I tore the up-to-date uIP tcp/ip stack out of contiki.
It's nearly the same as the old uIP. I modified my lwwire server connect
up a TAP interface, rather TUN. TAP basically gets and puts ethernet
frames, rather than TUN, which works with straight IP packets. So I guess
my CoCo has a MAC address now. A TAP interface takes data in nearly the
same format (eth frames) as Jim's prototype cs8900a NIC card. I hope this
means it will be easy(er) to test the real hardware.
root at lappy:/home/beretta# ping 192.168.42.2
PING 192.168.42.2 (192.168.42.2) 56(84) bytes of data.
64 bytes from 192.168.42.2: icmp_req=1 ttl=64 time=298 ms
64 bytes from 192.168.42.2: icmp_req=2 ttl=64 time=197 ms
64 bytes from 192.168.42.2: icmp_req=3 ttl=64 time=97.8 ms
64 bytes from 192.168.42.2: icmp_req=4 ttl=64 time=297 ms
64 bytes from 192.168.42.2: icmp_req=5 ttl=64 time=197 ms
64 bytes from 192.168.42.2: icmp_req=6 ttl=64 time=97.2 ms
64 bytes from 192.168.42.2: icmp_req=7 ttl=64 time=297 ms
64 bytes from 192.168.42.2: icmp_req=8 ttl=64 time=196 ms
64 bytes from 192.168.42.2: icmp_req=9 ttl=64 time=96.3 ms
64 bytes from 192.168.42.2: icmp_req=10 ttl=64 time=295 ms
64 bytes from 192.168.42.2: icmp_req=11 ttl=64 time=195 ms
64 bytes from 192.168.42.2: icmp_req=12 ttl=64 time=94.2 ms
^C
--- 192.168.42.2 ping statistics ---
12 packets transmitted, 12 received, 0% packet loss, time 11015ms
rtt min/avg/max/mdev = 94.291/196.860/298.744/82.017 ms
root at lappy:/home/beretta# telnet 192.168.42.2 80
Trying 192.168.42.2...
Connected to 192.168.42.2.
Escape character is '^]'.
Let Elvis Reign!
Connection closed by foreign host.
root at lappy:/home/beretta#
Cheers,
brett
More information about the Coco
mailing list