# WiFi / wlan0 not available at all

**URL:** <https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808>\
**Category:** balenaOS\
**Created:** [April 9, 2020, 6:45pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808 "2020-04-09T18:45:37Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 9, 2020, 6:45pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/1 "2020-04-09T18:45:37Z")

</div>

Whatever I tried, can’t get WiFi working.

So I installed balenaOS 2.47.0 on RPi2 (with WiFi-Dongle) and on RPi3 but can only get them online via LAN. Rebooting them or disconnecting from ethernet will let the ACT LED show connection error.

When connected via LAN and starting a Host OS terminal in balenaCloud I tried various checks.

`ifconfig` not returning any wlan  
`nmcli d wifi list` returns nothing (not even headings)  
`nmcli device status` also doesn’t show any wlan

Tried also to run those commands with my RPi3 and the WiFi Dongle installed to check if maybe the onboard wifi is broken but returns same results. The RPi3 running raspbian connects to wifi without any hassle.

---

<div class="post-metadata">

**Author:** ![ab77](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab77/32/2870_2.png) [@ab77](https://forums.balena.io/u/ab77)\
**Post date:** [April 9, 2020, 7:01pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/2 "2020-04-09T19:01:53Z")

</div>

Hi there, this feels like the OS not seeing the USB hardware at all. What does `lsusb -t` show?

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 14, 2020, 4:31pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/4 "2020-04-14T16:31:35Z")

</div>

```
root@35584d7:~# lsusb -t
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=dwc_otg/1p, 480M
    |__ Port 1: Dev 2, If 0, Class=, Driver=hub/5p, 480M
        |__ Port 1: Dev 3, If 0, Class=, Driver=smsc95xx, 480M
        |__ Port 2: Dev 4, If 0, Class=, Driver=, 480M

```

But since I’m using a RPi3 I shouldn’t need the WiFi Dongle because there is a built in WiFi.

---

<div class="post-metadata">

**Author:** ![tmigone](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/tmigone/32/2814_2.png) [@tmigone](https://forums.balena.io/u/tmigone)\
**Post date:** [April 14, 2020, 4:55pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/5 "2020-04-14T16:55:31Z")

</div>

Hello, can you check `dmesg` on the host for errors related to nm and/or wlan interfaces? Feel free to post the logs in here if not sure what to search for.  
`nmcli device status` not showing the interface is what is troubling to me.

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 14, 2020, 5:21pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/6 "2020-04-14T17:21:26Z")

</div>

[output.log](https://forums.balena.io/uploads/short-url/vZFYa9m2KtO2xjLIEiwcNLnP1LC.log) (20.8 KB)

Can’t find any logs about wlan or nm at all.

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/garethtdavies/32/2669_2.png) [@garethtdavies](https://forums.balena.io/u/garethtdavies)\
**Post date:** [April 14, 2020, 6:15pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/8 "2020-04-14T18:15:39Z")

</div>

Hi, thanks for providing those logs, which don’t indicate any issues. Can you paste the output of `nmcli device status` - I appreciate you previously said wlan isn’t showing but it’d help to see the output. Also, just ruling out you haven’t disabled the wifi e.g. via the `dtoverlay` in `config.txt` or via a configuration variable in balenaCloud?

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 14, 2020, 6:42pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/9 "2020-04-14T18:42:07Z")

</div>

```
root@35584d7:~# nmcli device status
DEVICE TYPE STATE CONNECTION         
eth0 ethernet connected Wired connection 1 
supervisor0 bridge connected supervisor0        
balena0 bridge unmanaged --                 
br-2bc61d89346f bridge unmanaged --                 
resin-dns bridge unmanaged --                 
veth14a41d6 ethernet unmanaged --                 
lo loopback unmanaged --                 
resin-vpn tun unmanaged -- 

```

Didn’t even know that I can disable wifi, so no for that question.

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/garethtdavies/32/2669_2.png) [@garethtdavies](https://forums.balena.io/u/garethtdavies)\
**Post date:** [April 14, 2020, 7:52pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/10 "2020-04-14T19:52:49Z")

</div>

That is strange and I guess we can rule out a hardware issue if working with Raspbian. Can you confirm the host OS version you used for the Pi3 as in did you choose the Raspberry Pi 3 device type or Raspberry Pi 3 (using 64bit OS)? Is it a development or production version? Did you download the image for each device from the balenaCloud dashboard?

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 14, 2020, 8:11pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/12 "2020-04-14T20:11:14Z")

</div>

I chose Raspberry Pi 3 as device type (not 64bit) and it is production version. (Also tried development and 64bit but neither worked.) Furthermore I installed balenaSound if that can may be an issue? For the RPi2 I created a new device in balenaCloud and set it to use the Raspberry Pi 2 as device type when downloading the image.

