The officially official Devuan Forum!

You are not logged in.

#1 2018-04-23 05:11:00

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

ascii/raspberry 3 wifi problem

Hello,

I have no wlan0 appearing after a fresh ascii install in RPi3.

# iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.
# ifup wlan0
Cannot find device "wlan0"
ifup: failed to bring up wlan0

I added brcmfmac to /etc/modules.

# lsmod 
Module                  Size  Used by
ipv6                  479232  24
brcmfmac              270336  0
brcmutil               16384  1 brcmfmac
cfg80211              688128  1 brcmfmac
rfkill                 32768  1 cfg80211
vc4                   184320  0
snd_soc_core          208896  1 vc4
snd_pcm_dmaengine      16384  1 snd_soc_core
drm_kms_helper        200704  1 vc4
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
drm                   438272  2 vc4,drm_kms_helper
joydev                 28672  0
snd_bcm2835            40960  1
hid_cherry             16384  0
snd_pcm               122880  4 vc4,snd_pcm_dmaengine,snd_bcm2835,snd_soc_core
snd_timer              36864  1 snd_pcm
snd                    86016  6 snd_timer,snd_bcm2835,snd_soc_core,snd_pcm
vchiq                 348160  1 snd_bcm2835
uio_pdrv_genirq        16384  0
uio                    24576  1 uio_pdrv_genirq
evdev                  24576  3

config :
Raspberry 3 model B Rev 1.2
devuan_ascii_2.0.0-beta_arm64_raspi3.img

A devuan jessie on the same hardware (updated firmware) ran wifi OK. I tested with the distributed and updated firmware on ascii.

Thanks for the help.

Offline

#2 2018-04-23 07:59:17

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 76  
Website

Re: ascii/raspberry 3 wifi problem

try ifconfig as root i have a wild guess that the name is not wlan0 but other


Just a simple man!

Offline

#3 2018-04-23 08:45:21

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

Thanks for answering !
ifconfig as root only lists lo and eth0.
One funny thing is that when I remove/modprobe the brcmfmac module, syslog only says the module is registred, nothing about firmware.

Offline

#4 2018-04-23 10:27:12

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 76  
Website

Re: ascii/raspberry 3 wifi problem

iwconfig

post an output of   lspci -nn


Just a simple man!

Offline

#5 2018-04-23 14:43:42

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

# iwconfig 
eth0      no wireless extensions.

lo        no wireless extensions.
# lspci -nn
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.

(this is a rpi, no pci bus as far as I know)

Offline

#6 2018-04-23 15:02:18

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 76  
Website

Re: ascii/raspberry 3 wifi problem

because this is a forum and is hard to be always to look i suggest to you to join #devuan-arm on freenode irc chat

https://webchat.freenode.net
channel - #devuan-arm  where you will get an answer in real time


Just a simple man!

Offline

#7 2018-04-23 15:19:33

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

don't worry I'm not in a hurry :-)
by the way, here the output of lshw :

# lshw -c net
  *-network                 
       description: Ethernet interface
       physical id: 1
       logical name: eth0
       serial: b8:27:eb:fc:81:5b
       size: 100Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=smsc95xx driverversion=22-Aug-2005 duplex=full firmware=smsc95xx USB 2.0 Ethernet ip=192.168.1.22 link=yes multicast=yes port=MII speed=100Mbit/s

Offline

#8 2018-04-23 15:21:04

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

and lsusb :

# lsusb 
Bus 001 Device 005: ID 413c:3016 Dell Computer Corp. Optical 5-Button Wheel Mouse
Bus 001 Device 004: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Offline

#9 2018-04-23 15:23:36

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

syslog does not give very much info either :

# grep -i mac /var/log/syslog 
Apr 23 07:11:39 raspi2 kernel: [    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
Apr 23 07:11:39 raspi2 kernel: [    0.095845] bcm2835-dma 3f007000.dma: DMA legacy API manager at ffffff800801d000, dmachans=0x1
Apr 23 07:11:39 raspi2 kernel: [    5.283902] usbcore: registered new interface driver brcmfmac
# grep -i 80211 /var/log/syslog
# grep -i wire /var/log/syslog

Offline

#10 2018-04-23 15:32:56

wdq
Member
From: United Kingdom
Registered: 2018-03-15
Posts: 76  
Website

Re: ascii/raspberry 3 wifi problem

Do you have raspi-config installed ?
If yes

 elect item 9, Advanced Options
Select item A5, Device Tree
Choose Yes
Reboot

if not

download this script from github
https://github.com/snubbegbg/install_raspi-config
and run it in terminal as root like so

sh install.sh

and follow the steps above


Just a simple man!

Offline

#11 2018-04-24 19:25:47

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

Thanks for the help.

I could install raspi-config, but the procedure didn't work (I tried twice), still no wlan0 or anything wireless else (only eth0 & lo).
By the way, A5 is not labelled "Device Tree" but SPI. Is it the same thing ?

Anyway, a SPI module is loaded

# lsmod |grep spi
spi_bcm2835            20480  0

and the devices are created

# ls -al /dev/spidev0.*
crw------- 1 root root 153, 0 Apr 24 21:15 /dev/spidev0.0
crw------- 1 root root 153, 1 Apr 24 21:15 /dev/spidev0.1

Last edited by fanfoue70 (2018-04-24 19:27:07)

Offline

#12 2018-04-25 10:17:33

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

I tried a rpi-update; same problem.

Offline

#13 2018-04-25 10:22:25

yeti
Member
From: I'm not here: U R halucinating
Registered: 2017-02-23
Posts: 335  

Re: ascii/raspberry 3 wifi problem

Maybe the builder of the PI3 images just doesn't read the forum?

โ€”โ–ถ https://git.devuan.org/sdk/arm-sdk/issues/28
Add a help cry there?

I was told in Devuan's IRC channel #devuan-arm that a solution exists but I did not get details.
*sigh!*

My two PI3s are still waiting for a solution too...
:-(

Last edited by yeti (2018-04-25 10:34:12)


*๐š›๐š’๐š‹๐š‹๐š’๐š!*

Offline

#14 2018-04-25 16:01:38

golinux
Administrator
Registered: 2016-11-25
Posts: 3,318  

Re: ascii/raspberry 3 wifi problem

yeti wrote:

Maybe the builder of the PI3 images just doesn't read the forum?

Exactly.   #devuan-arm (ping parazyd) and https://git.devuan.org/sdk/arm-sdk/issues/ are excellent places to catch his attention.

Offline

#15 2018-04-29 12:40:59

fanfoue70
Member
Registered: 2018-04-23
Posts: 15  

Re: ascii/raspberry 3 wifi problem

Here's a solution (found in https://git.devuan.org/sdk/arm-sdk/issues/28 and https://quantum2.xyz/2017/10/27/install โ€ฆ with-wifi/) :
get https://cs.wallawalla.edu/%7Estiltr/rpi3_4.14.26.tar.gz
extract archive, overwrite /boot with content of 4.14.26_boot.tar.gz
extract 4.14.26_modules.tar.gz into root partition (kernel modules)
get debian image from https://people.debian.org/~stapelberg/r โ€ฆ IEW.img.xz
mount image, copy firmware from root partition (/lib/firmware/brcm/*430*)
it should work :-)

Offline

Board footer