Improve internet detection

Registered by YannUbuntu

Boot-Repair detects Internet via the following command:
[[ "$(wget -T 10 -q -O - checkip.dyndns.org)" =~ "Current IP Address:" ]] && echo connected || echo no-internet

This sometimes fails (it doesn't detect some internet connections). This should be improved.

examples:
- http://ubuntuforums.org/showpost.php?p=12076004&postcount=38
- http://forum.ubuntu-fr.org/viewtopic.php?pid=9903681#p9903681

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
YannUbuntu
Direction:
Needs approval
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
YannUbuntu
Completed by
YannUbuntu

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.