Cannot reach public WIFI login page in Ubuntu 18.04 Captive Portal Issue












4















I'm sorry if this appears to be the tenth duplicate, but none of the answers provided in the other cases resolved my problem.



I'm attempting to use a public WIFI just as I successfully did two days ago.
The normal procedure is:




  1. connect to the the Wifi

  2. try browsing some http:// site

  3. get forwarded to that splash screen where a "connect to the internet" button needs to be pressed


Now I don't get beyond step 2 any more.
I'm on a dual-boot machine. I can access the internet fine using Widows 10, but not Ubuntu 18.04.



On windows I get:



SSID:   SEC Wi-Fi
Protocol: 802.11n
Security type: Open
Network band: 2.4 GHz
Network channel: 6
IPv4 address: 192.168.33.154
IPv4 DNS servers: 192.168.0.1
192.168.0.1
Manufacturer: Intel Corporation
Description: Intel(R) Dual Band Wireless-AC 7260
Driver version: 17.15.0.5
Physical address (MAC): 0C-8B-FD-75-00-D5

Windows IP Configuration

Host Name . . . . . . . . . . . . : DESKTOP-G83LKQ1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : fdxtended.com

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : fdxtended.com
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physical Address. . . . . . . . . : 0C-8B-FD-75-00-D5
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::656c:ef48:d71c:420e%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.33.154(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.128.0
Lease Obtained. . . . . . . . . . : Wednesday, 13 June 2018 17:17:44
Lease Expires . . . . . . . . . . : Wednesday, 13 June 2018 23:18:53
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 286034941
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A4-A4-F1-A0-D3-C1-9C-CD-E0
DNS Servers . . . . . . . . . . . : 192.168.0.1
192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled


In Linux I get:



ifconfig:



wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.33.154 netmask 255.255.128.0 broadcast 192.168.127.255
inet6 fe80::499:60a3:aae7:a075 prefixlen 64 scopeid 0x20<link>
ether 0c:8b:fd:75:00:d5 txqueuelen 1000 (Ethernet)
RX packets 33578 bytes 19389454 (19.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23622 bytes 3363483 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


systemd-resolve --status:



Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test

Link 3 (wlo1)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 192.168.0.1
DNS Domain: fdxtended.com


curl -v example.com:



* Rebuilt URL to: example.com/
* Could not resolve host: example.com
* Closing connection 0
curl: (6) Could not resolve host: example.com


Any hints on how to gain internet access? I would really appreciate it.



Edits



So, basically, Ubuntu blocks all redirects.
I started a more precise question here:
DNS forwarding blocked in specific WIFI



(Un)fortunately I'm not any more in the location of the mentioned WIFI meaning that for now I cannot test and thus accept any of the answers replies below.










share|improve this question

























  • If you open Google Chrome, you should be directed to gstatic.com/generate_204 which will open network login page.

    – Kulfy
    Jun 13 '18 at 20:07











  • @Kulfy nope that doesn't help. Now I'm in Chrome getting "This site can’t be reached gstatic.com’s server IP address could not be found."

    – Bastian
    Jun 14 '18 at 9:28
















4















I'm sorry if this appears to be the tenth duplicate, but none of the answers provided in the other cases resolved my problem.



I'm attempting to use a public WIFI just as I successfully did two days ago.
The normal procedure is:




  1. connect to the the Wifi

  2. try browsing some http:// site

  3. get forwarded to that splash screen where a "connect to the internet" button needs to be pressed


Now I don't get beyond step 2 any more.
I'm on a dual-boot machine. I can access the internet fine using Widows 10, but not Ubuntu 18.04.



On windows I get:



SSID:   SEC Wi-Fi
Protocol: 802.11n
Security type: Open
Network band: 2.4 GHz
Network channel: 6
IPv4 address: 192.168.33.154
IPv4 DNS servers: 192.168.0.1
192.168.0.1
Manufacturer: Intel Corporation
Description: Intel(R) Dual Band Wireless-AC 7260
Driver version: 17.15.0.5
Physical address (MAC): 0C-8B-FD-75-00-D5

Windows IP Configuration

Host Name . . . . . . . . . . . . : DESKTOP-G83LKQ1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : fdxtended.com

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : fdxtended.com
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physical Address. . . . . . . . . : 0C-8B-FD-75-00-D5
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::656c:ef48:d71c:420e%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.33.154(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.128.0
Lease Obtained. . . . . . . . . . : Wednesday, 13 June 2018 17:17:44
Lease Expires . . . . . . . . . . : Wednesday, 13 June 2018 23:18:53
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 286034941
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A4-A4-F1-A0-D3-C1-9C-CD-E0
DNS Servers . . . . . . . . . . . : 192.168.0.1
192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled


In Linux I get:



ifconfig:



wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.33.154 netmask 255.255.128.0 broadcast 192.168.127.255
inet6 fe80::499:60a3:aae7:a075 prefixlen 64 scopeid 0x20<link>
ether 0c:8b:fd:75:00:d5 txqueuelen 1000 (Ethernet)
RX packets 33578 bytes 19389454 (19.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23622 bytes 3363483 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


systemd-resolve --status:



Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test

Link 3 (wlo1)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 192.168.0.1
DNS Domain: fdxtended.com


curl -v example.com:



* Rebuilt URL to: example.com/
* Could not resolve host: example.com
* Closing connection 0
curl: (6) Could not resolve host: example.com


Any hints on how to gain internet access? I would really appreciate it.



Edits



So, basically, Ubuntu blocks all redirects.
I started a more precise question here:
DNS forwarding blocked in specific WIFI



(Un)fortunately I'm not any more in the location of the mentioned WIFI meaning that for now I cannot test and thus accept any of the answers replies below.










share|improve this question

























  • If you open Google Chrome, you should be directed to gstatic.com/generate_204 which will open network login page.

    – Kulfy
    Jun 13 '18 at 20:07











  • @Kulfy nope that doesn't help. Now I'm in Chrome getting "This site can’t be reached gstatic.com’s server IP address could not be found."

    – Bastian
    Jun 14 '18 at 9:28














4












4








4


2






I'm sorry if this appears to be the tenth duplicate, but none of the answers provided in the other cases resolved my problem.



I'm attempting to use a public WIFI just as I successfully did two days ago.
The normal procedure is:




  1. connect to the the Wifi

  2. try browsing some http:// site

  3. get forwarded to that splash screen where a "connect to the internet" button needs to be pressed


Now I don't get beyond step 2 any more.
I'm on a dual-boot machine. I can access the internet fine using Widows 10, but not Ubuntu 18.04.



On windows I get:



SSID:   SEC Wi-Fi
Protocol: 802.11n
Security type: Open
Network band: 2.4 GHz
Network channel: 6
IPv4 address: 192.168.33.154
IPv4 DNS servers: 192.168.0.1
192.168.0.1
Manufacturer: Intel Corporation
Description: Intel(R) Dual Band Wireless-AC 7260
Driver version: 17.15.0.5
Physical address (MAC): 0C-8B-FD-75-00-D5

Windows IP Configuration

Host Name . . . . . . . . . . . . : DESKTOP-G83LKQ1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : fdxtended.com

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : fdxtended.com
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physical Address. . . . . . . . . : 0C-8B-FD-75-00-D5
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::656c:ef48:d71c:420e%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.33.154(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.128.0
Lease Obtained. . . . . . . . . . : Wednesday, 13 June 2018 17:17:44
Lease Expires . . . . . . . . . . : Wednesday, 13 June 2018 23:18:53
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 286034941
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A4-A4-F1-A0-D3-C1-9C-CD-E0
DNS Servers . . . . . . . . . . . : 192.168.0.1
192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled


In Linux I get:



ifconfig:



wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.33.154 netmask 255.255.128.0 broadcast 192.168.127.255
inet6 fe80::499:60a3:aae7:a075 prefixlen 64 scopeid 0x20<link>
ether 0c:8b:fd:75:00:d5 txqueuelen 1000 (Ethernet)
RX packets 33578 bytes 19389454 (19.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23622 bytes 3363483 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


systemd-resolve --status:



Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test

Link 3 (wlo1)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 192.168.0.1
DNS Domain: fdxtended.com


curl -v example.com:



* Rebuilt URL to: example.com/
* Could not resolve host: example.com
* Closing connection 0
curl: (6) Could not resolve host: example.com


Any hints on how to gain internet access? I would really appreciate it.



Edits



So, basically, Ubuntu blocks all redirects.
I started a more precise question here:
DNS forwarding blocked in specific WIFI



(Un)fortunately I'm not any more in the location of the mentioned WIFI meaning that for now I cannot test and thus accept any of the answers replies below.










share|improve this question
















I'm sorry if this appears to be the tenth duplicate, but none of the answers provided in the other cases resolved my problem.



I'm attempting to use a public WIFI just as I successfully did two days ago.
The normal procedure is:




  1. connect to the the Wifi

  2. try browsing some http:// site

  3. get forwarded to that splash screen where a "connect to the internet" button needs to be pressed


Now I don't get beyond step 2 any more.
I'm on a dual-boot machine. I can access the internet fine using Widows 10, but not Ubuntu 18.04.



On windows I get:



SSID:   SEC Wi-Fi
Protocol: 802.11n
Security type: Open
Network band: 2.4 GHz
Network channel: 6
IPv4 address: 192.168.33.154
IPv4 DNS servers: 192.168.0.1
192.168.0.1
Manufacturer: Intel Corporation
Description: Intel(R) Dual Band Wireless-AC 7260
Driver version: 17.15.0.5
Physical address (MAC): 0C-8B-FD-75-00-D5

Windows IP Configuration

Host Name . . . . . . . . . . . . : DESKTOP-G83LKQ1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : fdxtended.com

Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . : fdxtended.com
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physical Address. . . . . . . . . : 0C-8B-FD-75-00-D5
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::656c:ef48:d71c:420e%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.33.154(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.128.0
Lease Obtained. . . . . . . . . . : Wednesday, 13 June 2018 17:17:44
Lease Expires . . . . . . . . . . : Wednesday, 13 June 2018 23:18:53
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DHCPv6 IAID . . . . . . . . . . . : 286034941
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-22-A4-A4-F1-A0-D3-C1-9C-CD-E0
DNS Servers . . . . . . . . . . . : 192.168.0.1
192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled


In Linux I get:



ifconfig:



wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.33.154 netmask 255.255.128.0 broadcast 192.168.127.255
inet6 fe80::499:60a3:aae7:a075 prefixlen 64 scopeid 0x20<link>
ether 0c:8b:fd:75:00:d5 txqueuelen 1000 (Ethernet)
RX packets 33578 bytes 19389454 (19.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23622 bytes 3363483 (3.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


systemd-resolve --status:



Global
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test

Link 3 (wlo1)
Current Scopes: DNS
LLMNR setting: yes
MulticastDNS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNS Servers: 192.168.0.1
DNS Domain: fdxtended.com


curl -v example.com:



* Rebuilt URL to: example.com/
* Could not resolve host: example.com
* Closing connection 0
curl: (6) Could not resolve host: example.com


Any hints on how to gain internet access? I would really appreciate it.



Edits



So, basically, Ubuntu blocks all redirects.
I started a more precise question here:
DNS forwarding blocked in specific WIFI



(Un)fortunately I'm not any more in the location of the mentioned WIFI meaning that for now I cannot test and thus accept any of the answers replies below.







wireless 18.04 dns






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 13 '18 at 16:12







Bastian

















asked Jun 13 '18 at 18:43









BastianBastian

2114




2114













  • If you open Google Chrome, you should be directed to gstatic.com/generate_204 which will open network login page.

    – Kulfy
    Jun 13 '18 at 20:07











  • @Kulfy nope that doesn't help. Now I'm in Chrome getting "This site can’t be reached gstatic.com’s server IP address could not be found."

    – Bastian
    Jun 14 '18 at 9:28



















  • If you open Google Chrome, you should be directed to gstatic.com/generate_204 which will open network login page.

    – Kulfy
    Jun 13 '18 at 20:07











  • @Kulfy nope that doesn't help. Now I'm in Chrome getting "This site can’t be reached gstatic.com’s server IP address could not be found."

    – Bastian
    Jun 14 '18 at 9:28

















If you open Google Chrome, you should be directed to gstatic.com/generate_204 which will open network login page.

– Kulfy
Jun 13 '18 at 20:07





If you open Google Chrome, you should be directed to gstatic.com/generate_204 which will open network login page.

– Kulfy
Jun 13 '18 at 20:07













@Kulfy nope that doesn't help. Now I'm in Chrome getting "This site can’t be reached gstatic.com’s server IP address could not be found."

– Bastian
Jun 14 '18 at 9:28





@Kulfy nope that doesn't help. Now I'm in Chrome getting "This site can’t be reached gstatic.com’s server IP address could not be found."

– Bastian
Jun 14 '18 at 9:28










4 Answers
4






active

oldest

votes


















4














I had the same problem.




  • Internet was not working

  • Captive Login Page did not show up automatically

  • Wifi icon was a question mark ( ? )


I managed to login by visiting the login page at: https://1.1.1.1/login.html



Once logged in, I was in the same situation as before, but then the problem was only DNS:





  • curl -v example.com returned, after some time, "Could not resolve host: example.com".

  • Good news: I could succesfully ping Google DNS 8.8.8.8 with ping 8.8.8.8


I added 8.8.8.8 to the DNS server list for my WiFi connection, via the following steps:




  • Click on the WiFi icon (mine was a question mark, because WiFi was not working)

  • Click on the WiFi network name, then Wifi Settings, then the wheel close to my WiFi network, then IPv4 tab

  • Wrote 8.8.8.8 in the DNS text box (leave "Automatic" DNS switched on)

  • Apply changes

  • Restart network manager: sudo service network-manager restart


And it worked for me.



systemd-resolve --status now returns two DNS Servers for the WiFi connection, the first one is the DNS assigned by the network, the second one is 8.8.8.8



I hope this can help.






share|improve this answer


























  • This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

    – joshperry
    Jun 20 '18 at 0:13



















2














Internet was not working
Captive Login Page did not show up automatically. No browser shows that page.
Wifi icon was a question mark ( ? )


The following helped me solve this problem on a standard Ubuntu 18.04 installation.



Solution 1:



Settings > Privacy > Connectivity Checking > Off.



The above is enough to show the captive log-in page for many wifi networks. Some however (e.g. gwr on-train wifi) also require solution 2:



Settings > Wi-Fi > select the settings (click the cog icon) for the network you are trying to reach. Select the IPv6 tab. For IPv6 method select 'Automatic, DHCP only' (instead of the default setting 'Automatic'). Click Apply.



It may also help to do:



Settings > Network > Network Proxy - Off. (Click on the settings button with the cog icon on it.)






share|improve this answer































    0














    The problem is caused by the resolved daemon introduced in 17.04. This breaks the forwarding in wifi captative pages. The solution presented here does NOT rely on Googles name servers. The solution is replacing resolved with dnsmasq, as was used before, and can be found here:



    How to disable systemd-resolved and resolve DNS with dnsmasq?






    share|improve this answer































      0














      Hot Spot Login does not Come up any more in 18.10 have to jack around looking for the link to get the Browser to login . . Star Bucks has a weird Login page but it worked in 18.04 ut no longer in 18.10






      share|improve this answer








      New contributor




      user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




















        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "89"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: true,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: 10,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1046321%2fcannot-reach-public-wifi-login-page-in-ubuntu-18-04-captive-portal-issue%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        4














        I had the same problem.




        • Internet was not working

        • Captive Login Page did not show up automatically

        • Wifi icon was a question mark ( ? )


        I managed to login by visiting the login page at: https://1.1.1.1/login.html



        Once logged in, I was in the same situation as before, but then the problem was only DNS:





        • curl -v example.com returned, after some time, "Could not resolve host: example.com".

        • Good news: I could succesfully ping Google DNS 8.8.8.8 with ping 8.8.8.8


        I added 8.8.8.8 to the DNS server list for my WiFi connection, via the following steps:




        • Click on the WiFi icon (mine was a question mark, because WiFi was not working)

        • Click on the WiFi network name, then Wifi Settings, then the wheel close to my WiFi network, then IPv4 tab

        • Wrote 8.8.8.8 in the DNS text box (leave "Automatic" DNS switched on)

        • Apply changes

        • Restart network manager: sudo service network-manager restart


        And it worked for me.



        systemd-resolve --status now returns two DNS Servers for the WiFi connection, the first one is the DNS assigned by the network, the second one is 8.8.8.8



        I hope this can help.






        share|improve this answer


























        • This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

          – joshperry
          Jun 20 '18 at 0:13
















        4














        I had the same problem.




        • Internet was not working

        • Captive Login Page did not show up automatically

        • Wifi icon was a question mark ( ? )


        I managed to login by visiting the login page at: https://1.1.1.1/login.html



        Once logged in, I was in the same situation as before, but then the problem was only DNS:





        • curl -v example.com returned, after some time, "Could not resolve host: example.com".

        • Good news: I could succesfully ping Google DNS 8.8.8.8 with ping 8.8.8.8


        I added 8.8.8.8 to the DNS server list for my WiFi connection, via the following steps:




        • Click on the WiFi icon (mine was a question mark, because WiFi was not working)

        • Click on the WiFi network name, then Wifi Settings, then the wheel close to my WiFi network, then IPv4 tab

        • Wrote 8.8.8.8 in the DNS text box (leave "Automatic" DNS switched on)

        • Apply changes

        • Restart network manager: sudo service network-manager restart


        And it worked for me.



        systemd-resolve --status now returns two DNS Servers for the WiFi connection, the first one is the DNS assigned by the network, the second one is 8.8.8.8



        I hope this can help.






        share|improve this answer


























        • This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

          – joshperry
          Jun 20 '18 at 0:13














        4












        4








        4







        I had the same problem.




        • Internet was not working

        • Captive Login Page did not show up automatically

        • Wifi icon was a question mark ( ? )


        I managed to login by visiting the login page at: https://1.1.1.1/login.html



        Once logged in, I was in the same situation as before, but then the problem was only DNS:





        • curl -v example.com returned, after some time, "Could not resolve host: example.com".

        • Good news: I could succesfully ping Google DNS 8.8.8.8 with ping 8.8.8.8


        I added 8.8.8.8 to the DNS server list for my WiFi connection, via the following steps:




        • Click on the WiFi icon (mine was a question mark, because WiFi was not working)

        • Click on the WiFi network name, then Wifi Settings, then the wheel close to my WiFi network, then IPv4 tab

        • Wrote 8.8.8.8 in the DNS text box (leave "Automatic" DNS switched on)

        • Apply changes

        • Restart network manager: sudo service network-manager restart


        And it worked for me.



        systemd-resolve --status now returns two DNS Servers for the WiFi connection, the first one is the DNS assigned by the network, the second one is 8.8.8.8



        I hope this can help.






        share|improve this answer















        I had the same problem.




        • Internet was not working

        • Captive Login Page did not show up automatically

        • Wifi icon was a question mark ( ? )


        I managed to login by visiting the login page at: https://1.1.1.1/login.html



        Once logged in, I was in the same situation as before, but then the problem was only DNS:





        • curl -v example.com returned, after some time, "Could not resolve host: example.com".

        • Good news: I could succesfully ping Google DNS 8.8.8.8 with ping 8.8.8.8


        I added 8.8.8.8 to the DNS server list for my WiFi connection, via the following steps:




        • Click on the WiFi icon (mine was a question mark, because WiFi was not working)

        • Click on the WiFi network name, then Wifi Settings, then the wheel close to my WiFi network, then IPv4 tab

        • Wrote 8.8.8.8 in the DNS text box (leave "Automatic" DNS switched on)

        • Apply changes

        • Restart network manager: sudo service network-manager restart


        And it worked for me.



        systemd-resolve --status now returns two DNS Servers for the WiFi connection, the first one is the DNS assigned by the network, the second one is 8.8.8.8



        I hope this can help.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 21 '18 at 14:22

























        answered Jun 18 '18 at 15:04









        Giuseppe GalanoGiuseppe Galano

        1412




        1412













        • This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

          – joshperry
          Jun 20 '18 at 0:13



















        • This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

          – joshperry
          Jun 20 '18 at 0:13

















        This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

        – joshperry
        Jun 20 '18 at 0:13





        This adding google's DNS manually worked for me on a "captiveportal-login.example.com".

        – joshperry
        Jun 20 '18 at 0:13













        2














        Internet was not working
        Captive Login Page did not show up automatically. No browser shows that page.
        Wifi icon was a question mark ( ? )


        The following helped me solve this problem on a standard Ubuntu 18.04 installation.



        Solution 1:



        Settings > Privacy > Connectivity Checking > Off.



        The above is enough to show the captive log-in page for many wifi networks. Some however (e.g. gwr on-train wifi) also require solution 2:



        Settings > Wi-Fi > select the settings (click the cog icon) for the network you are trying to reach. Select the IPv6 tab. For IPv6 method select 'Automatic, DHCP only' (instead of the default setting 'Automatic'). Click Apply.



        It may also help to do:



        Settings > Network > Network Proxy - Off. (Click on the settings button with the cog icon on it.)






        share|improve this answer




























          2














          Internet was not working
          Captive Login Page did not show up automatically. No browser shows that page.
          Wifi icon was a question mark ( ? )


          The following helped me solve this problem on a standard Ubuntu 18.04 installation.



          Solution 1:



          Settings > Privacy > Connectivity Checking > Off.



          The above is enough to show the captive log-in page for many wifi networks. Some however (e.g. gwr on-train wifi) also require solution 2:



          Settings > Wi-Fi > select the settings (click the cog icon) for the network you are trying to reach. Select the IPv6 tab. For IPv6 method select 'Automatic, DHCP only' (instead of the default setting 'Automatic'). Click Apply.



          It may also help to do:



          Settings > Network > Network Proxy - Off. (Click on the settings button with the cog icon on it.)






          share|improve this answer


























            2












            2








            2







            Internet was not working
            Captive Login Page did not show up automatically. No browser shows that page.
            Wifi icon was a question mark ( ? )


            The following helped me solve this problem on a standard Ubuntu 18.04 installation.



            Solution 1:



            Settings > Privacy > Connectivity Checking > Off.



            The above is enough to show the captive log-in page for many wifi networks. Some however (e.g. gwr on-train wifi) also require solution 2:



            Settings > Wi-Fi > select the settings (click the cog icon) for the network you are trying to reach. Select the IPv6 tab. For IPv6 method select 'Automatic, DHCP only' (instead of the default setting 'Automatic'). Click Apply.



            It may also help to do:



            Settings > Network > Network Proxy - Off. (Click on the settings button with the cog icon on it.)






            share|improve this answer













            Internet was not working
            Captive Login Page did not show up automatically. No browser shows that page.
            Wifi icon was a question mark ( ? )


            The following helped me solve this problem on a standard Ubuntu 18.04 installation.



            Solution 1:



            Settings > Privacy > Connectivity Checking > Off.



            The above is enough to show the captive log-in page for many wifi networks. Some however (e.g. gwr on-train wifi) also require solution 2:



            Settings > Wi-Fi > select the settings (click the cog icon) for the network you are trying to reach. Select the IPv6 tab. For IPv6 method select 'Automatic, DHCP only' (instead of the default setting 'Automatic'). Click Apply.



            It may also help to do:



            Settings > Network > Network Proxy - Off. (Click on the settings button with the cog icon on it.)







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 9 '18 at 18:24









            Rod SRod S

            413




            413























                0














                The problem is caused by the resolved daemon introduced in 17.04. This breaks the forwarding in wifi captative pages. The solution presented here does NOT rely on Googles name servers. The solution is replacing resolved with dnsmasq, as was used before, and can be found here:



                How to disable systemd-resolved and resolve DNS with dnsmasq?






                share|improve this answer




























                  0














                  The problem is caused by the resolved daemon introduced in 17.04. This breaks the forwarding in wifi captative pages. The solution presented here does NOT rely on Googles name servers. The solution is replacing resolved with dnsmasq, as was used before, and can be found here:



                  How to disable systemd-resolved and resolve DNS with dnsmasq?






                  share|improve this answer


























                    0












                    0








                    0







                    The problem is caused by the resolved daemon introduced in 17.04. This breaks the forwarding in wifi captative pages. The solution presented here does NOT rely on Googles name servers. The solution is replacing resolved with dnsmasq, as was used before, and can be found here:



                    How to disable systemd-resolved and resolve DNS with dnsmasq?






                    share|improve this answer













                    The problem is caused by the resolved daemon introduced in 17.04. This breaks the forwarding in wifi captative pages. The solution presented here does NOT rely on Googles name servers. The solution is replacing resolved with dnsmasq, as was used before, and can be found here:



                    How to disable systemd-resolved and resolve DNS with dnsmasq?







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Jul 4 '18 at 8:41









                    VascoVasco

                    1032




                    1032























                        0














                        Hot Spot Login does not Come up any more in 18.10 have to jack around looking for the link to get the Browser to login . . Star Bucks has a weird Login page but it worked in 18.04 ut no longer in 18.10






                        share|improve this answer








                        New contributor




                        user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.

























                          0














                          Hot Spot Login does not Come up any more in 18.10 have to jack around looking for the link to get the Browser to login . . Star Bucks has a weird Login page but it worked in 18.04 ut no longer in 18.10






                          share|improve this answer








                          New contributor




                          user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.























                            0












                            0








                            0







                            Hot Spot Login does not Come up any more in 18.10 have to jack around looking for the link to get the Browser to login . . Star Bucks has a weird Login page but it worked in 18.04 ut no longer in 18.10






                            share|improve this answer








                            New contributor




                            user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.










                            Hot Spot Login does not Come up any more in 18.10 have to jack around looking for the link to get the Browser to login . . Star Bucks has a weird Login page but it worked in 18.04 ut no longer in 18.10







                            share|improve this answer








                            New contributor




                            user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            share|improve this answer



                            share|improve this answer






                            New contributor




                            user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            answered 13 mins ago









                            user915696user915696

                            1




                            1




                            New contributor




                            user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.





                            New contributor





                            user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






                            user915696 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Ask Ubuntu!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1046321%2fcannot-reach-public-wifi-login-page-in-ubuntu-18-04-captive-portal-issue%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                香粉寮

                                GameSpot