this post was submitted on 20 Jun 2024
2 points (100.0% liked)

Linux

46797 readers
1038 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

hardware is a nuked MacBook Pro, Intel Core i5-4278U @ 2.60GHz, model A1502 (EMC 2875), Retina Mid-2014 13"

I tried to install debian 12.5 from a live usb on this computer. On the network page of debian's installation GUI I get this message:

No Ethernet card was detected. If you know the name of the driver needed by your Ethernet card, you can select it from the list.

so I logged in to recovery mode and executed

sudo lspci -vnnk -s 03:00.0

that returns

network controller [0200]: broadcom inc. and subsidiaries BCM4360 802.11ac wireless network manager adapter [14e4:43a0] (rev 03)

there is more information that I wanted to save to a lspci.txt file on the live usb (sdc1) to share with you, but I failed the syntax.

Why I want to do this: installing debian, on the GUI's networking page there is a candidate with this exact specification (broadcom 802.11ac wireless network manager), but I cannot install it because I don't have wifi or an ethernet cable, so I'd have to download this package from this computer I'm using now and copy it to the live usb to install alongside debian 12.5. I just wanted to print the whole command just in case it's helpful.

ETA: how do I install rpm fusion repos on debian? I only found instructions for fedora and rhel https://rpmfusion.org/Configuration

thanks

top 11 comments
sorted by: hot top controversial new old
[–] BaumGeist@lemmy.ml 2 points 2 months ago* (last edited 2 months ago) (1 children)

how do I install rpm fusion repos on debian? I only found instructions for fedora and rhel https://rpmfusion.org/Configuration

Stop. You do not want to do this.. While resources published on other sites may be full of information, that information is not always relevant to you. Don't blindly follow bad advice.

The "rpm" in "rpmfusion" refers to the filetype that Fedora's built-in package management system, dnf, uses.

You want to use Debian's builtin package management system, apt, which uses the "deb" filetype.

Here is an explanation of how to add Debian's "non-free" repository


Do not follow information for other distros unless you know how to extract the bits that are relevant to your distro.

In general, I recommend following the advice from Debian's wiki or website, then debian's forums if you can't find anything there, then debian specific forums elsewhere, then other distro's wikis, then any other site in a last-ditch effort.


Now that you understand the "why," here's the "how": go back to Debian's download website and download the appropriate installation image from the bullet point that says

A larger complete installation image:

Reason being: the smaller "netinst" images are made to work generally for most people who can plug their computer into ethernet. It's made to only use the bare minimum of disk space and get the rest of the files it needs from the internet (the "net" in "netinst").

You need the installation image that come with the "drivers" (firmware) for your WiFi card already on disk, which should automatically detect your device, find the correct firmware for it, and set up the non-free-firmware repository for you.

If that doesn't work out for you, you can try manually installing using the guide on Debian's own wiki, which I found by searching for your wifi card BCM4360

[–] merompetehla@lemmy.ml 1 points 2 months ago* (last edited 2 months ago)

thanks for posting such a detailed answer.

about the different debian versions: I don't know which one I should try first:

I found debian mac 12.5 netinst https://cdimage.debian.org/debian-cd/current/amd64/bt-cd/ and I'm giving it a try.

Shouldn't that work, I'll try one of the live cds https://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/

I paste the links to check if I have the right version

Incidentally, the data size difference is so surprising: 0.66 GB (debian mac netinst) against 3.17 GB (debian live). Can I have something in between?

[–] 737@lemmy.blahaj.zone 1 points 2 months ago

maybe try

lspci > ~/Documents/lspci.txt
[–] mogoh@lemmy.ml 0 points 2 months ago (1 children)

Did you type: lspci > /sdc1 lspci.txt exactly like this? because that would pipe the output into /sdc1. You probably want to pipe it into /your/mount/point/lspci.txt (something like that).

[–] archy@lemmy.world 1 points 2 months ago (1 children)

At least they didn't pipe it into /dev/sdc1 that'd be a catastrophe

[–] Lojcs@lemm.ee 0 points 2 months ago* (last edited 2 months ago) (1 children)

What would it do?

Edit:piping it no less

[–] aspitzer@lemmy.world 1 points 2 months ago (1 children)

make the drive unmountable if it had a filesystem on it.

[–] Lojcs@lemm.ee 0 points 2 months ago (1 children)
[–] aspitzer@lemmy.world 1 points 2 months ago

if you did lspci >/dev/sdc1, you would write the output of the command to the beginning of the filesystem on that partition, thus corrupting it.

[–] Strit@lemmy.linuxuserspace.show 0 points 2 months ago* (last edited 2 months ago) (1 children)

ETA: how do I install rpm fusion repos on debian? I only found instructions for fedora and rhel https://rpmfusion.org/Configuration

You don't. rpmfusion is a repo for rpm based distributions. Debian is not rpm based, but deb based. There might be PPA's for Debian instead.

[–] possiblylinux127@lemmy.zip 1 points 2 months ago

PPAs are Ubuntu only. You don't want to go adding extra repos to Debian as that's a great way to create a frankendebian.

You want the non-free and non-free-firmware