iptables

Tom H tomh0665 at gmail.com
Sat Dec 8 17:44:42 UTC 2012


On Sat, Dec 8, 2012 at 12:29 PM, Tom H <tomh0665 at gmail.com> wrote:
>
> For the upstream dns servers: I've never used NM with dnsmasq,
> resolvconf, and a static ip address! I would've liked to test the
> following before posting but I don't have an Ubuntu box available
> right now. NM runs its own version of dnsmasq and, AFAIK, picks up its
> config from "/etc/NetworkManager/dnsmasq.d/". dnsmasq has a "server="
> configuration option so you could set that to an upstream dns server.
> Make sure that you chmod the file to 0600 or 0700 because NM usually's
> strict about file modes.
>
> For the default gateway: Have you checked the ipv4 settings in the NM
> applet? If you choose static, you have to enter ip address, netmask,
> and *gateway*.

Quite frankly, rather than doing this, given that you're using a
static setup and have had weird network problems, I'd simply disable
resolvconf and dnsmasq and just use the NM applet to set the ip
address, netmask, gateway, and name server(s).




More information about the ubuntu-users mailing list