DorianCottam
Posts: 3
Joined: Sun Jan 18, 2015 5:34 pm

Browser problems

Sat Dec 12, 2015 2:51 pm

When using the Epiphany Web Browser every search comes up with:

The website at https://duckduckgo.com/ (then the search) seems to be unavailable. The precise error was:

Cannot resolve hostname (duckduckgo.com)

It could be temporarily switched off or moved to a new address. Don't forget to check that your internet connection is working correctly.

Why is this so?

Thank you,

Dorian

Navyscourge
Posts: 258
Joined: Sat Oct 24, 2015 1:50 pm

Re: Browser problems

Sun Dec 13, 2015 10:23 am

Can you connect to any website at all?

How is your Pi connecting to the internet? If you don't have an internet connection, then the browser will run but will not be able to find any websites.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Browser problems

Sun Dec 13, 2015 12:29 pm

Try the following commands
ip addr show
ip route
ping -c3 $(ip route | awk '/default/ {print $3}')
ping -c3 8.8.8.8
ping -c3 google.com
cat /etc/resolv.conf

Post the results here, if possible. Or take a photo of the screen, upload that to http://imgur.com and post a link to it here.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Sun Dec 18, 2016 6:51 pm

Hi I did not post the question, but I have the smae problem. I just bought a Pi 3 Model B and I am seemingly able to connect to the LAN. I can see the classic internet connected chevron in the top right hand corner, with a 100% signal strength. I was able to run your commands... here are the responses, all carefully typed in...

pi@raspberypi: ~ $ ip add show
1: lo: I am not sure you are interested in this.
2: eth0 the same
3: wlan0 looks like it is working <Broadcast, Multicast, Up, Lower_up> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link ether b8:27:eb:9b:d9:54 brd ff:ff:ff:ff:ff
inet 192.168.0.101 brd 192.168.0.2555 scope global wlan0
valid_lft forever preferred_lft forever

pi@raspberypi: ~ $ ip route
default vi 192.168.0.254 dev wlan0 metric 303
192.168.0.0/24 dev wlan0 proto kernal scope link src 192.168.0.101 metric 303

pi@raspberypi: ~ $ ping -c3 $(ip route | awk 'default/ {print $3}')
ping icmp open socket: Operation not permitted

pi@raspberypi: ~ $ ping -c3 8.8.8.8
ping icmp open socket: Operation not permitted

pi@raspberypi: ~ $ sudo ping -c3 $(ip route | awk 'default/ {print $3}')
PING 192.168.0.254 (192.168.0.254) 56(84) bytes of data.
64 bytes from 192.168.0.254: icmp_seq=1 ttl=64 time=5.07 ms
64 bytes from 192.168.0.254: icmp_seq=2 ttl=64 time=4.55 ms
64 bytes from 192.168.0.254: icmp_seq=3 ttl=64 time=4.81 ms

... 192.168.0.254 ping statistics ...
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 4.550/4.810/5.071/0.2220 ms

pi@raspberypi: ~ $ sudo ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data
sudo
... 8.8.8.8 ping statistics ...
3 packets transmitted, 0 received, 100% packet loss, time 2003ms

pi@raspberypi: ~ $ sudo ping -c3 google.com
ping: unknown host google.com

pi@raspberypi: ~ $ sudo cat /etc/resolv.conf
# generated by resolvconf
nameserver 192.168.0.254

e & o e!

ping: unknown host google.com

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Browser problems

Sun Dec 18, 2016 8:04 pm

So you can reach the router, but the router isn't forwarding your IP traffic on to the public internet. Start by rebooting your router, then hit it hard with a very big stick.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Sun Dec 18, 2016 10:20 pm

It's a virgin broadband router... Have you got a better solution?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Browser problems

Mon Dec 19, 2016 12:23 am

Drclohite wrote:It's a virgin broadband router... Have you got a better solution?
Hit it extremely hard with an enormous stick. It's not routing.

After you've rebooted the router, then try rebooting your Raspberry.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Mon Dec 19, 2016 11:16 pm

Hi I have rebooted the virgin modem. No joy
I have reinstalled the NOOBS software without configuring anything so I could run a cable into the hub no joy
however when i ping 8.8.8.8. and Google.com I get 3 packets transmitted, 3 recieved 0% packet loss in both cases.
I get the same whether I turn the wifi on or off.
Any thoughts?
I got a new wifi box coming tomorrow, that might make a difference.

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Tue Dec 20, 2016 12:16 am

It is working. I randomly selected the pi help mneu which turned out to be a web resource.

It may have been that I was looking for google.com and google switched to a https server and the browser on the pi did not like the security....

Works on wifi and cat 5 cable

Could have been the reloaded NOOBS, or the restarted router. I don't know which.

Will turn it all off and restart tomorrow!

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Tue Dec 20, 2016 12:58 am

Seems I have to reboot the router every time. Is there a better solution?

As I am turning the whole house off and the many other devices connected... Much disturbance....

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Tue Dec 20, 2016 9:14 am

I noticed that as I shut down the screen breifly says Discarding DNS settings, or something similar. Is there a way I can preserve those settings?

Otherwise I am thinking of using a seperate dongle just for the pi, or trying to connect to the internet via my phone. Both of which are not ideal, when I have wifi in the whole house.

I can't be the first with this issue, how have you made it work?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Browser problems

Tue Dec 20, 2016 10:49 am

Drclohite wrote:I noticed that as I shut down the screen breifly says Discarding DNS settings, or something similar. Is there a way I can preserve those settings?
What would that achieve? DNS is an optimised, high speed, distrubuted hierarchical database. The time needed to resolve any address to any IP address is measured in microseconds.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Drclohite
Posts: 7
Joined: Sun Dec 18, 2016 6:27 pm

Re: Browser problems

Tue Dec 20, 2016 3:59 pm

I am not sure what it would achieve? I was hoping to find a way to make sure that the device logged in to the internet each time without resetting the hardware. However, this afternoon, it just did. I hope it continues.

Thanks for your help in making me think about this Dougie

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Browser problems

Tue Dec 20, 2016 4:03 pm

Your Raspberry will connect automagically if your WiFi credentials are stored correctly and the WiFi is in range. If you wire it with a cat5 cable it's 100% guaranteed to connect as soon as the OS boots.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Troubleshooting”