LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-04-2022, 01:24 PM   #1
pm_a_cup_of_tea
Member
 
Registered: May 2021
Posts: 58

Rep: Reputation: Disabled
wlan0 raspberry pi4 AArrch64


Usually I use rc.inet1 and wpa_supplicant for network connection. I have used it successfully on both my raspberry pi4 using the sarpi installer and on Slackware15 on my X84_64.

Unfortunately on AArch64 I can't seem to get to the wlan0 interface on boot up. I can bring up the network after login when I...
Code:
./rc.inet1 wlan0_start
...but never when booting up. I don't have an ethernet cable but I set up rc.inet1.conf as if I did have one, eth0 seems to be available when dhcpd starts during boot because it says that its '..waiting for carrier'

I stopped inet1 and setup NetworkManager, the problem still persists. Network Manager will only connect when I run XFCE4 and never during boot, even when it reports that its starting it up.

I've only had this problem with AARch64 and I have no idea why its not recoginising wlan0 until after boot.

Last edited by pm_a_cup_of_tea; 09-04-2022 at 01:25 PM.
 
Old 09-04-2022, 01:44 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,251

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
A couple of things.
  • wlan0 is the onboard wifi. I had signal difficulties with it as any nearby lump of metal can act as a Faraday shield to the aerial, inhibiting reception/transmission. I made that worse with a (metal) Flirc case. The download speed varied with what angle/orientation the box was at.
  • I also had initial issues and found the Debian (RPi OS) firmware was patched and solved it. Then I went back to the kernel one and it worked too I never got to the bottom of that.
  • I found many folks had switched to usb wifi. I did too, and never looked back. I don't load the firmware now, just usb wifi.
 
Old 09-05-2022, 07:50 AM   #3
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,900

Rep: Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050Reputation: 1050
The firmware takes a second to load. I will be looking into why that is the case.

For now a good work around is to enable network manager (netconfig) and edit:
Code:
/etc/NetworkManager/conf.d/00-dhcp-client.conf
Then disable dhcpcd and have network manager use dhclient to gain an IP address.

Code:
[main]
# Choose a DHCP client below. Upstream recommends internal, but results may vary.
#
# dhcpcd is the DHCP client usually used by Slackware:
#dhcp=dhcpcd
#
# dhclient is the ISC reference DHCP client, part of the dhcp package:
dhcp=dhclient
#
# This is a simple DHCP client that is built into NetworkManager:
#dhcp=internal
Reboot and you should be able to get an IP address on wlan0. Let me know how it goes!

EDIT: I did reproduce this issue. With the above changes it is fixed, sort of. WiFi takes a minute to load and grab an IP address.

EDIT2:
Code:
[   22.042881] Bluetooth: hci0: BCM4345C0 'brcm/BCM4345C0.hcd' Patch
[   22.101950] EXT4-fs (sda2): re-mounted. Quota mode: none.
[   22.599289] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Quota mode: none.
[   22.836738] Bluetooth: hci0: BCM43455 37.4MHz Raspberry Pi 3+
[   22.836758] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0342
[   23.435419] NET: Registered PF_INET6 protocol family
[   23.435964] Segment Routing with IPv6
[   23.435977] In-situ OAM (IOAM) with IPv6
[   26.282788] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[   26.342986] bcmgenet fd580000.ethernet eth0: Link is Down
[   83.062800] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   83.066350] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Nov  1 2021 00:37:25 version 7.45.241 (1a2f2fa CY) FWID 01-703fd60
[   90.085848] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Takes about 90 seconds from first boot.

Last edited by mralk3; 09-05-2022 at 08:00 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] error with driver in a raspberry pi4 Raspbian; how to overwrite with a better one? floppy_stuttgart Linux - Embedded & Single-board computer 14 01-25-2021 05:55 AM
Parrot on Berryboot/Raspberry Pi4 the red poppet Linux - Embedded & Single-board computer 4 01-18-2021 11:38 AM
Raspberry Pi4 does not show on the HDMI the 3.5" TFT display output dr_berta Linux - Hardware 8 11-27-2020 12:38 PM
What OS for an ISPcorporate datacentre based on Raspberry PI4 ronatartifact Linux - Server 16 10-04-2019 09:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 04:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration