Skip to content

Connecting to WLAN issues

Ok so, I’m in a bit of a pickle… the only ways I know how to connect to the internet are iwctl command or nmcli… command except I don’t have either of em installed, I’m disconnected from a Wi-Fi, can’t use pacman. Is there another command in-built that I can use (fresh installation, not even gui). Would I be able to simply use a cable to connect (no I’d still need a password, innit)?

1 points12 comments
Open on Reddit
About this post
Posted
Archived
Removed on
Score
1 · 100% up
Kind
Text
ID
1bflat2

Author

11
posts
38
comments
0
media
View profile

21 comments

Start or restart network manager

$ sudo systemctl start NetworkManager.service

$ sudo systemctl enable NetworkManager.service

List nearby Wi-Fi networks:

$ nmcli device wifi list

Connect to a Wi-Fi network:

$ nmcli device wifi connect your SSID_or_BSSID password your password

2 points

But I don’t have the network managers packages install, although thanks for telling me how to do it since I’ll need it in the future

1 points

OK no problem. Explained in other comment how to install network manager and enable it, That should work.

Do you have some problem with the keymap, clock and region?

Which keymap and region are you (US or other?) This you can fix with terminal and sudo

1 points

Boot back in to your live environment and install the required tools you need to get a network connection set up.

2 points

What would that entail, using the iso to boot in, could I just use archchroot or should I have to mount everything back up? And I suppose I should also just set everything up there to save time maybe, like gui network etc?

1 points

Same way you originally installed Arch.

While booted in to the ISO mount the disks, then chroot in to it and install everything like normal.

2 points

Boot your live arch usb, connect the network using iwctl

lsblk

mount the partitions for example your partitions from lsblk

mount /dev/sda2 /mnt

mount /dev/sda1 /mnt/boot

arch-chroot /mnt /bin/bash

Install network manager and Install network-manager-applet

sudo pacman -S networkmanager

sudo pacman -S network-manager-applet

enable network manager

systemctl enable NetworkManager

2 points

2 things I have to know about this message, I do not see the arch-chroot partition, nor I think you meant it as such. In arch-chroot I cannot run the enable network manager command, it says:
bash: enable network: not a shell builtin bash: enable manager: not a shell builtin

1 points

There is no arch-chroot partition. You become a special kind of root in the live usb arch install to fix things in your arch installation on your disk.

Try without the bash command

mount /dev/sda2 /mnt

mount /dev/sda1 /mnt/boot

mount /dev/sda3 /mnt/home

arch-chroot /mnt

pacman -S networkmanager

pacman -S network-manager-applet

systemctl enable NetworkManager

(note the uppercase and lowercase letters, this is important)

2 points

Ethernet doesn't need a password

2 points

That I didn’t know, thanks. Although i’m not in a situation where I can use Ethernet so atm I can’t use this method 🙏

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.