JrRockeTer Posted July 22, 2020 Posted July 22, 2020 I think I have somehow managed to remove my wlan0 interface. I've done a lot of testing on this M4V2 and am happy with my latest configuration and then I noticed my wlan0 interface is gone. I know it was there because I had tested it all (this box is going to my work office I'm not very good with the very low level stuff but this is what I have found sudo nmcli dev status DEVICE TYPE STATE CONNECTION eth0 ethernet connected Nano2Home lo loopback unmanaged -- jerry@nano2:~ $ sudo nmcli con show NAME UUID TYPE DEVICE Nano2Home bfe624a0-6c47-34c7-b947-350dd18b2059 ethernet eth0 Wi-Fi connection 1 62eadfc0-4456-4dc6-8624-771996a69834 wifi -- jerry@nano2:~ $ systemctl status sys-subsystem-net-devices-wlan0.device ● sys-subsystem-net-devices-wlan0.device - /sys/subsystem/net/devices/wlan0 Loaded: loaded Active: inactive (dead) Is it possible to recover from this or do I have to reinstall ? I really appreciate any help..
Werner Posted July 23, 2020 Posted July 23, 2020 Do you have an armbianmonitor -u output for us? Did you modify the device tree?
JrRockeTer Posted July 23, 2020 Author Posted July 23, 2020 I haven't played with very low level stuff, just configured static IPs etc. http://ix.io/2g3E As you can see it existed, but it is gone... Could it be the driver is no longer in the kernel and so it isn't creating the device. But as you can see in my initial message above it existed. If you like, you can log in and have a look. Send me a message and I'll open the firewall and give you a login.. This is much too low level for me. Thanks for answering, if I can't get advice, I'll reinstall it but I loathe to do that as I spent quite a lot of time getting it configured up to here...
Werner Posted July 23, 2020 Posted July 23, 2020 The only thing that catched my attention by digging through the logs is that at the first boot wifi was there as wlan0. Also firmware was loaded: [ 7.465721] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4356/2 wl0: May 14 2014 19:51:52 version 7.35.17 (r477908) FWID 01-2ed3ee81 That particular line is missing in all the other boot logs where wlan0 is missing too. So maybe the firmware is missing. Check if the armbian-firmware-full (was it I think) package is installed and maybe do a reinstall.
Lennyz1988 Posted July 24, 2020 Posted July 24, 2020 It's not your fault. It's a bug in the latest Focal release. Yesterday I flashed the latest Focal release available on the website. Everything was working fine until I did a 'sudo apt-get update && sudu apt-get upgrade". After that the kernel updated and my wifi interface was gone. Buster does not have this bug. So if you are going to reinstall, make sure to flash Buster. Otherwise every time you will run and 'upgrade' it will destroy your wifi interface. 2
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 Thanks very much. And this download is in the Supported Download section, quite sad. I wish someone would just advise me about how to recreate it, I think the driver has to be added to the kernel for it to create the wlan interface but I don't know enough about this low level stuff. The worse part is no one from Armbian is really trying to help either.. Double sad. Thanks for your info
Werner Posted July 24, 2020 Posted July 24, 2020 Interesting. This needs to be investigated. https://armbian.atlassian.net/browse/AR-340 2
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 @NicoD How do you get this problem looked at by someone who can advise or fix the problem, this download is in the supported Downloads..
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 @Werner Thanks for adding to the Wifi Issue AR on Jira !!!
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 UPDATE I have plugged in a Wifi Dongle and: iwconfig wlxbcec23c37524 IEEE 802.11AC ESSID:"CoreSoyRocD" Nickname:"<WIFI@REALTEK>" Mode:Managed Frequency:5.56 GHz Access Point: B8:BE:F4:0D:97:F2 .... So if someone can tell me how to get the kernel o recognize the onboard wifi again, all will be fine! @Igor ? @Piotr Czekalski ?
NicoD Posted July 24, 2020 Posted July 24, 2020 Hi @JrRockeTer . I've no time testing SBC's now. I'm even working on an x86 evil space heater. I guess you've checked this thread? Wifi was a problem with mainline. And if you add focal to that mix then you're really shook-up. Just browsing, this could be a related issue. Else look here and see if this works. I do remember trying it a few weeks ago and it didn't. See what's in your /etc/network/interfaces/ect/interfaces/networks
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 Thanks NicoD, shouldn't this mess be removed from Downloads then I mean I have Ethernet and WiFi but I need both for when I'm in my other office where I'm not allowed to connect to wired networks. I'm flabbergasted that this kind of thing is in supported Downloads. Regarding /etc/network/interfaces.. This is all NetworkManager. and anyway, the wlan0 device has vanished If you see the message above yours, if I plug in my Wifi Dongle, Wifi works. So I'd like to know how to add the driver to the kernel so it recognizes the onboard wifi...
NicoD Posted July 24, 2020 Posted July 24, 2020 27 minutes ago, JrRockeTer said: I'm flabbergasted that this kind of thing is in supported Downloads. As am I JR... Armbian is such a huge project, with not many people working actively on it. So that's why these things happen. If it were Microsoft we should be p*ssed. But this is Armbian. Free software made for free. As I said, for a reliable desktop with the M4V2, this is still the image to go for. https://dl.armbian.com/nanopim4v2/Bionic_legacy_desktop There are many other issue's with Focal alone. Then using a mainline kernel with issue's. My bet is it will take about 6 months before that's fully functional. But as said before, I'm no dev. Just a dude trying things out Good luck. 3
piter75 Posted July 24, 2020 Posted July 24, 2020 On 7/22/2020 at 4:29 PM, JrRockeTer said: I think I have somehow managed to remove my wlan0 interface. Run these two commands: sudo cp /lib/firmware/brcm/brcmfmac4356-sdio{-nanopi-m4v2,}.bin sudo cp /lib/firmware/brcm/brcmfmac4356-sdio{-nanopi-m4v2,}.txt Reboot and verify if your wlan0 interface is working. 1
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 1 hour ago, piter75 said: Run these two commands: sudo cp /lib/firmware/brcm/brcmfmac4356-sdio{-nanopi-m4v2,}.bin sudo cp /lib/firmware/brcm/brcmfmac4356-sdio{-nanopi-m4v2,}.txt Reboot and verify if your wlan0 interface is working. Quote 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether cc:4b:73:84:ea:1c brd ff:ff:ff:ff:ff:ff inet 192.168.0.122/24 brd 192.168.0.255 scope global dynamic noprefixroute wlan0 valid_lft 3547sec preferred_lft 3547sec inet6 2a02:1811:1430:2000:68af:d08a:ce5e:36f0/64 scope global temporary dynamic valid_lft 216832sec preferred_lft 44032sec inet6 2a02:1811:1430:2000:cebf:d189:1528:a84a/64 scope global dynamic mngtmpaddr noprefixroute valid_lft 216832sec preferred_lft 44032sec inet6 fe80::d511:e8bf:4847:6e84/64 scope link noprefixroute valid_lft forever preferred_lft forever
JrRockeTer Posted July 24, 2020 Author Posted July 24, 2020 Thanks very much @piter75 very much appreciated . I'm g'ad this problem is solved,in any case if it happens again , I know what to do. @Lennyz1988 try this out!!!
piter75 Posted July 24, 2020 Posted July 24, 2020 1 minute ago, JrRockeTer said: I'm g'ad this problem is solved,in any case if it happens again This happens after upgrading armbian-firmware package and it is already fixed in master and will be part of v20.08 release. 3
Recommended Posts