2

I just recently made a fresh install of Ubuntu 16.04 on my newly built desktop. However I'm having some internet connectivity issues. Please bare with me as I am a linux noob.

Anyway, I'm unable to connect to many websites but CAN connect to google, facebook, wikipedia, fast.com...What do they all have in common? They're reachable via IPv6.

When I try to curl -v reddit.com, it tries to connect to their IPv4 address but fails. When I do the same with google, it connects to their IPv6 address fine and everything proceeds swimmingly.

It is to note that I am working with an Apple Time Capsule right now, but as per a post yesterday I ended up ordering another router and plan on replacing it on Friday. That might be the problem, but I don't see a reason why it would be.

My roommate who is running Linux Mint can access IPv4 addresses fine, so I'm thinking it's got to do something with my configuration. Any help at all would be greatly appreciated because I'm getting extremely frustrated.

2 Answers2

0

On Kubuntu 18.04, I had the same problem, solved with configure static ip address in /etc/netplan/01-netcfg.yaml (path specitic to Ubuntu 17.10 and more recent). I ignore if the problem comes from there but I precise that I've two ethernet ports on my motherboard.

Important : you have to remplace "ens33" bellow by your interface name, and comupter ip, gateway and DNS of your choice.

network:
 version: 2
 renderer: networkd
 ethernets:
   ens33:
     dhcp4: no
     dhcp6: no
     addresses: [192.168.1.2/24]
     gateway4: 192.168.1.1
     nameservers:
       addresses: [8.8.8.8,8.8.4.4]

Exit and save your changes by running the commands below :

sudo netplan apply

source : https://websiteforstudents.com/configure-static-ip-addresses-on-ubuntu-18-04-beta/

VictoSab

0

welcome to Ubuntu. That indeed sounds like an odd issue, especially with a fresh install. A couple quick troubleshooting steps:

  • Reboot ... sorry, had to say it.

  • Also reboot the router - power down all networking equipment. Start up modem and wait a minute, then power up router and wait, then finally power on your machine. This gives you the greatest likelihood that each component is playing nicely with its neighbors.

  • Determine whether the issue persists when using an ethernet cable, or only with Wi-Fi. This could point towards an issue with DHCP, maybe an issue with the modem, maybe an issue with Wi-Fi signal.

Good luck!

nshiff
  • 256