I am using a Teltonika router, which is configured to force users to accept ToS on a captive portal before getting a MAC auth. It works on my Android phone nicely but does not work Ubuntu 22.04. Closest to my problem is mentioned here with no working solution (I tried everything mentioned in the post, which refers to older posts).
wlp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.1.0.2 netmask 255.255.255.255 broadcast 0.0.0.0
inet6 <some IPv6> prefixlen 64 scopeid 0x20<link>
ether <MAC> txqueuelen 1000 (Ethernet)
RX packets 8985492 bytes 10107328002 (10.1 GB)
RX errors 0 dropped 29354 overruns 0 frame 0
TX packets 3393278 bytes 1185857057 (1.1 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Ping:
$ ping 10.1.0.1
PING 10.1.0.1 (10.1.0.1) 56(84) bytes of data.
^C
--- 10.1.0.1 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
routing table
$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.1.1 0.0.0.0 UG 20600 0 0 wlp5s0
10.0.0.0 10.1.0.2 255.0.0.0 UG 600 0 0 wlp5s0
10.1.1.1 0.0.0.0 255.255.255.255 UH 20600 0 0 wlp5s0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp5s0
Curl to a http site or right after connecting to the network, Firefox tells me about the network login page. But can't connect to it:
http://10.2.1.1:81/cgi-bin/hotspot/macauth?res=notyet&uamip=10.2.1.1&uamport=3990&challenge=...
I think that this is routing issue.
Wireless card: Wireless-AC 9260