Get Ubuntu To Connect To Starbucks WiFi (Captive Portal)

  1. In the terminal, I use this command: nm-connection-editor (it might not exist on your Linux distro)
  2. It will show a GUI with your Network Connections
  3. You should see the “Starbucks WiFi”; double click on it
  4. Then go to the tab: IPv4 Settings
  5. You should see an input for “DNS servers”
  6. In that input, add the two DNS IPs (separate the IPs by using a comma “,”)
  7. Make sure to save
  8. Now you want to clear the DNS cache and restart your network service
  1. sudo /etc/init.d/networking restart
  2. sudo /etc/init.d/dns-clean restart
  3. sudo /etc/init.d/networking force-reload
  4. sudo /etc/init.d/nscd restart
  5. sudo /etc/init.d/dnsmasq restart
  1. sudo service network-manager restart
  2. sudo /etc/init.d/neworking restart



Just a Dev (

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store