Atm I’m only running this one RPi3 with latest balenaOS version and connected via ethernet.

 ![Bildschirmfoto 2020-04-14 um 22.11.40](https://global.discourse-cdn.com/balena/original/2X/8/854511f5d49efb0adddf1509fb196bacf048eca7.png)

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/garethtdavies/32/2669_2.png) [@garethtdavies](https://forums.balena.io/u/garethtdavies)\
**Post date:** [April 14, 2020, 8:29pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/13 "2020-04-14T20:29:15Z")

</div>

Thanks for confirming, can you send the output of the command `cat /mnt/boot/config.txt`. You can run this from the host OS. Just want to ensure some accidental config variable isn’t the root issue.

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 14, 2020, 8:53pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/14 "2020-04-14T20:53:06Z")

</div>

Since the output was too long to copy it from the terminal inside balenaCloud I copied it directly from the sd card (`/Volumes/resin-boot/config.txt`)

[config.log](https://forums.balena.io/uploads/short-url/o3Ef7wptQwMmGafuGK1YOTk4h5j.log) (35.4 KB)

---

<div class="post-metadata">

**Author:** ![garethtdavies](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/garethtdavies/32/2669_2.png) [@garethtdavies](https://forums.balena.io/u/garethtdavies)\
**Post date:** [April 14, 2020, 9:03pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/15 "2020-04-14T21:03:25Z")

</div>

Thanks, that rules that out. I’m at a bit of loss what else to suggest other than defective hardware. Perhaps as one final try you could create a new empty application, download the image and reflash the device and do not push anything to it and see the output of `nmcli device status` when the device is in this fresh state?

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 14, 2020, 9:26pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/16 "2020-04-14T21:26:08Z")

</div>

So created a new application and flashed it on my sd card. Started the RPi3 at first boot without ethernet connected. After some short time the ACT LED shows again no connection. Pluged the ethernet cable in and let the RPi3 boot again. Now he shows up in balenaCloud. Output of Network Manager:

```
root@20986c0:~# nmcli device status
DEVICE TYPE STATE CONNECTION         
eth0 ethernet connected Wired connection 1 
supervisor0 bridge connected supervisor0        
balena0 bridge unmanaged --                 
br-ead835d0f90b bridge unmanaged --                 
resin-dns bridge unmanaged --                 
lo loopback unmanaged --                 
resin-vpn tun unmanaged --    

```

Well I think I’m now running balenaSound via ethernet since it’s the only way I can get it working. Thanks for your support anyway.

---

<div class="post-metadata">

**Author:** ![mbalamat](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/mbalamat/32/1245_2.png) [@mbalamat](https://forums.balena.io/u/mbalamat)\
**Post date:** [April 15, 2020, 10:59am UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/19 "2020-04-15T10:59:59Z")

</div>

Hello I think the dmesg logs you sent us is from the pi2, can you also sent us the dmesg logs from the pi3?

---

<div class="post-metadata">

**Author:** ![richbayliss](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/richbayliss/32/1054_2.png) [@richbayliss](https://forums.balena.io/u/richbayliss)\
**Post date:** [April 15, 2020, 11:38am UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/20 "2020-04-15T11:38:38Z")

</div>

I know this might be asking the obvious, but I don’t see it mentioned anywhere – when downloading the image from the dashboard, did you tell the device to use WiFi and provide the network SSID and passphrase? Without those settings, the interface will not be configured.

---

<div class="post-metadata">

**Author:** ![zeraw](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zeraw/32/3451_2.png) [@zeraw](https://forums.balena.io/u/zeraw)\
**Post date:** [April 17, 2020, 5:30pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/22 "2020-04-17T17:30:22Z")

</div>

Yes sure I did. 😃 I even checked manually the resin-wifi-01 file if it was correctly configured. I also tested to rename the `resin-wifi-01` to `resin-wifi` because the file is named that way in the documentation / guide.

---

<div class="post-metadata">

**Author:** ![jtonello](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/jtonello/32/3246_2.png) [@jtonello](https://forums.balena.io/u/jtonello)\
**Post date:** [April 17, 2020, 6:14pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/23 "2020-04-17T18:14:50Z")

</div>

Hi,

Can you grant support access so we can take a look at one of the devices (with both LAN and WiFi)? We can take a look from our end.

Thanks,  
John

---

<div class="post-metadata">

**Author:** ![dsepulvedar](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dsepulvedar](https://forums.balena.io/u/dsepulvedar)\
**Post date:** [March 27, 2023, 9:12pm UTC](https://forums.balena.io/t/wifi-wlan0-not-available-at-all/92808/25 "2023-03-27T21:12:44Z")

</div>

Hi @richbayliss,

If I didn’t tell the device to use WiFi when downloading the image from BalenaCloud, which based on your response means the interface won’t be configured, how can I manually configured it ? Maybe using `nmcli`

By the way, I’m running a RPi3 Model B with BalenaOS 2.113.18, development version and in local mode.

Thank you!
