Feature #928
closed
Switch network config to pinet on Media and Player systems
Added by Hammel almost 2 years ago.
Updated 10 months ago.
Description
The network configuration is too complex and difficult to use on Media and Player systems.
It would be better to configure the wifi by using PiNet but that may require some tweaking of keyboard input.
Of course it also requires dongles that support an AP (or on the Pi3: getting the brcm to work).
- Priority changed from Urgent to Immediate
- Severity changed from 01 - Critical to 04 - Low
- Severity changed from 04 - Low to 02 - High
To enable the wlan0 port on Pi3's, the config.txt needs the following addition:
dtoverlay=pi3-enable-wifi
It's not clear to me why this works as there is no such overlay. But it worked in initial testing.
- Status changed from New to In Progress
- % Done changed from 0 to 10
This requires disabling pnc in the launcher and then adding pinet to the system build.
Do this first, and then test pinet on the media system.
- % Done changed from 10 to 40
Problems with ironman's web interfaces.
- Media server and player don't want imrest. That's for ironman sensors.
- runserver.sh is kind of a mess. A NOREST option should pick an imwww only version during packaging.
NOREST will be used to prevent packaging of imrest and select appropriate files for packaging.
- % Done changed from 40 to 60
Turns out I'd already done part of this in the ironman imwww repo. If you set HW=piplayer/pistore/pisentry then you get only imwww. Since this is working for pistore and pisentry, there is no need to change it much. I can add HW=media so that the mobile web interaces uses "Media System" as it's banner. And that should do it. I also don't need a new version of runserver.sh since I already know pistore/pisentry use the old script just fine.
- Status changed from In Progress to Closed
- % Done changed from 60 to 100
The Media System build was updated as it wasn't building ironman's imwww or pinet. PiPlayer already had these but the banner was changed to show the AP as piboxplayer instead of just pibox.
Code tested on hardware and is working.
Code committed to ironman+www, launcher (to disable pnc UI) and metabuild and pushed.
There may be issues with how we can use pinet on these platforms, but those will be explored in more specific issues.
Closing issue.
Also available in: Atom
PDF