You are not logged in.

#26 2024-11-01 22:15:29

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

Strike0 wrote:

I'm meanwhile back to Trilby's elinks suggestion, maybe you only need to install a font package to see the portal in elinks?
You could quickly check the wiki in turkish, if it gives hints for font packages. https://wiki.archlinux.org/title/Main_p … rk%C3%A7e)

i have no idea what elinks is, and i dont know if it exists on the arch installation environment: typing elinks and pressing enter shows this: https://imgur.com/a/VcZiCeH

the turkish wiki doesn't mention any fonts, my main problem with hyprland is that i cant fire up kitty and none of the shortcuts except Win+S (slightly dims the screen) and Win+M work.

Last edited by voxell (2024-11-01 22:19:43)


i use arch (since Nov 1, 2024) btw

Offline

#27 2024-11-01 22:25:50

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,486

Re: [SOLVED] Locked behind a captive portal

elinks is a console webbrowser. It is included in the base install and should come up with a start page to enter an url.

The ip route output shows you now have multiple routes, likely from the tries. Best pull the usb out and do a

ip route flush dev enp5s0f3u1

to get rid of them. Then connect it again and wait 10s, if dhcpcd regains the IP. If not, trigger it again.

Offline

#28 2024-11-01 22:33:09

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,486

Re: [SOLVED] Locked behind a captive portal

voxell wrote:

my main problem with hyprland is that i cant fire up kitty and none of the shortcuts except Win+S (slightly dims the screen) and Win+M work.

The screenshots you paste are from an archiso console. Do you actually tether from your booted install or the installation iso?

Offline

#29 2024-11-01 22:37:05

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

Strike0 wrote:

elinks is a console webbrowser. It is included in the base install and should come up with a start page to enter an url.

The ip route output shows you now have multiple routes, likely from the tries. Best pull the usb out and do a

ip route flush dev enp5s0f3u1

to get rid of them. Then connect it again and wait 10s, if dhcpcd regains the IP. If not, trigger it again.

the enp5s0f3u1 interface disappears after I unplug the USB. also, i dont think i have elinks installed in the root directory (on my ssd)

output https://imgur.com/a/gyw1Qq1

edit: i will be going to bed to hopefully install some stuff at campus to at least get a gui before i come back. I am open to all recommendations and directions from everyone. good night!

Last edited by voxell (2024-11-01 22:42:05)


i use arch (since Nov 1, 2024) btw

Offline

#30 2024-11-01 22:49:44

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,486

Re: [SOLVED] Locked behind a captive portal

Yes, better use of time that way. Good night.

Offline

#31 2024-11-01 22:51:48

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

Strike0 wrote:
voxell wrote:

my main problem with hyprland is that i cant fire up kitty and none of the shortcuts except Win+S (slightly dims the screen) and Win+M work.

The screenshots you paste are from an archiso console. Do you actually tether from your booted install or the installation iso?

as i need to use dhcpcd i booted on the archiso, the installation doesn't even have `man` or whatever else is needed

Last edited by voxell (2024-11-01 22:52:42)


i use arch (since Nov 1, 2024) btw

Offline

#32 2024-11-02 08:02:51

seth
Member
Registered: 2012-09-03
Posts: 59,010

Re: [SOLVED] Locked behind a captive portal

i dont think i have elinks installed in the root directory (on my ssd)

Strike0 wrote:

elinks is a console webbrowser. It is included in the base install and should come up with a start page to enter an url.

as i need to use dhcpcd i booted on the archiso, the installation doesn't even have `man` or whatever else is needed

From the install iso you can just run "elinks" to get a browser and - hopefully - cover the captive portal.
But if you've proper network access tomorrow anyway, I'd complete the installation there to the point where you're happy using the system offline in the dorm, because

the dormitory internet only allows 1 device per account

and apparently they're not extending that to MACs/IPs tethered behind the phone…

Online

#33 2024-11-02 10:32:27

progandy
Member
Registered: 2012-05-17
Posts: 5,266

Re: [SOLVED] Locked behind a captive portal

seth wrote:

the dormitory internet only allows 1 device per account

and apparently they're not extending that to MACs/IPs tethered behind the phone…

An option may be to run a SOCKS5 proxy on your phone and e.g. redsocks on your pc. I have no idea why your setup worked with windows. Did you maybe change or update your phone as well? Some phones had an option to share the VPN through the tether link, but that seems to have disappeared from newer android versions.

The wiki lists some software for the server on android, but I do not know if any of those is safe to use.
https://wiki.archlinux.org/title/Androi … #Tetherbot
An additional tool I found:
https://play.google.com/store/apps/deta … roxy&hl=de

Last edited by progandy (2024-11-02 10:34:31)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#34 2024-11-02 13:11:11

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,486

Re: [SOLVED] Locked behind a captive portal

voxell wrote:

as i need to use dhcpcd i booted on the archiso, the installation doesn't even have `man` or whatever else is needed

Just quickly: That was my bad then, sorry. For some reason I thought dhcpcd is in the base group of packages and, hence, you will have it installed. We could have looked up the commands using nmcli as well, which is the command line tool of networkmanager - which you did install. I now see that nmcli(1) may even have been helpful to detect the captive portal.

Offline

#35 2024-11-02 16:26:05

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

Hello again after a day, everyone. Today I went to the campus and installed a bunch of stuff. I currently have a GUI system working.

I will update the post to clarify this: USB tethering connection does not go through the VPN. I misremembered that it worked just by enabling protonvpn on my phone, but I remembered that I used to connect to the protonvpn servers on my computer afterwards.

Today, I have a successful connection from my phone into [deleted]the linux installation[/deleted]exclusively firefox. On my phone, I connected to the dorm wifi network, logged in through the captive portal, enabled VPN anyways (for the connections going through my phone), and tethered the connection to linux. The [deleted]linux[/deleted]firefox end of the connection received the connection as if I hadn't connected to the VPN on my phone, so websites blocked by the dormitory internet remain blocked. Logging in to wifi.gsb.gov.tr (the captive portal) also shows that I am logged in as a user, even though I logged on from my phone (eliminating the need for a second account). Also, the dormitory internet connection without a VPN abstraction layer is more unstable than having a VPN, so in order to stabilize the connection I have to get some form of VPN going on, possibly requiring automatic reconnection.

My main issue with proton-vpn-gtk-app right now is that my protonvpn connection gets refused with an AuthDenied code. I uninstalled the proton-vpn-gtk-app and I am going to try to use the protonvpn OpenVPN TCP protocol which works on my computer.

Note:

ping archlinux.org

still returns a

[eurydice@serene ~]$ ping archlinux.org
PING archlinux.org (95.217.163.246) 56(84) bytes of data.
From archlinux.org (95.217.163.246) icmp_seq=1 Destination Port Unreachable
From archlinux.org (95.217.163.246) icmp_seq=3 Destination Port Unreachable
From archlinux.org (95.217.163.246) icmp_seq=4 Destination Port Unreachable
From archlinux.org (95.217.163.246) icmp_seq=5 Destination Port Unreachable
From archlinux.org (95.217.163.246) icmp_seq=6 Destination Port Unreachable

error. I don't know why. I am able to connect to bbs.archlinux.org on mozilla firefox. I can even run

# pacman -Syu

without an issue.

Last edited by voxell (2024-11-02 16:56:16)


i use arch (since Nov 1, 2024) btw

Offline

#36 2024-11-02 16:42:19

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

Uh oh...

# pacman -S steam

output:

[eurydice@serene ~]$ sudo pacman -S steam
resolving dependencies...
looking for conflicting packages...

Packages (25) alsa-plugins-1:1.2.12-3  appstream-1.0.3-1  graphene-1.10.8-2  gtk4-1:4.16.5-1  lib32-alsa-lib-1.2.12-1  lib32-alsa-plugins-1.2.12-1  lib32-libgpg-error-1.50-1  lib32-libtasn1-4.19.0-2
              lib32-libxcrypt-compat-4.4.36-2  lib32-libxss-1.2.4-2  lib32-nspr-4.36-1  lib32-nss-3.106-1  lib32-p11-kit-0.25.5-1  lib32-sqlite-3.46.1-1  lib32-vulkan-icd-loader-1.3.295-1
              libadwaita-1:1.6.1-1  libxcrypt-compat-4.4.36-2  libxmlb-0.3.21-1  libyaml-0.2.5-3  lsb-release-2.0.r53.a86f885-2  lsof-4.99.3-2  usbutils-018-1  xdg-user-dirs-0.18-2  zenity-4.0.3-1
              steam-1.0.0.81-2

Total Download Size:   21.94 MiB
Total Installed Size:  92.05 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 gtk4-1:4.16.5-1-x86_64
 steam-1.0.0.81-2-x86_64                                                                           0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 zenity-4.0.3-1-x86_64                                                                             0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 appstream-1.0.3-1-x86_64                                                                          0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 lib32-nss-3.106-1-x86_64                                                                          0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 libadwaita-1:1.6.1-1-x86_64                                                                       0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 lib32-sqlite-3.46.1-1-x86_64                                                                      0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 lib32-p11-kit-0.25.5-1-x86_64                                                                     0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 lib32-alsa-lib-1.2.12-1-x86_64                                                                    0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 libxmlb-0.3.21-1-x86_64                                                                           0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%
 Total ( 0/25)                                                                                     0.0   B  0.00   B/s 00:00 [----------------------------------------------------------------------------]   0%

it is stuck at 0 B/s. Maybe the reason why pacman -Syu was successful was that the connections were getting timed out. I have no idea how I have connectivity exclusively on firefox.

Last edited by voxell (2024-11-02 16:43:42)


i use arch (since Nov 1, 2024) btw

Offline

#37 2024-11-02 16:44:06

progandy
Member
Registered: 2012-05-17
Posts: 5,266

Re: [SOLVED] Locked behind a captive portal

ping uses a different protocol / port than http(s), so your network may just block that.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#38 2024-11-02 16:52:34

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

progandy wrote:

ping uses a different protocol / port than http(s), so your network may just block that.

I am having a similar issue trying to install packages from pacman as I've shown above


i use arch (since Nov 1, 2024) btw

Offline

#39 2024-11-02 17:03:51

progandy
Member
Registered: 2012-05-17
Posts: 5,266

Re: [SOLVED] Locked behind a captive portal

Some options I can think of:
* Your mirror is getting blocked, so try to open the mirror URL in firefox and maybe try another mirror, try to choose a mirror with https.
* DNS fails, and firefox is set up to use DoH, so try nslookup / dig with the mirror domain.
*

curl https://ping.archlinux.org/
curl http://ping.archlinux.org/
curl https://archlinux.org

Last edited by progandy (2024-11-02 17:06:54)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#40 2024-11-02 17:54:55

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

Some of the mirrors were returning 404's, so I just commented them out. Installing packages from pacman works now.

I couldn't really understand what you meant with #2

Last edited by voxell (2024-11-02 18:01:55)


i use arch (since Nov 1, 2024) btw

Offline

#41 2024-11-02 18:02:55

voxell
Member
Registered: 2024-11-01
Posts: 54

Re: [SOLVED] Locked behind a captive portal

I am marking this post as solved as I am no longer locked behind a captive portal, and my problems are related to the VPN now. Thanks everyone!

Last edited by voxell (2024-11-02 18:03:06)


i use arch (since Nov 1, 2024) btw

Offline

Board footer

Powered by FluxBB