![]() ![]() If it is sed then I am out on thin ice, because I cannot yet decode the instructions on how to use sed. ![]() Is somebody using your network without your knowledge Which. This easy to use App outlines a computer network even to the unexperienced user. So what command should I send $IPAddr to in order to get rid of the end of the line? Free Download iNet Network Scanner 2.9.81 macOS 224 mb iNet - explore your network Find out about security risks and keep your network under control. including the white-space between IP address and the word Bcast. Next I want to strip off everything from the string following the IP address, i.e. It uses a fixed position that I suspect will never change. I want to stuff the IP address into the $IPAddr variable and the current code strips everything before char 20 from the line produced by the ifconfig call. This is just test code but is getting there. #Now strip everything following the IP address # - Script used to report the RPi IP address using the script. ) I suppose there are equally good tutorials on the Internet. (Yikes! a bit pricey on Amazon and it looks like it has not been updated since originally published in '83. If that kind of thing interests you, the book I learned from is "The Unix Programming Environment" By Kernighan and Pike. ruwin provides a taste of that in his post. One of the very cool things about Linux and the shell is just how much you can accomplish on the command line. Both 'wget' and 'curl' will be available in Raspbian. The test server is described at (And no, that Henry is not me! ) I used 'curl' for testing because I found an example that showed how to send a POST request using 'curl'. I'm not sure if that makes a difference for your server. ![]() I was debugging a web client just yesterday and found a test server for POST requests. The only comment I have is that I think the separator should be a '?'Īctually. Before this scanner can be used you have to install the luci RPC package on. But it seems like rurwin's suggestion solves that problem. Connect your device to the OpenWrt router and type the IP-address of the. The call to a website script is what I also had in mind, but did not know how to accomplish. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |