I’m hoping you can help my son and I as we are struggling to get the pi to connect to the Internet.
The issue manifests itself by producing an “unknown hostname” error message when trying to access an Internet site (tried various ones that are generally up and running all the time including http://www.bbc.co.uk)
We are using:
• the Debian setup and all the applications that come with it seem to work fine. This was all presupplied on a 16Gb card (so I haven’t loaded any other apps / files via a different PC)
• a BT Home Hub 5 Router
So to explain what I have done to try and resolve this based on other forum postings:
Changed power supply: I understand that low voltage can be the culprit of many issues. I was using a powered USB so I now have a powered USB plus a phone charger rated at 5v (700mA).
Checked voltage: Using the TP1 (red voltage meter probe) and TP2 (black voltage meter probe) and with the following items plugged in we are getting average 4.95v:
• Ethernet cable – connected directly to router.
• Powered USB extension with mouse and keyboard connected.
• Standard (powered) PC monitor.
• Phone charger (as described above)
• 16Gb memory card.
Checked Internet Connection:
• checked connection on other PCs in the house that the connection is up and that is fine.
• restarted the router
• looked at (!) the pi board and assume (lot of dangerous assuming going on here!) that the LNK flashing green light indicates a live connection?
Checked Network Setting: checked contents of
Code: Select all
/etc/network/interfaces Code: Select all
cat /etc/network/interfaces Code: Select all
iface eth0 inet dhcp Checked whether pi has a hostname: with
Code: Select all
hostnameChecked dhclient.conf file content: in
Code: Select all
/etc/dhcp/dhclient.conf Code: Select all
send host-name “raspberrypi”; Code: Select all
sudo ifdown eth0Code: Select all
sudo ifup eth0Code: Select all
send host-name = gethostname();Rebooted system: After each of these changes I’ve completely restarted the pi just to be sure it is picking up the new instructions. I’m assuming that the refreshes (described above) do this but just wanted to be sure.
So I think I’ve reached the end of the road in knowing what to try next. Any guidance on where to go from here greatly received.
Best wishes, Chris & Alex.