UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 Linux embedded box has fully functional net connection inside the same local network and has existing eth0 and lo links eth0 Link encap:Ethernet HWaddr D0:E3:47:00:03:5F I assume at least it would give me any options? also nc -hīut sending the text from Linux embedded box to my PC works: ~ # nc 192.168.4.130 6660 I always get the same dialog: ~ # nc -l -p 6660īusyBox v1.17.1 (Debian 1:1.17.1-8) multi-call binary.Īlso I've tried many other ways how to implement listening but cant get it done. And I am not sure what would be the syntax how to listen a port (6660 for example). I managed to grasp the command and options and I implemented simplest way to listen plain text on my PC from another PC like this: nc 192.168.4.110 hello nc -l -p hello there!īut the case is that the netcat tool is coming with the busybox package on that Linux box. I found out that netcat (nc on command line) would be the easiest and the best ready to go solution for that, so I do not have to start programming some C program for that purpose. I chose port 6660 because it is meant for uncrypted connections anyway and since the Linux box running customized Linux OS there are not many ports open. I need to listen some arbitrary port inside the Linux embedded box.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |