You are not logged in.
Hello Arch. I became an Arch user today.
I installed Arch by tethering the campus internet connection (eduroam) from my phone into the live installation system of arch (without VPN). Installed nano, amd-ucode, grub, networkmanager, hyprland, kitty and left the campus before I could boot up the system (low battery).
Turkish dormitories are known for their restrictiveness and blocks on many many websites. Arch probably is one of them (the reason I use a VPN).
Now I'm back in the dormitory, I booted in Arch, created a user and logged in. My internet setup on my old OS (Windows 10) was to log in to the dormitory wifi on my phone via the captive portal, tether the connection to my pc via USB and then connect to protonvpn servers using the proton windows app (using OpenVPN TCP protocol).
I did the same on Arch, but I currently don't have a response from
ping archlinux.org
(Destination port unreachable). I don't have iw or iwd installed, but I started NetworkManager via
systemctl start NetworkManager
but no luck. I tried tethering on the live installation too, but the dormitory internet does not connect at all.
ip link
shows me eno1 and wlp4s0 available by default, and after I enable tethering on my phone an extra enp5s0f3u1 interface also shows up.
Pinging wifi.gsb.gov.tr (the captive portal URL) is successful.
Can I connect to the internet somehow? Many thanks.
Last edited by voxell (2024-11-02 18:03:22)
i use arch (since Nov 1, 2024) btw
Offline
You said in your title that you have no GUI, but in the text you said you installed hyprland. By no GUI do you mean you just have no graphical web browser?
In either case, you don't need a graphical web browser to connect to captive portals - but some of them do require javascript, so elinks is a good option (the package for which you could download in Windows and copy it over to the arch system to install via `pacman -U ...`).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I have installed it, but it does not work as expected for now. It has missing fonts and for some reason I can't fire kitty up with Win+Q. Im in the linux virtual terminal (the default) for now.
i use arch (since Nov 1, 2024) btw
Offline
If you tether your vpn in Windows and in the arch install the captive portal comes up, you may have your wifi connection active. To try without:
systemctl stop networkmanager
ip link set down wlp4s0
dhpcd enp5s0f3u1
the last interface showing up will be your tethered vpn connection.
Offline
in arch installation environment:
130 root@archiso ~ # dhcpcd enp5s0f3u1
dhcpcd-10.0.10 starting
DUID 00:01 something something...
enp5s0f3u1: IAID 65:89 something
enp5s0f3u1: soliciting an IPv6 router
enp5s0f3u1: soliciting a DHCP lease
enp5s0f3u1: probing address 192.168.211.247 for 3599 seconds
ps_bpf_recvmsg: Invalid argument
ps_bpf_recvmsg: Invalid argument
ps_bpf_recvmsg: Invalid argument
enp5s0f3u1: leased 192.168.211.247 for 3599 seconds (it did not take hour in reality)
enp5s0f3u1: adding route to 192.168.211.0/24
enp5s0f3u1: adding default route via 192.168.211.234
Dropped protocol specifier '.dhcp' from 'enp5s0f3u1'. Using 'enp5s0f3u1' (ifindex=5)
ps_bpf_recvmsg: Invalid argument
still no connection to archlinux.org
i use arch (since Nov 1, 2024) btw
Offline
That looks ok enough, now have a look at the /etc/resolv.conf file and make sure it contains a nameserver, e.g.
/etc/resolv.conf
nameserver 9.9.9.9
Offline
I've tried downloading packages on a different computer then installing them using pacman -U but it says it still has dependencies that need downloading.
in arch install environment /etc/resolv.conf says it is a symlink to /run/systemd/resolve/stub-resolv.conf managed by systemd-resolved and tells me not to edit it.
it has a nameserver in it with ip 127.0.0.153 but resolvectl status says current dns server is 1.1.1.1
on the root filesystem in /etc/resolv.conf i already have 1.1.1.1 and 8.8.8.8 set in there.
Last edited by voxell (2024-11-01 20:51:39)
i use arch (since Nov 1, 2024) btw
Offline
it did not take hour in reality
This is how long the lease is valid, not how long it took to get it
ping -c3 8.8.8.8
ping -c3 archlinux.org
Post the outputs, not "it doesn't work" - in doubt link a screenshot.
Offline
here are the outputs of dhcpcd and ping c3
https://imgur.com/a/wgfUSp2
i use arch (since Nov 1, 2024) btw
Offline
oh wait, resolvectl status is showing a different dns for the tether now(its 192.168 something, probably the phone) let me figure out how to add a dns nameserver here
Last edited by voxell (2024-11-01 21:04:15)
i use arch (since Nov 1, 2024) btw
Offline
result after I changed the dns is still the same. https://imgur.com/a/iAPLkTc
i use arch (since Nov 1, 2024) btw
Offline
It's not a DNS issue, archlinux.org gets properly resolved, but 8.8.8.8 doesn't respond to icmp requests.
Can you reach archlinux.org from the phone?
Offline
It's not a DNS issue, archlinux.org gets properly resolved, but 8.8.8.8 doesn't respond to icmp requests.
Can you reach archlinux.org from the phone?
of course, i am writing to the forum on my phone.
also, archlinux.org is not blocked on my dorm, i tried connecting to it without VPN and it did, so i have no idea whether the connection is problematic or the computer is behind a captive portal.
Last edited by voxell (2024-11-01 21:18:26)
i use arch (since Nov 1, 2024) btw
Offline
current status of phone and install environment right now: https://imgur.com/a/m6na9ym
i have iw available now (thanks to pacman -U and flash disk )
Last edited by voxell (2024-11-01 21:24:19)
i use arch (since Nov 1, 2024) btw
Offline
I suspect the tethering does not go via your vpn. archlinux.org is unreachable, because the connection likely is still behind the captive portal, which may catch the dns requests. Question is what's simpler: trying to fix your captive portal login via the arch elinks, or troubleshooting your vpn tethering.
Offline
It's not about being blocked, but if you're tethering the phone and the phone is registered w/ teh captive portal one would assume the systems behind it would be as well (though the firewall can still detect that this is a different client)
Alternative approach, make your phone a hotspot and connect to it w/ the computers wifi.
That should™ work…
Offline
I suspect the tethering does not go via your vpn. archlinux.org is unreachable, because the connection likely is still behind the captive portal, which may catch the dns requests. Question is what's simpler: trying to fix your captive portal login via the arch elinks, or troubleshooting your vpn tethering.
most likely the tether doesnt go through vpn. i could not install elinks because it required downloading dependencies. however if it exists in the installation environment i can manage
Last edited by voxell (2024-11-01 21:28:30)
i use arch (since Nov 1, 2024) btw
Offline
It's not about being blocked, but if you're tethering the phone and the phone is registered w/ teh captive portal one would assume the systems behind it would be as well (though the firewall can still detect that this is a different client)
Alternative approach, make your phone a hotspot and connect to it w/ the computers wifi.
That should™ work…
unfortunately hotspot cant be turned on when wifi is also on
i use arch (since Nov 1, 2024) btw
Offline
Can't you just deactivate the vpn and reach archlinux like that from the phone (after portal login)? If that works, tether on again without vpn. arch has an active Turkish community, I'd be very surprised if it is blocked per se.
Offline
i deactivated my vpn, i can access archlinux.org on my phone, i tethered it to to linux, once again set dhcpcd, resolvectl dns and pinged. nothing changed. output: https://imgur.com/a/91bvbRb
i probably need to log in through the captive portal on linux too. however the dormitory internet only allows 1 device per account, and the account is linked to my national id so creating new accounts arent possible. that only leaves the option that i have to connect to the wifi from linux, then solve the captive portal problem.
Last edited by voxell (2024-11-01 21:42:42)
i use arch (since Nov 1, 2024) btw
Offline
Can you check on your phone if its IP address is 192.168.211.234 (default route entry)?
Offline
Can you check on your phone if its IP address is 192.168.211.234 (default route entry)?
no response connecting to that ip
in the wifi menu phone ip address shows up as 10.61 something
i only know that the captive portal url is wifi.gsb.gov.tr and not the ip
pinging wifi.gsb.gov.tr yields that the ip is 10.106... something
Last edited by voxell (2024-11-01 21:52:26)
i use arch (since Nov 1, 2024) btw
Offline
the dormitory internet only allows 1 device per account
Sanity check: what's the MAC in your phone?
b6:34:97:d1:a0:51 ?
What is the IP of your phone? 192.168.*?
Other sanity check:
ip a; ip r
Offline
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)
Offline
the dormitory internet only allows 1 device per account
Sanity check: what's the MAC in your phone?
b6:34:97:d1:a0:51 ?
What is the IP of your phone? 192.168.*?Other sanity check:
ip a; ip r
my phone mac is not b6:...
i use arch (since Nov 1, 2024) btw
Offline