# Mt7697wifi kernel module source

**URL:** <https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187>\
**Category:** mangOH Red\
**Created:** [February 21, 2018, 5:36am UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187 "2018-02-21T05:36:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![niteshbhatia008](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@niteshbhatia008](https://mangoh.discourse.group/u/niteshbhatia008)\
**Post date:** [February 21, 2018, 5:36am UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/1 "2018-02-21T05:36:48Z")

</div>

Hi  
I followed the steps to enable built in wifi modem as mentioned in this thread:

> [@Wifi on MangOH\_RED not works](http://mangoh.discourse.group/t/wifi-on-mangoh-red-not-works/1121):
>
> Hello, when will the Wifi on MangOH\_RED be supported?

I have a Red board with WP7502 module. Although the instructions are meant for WP76xx, I followed the same for building WP750x module. Till date, WP750x is running R15firmware with a slightly older poky toolchain support. The steps were same and finally I could build and flash the module.

In last step with command “ifup wlan1” is failing. A kernel module for MT is missing. Here is the command log:  
root@swi-mdm9x15:~# ifup wlan1  
Setup MT7697 UART  
Initialized Linux WiFi modules  
insmod: can’t insert ‘/legato/systems/current/modules/2-mt7697wifi\_core.ko’: No such file or directory

The modules directory is empty.  
My question is, this module is firmware dependent or can be build from source?

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [February 21, 2018, 5:50am UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/2 "2018-02-21T05:50:22Z")

</div>

WP75xx will not support MT7697 with release 14 or 15.  
You will be better of using the IoT card for now.  
Or use the WP76xx or WP77xx that support both the IoT card and the MT7697

---

<div class="post-metadata">

**Author:** ![niteshbhatia008](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@niteshbhatia008](https://mangoh.discourse.group/u/niteshbhatia008)\
**Post date:** [March 15, 2018, 11:39am UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/3 "2018-03-15T11:39:42Z")

</div>

Hi  
I followed the same steps with WP7608. I am getting stuck at same issue:

root@swi-mdm9x28:/tmp# ifup wlan1  
Setup MT7697 UART  
insmod: can’t insert ‘/legato/systems/current/modules/2-mt7697wifi\_core.ko’: No such file or directory

Can you comment?  
I am running on latest firmware. The kernel modules are missing.

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [March 15, 2018, 12:06pm UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/4 "2018-03-15T12:06:07Z")

</div>

Did you follow this WiKi

> **[mangOH/mangOH](https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi)**
>
> Primary mangOH git repository. Contribute to mangOH/mangOH development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![niteshbhatia008](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@niteshbhatia008](https://mangoh.discourse.group/u/niteshbhatia008)\
**Post date:** [March 15, 2018, 12:27pm UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/5 "2018-03-15T12:27:26Z")

</div>

Hi  
Yeah. But the kernel module 2-mt7697wifi\_core.ko is missing in my current WP.

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [March 15, 2018, 1:23pm UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/6 "2018-03-15T13:23:42Z")

</div>

Ok so you have uploaded the WiFi firmware to the MTK module.  
Try using the VM to upload the .update file to your WP .  
Follow instructions in this post:

> [@mangOH VM feedback](https://mangoh.discourse.group/t/mangoh-vm-feedback/1230/19):
>
> Thank you so much. You guys are awesome at helping us on here. Very lucky to be chatting with the actual developers. I thought it may be an issue with actually getting a data connection to the network. I will try the generic firmware version tomorrow and report back. And investigate this compatibility issue. I remember seeing documentation about changing the APN, so I will investigate as much as I can. If I still have issues after I have exhausted all options I will message you. Thanks again !!! …

---

<div class="post-metadata">

**Author:** ![niteshbhatia008](https://avatars.discourse-cdn.com/v4/letter/n/0ea827/32.png) [@niteshbhatia008](https://mangoh.discourse.group/u/niteshbhatia008)\
**Post date:** [March 26, 2018, 4:23am UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/7 "2018-03-26T04:23:40Z")

</div>

Hi  
I was able to make wifi working on the WP7608 following the wiki link.  
There is some issue in recent firmware dated: 01 March (Release 8), flashing on top of it causes kernel panics. I downgraded to firmware dated: 05 Feb (Release 7.0.1) and everything worked as expected.  
Thx

---

<div class="post-metadata">

**Author:** ![dfrey](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/dfrey/32/303_2.png) [@dfrey](https://mangoh.discourse.group/u/dfrey)\
**Post date:** [March 26, 2018, 4:25pm UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/8 "2018-03-26T16:25:16Z")

</div>

@niteshbhatia008: Please provide any kernel panic messages you can so that we can work to resolve the issue.

---

<div class="post-metadata">

**Author:** ![jbroderick](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jbroderick](https://mangoh.discourse.group/u/jbroderick)\
**Post date:** [July 18, 2019, 2:01pm UTC](https://mangoh.discourse.group/t/mt7697wifi-kernel-module-source/1187/9 "2019-07-18T14:01:34Z")

</div>

Hi, I am working with the WP77XX with Firmware release 11, Legato FW 18.09, and I am still getting the same error when I try _ifup wlan1_

_root@swi-mdm9x28:~# ifup wlan1  
Setup MT7697 UART  
Device: WP77  
Enable power control  
Initialized Linux WiFi modules  
insmod: can’t insert ‘/legato/systems/current/modules/mt7697wifi\_core.ko’: No such file or directory_

I have followed the wiki that you linked previously ([https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi](https://github.com/mangOH/mangOH/wiki/mangOH-Red-mt7697-WiFi)) working in the VM. I also followed another thread ([Using WiFi on mangOH Red + wp76xx running Legato 19.02 AF](https://mangoh.discourse.group/t/using-wifi-on-mangoh-red-wp76xx-running-legato-19-02-af/2766/3)) assuming that building the WiFi module would add the required kernel modules. As I mentioned in that thread I found warnings trying to build the _wifi.sdef_.

My next debugging step is going to be trying to manually build the linux distro. This seems like it might be excessive but I feel like I’ve hit a roadblock here.

Thanks!
