[13:29] <waheedi> sup folks :)
[13:29] <waheedi> glad to find this channel
[13:29] <waheedi> any advice on getting the wifi up on ubuntu 18.04 arm 64 for pi 3?
[13:30] <waheedi> when i do ifconfig wlan0 up i get nothing
[13:30] <waheedi> ifconfig > has no wlan0 device
[13:30] <waheedi> thanks lotuspsychje :)
[13:31] <waheedi> brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006 from dmesg
[13:31] <lotuspsychje> waheedi: im not used to arm devices, but does your wifi device has driver loaded?
[13:31] <waheedi> usbcore: registered new interface driver brcmfmac
[13:32] <waheedi> lotuspsychje: how to check on that?
[13:32] <lotuspsychje> waheedi: sudo lshw -C network
[13:32] <lotuspsychje> at bottom should show driver=
[13:32] <waheedi> let me check
[13:33] <waheedi> lotuspsychje: anything other than lshw -C network
[13:33] <waheedi> as I'm blindly using my keyboard on that pi :)
[13:34] <waheedi> no screen no serial connection nor usb to ethernet
[13:35] <lotuspsychje> waheedi: can you ssh in there?
[13:35] <waheedi> no, i just login through the keyboard
[13:35] <waheedi> then I mount the sd card to my machine
[13:36] <waheedi> lotuspsychje: https://paste.ubuntu.com/p/G3CrwC2syc/
[13:36] <waheedi> DISABLED
[13:37] <lotuspsychje> yeah disabled seems not good heh
[13:37] <lotuspsychje> does the Pi have a wifi switch or something?
[13:38] <lotuspsychje> or uefi?
[13:38] <waheedi> no
[13:38] <waheedi> nothing that i'm aware of
[13:39] <lotuspsychje> waheedi: how about a bios?
[13:40] <waheedi> no
[13:40] <lotuspsychje> im a pi noob sorry :p
[13:40] <lotuspsychje> something blocks the card heh
[13:40] <lotuspsychje> waheedi: can you reach your dmesg in a pastebin?
[13:40] <waheedi> yeah i have it
[13:41] <lotuspsychje> waheedi: i can take a look
[13:41] <waheedi> lotuspsychje: https://paste.ubuntu.com/p/vdbcMdHPsx/
[13:42] <lotuspsychje> waheedi: thats a linaro image you are using
[13:43] <lotuspsychje> waheedi: they have their own channel on freenode, #linaro
[13:43] <waheedi> i got it from here http://cdimage.ubuntu.com/ubuntu/releases/bionic/release/ubuntu-18.04.2-preinstalled-server-arm64+raspi3.img.xz
[13:43] <lotuspsychje> hmm
[13:44] <waheedi> honestly this is the first time i hear of linaro
[13:44] <waheedi> :)
[13:45] <lotuspsychje> waheedi: same here lol, but thats what your kernel says in dmesg
[13:45] <lotuspsychje> and the channel exists..
[13:45] <waheedi> yeah true
[13:46] <lotuspsychje> waheedi: did you try another broadcom driver yet from repos?
[13:46] <lotuspsychje> apt-cache search broadcom
[13:47] <waheedi> no internet on that machine
[13:47] <lotuspsychje> not handy that, as updates could fix your issue
[13:47] <waheedi> true
[13:48] <lotuspsychje> waheedi: maybe try the offline broadcom method, are you familliar?
[13:48] <waheedi> i tried to use the latest firmware for it
[13:48] <waheedi> but not the drivers
[13:48] <waheedi> lotuspsychje: any recommendations?
[13:48] <lotuspsychje> waheedi: check your install media source for the /pool directory there's the broadcom drivers you can install offline
[13:49] <waheedi> well, thats a preinstalled image
[13:49] <lotuspsychje> on an sd or so?
[13:49] <waheedi> yes
[13:49] <lotuspsychje> right..
[13:50] <lotuspsychje> waheedi: check your software & sources perhaps, see if you can enable the install medium
[13:53] <lotuspsychje> waheedi: first tab, you see a dvd 18.04 bionic?
[13:53] <waheedi> lotuspsychje: no i don't see it
[13:54] <lotuspsychje> https://i.stack.imgur.com/DiL3n.png
[13:54] <lotuspsychje> looks like this, but with 18.04 at bottom
[13:55] <waheedi> no screen, no ssh, no vnc :)
[13:55] <waheedi> nothing
[13:55] <lotuspsychje> handy :p
[13:55] <waheedi> yaa
[13:56] <waheedi> maybe its worth it to buy a usb to ethernet plug
[13:56] <waheedi> :)
[13:57] <lotuspsychje> waheedi: i see in your dmesg there's a broadcom kernel line added
[13:57] <lotuspsychje> maybe thats where it goes wrong?
[13:58] <waheedi> lotuspsychje: which one?
[14:01] <waheedi> one more thing, why each time the machine reboots the date is gone
[14:02] <waheedi> i tried to set both date and hwdate for current time
[14:02] <lotuspsychje> waheedi: hmm, im reading things in forums like that firmware doesnt work by default, and some compile driver from source oO
[14:02] <waheedi> hmm
[14:03] <lotuspsychje> waheedi: this looks interesting: http://geekinlinux.blogspot.com/2018/06/raspberry-pi-3-b-no-wireless-interfaces.html
[14:03] <waheedi> on it
[14:03] <lotuspsychje> i think we can conclude your driver doesnt load/work right
[14:04] <waheedi> dmesg does not complain though?
[14:04] <waheedi> it says driver registered
[14:05] <lotuspsychje> waheedi: yes, i was browsing on: brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[14:05] <lotuspsychje> waheedi: and as your card says disabled..
[14:05] <lotuspsychje> a woring card should show chipset and driver= at bottom
[14:06] <waheedi> brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[14:07] <lotuspsychje> waheedi: think you need to find a newer firmware, and do that dpkg trick
[14:07] <waheedi> this one from the GitHub repo
[14:07] <lotuspsychje> waheedi: you grabbed the firmware yourself?
[14:07] <waheedi> https://github.com/RPi-Distro/firmware-nonfree/tree/master/brcm
[14:07] <waheedi> yeah
[14:08] <waheedi> brcmfmac43455-sdio.bin brcmfmac43455-sdio.clm_blob and brcmfmac43455-sdio.txt
[14:08] <lotuspsychje> maybe thats why it doesnt work?
[14:09] <waheedi> it was the same before
[14:10] <lotuspsychje> waheedi: check the ubuntu archives, just like that forum does with debian
[14:10] <lotuspsychje> maybe there are useful firmwares in /pool too
[14:11] <waheedi> lotuspsychje:  i followed this https://wiki.ubuntu.com/ARM/RaspberryPi#Wifi
[14:13] <lotuspsychje> waheedi: did you execute the wifi steps?
[14:13] <waheedi> yes
[14:13] <lotuspsychje> and reboot too?
[14:16] <waheedi> yeah hard shutdown :D
[14:16] <waheedi> looking at this: https://github.com/tomeshnet/mesh-orange/issues/47
[14:24] <lotuspsychje> waheedi: try this perhaps http://archive.raspberrypi.org/debian/pool/main/f/firmware-nonfree/
[14:24] <lotuspsychje> thats the same archive as that forum, and try that dpkg trick
[15:54] <waheedi> what are the wireless-tools version for arm 64?
[15:54] <waheedi> iw and ifconfig are not found by networks-dispatcher
[15:54] <waheedi> networkd*
[15:55] <waheedi> i can't find arm here http://archive.ubuntu.com/ubuntu/pool/main/w/wireless-tools/
[15:56] <waheedi> i think this should work http://archive.raspbian.org/raspbian/pool/main/w/wireless-tools/
[16:06] <lotuspsychje> waheedi: here some broadcoms: http://archive.raspbian.org/raspbian/pool/non-free/f/firmware-nonfree/
[16:06] <waheedi> thanks lotuspsychje
[16:21] <waheedi> well, I can see the wlan0 in ifconfig now
[16:21] <waheedi> :)
[16:21] <waheedi> i changed the default.target system to multi-user
[16:22] <waheedi> it seems I was booting in emergency before, and graphical target does not seem to make it, as the getty screen gets reset every 5/6 seconds
[16:23] <waheedi> still i'm not connected to the network, but the wlan0 device in ifconfig is bit relifeing
[19:18] <waheedi> finally I'm in :)