Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Scheda wireless non rilevata
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Tue Sep 27, 2022 2:55 pm    Post subject: Reply with quote

Scusate, ho ripetuto l’installazione, installato i driver, e impostato le regole wpa supplicant per l’avvio automatico…
Riavvio il sistema…
Messaggio di errore per l’avvio wpa, eseguo login digito ifconfig e non esiste la scheda Wi-Fi…
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Tue Sep 27, 2022 4:22 pm    Post subject: Reply with quote

[moderazione]Per un nuovo problema dovresti aprire un nuovo thread, questo permette a chi cerca di trovare più facilmente una risposta.[/moderazione]

Il driver è caricato? Cosa riporta il comando lspci -knn?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Tue Sep 27, 2022 8:06 pm    Post subject: Reply with quote

Quote:
Network controller
[0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac
Wireless Network Adapter [106b:01121
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma, wl
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Sep 28, 2022 9:34 am    Post subject: Reply with quote

Potresti postare anche l'output di
Code:
iw dev
e
Code:
iw phy
per favore?
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Wed Sep 28, 2022 10:59 am    Post subject: Reply with quote

Digitando questi comandi non ricevo nessun messaggio
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Sep 28, 2022 11:49 am    Post subject: Reply with quote

Puoi postare l'output di lsmod e dmesg?
Puó essere che il driver wl abbia problemi ad inizializzare l'interfaccia o magari un altro driver sta bloccando la scheda.
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Wed Sep 28, 2022 12:05 pm    Post subject: Reply with quote

GianGian2387 wrote:
Quote:

Kernel modules: bcma, wl


Ora che ci riguardo: questa riga indica quale modulo potrebbe gestire la scheda ma non é caricato.
Immagino serva un
Code:
modprobe wl
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Wed Sep 28, 2022 4:46 pm    Post subject: Reply with quote

Dando modprobe wl:
Quote:
Modprobe: FATAL: module wl Not found in Directory /lib/modules/5.15.69-gentoo-dist
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Wed Sep 28, 2022 6:33 pm    Post subject: Reply with quote

Stai usando i moduli net-wireless/broadcom-sta? Se la risposta è affermativa cosa torna il comando equery f net-wireless/broadcom-sta (se non hai il comando equery installa app-portage/gentoolkit) e uname -a?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Wed Sep 28, 2022 8:47 pm    Post subject: Reply with quote

con il primo comando:

Quote:
!!! No installed packages matching 'net-wirelessbroadcom-sta'
* Searching for net-wirelessbroadcom-sta...


con il secondo:

Quote:
Linux 5.15.69-gentoo-dist #1 SMP x86 intel(R) Core(TM) i5-4288U CPU @2.60GHz GenuineIntel GNU/Linux
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Thu Sep 29, 2022 5:10 am    Post subject: Reply with quote

GianGian2387 wrote:
Quote:
!!! No installed packages matching 'net-wirelessbroadcom-sta'
* Searching for net-wirelessbroadcom-sta...

Questo vuol dire che non hai installato il pacchetto, quindi installalo e poi dai il comando modprobe wl.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu Sep 29, 2022 5:31 am    Post subject: Reply with quote

da live:

Quote:
(chroot) ubuntu-studio / # emerge --ask net-wirelessbroadcom-sta

* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "net-wirelessbroadcom-sta".

emerge: searching for similar names...
emerge: Maybe you meant net-wireless/broadcom-sta?
(chroot) ubuntu-studio / # emerge --ask net-wireless/broadcom-sta

* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ~] net-wireless/broadcom-sta-6.30.223.271-r6

Would you like to merge these packages? [Yes/No] Y

>>> Verifying ebuild manifests

>>> Running pre-merge checks for net-wireless/broadcom-sta-6.30.223.271-r6
*
* If you are stuck using this unmaintained driver (likely in a MacBook),
* you may be interested to know that a newer compatible wireless card
* is supported by the in-tree brcmfmac driver. It has a model number
* BCM943602CS and is for sale on the second hand market for less than
* 20 USD.
*
* See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and
* https://wikidevi.com/wiki/Broadcom_BCM943602CS
* for more information.
*

>>> Emerging (1 of 1) net-wireless/broadcom-sta-6.30.223.271-r6::gentoo
* hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* README-broadcom-sta-6.30.223.271.txt BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 5.15.69-gentoo-dist
* Checking for suitable kernel configuration options ...
* B43: If you insist on building this, you must blacklist it!
* BCMA: If you insist on building this, you must blacklist it!
* SSB: If you insist on building this, you must blacklist it!
* X86_INTEL_LPSS: Please disable it. The module does not work with it enabled.
* MAC80211: If you insist on building this, you must blacklist it! [ !! ]
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
>>> Unpacking README-broadcom-sta-6.30.223.271.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
unpack README-broadcom-sta-6.30.223.271.txt: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
>>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
* Applying broadcom-sta-6.30.223.141-makefile.patch ...
patching file Makefile
Hunk #1 succeeded at 147 with fuzz 2 (offset 19 lines). [ ok ]
* Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.141-gcc.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.248-r3-Wno-date-time.patch ...
patching file Makefile
Hunk #1 succeeded at 145 with fuzz 2 (offset 19 lines). [ ok ]
* Applying broadcom-sta-6.30.223.271-r1-linux-3.18.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.7.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.8.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.11.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.12.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.15.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r5-linux-5.1.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r5-linux-5.6.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r6-linux-5.9.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
ln: failed to create symbolic link 'Module.symvers': File exists
* Preparing wl module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work wl.ko
make: Entering directory '/usr/src/linux-5.15.69-gentoo-dist'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o
In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_set_auth_type':
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
52 | if (wl_dbg_level & WL_DBG_DBG) { \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:793:17: note: in expansion of macro 'WL_DBG'
793 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:794:9: note: here
794 | default:
| ^~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function 'osl_os_get_image_block':
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:35: warning: passing argument 2 of 'kernel_read' makes pointer from integer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ~~^~~~~~~
| |
| loff_t {aka long long int}
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:727,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3032:43: note: expected 'void *' but argument is of type 'loff_t' {aka 'long long int'}
3032 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:44: warning: passing argument 3 of 'kernel_read' makes integer from pointer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| char *
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:727,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3032:51: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'char *'
3032 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:49: warning: passing argument 4 of 'kernel_read' makes pointer from integer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| int
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:727,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3032:59: note: expected 'loff_t *' {aka 'long long int *'} but argument is of type 'int'
3032 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function 'wl_pci_probe':
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:786:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
786 | if ((val & 0x0000ff00) != 0)
| ^~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:788:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
788 | bar1_size = pci_resource_len(pdev, 2);
| ^~~~~~~~~
LD [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.o
CFG80211 API is prefered for this kernel version
Using CFG80211 API
MODPOST /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/Module.symvers
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.mod.o
LD [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.ko
make: Leaving directory '/usr/src/linux-5.15.69-gentoo-dist'
>>> Source compiled.
>>> Test phase [not enabled]: net-wireless/broadcom-sta-6.30.223.271-r6

>>> Install net-wireless/broadcom-sta-6.30.223.271-r6 into /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/image
* Installing wl module
* Preparing file for modprobe.d ... [ ok ]
>>> Completed installing net-wireless/broadcom-sta-6.30.223.271-r6 into /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/image

* Final size of build directory: 23132 KiB (22.5 MiB)
* Final size of installed tree: 7420 KiB ( 7.2 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/lib/modules/5.15.69-gentoo-dist/net/wireless/wl.ko

>>> Installing (1 of 1) net-wireless/broadcom-sta-6.30.223.271-r6::gentoo
* Removing net-wireless/broadcom-sta-6.30.223.271-r6 from moduledb.
* Updating module dependencies for 5.15.69-gentoo-dist ... [ ok ]
* Adding module to moduledb.

* Messages for package net-wireless/broadcom-sta-6.30.223.271-r6:

*
* If you are stuck using this unmaintained driver (likely in a MacBook),
* you may be interested to know that a newer compatible wireless card
* is supported by the in-tree brcmfmac driver. It has a model number
* BCM943602CS and is for sale on the second hand market for less than
* 20 USD.
*
* See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and
* https://wikidevi.com/wiki/Broadcom_BCM943602CS
* for more information.
*

* Messages for package net-wireless/broadcom-sta-6.30.223.271-r6:

* B43: If you insist on building this, you must blacklist it!
* BCMA: If you insist on building this, you must blacklist it!
* SSB: If you insist on building this, you must blacklist it!
* X86_INTEL_LPSS: Please disable it. The module does not work with it enabled.
* MAC80211: If you insist on building this, you must blacklist it!
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.

* GNU info directory index is up-to-date.

* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

(chroot) ubuntu-studio / # modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.15.0-46-lowlatency
(chroot) ubuntu-studio / #

Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Thu Sep 29, 2022 6:16 am    Post subject: Reply with quote

Questo succede perché stai usando il kernel 5.15.0-46-lowlatency ma hai selezionato il kernel 5.15.69-gentoo-dist.
Come vedi dall'output ha installato il modulo in /lib/modules/5.15.69-gentoo-dist/net/wireless/wl.ko ma quando fai modprobe lo cerca in /lib/modules/5.15.0-46-lowlatency.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu Sep 29, 2022 6:24 am    Post subject: Reply with quote

Per risolvere? Devo ricompilare il Kernel? Come dovrei fare?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Thu Sep 29, 2022 6:47 am    Post subject: Reply with quote

GianGian2387 wrote:
Per risolvere? Devo ricompilare il Kernel? Come dovrei fare?

Posta per favore l'output dei comando uname -a, eselect kernel list e di ls -l /usr/src.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu Sep 29, 2022 7:24 am    Post subject: Reply with quote

Quote:

uname:
Linux Sparrow5.15.69-gentoo-dist #1 SM Tue Sep 20 14:40:36 -00 2022 x86_64 Intel(R) Core(TM) 15-4288U CPU. @ 2:60GHZ GenuineIntel GNU/Linux

nemo@sparrow-S.eselect kernel list
Available kernel symlink targets:
[17
linux-5.15.69-gentoo-dist

/usr/src # ls
-1
totale: 4
lrwxwxrwx1 root root
25 28 set 18.08 linux->
linux-5.15.69-gentoo-dist
drwxr-xr-x1 root root: 322 28 set 18.08 linux-5.15.69-gentoo-dist


Ecco
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Thu Sep 29, 2022 11:43 am    Post subject: Reply with quote

@fedeliallalinea credo che il problema sia che sta usando una live, quindi il kernel lowlatency é quello della live, ma ovviamente il driver broadcom guarda cosa c'é in /usr/src per installarsi.

@GianGian2387: perché sei da live?
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu Sep 29, 2022 11:47 am    Post subject: Reply with quote

L’ultimo post i comandi non erano da live, la live la utilizzo quando mi dite di installare qualche applicazione, visto che non ho la connessione funzionante
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu Sep 29, 2022 11:53 am    Post subject: Reply with quote

Quote:
Sparrow /home/nemo *# modprobe wl
Sparrow /home/nemo # ifconfig
10: flags=73<UP, LOOPBACK, RUNNING>
mtu 65536
inet127.0.0.1 netmask255.0.0.0
inet6 ::1' prefixlen 128. scopeid Ox10<host>
loop txqueuelen 1000 (Local Loopback)
X packets 192 .bytes 18432 (18.0 KiB)
RX errors 0
dropped © overruns 0
frame 0
TX packets 192
bytes 18432 (18.0 KiB)
TX errors © dropped o overruns o carrier 0
collisions o
Sparrow /home/nemo # uname -a
Linux Sparrow 5.15.69-gentoo-dist #1 SMP Tue Sep 20 14:40:36 -00 2022 x86 64 Intel(R) Core(TM) 15-4288U: CPU @ 2.60GHz GenuineIntel GNU/Linux
Sparrow /home/nemo. # eselect kernel list
Available kernel symlink targets:
[1)
-Linux-5.15.69-gentoo-dist
Sparrow /home/nemo # ls -1 /usr/sre
totale 4
rwxrwxrwx 1. root root
25 28 set. 18:08 Linux -> linux-5.15.69-gentoo-dist
drwxr-xr-x1 root root
322 28 set 18.08 linux-5.15.69-gentoo-dist


Questi sono tutti io comandi che avevate chiesto non da live
Non avendo linea non posso reinstallare il modulo Wi-Fi
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Thu Sep 29, 2022 1:49 pm    Post subject: Reply with quote

oRDeX,
grazie ora capisco.

GianGian2387,
ma l'installazione l'hai già fatta o stai partendo da zero dal livecd?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Thu Sep 29, 2022 2:16 pm    Post subject: Reply with quote

l'installazione l'ho gia fatta
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Fri Sep 30, 2022 5:22 am    Post subject: Reply with quote

E perché lo installi da chroot e non avvii normalmente?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Fri Sep 30, 2022 5:27 am    Post subject: Reply with quote

Per installare il driver Wi-Fi o il Tool che mi hai detto tu, avevo bisogno di una connessione attiva, tutti gli altri comandi gli ho dati da macchina avviata (senza connessione)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Fri Sep 30, 2022 6:28 am    Post subject: Reply with quote

GianGian2387 wrote:
Per installare il driver Wi-Fi o il Tool che mi hai detto tu, avevo bisogno di una connessione attiva, tutti gli altri comandi gli ho dati da macchina avviata (senza connessione)

In realtà puoi scaricare i seguenti files da un qualsiasi pc
Code:
https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz
https://docs.broadcom.com/docs-and-downloads/docs/linux_sta/README_6.30.223.271.txt

Poi avvii normalmente la tua gentoo e copi i file in /var/cache/distfiles. A questo punto puoi lanciare emerge net-wireless/broadcom-sta.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
GianGian2387
Apprentice
Apprentice


Joined: 03 Jun 2021
Posts: 171

PostPosted: Fri Sep 30, 2022 10:18 am    Post subject: Reply with quote

Ho fatto come mi hai detto:

Quote:
/home/nemo # emerge net-wireless/broadcom-sta

* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Running pre-merge checks for net-wireless/broadcom-sta-6.30.223.271-r6
*
* If you are stuck using this unmaintained driver (likely in a MacBook),
* you may be interested to know that a newer compatible wireless card
* is supported by the in-tree brcmfmac driver. It has a model number
* BCM943602CS and is for sale on the second hand market for less than
* 20 USD.
*
* See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and
* https://wikidevi.com/wiki/Broadcom_BCM943602CS
* for more information.
*

>>> Emerging (1 of 1) net-wireless/broadcom-sta-6.30.223.271-r6::gentoo
* hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
* README-broadcom-sta-6.30.223.271.txt BLAKE2B SHA512 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 5.15.69-gentoo-dist
* Checking for suitable kernel configuration options ...
* B43: If you insist on building this, you must blacklist it!
* BCMA: If you insist on building this, you must blacklist it!
* SSB: If you insist on building this, you must blacklist it!
* X86_INTEL_LPSS: Please disable it. The module does not work with it enabled.
* MAC80211: If you insist on building this, you must blacklist it! [ !! ]
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
>>> Unpacking source...
>>> Unpacking hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
>>> Unpacking README-broadcom-sta-6.30.223.271.txt to /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
unpack README-broadcom-sta-6.30.223.271.txt: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work
>>> Preparing source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
* Applying broadcom-sta-6.30.223.141-makefile.patch ...
patching file Makefile
Hunk #1 succeeded at 147 with fuzz 2 (offset 19 lines). [ ok ]
* Applying broadcom-sta-6.30.223.141-eth-to-wlan.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.141-gcc.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.248-r3-Wno-date-time.patch ...
patching file Makefile
Hunk #1 succeeded at 145 with fuzz 2 (offset 19 lines). [ ok ]
* Applying broadcom-sta-6.30.223.271-r1-linux-3.18.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r2-linux-4.3-v2.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.7.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.8.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.11.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.12.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r4-linux-4.15.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r5-linux-5.1.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r5-linux-5.6.patch ... [ ok ]
* Applying broadcom-sta-6.30.223.271-r6-linux-5.9.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work ...
ln: failed to create symbolic link 'Module.symvers': File exists
* Preparing wl module
make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work wl.ko
make: Entering directory '/usr/src/linux-5.15.69-gentoo-dist'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_iw.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.o
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c: In function 'wl_pci_probe':
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:786:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
786 | if ((val & 0x0000ff00) != 0)
| ^~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_linux.c:788:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
788 | bar1_size = pci_resource_len(pdev, 2);
| ^~~~~~~~~
In file included from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:43:
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c: In function 'wl_set_auth_type':
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.h:52:12: warning: this statement may fall through [-Wimplicit-fallthrough=]
52 | if (wl_dbg_level & WL_DBG_DBG) { \
| ^
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:793:17: note: in expansion of macro 'WL_DBG'
793 | WL_DBG(("network eap\n"));
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/wl/sys/wl_cfg80211_hybrid.c:794:9: note: here
794 | default:
| ^~~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c: In function 'osl_os_get_image_block':
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:35: warning: passing argument 2 of 'kernel_read' makes pointer from integer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ~~^~~~~~~
| |
| loff_t {aka long long int}
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:727,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3032:43: note: expected 'void *' but argument is of type 'loff_t' {aka 'long long int'}
3032 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:44: warning: passing argument 3 of 'kernel_read' makes integer from pointer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| char *
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:727,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3032:51: note: expected 'size_t' {aka 'long unsigned int'} but argument is of type 'char *'
3032 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~
/var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:1087:49: warning: passing argument 4 of 'kernel_read' makes pointer from integer without a cast [-Wint-conversion]
1087 | rdlen = kernel_read(fp, fp->f_pos, buf, len);
| ^~~
| |
| int
In file included from ./include/linux/huge_mm.h:8,
from ./include/linux/mm.h:727,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/include/linuxver.h:65,
from /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/src/shared/linux_osl.c:25:
./include/linux/fs.h:3032:59: note: expected 'loff_t *' {aka 'long long int *'} but argument is of type 'int'
3032 | extern ssize_t kernel_read(struct file *, void *, size_t, loff_t *);
| ^~~~~~~~
LD [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.o
CFG80211 API is prefered for this kernel version
Using CFG80211 API
MODPOST /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/Module.symvers
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.mod.o
LD [M] /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/work/wl.ko
make: Leaving directory '/usr/src/linux-5.15.69-gentoo-dist'
>>> Source compiled.
>>> Test phase [not enabled]: net-wireless/broadcom-sta-6.30.223.271-r6

>>> Install net-wireless/broadcom-sta-6.30.223.271-r6 into /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/image
* Installing wl module
* Preparing file for modprobe.d ... [ ok ]
>>> Completed installing net-wireless/broadcom-sta-6.30.223.271-r6 into /var/tmp/portage/net-wireless/broadcom-sta-6.30.223.271-r6/image

* Final size of build directory: 23132 KiB (22.5 MiB)
* Final size of installed tree: 7420 KiB ( 7.2 MiB)

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/lib/modules/5.15.69-gentoo-dist/net/wireless/wl.ko

>>> Installing (1 of 1) net-wireless/broadcom-sta-6.30.223.271-r6::gentoo
* Removing net-wireless/broadcom-sta-6.30.223.271-r6 from moduledb.
* Updating module dependencies for 5.15.69-gentoo-dist ... [ ok ]
* Adding module to moduledb.

* Messages for package net-wireless/broadcom-sta-6.30.223.271-r6:

*
* If you are stuck using this unmaintained driver (likely in a MacBook),
* you may be interested to know that a newer compatible wireless card
* is supported by the in-tree brcmfmac driver. It has a model number
* BCM943602CS and is for sale on the second hand market for less than
* 20 USD.
*
* See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and
* https://wikidevi.com/wiki/Broadcom_BCM943602CS
* for more information.
*

* Messages for package net-wireless/broadcom-sta-6.30.223.271-r6:

* B43: If you insist on building this, you must blacklist it!
* BCMA: If you insist on building this, you must blacklist it!
* SSB: If you insist on building this, you must blacklist it!
* X86_INTEL_LPSS: Please disable it. The module does not work with it enabled.
* MAC80211: If you insist on building this, you must blacklist it!
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.

* GNU info directory index is up-to-date.

* IMPORTANT: 10 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

Sparrow /home/nemo # modprobe wl


Digitando ifconfig continuo a non visualizzare la scheda
Sempre dall'installazione ho ridato tutti i comandi che mi avete chiesto in questo tread, ecco i risultati:

Quote:
Sparrow /home/nemo # lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 09)
Subsystem: Apple Inc. Haswell-ULT DRAM Controller [106b:011a]
Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a2e] (rev 09)
Subsystem: Apple Inc. Haswell-ULT Integrated Graphics Controller [106b:011a]
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
Subsystem: Apple Inc. Haswell-ULT HD Audio Controller [106b:011a]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
Subsystem: Intel Corporation Apple MacBookAir6,2 / MacBookPro11,1 [8086:7270]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
Subsystem: Intel Corporation 8 Series HECI [8086:7270]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
Subsystem: Intel Corporation 8 Series HD Audio Controller [8086:7270]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 1 [8086:9c10] (rev e4)
Subsystem: Intel Corporation 8 Series PCI Express Root Port 1 [8086:7270]
Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 2 [8086:9c12] (rev e4)
Subsystem: Intel Corporation 8 Series PCI Express Root Port 2 [8086:7270]
Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)
Subsystem: Intel Corporation 8 Series PCI Express Root Port 3 [8086:7270]
Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 5 [8086:9c18] (rev e4)
Subsystem: Intel Corporation 8 Series PCI Express Root Port 5 [8086:7270]
Kernel driver in use: pcieport
00:1c.5 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 6 [8086:9c1a] (rev e4)
Subsystem: Intel Corporation 8 Series PCI Express Root Port 6 [8086:7270]
Kernel driver in use: pcieport
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
Subsystem: Intel Corporation 8 Series LPC Controller [8086:7270]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
Subsystem: Intel Corporation 8 Series SMBus Controller [8086:7270]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
02:00.0 Multimedia controller [0480]: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570]
Subsystem: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera [14e4:1570]
03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter [106b:0112]
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma, wl
04:00.0 SATA controller [0106]: Samsung Electronics Co Ltd Apple PCIe SSD [144d:1600] (rev 01)
Kernel driver in use: ahci
05:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
Subsystem: Device [2222:1111]
Kernel driver in use: pcieport
06:00.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
Subsystem: Device [2222:1111]
Kernel driver in use: pcieport
06:03.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
Subsystem: Device [2222:1111]
Kernel driver in use: pcieport
06:04.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
Subsystem: Device [2222:1111]
Kernel driver in use: pcieport
06:05.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
Subsystem: Device [2222:1111]
Kernel driver in use: pcieport
06:06.0 PCI bridge [0604]: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013] [8086:156d]
Subsystem: Device [2222:1111]
Kernel driver in use: pcieport
07:00.0 System peripheral [0880]: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013] [8086:156c]
Subsystem: Device [2222:1111]
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
Sparrow /home/nemo # iw dev
Sparrow /home/nemo # iw phy
Sparrow /home/nemo # uname -a
Linux Sparrow 5.15.69-gentoo-dist #1 SMP Tue Sep 20 14:40:36 -00 2022 x86_64 Intel(R) Core(TM) i5-4288U CPU @ 2.60GHz GenuineIntel GNU/Linux
Sparrow /home/nemo # eselect kernel list
Available kernel symlink targets:
[1] linux-5.15.69-gentoo-dist *
Sparrow /home/nemo # ls -l /usr/src
totale 4
lrwxrwxrwx 1 root root 25 28 set 18.08 linux -> linux-5.15.69-gentoo-dist
drwxr-xr-x 1 root root 322 28 set 18.08 linux-5.15.69-gentoo-dist
Sparrow /home/nemo # ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 192 bytes 18432 (18.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 192 bytes 18432 (18.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Sparrow /home/nemo #


Last edited by GianGian2387 on Fri Sep 30, 2022 10:33 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum