Cannot communicate with Serial Monitor - Arduino Yun
When using the Yun over wifi, you cannot user Serial, you need to use Bridge Console object. Serial is bound to the usb cable.

Give a spin to ConsoleRead example.