Apologies, but I think I misread your post, as I saw a comment from @DBMandrake about if-up support, and that’s what I was referring to when I said I had a patch, albeit needing some more work.
OSMC uses ConnMan to configure network interfaces. dhcpd is too command line interface oriented for the typical use case, and we must make things as easy as possible for the majority of users. With that said, it sounds like you are trying to get tethering working? If your network device supports this, you can enable tethering in My OSMC -> Network -> Wireless.
You can likely also adjust network settings manually with connmanctl to achieve what you are after.
Oh, he wants both technologies on at once. This can be done manually, but ConnMan does not support enabling both connections by default. A simple rc.local or init script can set up the second connection, without issue.
no, tethering is definitely not my intention. I just want to keep two networks separated while using them via two interfaces simultaneously.
If you want to make things as easy as possible for the majority of users dhcpd might not be the worst choice. It seems to be very well preconfigured in raspbian. Quite honestly I had only to enter SSID and PSK into /etc/wpa_supplicant/wpa_supplicant.conf to get wifi interface running, wired interface was running out of the box…
…I don’t do any programming at all, but I believe you already transfer the user input (such as SSID, PSK, manual IP…) from GUI into some config files, do you?
And you should be able to work out how to get it working.
When I understand your requirements a bit better, we can likely implement some GUI support. It sounds like you just want to configure one interface as DHCP and one as WiFi. You can already do this in My OSMC -> Network.
@ActionA: I’m quite unsure about the niche use case. I’m on the hunt for some days, getting a solution and got pretty often indicators for a demand, when people got attentive and understood what it is meant for…
@sam_nazarko: You almost got me. The wifi interface with DHCP for internet, the wired interface with static IP for NAS. Both used at once.
When I tried with My OSMC -> Network I was able to configure what I want, but one interface only. I wasn’t able to configure both.
This “niche” application is exactly what I’m looking for ! But, can’t quite understand all the technical jargon in this post I have OSMC fresh install on my Pi 2. I can get wired connection to my NAS (through a switch, NAS and Pi setup with static IP’s) and I get wifi connection to my router. But, if I have both enabled in the OSMC network setting and try and play a video off the NAS, OSMC just hangs
If wireless disabled, then videos play off wired connection no problem, but now I have no internet connection…