Project

General

Profile

Actions

Feature #928

closed

Switch network config to pinet on Media and Player systems

Added by Hammel about 1 year ago. Updated about 2 months ago.

Status:
Closed
Priority:
Immediate
Assignee:
Category:
Systems
Target version:
Start date:
01 Dec 2022
Due date:
% Done:

100%

Estimated time:
Severity:
02 - High

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).

Actions #1

Updated by Hammel 4 months ago

  • Priority changed from Urgent to Immediate
  • Severity changed from 01 - Critical to 04 - Low
Actions #2

Updated by Hammel 4 months ago

  • Severity changed from 04 - Low to 02 - High
Actions #3

Updated by Hammel about 2 months ago

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.

Actions #4

Updated by Hammel about 2 months ago

  • 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.

Actions #5

Updated by Hammel about 2 months ago

  • % Done changed from 10 to 40

Problems with ironman's web interfaces.

  1. Media server and player don't want imrest. That's for ironman sensors.
  2. 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.

Actions #6

Updated by Hammel about 2 months ago

  • % 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.

Actions #7

Updated by Hammel about 2 months ago

  • 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.

Actions

Also available in: Atom PDF