Wifi with ESP8089/8266 on RPi0 with OSMC


I try to use a ESP8089 to connect a RPi Zero to my wifi using these instructions.

As OSMC does not use the original Raspbian kernel …

sudo apt-get -y install dkms raspberrypi-kernel-headers

… does not work.

Instead I used:

sudo apt-get -y install dkms rbp1-source-4.4.27-6-osmc
sudo apt-get -y install dkms rbp1-headers-4.4.27-6-osmc

Nevertheless I have no luck:

osmc@osmc:~$ sudo dpkg -i esp8089-dkms_1.9.20160526_all.deb
Selecting previously unselected package esp8089-dkms.
(Reading database ... 38576 files and directories currently installed.)
Preparing to unpack esp8089-dkms_1.9.20160526_all.deb ...
Unpacking esp8089-dkms (1.9.20160526) ...
Setting up esp8089-dkms (1.9.20160526) ...
Loading new esp8089-1.9.20160526 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.27-6-osmc
Building for architecture armhf
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.

Any ideas?

I don’t really support DKMS. It will give you problems when we bump major kernel version.

Better to get the module included in OSMC upstream instead.



I guess that is something I can not accomplish?

I do not really care to reinstall after major kernel version.

If you install the module downstream, you’ll need to re-apply the module (which may not always work) every time you update. If you stop getting updates, you won’t get feature improvements.

If it’s included in the kernel, and it’s just a CONFIG_ option, I’m happy to accept a pull request.



Sounds good. What do you need exactly?