You are not logged in.

#1 2024-04-07 06:51:07

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

[SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

I set my network interface to UP and still when I did rfkill, wlan did not show up. And when I did iwctl and then device list, no devices showed up. How do I fix this??? sad

TLDR: Solved, if no wifi then use Ethernet if your laptop has a port for in

Last edited by SomethingSomething (2024-05-25 04:53:58)


An Arch newbie lol

Offline

#2 2024-04-07 08:17:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Offline

#3 2024-04-07 09:06:59

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Hi, sorry about that, I was in a hurry earlier so I didn't think of including the output. When I tried to install that, it said ``error: target not found: broadcom-wl``


An Arch newbie lol

Offline

#4 2024-04-07 09:09:02

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

------Duplicated message----

Last edited by SomethingSomething (2024-04-07 09:10:42)


An Arch newbie lol

Offline

#5 2024-04-07 09:37:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Tried how and what says "target not found"?

pacman -Syu broacom-wl # nb. that this won't work fo the linux-lts or linux-zen kernels, you'd have to use DKMS

If you don't have any network at all, boot the install iso, arch-chroot into the installed system, don't forget to mount the optional /boot partition and install the module from there.

Offline

#6 2024-04-07 11:28:03

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Hi, "error" is also part of the error message, and I tried to arch-chroot into the installed system but was unable to do so, it said something about not being a directory or something I could not remember (but I'm still root, is there a difference?).

"pacman -Syu broadcom-wl" returns a bunch of texts (like unable to retrieve files, couldn't resolve host for everything) and then it said "error: failed to synchronize all databases (invalid URL for server).

The WiFi starts with "enp1"  if it helps


An Arch newbie lol

Offline

#7 2024-04-07 14:15:46

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

it said something about … returns a bunch of texts

This will go nowhere, I cn speculate but not tell you what you did wrong based on only a vague rendition of the situation.

Post the actual error messages, in doubt link (don't embed) a photo of your monitor.
I'm gonna speculate that you didn't mount the root partition into /mnt and tried t chroot into an empty directory and you, again, tried to install the package w/o first establishing a network connection?

Offline

#8 2024-04-07 22:15:33

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Sorry for that again. Here are the pictures if you needed:
{Deleted}
{Deleted}

Last edited by SomethingSomething (2024-05-25 04:55:21)


An Arch newbie lol

Offline

#9 2024-04-07 22:19:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

You chroot into a directory, not a device.

arch-chroot /mnt

And since this is sdb2, don't forget to mount the (likely, that's a guess) /boot partition /dev/sdb1

First screenshot means you've no internet (or at least no DNS)
Assuming there's no wired internet, did you connect the wifi w/ iwd?

Offline

#10 2024-04-07 23:12:54

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

I mounted /boot and got this message, is this good?
{Deleted}

Last edited by SomethingSomething (2024-05-25 04:55:40)


An Arch newbie lol

Offline

#11 2024-04-07 23:45:58

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Also, iwd didn't return any devices or devices in station mode or adapters so I can't connect to Wi-Fi (I have been wondering how to fix this for days now). I mounted /mnt and tried to arch-chroot into /mnt, it didn't work either.

Here are the pics (apologies for the grainy pics, I don't have a really good phone):
{3 URLs deleted}

Last edited by SomethingSomething (2024-05-25 04:56:56)


An Arch newbie lol

Offline

#12 2024-04-08 06:38:36

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

The source is write protected and sdb2 isn't a linux root partition.
From the install iso, w/o chrooting, what's the output of

lsblk -f
ip a
rfkill

Offline

#13 2024-04-09 06:23:14

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Here are the outputs of the commands:
{Deleted}

Last edited by SomethingSomething (2024-05-25 04:57:11)


An Arch newbie lol

Offline

#14 2024-04-09 06:52:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

There's an rj45 NIC - this will be much easier if you plug a cable in there, boot the insstalled system, make sure you've internet (ping 8.8.8.8) and post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Edit: btw, the installed system is on /dev/sda - not /dev/sdb.
nb. that this order isn't deterministic, you'll have to inspect lsblk before you mount the root partition and try to chroot there.

Last edited by seth (2024-04-09 06:53:38)

Offline

#15 2024-04-10 02:13:01

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Thank you for your help, I found the solution for my problem.


An Arch newbie lol

Offline

#16 2024-04-10 07:15:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,005

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

And what was the solution for you problem?
https://wiki.archlinux.org/title/Genera … way_street

Offline

#17 2024-04-11 00:41:48

SomethingSomething
Member
From: Earth
Registered: 2024-04-07
Posts: 15

Re: [SOLVED] Can't connect to wifi on Macbook Pro 2018(?)

Hi, sorry for sounding rude. archinstall, all this time, was the solution when you reminded me of Ethernet. So, thank you!


An Arch newbie lol

Offline

Board footer

Powered by FluxBB