PINE64
Internet not working properly - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Linux on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=6)
+---- Forum: Debian (https://forum.pine64.org/forumdisplay.php?fid=24)
+---- Thread: Internet not working properly (/showthread.php?tid=1408)



Internet not working properly - cezar.suteu@gmail.com - 06-16-2016

I have set up a 32GB SD card from pine64-image-debianmate-310101bsp.img.xz with command xzcat /media/pine64-image-debianmate-310101bsp.img.xz|pv|sudo dd of=/dev/sdc bs=1M oflag=sync

I have the 2GB version of pine64 with WiFi native board installed. Once I plug the micro sd card it boots (albeit taking more than 1 minute to get me to the desktop).

From the debian mate desktop I can set up the wifi connection and I can see the connection is set up. I can also do sudo apt-get update / upgrade. But when I try to access websites with Iceweasel I get errors. For example www.yahoo.com works but www.github.com doesn't work.

I have tried also git clone from github but I get an error Failed to connect to github.com port 443: No route to host

My ISP is ipv6 based. Any other device in the house (Windows PC, Linux PC, Android device) have standard DHCP settings and all work without problems. What can I check/set on the pine board to get complete connectivity?


RE: Internet not working properly - lenny.raposo-pine64.pro - 06-16-2016

edit /etc/resolv.conf

add your preferred dns entries there


nameserver xxx.xxx.xxx.xxx

Wink


RE: Internet not working properly - cezar.suteu@gmail.com - 06-17-2016

If I connect the pine64 by Ethernet cable, the internet works properly and the contents of the resolv.conf are
domain home
search home
nameserver 192.168.0.1

If I don't connect the pine64 by cable & only use the wifi board, the internet doesn't work and the contents of the resolv.conf are
# Generated by NetworkManager
search home
nameserver 192.168.0.1
nameserver 2a02:908:2:a::1
nameserver 2a02:908:2:b::1

If I try to replace the /etc/resolv.conf with the "ethernet-only" one, it still doesn't work. If I try to make sudo service network-manager restart , the /etc/resolv.conf is regenerated.

So it seems that the network manager is adding the ipv6 nameservers which don't work properly. I checked in the other computers and the /etc/resolv.conf only have standard ipv4 nameservers (again, with standard DHCP settings).

Any ideas?