9

We use a wifi network at my school in which you must login with your student account in the web brower. When I boot my laptop with Windows 7, it redirects me automatically to the login page.

But if I use Ubuntu 12.10 I can connect to the wifi network, but it doesn't show the login page. I tried with Chrome and Firefox, but both browsers won't show any page.

Is there a solution to this problem?

3 Answers3

7

I had the same problem with Ubuntu 16.04. The hint to solving this was when I ran

sudo dhclient

and got the following message: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /run/resolvconf/resolv.conf

The steps I took after that were from here: Resolvconf -u gives the error "resolvconf: Error: /etc/resolv.conf must be a symlink"

That is, running these steps solved the problem:

sudo rm /etc/resolv.conf
sudo ln -s /run/resolvconf/resolv.conf /etc/resolv.conf
sudo resolvconf -u

I hope this helps someone with the same problem.

tsiki
  • 206
4

Your problem may be bug #1003842

To fix this, with root privileges edit the file /etc/NetworkManager/NetworkManager.conf and comment out the line dns=dnsmasq: that is, put a # at the beginning of the line. Save the file. Then restart network-manager.

sudo service network-manager restart

Then reconnect to the Wi-Fi network.

Zanna
  • 72,312
jdthood
  • 12,625
3

I had this happen at a coffeeshop - I tried the suggested "sudo dhclient" above but got the error "RTNETLINK answers: file exists".

I wondered if I had an actual IP address yet, so I did an "ip addr show" which told me I did indeed have a successful DHCP - out of curiosity, I figured I'd see if that LAN "router" address was open - so typed in the 192.168.x.1 (where x is the subnet of that coffeeshop) - and boom, the browser showed the login page just like windows did.

So anyway, if you're stuck, this might work for you too. Thought I'd reply here because someone above helped me think about this with their dhclient comment.

Brent
  • 31