#[SOLVED] uninstalled some DEs and now network manager is gone
75 messages · Page 1 of 1 (latest)
You can chroot to add it in from a liveusb, or use an ethernet cable to be able to reinstall it
Or if you have a backintime/timeshift, you should be able to recover it
how would i do that
or this
Which one? Do you have a backintime/timeshift set up?
i dont think so
Okay, can you plug in an ethernet cable?
maybe
when i turn on hotspot and plug my phone in it says ethernet is plugged in but im not sure of the reliability on that
That... might work. I'm not specifically familiar with tethering on linux.
But if that DOES work and counts as ethernet, you can redownload things. Like nmtui
theres no ethernet port
gonna have to
Then you're going to chroot https://wiki.archlinux.org/title/Chroot
how do i do that
just put a distro on a usb and boot into it?
Yeah. You'll generally want your archusb on hand
thats whats on the one i have
booting into the arch installer rn
so what now @wise bay
Do you know which of those has your OS on it?
sda1 i think
it's proobably sda3, given the general size
you may be right
mount /dev/sda3 /mnt
done
mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys
arch-chroot /mnt
all of those individually?
alright... uhh... can you run iwctl from there?
That should work... going to try this a different way then... Because I have done this before....
can you restart the setup, but try and run iwctl before mounting anything?
trying that rn
listed the networks available
station wlan0 connect $whatever SSID is your wireless network
It'll probably ask the password for it.
done
THen you'll go back and
mount /dev/sda3 /mnt
arch-chroot /mnt
You can get out of the iwctl with ctrl+c if needed
or type exit.
one of the two
done
pacman -Syu networkmanager
Since we just connected you to your network, this should work
systemctl enable NetworkManager
done
go ahead and shut down, unplug the usb, and see how it goes.
yep
google’s getting pinged
Then I'm inclined to say to mark it as solved
thanks for the help 
moonburst received a thank you cookie!
... solved
#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you