hi there, i hope someone can kindly walk me through this. i'm a new user (and proud owner) of a YUN, obviously.
i was hoping to find a way to view the data output of a YUN like it shows up on the serial monitor. said YUN is not connected with the laptop that has the Arduino software/IDE, but is powered by a usb power bank.
i thought this is possible with " telnet localhost 6571" but it seems to only be used for reading inputs that are sent to the YUN.
i was thinking more like how can i see the output generated by the "WiFiStatus" (Current WiFi configuration SSID: ... etc) and "HTTP Client" sketches in this setup which clearly won't be viewable on the serial monitor because there is no direct connection between the laptop and the YUN. i read through the tutorials and it's hinted this is possible through the Port Monitor, but where is it?
i see so there really is no "Port Monitor" anywhere on the Arduino IDE.
since you suggested using ssh, i guess this means if i want to see the output generated by WifiStatus, i will just recode things from Serial and use Console, instead. correct?
As you have to ssh anyway you can use serial and minicom (or any other serial monitor) and a usb cable to connect the usb of leonardo to linino.
Don't forget to install
opkg install kmod-usb-acm
you may be interested in my yun blogs as they deal with this kind of stuff http://blog.baeyens.it/#home
Best regards
Jantje
You have to be connected to your YUN by SSH. You don’t need special ports, it will be used the default one, 22.
The Console need to be initialized like you do with Serial.
You have an example here:
Than, you just type: telnet localhost 6571
Lets say you have a temperature sensor and you want to see the values.
Just write: Console.println(temp_val);
You can see the same output in the Arduino IDE in the Serial Monitor if you are in the same network.