Hi Thomas,
Sorry for the belated response.
I've tried restarting restarting the network command (using SSH) but that doesn't work.
Incidentally, I've generated a new API code on PVOutput (I've logged into the raspberry pi ip address, and updated the API key on the sensor/grabber/system, and restarted the grabber.
The only thing that seems to work is to re-boot the rpi - this seems to allow the rpi to connect to the internet (I've checked using by pinging google).
Oddly, when I reboot the rpi the API key on IP address reverts back to the old API. When I update the API on rpi's IP address, and restart the grabber, it posts on the PV Output website.
However, the rpi automatically loses internet connectivity (ethernet connection) after 5 hours from when I reboot the rpi.
I'm wondering if it would be quicker to format and reinstall the original image on the rpi's micro SD card, i.e. to start again.
Anyway, thanks for your help to date with this. I realise that there are much more pressing concerns around just now.
Take care,
Pravin