Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how do I connect to AP?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3655

PostPosted: Sun Nov 24, 2024 7:22 pm    Post subject: how do I connect to AP? Reply with quote

H, ALL,

have a laptop with the KDE installed.

Code:

0c:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4312 802.11b/g LP-PHY (rev 01)
        Subsystem: Dell Wireless 1397 WLAN Mini-Card
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 17
        Region 0: Memory at f69fc000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=2 PME-
        Capabilities: [58] Vendor Specific Information: Len=78 <?>
        Capabilities: [e8] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [d0] Express (v1) Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
                        ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 6.500W
                DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq-
                        RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <4us, L1 <64us
                        ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp-
                LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+
                        ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
                        TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Advanced Error Reporting
                UESta:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UEMsk:  DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
                UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
                CESta:  RxErr+ BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                CEMsk:  RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+
                AERCap: First Error Pointer: 14, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn-
                        MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap-
                HeaderLog: 00000000 00000000 00000000 00000000
        Capabilities: [13c v1] Virtual Channel
                Caps:   LPEVC=0 RefClk=100ns PATEntryBits=1
                Arb:    Fixed- WRR32- WRR64- WRR128-
                Ctrl:   ArbSelect=Fixed
                Status: InProgress-
                VC0:    Caps:   PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
                        Arb:    Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
                        Ctrl:   Enable+ ID=0 ArbSelect=Fixed TC/VC=01
                        Status: NegoPending- InProgress-
        Capabilities: [160 v1] Device Serial Number 66-4a-5f-ff-ff-ce-00-22
        Capabilities: [16c v1] Power Budgeting <?>
        Kernel driver in use: b43-pci-bridge
        Kernel modules: ssb



The above is from running "lspci -vv".

I believe I have the right driver, but I have no connection.

what's more - wpa-hu doesn't show anyythng, not even the card.

What am I missing?

Thank you.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 473
Location: Naarm/Melbourne, Australia

PostPosted: Sun Nov 24, 2024 10:39 pm    Post subject: Re: how do I connect to AP? Reply with quote

ONEEYEMAN wrote:
wpa-hu doesn't show anyythng

i'm not aware of wpa-hu, and `e-file wpa-hu` didn't return any results - what package provides it? Or is that a typo, and you meant to write `wpa_gui`?

Anyway, what's the output of `ip a`?
_________________
https://wiki.gentoo.org/wiki/User:Flexibeast
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3655

PostPosted: Sun Nov 24, 2024 11:36 pm    Post subject: Reply with quote

Hi,
Yes, sorry - that was a typo and should have been wpa_gui.

Now here are the results requested:

Code:

IgorsGentoo /home/igor/dbhandler/Debug # ip a
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 brd 127.255.255.255 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:25:64:43:08:8f brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.210/24 brd 192.168.1.255 scope global dynamic noprefixroute enp9s0
       valid_lft 58164sec preferred_lft 44064sec
    inet6 2605:a601:a807:7400::6/128 scope global dynamic noprefixroute
       valid_lft 78877sec preferred_lft 35761sec
    inet6 2605:a601:a807:7400:2d8a:44b2:d521:5cf2/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 86079sec preferred_lft 64479sec
    inet6 fe80::c7ae:dc18:59b7:d95/64 scope link
       valid_lft forever preferred_lft forever
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0


I do have a wires interface in the laptop and I do have a CaT5 cable. ;-)

Thank yo.
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1944

PostPosted: Sun Nov 24, 2024 11:50 pm    Post subject: Reply with quote

Please post output from lspci -nnk and dmesg to know the status of the support of this device.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3655

PostPosted: Mon Nov 25, 2024 1:42 am    Post subject: Reply with quote

Hi,
Code:

