Quantcast
Channel: Static Wireless IP - Can Only Access Internet Using IPs - Ask Ubuntu
Viewing all articles
Browse latest Browse all 3

Answer by jdthood for Static Wireless IP - Can Only Access Internet Using IPs

$
0
0
  • If /etc/resolv.conf is empty then you probably need to restore the symbolic link /etc/resolv.conf ->../run/resolvconf/resolv.conf. A quick way to do this is to run sudo dpkg-reconfigure resolvconf.

  • After setting IPv4 Settings | Method to Manual, add the correct IPv4 addresses for you nameservers to the "DNS servers" field.

  • Make sure that /etc/resolvconf/resolv.conf.d/head contains only the following standard resolvconf header.

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

  • Make sure that /etc/resolvconf/resolv.conf.d/base contains no nameserver lines.

  • Delete the file /etc/resolvconf/resolv.conf.d/tail if present and make /etc/resolvconf/resolv.conf.d/tail a symbolic link to /dev/null. Do sudo ln -nsf /dev/null /etc/resolvconf/resolv.conf.d/tail.

  • Remove the auto wlan0 and iface wlan0 stanzas from /etc/network/interfaces.

  • Make sure /etc/network/interfaces contains auto lo and iface lo inet loopback lines.

  • Your /etc/hosts should not be empty.

/etc/hosts should contain the following (with your hostname instead of HOSTNAME).

127.0.0.1   localhost127.0.1.1   HOSTNAME# The following lines are desirable for IPv6 capable hosts::1     ip6-localhost ip6-loopbackfe00::0 ip6-localnetff00::0 ip6-mcastprefixff02::1 ip6-allnodesff02::2 ip6-allrouters

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>