You are not logged in.

#1 2021-11-03 02:14:53

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

[SOLVED] Apologies in advance, wifi issues

I apologize for the lack of data initially, I am horrifically new to linux in general.
Windows upset me, I decided to make the swap to Linux, and decided Arch would be a good thing to start with, as it would force me to learn. After a few attempts I got it installed on my desktop, and decided to put it on my school laptop as well, a surface pro 3.
I have the install complete, but have not managed to get a gui in place, as I cannot connect to the wifi. I followed the instructions to chroot, so I could install alternate drivers, and have attempted literally every fix I could google. I know there must be something stupid I'm missing, because the iso's wifi connectivity works fine, on the iso I can run iwctl and be on in seconds. NetworkManager and the wifi commands simply do not work on installed arch.

Again, I apologize for the lack of documentation here. I am super new in general and don't really know what to post, but will give any info requested.

Last edited by Slappnbadkids (2021-11-03 15:56:54)

Offline

#2 2021-11-03 02:21:51

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

Re: [SOLVED] Apologies in advance, wifi issues

Please show, don't tell.  Rather than saying you installed alternate drivers, tell us which ones, and how (specific commands ideally).  Rather than saying you attempted every fix you could google, tell us which fixes you found in your google search, and how you attempted them (specific commands again).  Most importantly, if you followed the instructions in the wiki, you would have run several commands to gather data about your network interface; show us that data.

At a minimum, the output of `lspci -k` and `ip a` will be necessary.  Additionally, given that wireless works in the live iso, boot the live iso and get the output from `lspci -k` there - most importantly the line saying which kernel driver is in use for wireless.


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

Offline

#3 2021-11-03 02:57:28

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

Apologies, the scrollback doesn't work.

Results for lspci -k, on the installed arch
00:14:3 Network controller: Intel Corporation Ice Lake-LP PCH CNVi WiFi (rev 30)
Subsystem: Intel Corporation Wi-Fi 6 AX201
Kernel modules: iwlwifi

1:lo <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet5 ::1/128 scope host
valid_lft forever preferred_lft forever


ip link set wlan0 up results in cannot find device wlan0

Wifi is not listed in rfkill, only an unblocked bluetooth device

iwconfig wlan0 returns no such device

ip link returns device does not exist

wifi-menu gets me to an an interface, but no connections are available, and manually entering my details does not work.

lspci -k on the live .iso returns
00:14:3 Network controller: Intel Corporation Ice Lake-LP PCH CNVi WiFi (rev 30)
Subsystem: Intel Corporation Wi-Fi 6 AX201
Kernel modules: iwlwifi, wl

Last edited by Slappnbadkids (2021-11-03 02:58:20)

Offline

#4 2021-11-03 03:01:42

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

Re: [SOLVED] Apologies in advance, wifi issues

Is the linux-firmware package installed? `pacman -Q linux-firmware`
Edit:
If it is installed from the live media mount the system's filesystems as if to chroot and post the journal of a boot of the installed system.

Last edited by loqs (2021-11-03 03:12:50)

Offline

#5 2021-11-03 03:48:41

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

pacman -Q linux-firmware 20210919.d526e04-1 on the .iso
but linux firmware is not found on the main install.
I've tried and failed to mount and chroot a few times. I clearly have a lot to learn.
But I've redone the install about 5 times now, getting it to this point is not hard. Would this be fixable if I re-install and pacman -S linux-firmware at some point during the install process, before I remove the .iso and reboot?

Offline

#6 2021-11-03 03:54:09

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

Re: [SOLVED] Apologies in advance, wifi issues

You do not need to reinstall but at least mounting the installed system's filesystems would be required and preferably chrooting in.
What commands are you using to mount and chroot and what is the error message.

Last edited by loqs (2021-11-03 03:54:32)

Offline

#7 2021-11-03 04:03:01

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

sudo mount /dev/nvme0n1p1 /mnt

and arch-chroot /mnt
I usually get mount can't find device, mount point does not exist, etc.
which yeah, I'm 100% sure I'm doing a whole bunch of things wrong, but I've been using linux for about 5 days, and it's a lot to take in.

Offline

#8 2021-11-03 04:07:42

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

Re: [SOLVED] Apologies in advance, wifi issues

If you are performing the commands from the live media you do not need sudo.

mount /dev/nvme0n1p1 /mnt
findmnt /mnt #check /dev/nvme0n1p1 is mounted to /mnt
arch-chroot /mnt

Offline

#9 2021-11-03 04:38:47

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

It looks like it mounted, findmnt /mnt #check /dev/nvme0n1p1 comes back as

/mnt  /dev/nvme0n1p1 vfat  rw,realtime,fmask=0022,dmask=0022,codepage437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro

but when I run arch-chroot /mnt it says mount point does not exist and failed to setup chroot /mnt

Also thank you so much for helping!

Last edited by Slappnbadkids (2021-11-03 04:39:19)

Offline

#10 2021-11-03 04:41:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Apologies in advance, wifi issues

vfat is not a filesystem you can use for /


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2021-11-03 04:49:34

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

I swear I had the partitions set to fat32.....
Rip, reinstall it is. At least I know how to fix the connectivity issue. Thank you all so much!.

Offline

#12 2021-11-03 05:47:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Apologies in advance, wifi issues

Slappnbadkids wrote:

I swear I had the partitions set to fat32.....

That's not going to work either. Your / must be a Linux filesystem.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2021-11-03 13:20:26

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

Oh, my bad, terrible formatting. There are extra spaces betweennvme0n1p1 and vfat. I'm typing this all out by hand because I can't get that box online.

Offline

#14 2021-11-03 13:26:16

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

Re: [SOLVED] Apologies in advance, wifi issues

Was everything on one partition, or multiple?  Most often you'd have at least a couple partitions, and if this is an efi system, one of them would be vfat or fat32, but that would not be your root or / partition.  I suspect nvme0n1p1 is your boot or efi partition and you probably have a nvme0n1p2 and perhaps a nvme0n1p3 as well.  All filesystems need to be mounted to chroot.

But in any case, mounting partitions and the chroot is done *exactly* the same to fix things as it's done in the reinstall.

And we *know* you didn't accidentally use vfat or fat32 for your root filesystem as the system boots and runs fine (just no wireless interface because you didn't install linux-firmware).

So stop "reinstalling".  Just fix the problem.  You will learn nothing by reinstalling.  You recognize that you need to learn, so don't skip the opportunities to do so.


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

Offline

#15 2021-11-03 14:05:38

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

Okay, I managed to mount to

mount /dev/volgroup0/lv_home /mnt/home

and chrooted to

arch-chroot  /mnt

I'll pacman -S linux-firmware and update soon. I had the right idea, I think I was just trying it in the wrong place.

Offline

#16 2021-11-03 15:50:05

Slappnbadkids
Member
Registered: 2021-11-03
Posts: 9

Re: [SOLVED] Apologies in advance, wifi issues

Not sure how to mark this as solved. I can now access a wifi menu. I'm having problems connecting, interface is controlled by netctl-auto. But I'll make a solid effort to fix that before I bother you more. Thank you all so much!

Offline

#17 2021-11-03 15:53:24

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

Re: [SOLVED] Apologies in advance, wifi issues

You can mark the thread as solved by editing your first post and prepending [SOLVED] to the title.

Offline

Board footer

Powered by FluxBB