IgorsGentoo /home/igor/dbhandler/Debug #  lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
        Subsystem: Dell Mobile 4 Series Chipset Memory Controller Hub [1028:02aa]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
        Subsystem: Dell Dell Inspiron 1545 [1028:02aa]
        Kernel driver in use: i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
        Subsystem: Dell Mobile 4 Series Chipset Integrated Graphics Controller [1028:02aa]
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB UHCI Controller [1028:02aa]
        Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB UHCI Controller [1028:02aa]
        Kernel driver in use: uhci_hcd
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB UHCI Controller [1028:02aa]
        Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB2 EHCI Controller [1028:02aa]
        Kernel driver in use: ehci-pci
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) HD Audio Controller [1028:02aa]
        Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
        Kernel driver in use: pcieport
00:1c.1 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 [8086:2942] (rev 03)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 03)
        Kernel driver in use: pcieport
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB UHCI Controller [1028:02aa]
        Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB UHCI Controller [1028:02aa]
        Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB UHCI Controller [1028:02aa]
        Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) USB2 EHCI Controller [1028:02aa]
        Kernel driver in use: ehci-pci
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
        Subsystem: Dell ICH9M LPC Interface Controller [1028:02aa]
00:1f.2 SATA controller [0106]: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [8086:2929] (rev 03)
        Subsystem: Dell 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [1028:02aa]
        Kernel driver in use: ahci
00:1f.3 SMBus [0c05]: Intel Corporation 82801I (ICH9 Family) SMBus Controller [8086:2930] (rev 03)
        Subsystem: Dell 82801I (ICH9 Family) SMBus Controller [1028:02aa]
        Kernel driver in use: i801_smbus
09:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller [11ab:4354] (rev 13)
        Subsystem: Dell 88E8040 PCI-E Fast Ethernet Controller [1028:02aa]
        Kernel driver in use: sky2
0c:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
        Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]
        Kernel driver in use: b43-pci-bridge
        Kernel modules: ssb
IgorsGentoo /home/igor/dbhandler/Debug #



dmesg - Your paste can be seen here: http://dpaste.com/FFZ5MHCPS

Thank you.

P.S.: I don't understannd this. lspci shows driver is in use, but dmesg does not show anything in regards to the wireless card...
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1944

PostPosted: Mon Nov 25, 2024 2:04 am    Post subject: Reply with quote

The page https://wireless.docs.kernel.org/en/latest/en/users/drivers/b43.html shows 14e4:4315 as supported

Your kernel config should have CONFIG_B43=m and all supporting B43 options (beside broken or debug) as enabled. This can be tested in the running kernel by running: modprobe --first-time b43 (Note that modprobe outputs nothing on success)

You will also need sys-firmware/b43-firmware installed before b43 driver will work.
Back to top
View user's profile Send private message
ONEEYEMAN
Advocate
Advocate


Joined: 01 Mar 2005
Posts: 3655

PostPosted: Tue Nov 26, 2024 11:06 pm    Post subject: Reply with quote

Hi,
I do have a firmware installed:

Code:
IgorsGentoo /usr/src/linux # emerge -pv b43-firmware
 * Last emerge --sync was 2y 293d 2h 8m 59s ago.

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

Calculating dependencies... done!
[ebuild   R    ] sys-firmware/b43-firmware-5.100.138:b43::gentoo  0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

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

IgorsGentoo /usr/src/linux #


Trying to load the driver I get:

Code:

IgorsGentoo /usr/src/linux # modprobe --first-time b43
modprobe: ERROR: could not insert 'b43': Exec format error
IgorsGentoo /usr/src/linux #


However, surprisingly enough, get:

Code:

IgorsGentoo /usr/src/linux # cat .config | grep b43
IgorsGentoo /usr/src/linux #


It looks like something is not completely installed...

Thank you.

P.S.: I knnow that the tree is old. The card didn't work since the machine got the Gentoo, which was almost 6-7 years ago and was always on the wired connection. However, I recently switched providers and thought about making this machine work with WiFi as well...

P.P.S.: The full kernel config can be found here: https://dpaste.com/5LM3SLBWA
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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