Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

do not wait network to be available #783

Open
wants to merge 6 commits into
base: network
Choose a base branch
from

Conversation

omersiar
Copy link

@omersiar omersiar commented Jan 3, 2025

The checks for Syslog IPAddress (IsNull, IsSet) did not work for me so added a boolean to config. Network tasks carry on in the background so raspberry always in a usable state. This needs to be tested in noisy wlan environment with disconnections/reassociation etc. Sound seems not be affected while wireless chip doing its thing.

Copy link

github-actions bot commented Jan 3, 2025

Build for testing:
MiniDexed_2025-01-03-0ec4b55
Use at your own risk.

Copy link

github-actions bot commented Jan 3, 2025

Build for testing:
MiniDexed_2025-01-03-6800987
Use at your own risk.

@probonopd
Copy link
Owner

On my RPi Zero 2 W it doesn't seem to connect to the network; maybe I am doing something wrong?

@omersiar
Copy link
Author

Without seeing the logs it is hard to tell why it is not working for Zero 2 W.

@probonopd
Copy link
Owner

My results with MiniDexed_2025-01-03-6800987:

  • WLAN on RPi Zero 2 W does not work, last message on HDMI is "minidexed: WLAN initialized" (Picture 1)
  • WLAN on RPi 3B does not work, last message on HDMI is "minidexed: WLAN initialized" (Picture 2)
  • NOTE: I did not upgrade from any other version but just used the build from this PR directly
  • Wired Ethernet works (also when there is no wpa_supplicant.conf) (Picure 3)

Picture 1:

{F3B68F53-5930-47B4-89EB-1311BD6769B2}

Picture 2:

{B5431B81-26B1-48B6-AC4E-FCCAE9C7E43D}

Picture 3:

{33B84267-D16C-44B8-80E6-2DBA6C0F96CE}


In order not to run the risk of any trademark issues, I suggest to use the term "WLAN"/"wlan" instead of "wifi" everywhere (also in minidexed.ini)

@probonopd
Copy link
Owner

@omersiar do you have any idea why it is getting stalled there? (See my screen photos)

@omersiar
Copy link
Author

Can you please also share your minidexed.ini network configuration? Do synth work or it just get stuck?

Copy link

Build for testing:
MiniDexed_2025-01-27-4a15772
Use at your own risk.

@Banana71
Copy link

Testet MiniDexed_2025-01-27-4a15772 with RPi 3 Model A+

  • after booting no IP address is displayed
  • a connection is displayed in the router
  • a ping responds with a timeout
  • FTP connection fails
  • the synth works 📢
# Network
NetworkEnabled=1
NetworkDHCP=1
# NetworkType ( wlan ; ethernet )
NetworkType=wlan
NetworkHostname=mdx
NetworkIPAddress=0
NetworkSubnetMask=0
NetworkDefaultGateway=0
NetworkDNSServer=0
NetworkSyslogServerIPAddress=0

HDMI WLAN

@probonopd
Copy link
Owner

probonopd commented Jan 28, 2025

Same.

Looks to me like DHCP never happens?

@Banana71

This comment was marked as outdated.

@Banana71

This comment was marked as outdated.

@Banana71
Copy link

Oh man,
I just saw that the entry in the router for the existing connection remains even though the MiniDexed is turned off. After restarting the router, the MiniDexed is no longer shown in the list and is no longer added when the MiniDexed is started.
Yes, now I think that DHCP is not working either.

@probonopd
Copy link
Owner

@omersiar are you able to reproduce this? Thanks.

@omersiar
Copy link
Author

omersiar commented Feb 3, 2025

Refactored and pushed new initialisation code, can not able to bench test unfortunately.

@probonopd
Copy link
Owner

@omersiar thanks a lot, but unfortunately it doesn't build anymore. Do you know why?

@omersiar
Copy link
Author

omersiar commented Feb 5, 2025

I think you need to change the workflow for that
https://github.com/probonopd/MiniDexed/actions/runs/13113207089/job/36581487368?pr=783

Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v3. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Copy link

github-actions bot commented Feb 5, 2025

Build for testing:
MiniDexed_2025-02-05-e79318d
Use at your own risk.

@probonopd
Copy link
Owner

probonopd commented Feb 5, 2025

I do not seem to get an IP address over WLAN on RPi Zero 2. Others, please test, too. Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants