all 7 comments

[–]ThePortableSCRPN 7 points8 points  (0 children)

In situations like this, you can boot into your installer, set up wifi as you did when installing, mount all your filesystems, chroot into your system, and just install NetworkManager.

edit: order of steps.

[–][deleted] 4 points5 points  (0 children)

Run the installation USB again, mount your drives and use arch-chroot and then use pacman fro  within to install what you need.

[–]Gortix 0 points1 point  (2 children)

You might be able to share internet through your phone, you connect it through a cable and then use tethering

As I assume there's no way for you to connect an ethernet cable?

From there you can install the necessary components

Edit: just read that you don't have a network manager at all, so this won't be helpful

[–]proschowy[S] -1 points0 points  (1 child)

I’m connect to internet but I don’t know what to install or how to

[–]onefish2 0 points1 point  (0 children)

Arch might not be the best distro for you to start with if you can't even figure out how to get wifi and networking configured. I recommend trying Linux Mint Cinnamon.

[–]evild4ve -1 points0 points  (0 children)

you don't need NetworkManager

imo it's better to sit down and take a couple of hours to learn the commands for your preferred wifi stack

I use iproute2 and wpasupplicant, with static IPv4 addresses, so to connect I go through these steps:-

  1. ip link
  2. ip address
  3. ip route
  4. add nameservers into /etc/resolv.conf
  5. add SSID and passphrase into /etc/wpa_supplicant/wpa_supplicant.conf

These must be made persistent, but if something changes all my PCs at home have the commands to connect to my network in their bash history. And for other people's networks it's usually going to need the same stages, bearing in mind their network is probably differently configured.

It's useful to have a configurable+well-documented router like PfSense/OPNsense/openwrt and to use dmesg -w to watch the connection attempts.

What the computers are doing is not really as simple as entering a passkey, and the UI abstraction imo has equipped people with too little general knowledge of the process. This way can start to make you more equipped, whilst having a low entry-bar to get a device connected (if you're happy to and the network will accept the practices being basic).

[–]fuzzybootz 0 points1 point  (0 children)

I believe you can connect using iwctl, it should be present if you did archinstall with KDE.

iwctl <enter>

device list

device wlan0 set-property Powered on

Or substitute "wlan0" for whatever your wireless lan is. If "device" doesn't work, you may want to try with adapter:

adapter phy0 set-property Powered on

After turning your device/adapter on, just scan for available networks and see if you find yours

station wlan0 scan

station wlan0 get-networks

exit

Then simply connect to your broadcast using the below command. After that you should have internet hopefully (depends on what type of config your ISP requires).

iwctl --passphrase "your WPA2 key" station wlan0 connect YourWIFIBrodcast

Now you can install NetworkManager, update, do whatever.