I'm on a ubuntu based linux distro (linaro) running xfce. My networkmanager connects to wireless access points, but is unable to do two things:
- dynamically acquire a nameserver, and write a dynamic
/etc/resolv.conf. In fact, it would be great if I could make it do this for some particular networks, and use a standard
/etc/resolv.confon other networks.
- My browser does not redirect to login pages. Clearly, this has something to do with the nameserver problem.
I checked my
/etc/dhcp/dhclient.conf and it has the line
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
netbios-name-servers, netbios-scope, interface-mtu,
So if I run
sudo dhclient <network inteface>
it rewrites the
/etc/resolv.conf file without any trouble. So if I "connect manually" using wpa-supplicant and dhclient, this works perfectly. So I'm guessing it's an issue with network manager. Does network manager not use dhclient? How do I fix this?