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)?
About this post
- Posted
- Archived
- Removed on
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 1bflat2
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
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
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
Boot back in to your live environment and install the required tools you need to get a network connection set up.
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?
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.
Boot your live arch usb, connect the network using iwctl
lsblk
mount the partitions for example your partitions from lsblk
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 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
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
pacman -S networkmanager
pacman -S network-manager-applet
systemctl enable NetworkManager
(note the uppercase and lowercase letters, this is important)
Ethernet doesn't need a password
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 🙏