#[SOLVED] uninstalled some DEs and now network manager is gone

75 messages · Page 1 of 1 (latest)

tribal jasper
#

as the title says, i deleted all DES seen in the image except for i3, openbox and xfce and now network manager is completely gone, and i cant reinstall it because i need it for internet access

HELP

wise bay
#

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

wise bay
#

Which one? Do you have a backintime/timeshift set up?

tribal jasper
#

i dont think so

wise bay
#

Okay, can you plug in an ethernet cable?

tribal jasper
#

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

wise bay
#

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

tribal jasper
#

trying it rn

#

no dice

wise bay
#

What about a cat5 cable?

#

The last option is to chroot into a liveusb

tribal jasper
tribal jasper
wise bay
tribal jasper
#

just put a distro on a usb and boot into it?

wise bay
#

Yeah. You'll generally want your archusb on hand

tribal jasper
#

thats whats on the one i have

#

booting into the arch installer rn

#

so what now @wise bay

wise bay
#

lsblk

#

This should tell you which drive your stuff is on

tribal jasper
wise bay
#

Do you know which of those has your OS on it?

tribal jasper
#

sda1 i think

wise bay
#

it's proobably sda3, given the general size

tribal jasper
#

you may be right

wise bay
#

mount /dev/sda3 /mnt

tribal jasper
#

done

wise bay
#

mount --bind /dev /mnt/dev
mount --bind /proc /mnt/proc
mount --bind /sys /mnt/sys

#

arch-chroot /mnt

tribal jasper
wise bay
#

Yes

#

pacman -Syu networkmanager

#

systemctl enable NetworkManager

tribal jasper
wise bay
#

alright... uhh... can you run iwctl from there?

wise bay
#

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?

tribal jasper
#

trying that rn

wise bay
#

That's good.

#

device list

tribal jasper
wise bay
#

station wlan0 scan

#

station lwan0 get-networks

tribal jasper
#

listed the networks available

wise bay
#

station wlan0 connect $whatever SSID is your wireless network

#

It'll probably ask the password for it.

tribal jasper
#

done

wise bay
#

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

wise bay
#

pacman -Syu networkmanager

#

Since we just connected you to your network, this should work

tribal jasper
#

it is

wise bay
#

systemctl enable NetworkManager

tribal jasper
#

done

wise bay
#

go ahead and shut down, unplug the usb, and see how it goes.

tribal jasper
#

google’s getting pinged

wise bay
#

Then I'm inclined to say to mark it as solved

tribal jasper
modern graniteBOT
#

moonburst received a thank you cookie!

wise bay
#

... solved

long tinselBOT
#

#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