You are not logged in.

#1 2021-11-06 00:14:40

chrisco23
Member
Registered: 2017-12-13
Posts: 156

[SOLVED] Help restore wifi

I broke my wifi on my arch system I've been using for a long time.

I reboot to arch live usb.
Wifi fine
I mount my internal drive and cheroot in but then I no longer have wifi to get any necessary networking or wifi packages.

Catch 22

Been looking at docs and forums for hours hunt and peck one finger cellphone.

Please help

Last edited by chrisco23 (2021-11-07 22:31:28)

Offline

#2 2021-11-06 00:27:03

loqs
Member
Registered: 2014-03-06
Posts: 18,992

Re: [SOLVED] Help restore wifi

chrisco23 wrote:

I broke my wifi on my arch system I've been using for a long time.

How did you break it?

chrisco23 wrote:

I reboot to arch live usb.
Wifi fine
I mount my internal drive and cheroot in but then I no longer have wifi to get any necessary networking or wifi packages.

What command did you use to test this and what was its output?

What is the wireless interface?  What kernel module does it use?  What diagnostic commands have you run and what are their outputs?

Last edited by loqs (2021-11-06 00:32:27)

Offline

#3 2021-11-06 00:42:53

chrisco23
Member
Registered: 2017-12-13
Posts: 156

Re: [SOLVED] Help restore wifi

I will have to get another laptop to properly answer.

As soon as I chroot in, I cannot for example ping google.com

From the live usb I tried things like pacman -root.
I was afraid to try pacstrap.  I looked at my empty resolv.conf.

Sorry no code tags.  I type about one word per minute on this cellphone.

Offline

#4 2021-11-06 00:54:13

loqs
Member
Registered: 2014-03-06
Posts: 18,992

Re: [SOLVED] Help restore wifi

From inside the chroot run commands with stdout and stderr redirected to a file

command &> command.log

Then from outside the chroot you can post the file to a pastebin
You can access the journal without having to chroot see Journal#Specify_a_different_journal_to_view.
Please post the journal for a boot with the issue.

Offline

#5 2021-11-06 01:40:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,496
Website

Re: [SOLVED] Help restore wifi

How exactly are you chroot'ing?  Are you using arch-chroot, or trying to do it manually?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2021-11-06 02:31:17

chrisco23
Member
Registered: 2017-12-13
Posts: 156

Re: [SOLVED] Help restore wifi

I was using arch-chroot.

Good news is I'm back up and I can actually type now, but I would like to understand better and at least feel confident I can reboot plenty and things and then I will mark as solved.

For better or for worse, these are the steps I took that seemed to get me mostly back on track.

From the live USB, I did

pacstrap -i wireless_tools wpa_supplicant

Back on my main system I did

systemctl stop dhcpcd.service
systemctl disable dhcpcd.service
ip link set wlp2s0 down
wifi-menu

From wifi-menu naturally I selected my network.  It seemed to take a minute but then I was up.

I should just bolt this laptop to the desk as it usually never goes anyplace.  It's not so long since I stopped trying to maintain desktop and laptop and went laptop only and it sits closed 24/7.

So I thank you for your responses and sorry I have taken up your time.

Do you recommend I should take any further steps to clean up?

For example I expect everything should just work now, without wifi-menu, stopping services, etc.  I last used wifi-menu several years ago when I last took the laptop out.

Thanks.

Offline

#7 2021-11-07 22:31:00

chrisco23
Member
Registered: 2017-12-13
Posts: 156

Re: [SOLVED] Help restore wifi

I still had issues after a reboot but now I think I'm ok [knock].

I have switched to iwd / iwctl.

Seems so much easier.

Thanks, marking solved.

Offline

Board footer

Powered by FluxBB