[–] 2716057 0 points 1 point 1 point (+1|-0) ago
Did you try to set a static IP? If so, you may have picked one that's not in your IP range.
It's been a while since I've used Ubuntu, but try this:
sudo /etc/init.d/networking restart
sudo /etc/init.d/isc-dhcp-server restart
This should get your DHCP up and running, if I remember right.
[–] Tournament_Shorts [S] 0 points 1 point 1 point (+1|-0) ago
No static IP. I'm using DHCP but ill try giving it a restart when when it happens again and report back.
[–] RandomNumberGod ago
Try running "sudo dpkg-reconfigure resolvconf" and see if that fixes your problem.
[–] definitelynotabot 0 points 1 point 1 point (+1|-0) ago
see what ifconfig says for the interface when that happens. Maybe you're getting an address but bad DNS?? In Network Settings > interface name > IPv4 (or ipv6, i'm not judging), you should be able to set it from "Automatic (DHCP)" to "Automatic (DHCP) Addresses Only). That will allow you to put in your own DNS servers. You could try google's 8.8.8.8 and 8.8.4.4
[–] Tournament_Shorts [S] ago
john@john-XPS-13-9343:~$ ifconfig lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:20663 errors:0 dropped:0 overruns:0 frame:0 TX packets:20663 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5663775 (5.6 MB) TX bytes:5663775 (5.6 MB)
wlan0 Link encap:Ethernet HWaddr 34:02:86:f6:ec:d0
inet addr:172.16.14.221 Bcast:172.16.15.255 Mask:255.255.240.0 inet6 addr: fe80::3602:86ff:fef6:ecd0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1983 errors:0 dropped:0 overruns:0 frame:0 TX packets:3487 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:496680 (496.6 KB) TX bytes:426092 (426.0 KB)
john@john-XPS-13-9343:~$ sudo dhclient reload: Unknown instance: invoke-rc.d: initscript smbd, action "reload" failed. reload: Unknown instance: invoke-rc.d: initscript smbd, action "reload" failed. john@john-XPS-13-9343:~$ ifconfig lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:21379 errors:0 dropped:0 overruns:0 frame:0 TX packets:21379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6118306 (6.1 MB) TX bytes:6118306 (6.1 MB)
wlan0 Link encap:Ethernet HWaddr 34:02:86:f6:ec:d0
inet addr:172.16.14.221 Bcast:172.16.15.255 Mask:255.255.240.0 inet6 addr: fe80::3602:86ff:fef6:ecd0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3059 errors:0 dropped:0 overruns:0 frame:0 TX packets:4221 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1204251 (1.2 MB) TX bytes:610933 (610.9 KB)
Sorry for the formatting. I'm on mobile.
[–] Tournament_Shorts [S] ago
I will try this and see what happens.