Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: 9.0.3 Cannot connect to Pi 4B
#21
Yes, returning “…..port 22:operation timed out”. I'm usually good at following instructions, but when it comes to this stuff I haven't a clue. So something is blocking access to the Moode installation, but what do I need to do now to resolve this please? If I insert the SD card with Volumio on it, I can instantly SSD into it, or just use “volumio.local”
Reply
#22
Its not obvious to me what might be happening on your end. I ran a quick test with a fresh 904 image, WiFi unchecked in the Imager, SSH password enabled. Booted with Ethernet connected and no issues whatsoever connecting to it via SSH or bringing up the WebUI.

Hopefully, someone will be able to repro your issue.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#23
Thanks anyway Tim. I'm stubborn enough to get to the bottom of this! Since I last posted I tried using the .img file directly, i.e. going to custom install rather than using the media player option, but that's made no difference.

I've run out of time today, but think I'll try configuring for wi-fi again tomorrow. Onward!
Reply
#24
@suffolktony 

Quoting from your output

Code:
ssh: connect to host 192.168.1.253 port 22: Operation timed out

I don't have a macOS host available but I do have an iPad running iOS. Using the ssh app Shelly, I can reproduce the "Operation timed out" response simply by trying to ssh to a nonexistent IP address in my LAN address space. (Same with the ssh app Teminus.)

How do you know 192.168.1.253 is the IP address of your moOde player? Why didn't you try to ssh to your player using the information you entered into the Raspberry Pi Imager program, e.g.,


Code:
ssh pi5@pi5.local


I cringe at the thought of you endlessly flashing moOde images as you describe in your posts. As a general rule, if you try some published procedure twice and it fails both times for you, it's time to stop and ask for help/advice.

Regards,
Kent

PS - From the output you posted, I infer you entered the ssh command and the moodeutl -l command one right after the other, perhaps  by copying/pasting the two lines into your terminal. Obviously, your macOS tried the ssh command, timed out, and then tried the moodeutl -l command. Not surprising it responded with "command not found".

PPS - In most Unix/Linux systems, the ssh command returns more informative messages for different errors such as mistyped hostname, nonexistent IP address, etc. I don''t know why this isn't so in macOS.
Reply
#25
Ah! I have lift-off! Thanks to Mr Presbyope too.

Heaven only knows what this all means, although it appears there was some kind of security key preventing access. Strange that this applies to both my MacBook and the Mac Mini I'm currently using. Anyway, I can now access the program using either the IP address or Mr Presbyope's syntax.

Here's the terminal printout -

Last login: Mon Jul 22 07:57:06 on console
anthonymiller@tonys-computer-15180 ~ % ssh pi5@pi5.local
The authenticity of host 'pi5.local (2a00:23c6:6620:2201:c435:319:f7dd:db04)' can't be established.
ED25519 key fingerprint is SHA256:UccTYRl2oSLF+1iZl2zmSs7x1LrbHILAR+S0v1D+5V4.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: yes
Warning: Permanently added 'pi5.local' (ED25519) to the list of known hosts.
pi5@pi5.local's password: 
 
Host:  pi5
RPiOS: 12.6 Bookworm 64-bit | Linux: 6.6.31 64-bit
Model: Pi-5B 4GB
Audio: Pi HDMI 1


        m o O d e   a u d i o   p l a y e r

              Release 9.0.4 2024-07-06
                © 2014 Tim Curtis


The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright or
in the moOde source files. moOde comes with absolutely
no warranties either expressed or implied, or any other
such guarantees.

** To change the password for your userid type 'passwd'.

pi5@pi5:~ $ moodeutl -l
20240721 114901 worker: --
20240721 114901 worker: -- Start moOde 9 series
20240721 114901 worker: --
20240721 114901 worker: Successfully daemonized
20240721 114901 worker: Wait for Linux startup
20240721 114907 worker: Linux startup complete
20240721 114907 worker: Boot config is ok
20240721 114907 worker: Session loaded
20240721 114911 worker: Package locks applied
20240721 114911 worker: File check complete
20240721 114911 worker: Debug logging off
20240721 114911 worker: --
20240721 114911 worker: -- System
20240721 114911 worker: --
20240721 114912 worker: Host name:     pi5
20240721 114912 worker: RPi model:     Pi-5B 1.0 4GB
20240721 114912 worker: moOde release: 9.0.4 2024-07-06
20240721 114912 worker: RaspiOS:       12.6 Bookworm 64-bit
20240721 114912 worker: Linux Kernel:  6.6.31 64-bit
20240721 114912 worker: MPD version:   0.23.14
20240721 114912 worker: User id:       pi5
20240721 114912 worker: Home folder:   /home/pi5
20240721 114912 worker: Time zone:     Europe/London
20240721 114912 worker: Kbd layout:    gb
20240721 114912 worker: HDMI ports(s): on
20240721 114912 worker: Sys LED0:      on
20240721 114912 worker: Sys LED1:      on
20240721 114912 worker: Reduce power:  off
20240721 114912 worker: CPU governor:  ondemand
20240721 114912 worker: Integ audio:   vc4-kms-v3d
20240721 114912 worker: --
20240721 114912 worker: -- Network
20240721 114912 worker: --
20240721 114912 worker: Eth0
20240721 114912 worker: Ethernet: adapter exists
20240721 114912 worker: Ethernet: timeout off
20240721 114912 worker: Ethernet: method  dhcp
20240721 114912 worker: Ethernet: address 192.168.1.105
20240721 114912 worker: Ethernet: netmask 255.255.255.0
20240721 114912 worker: Ethernet: gateway 192.168.1.254
20240721 114912 worker: Ethernet: pri DNS 192.168.1.254
20240721 114912 worker: Ethernet: domain  home
20240721 114912 worker: Wlan0
20240721 114912 worker: Wireless: adapter exists
20240721 114912 worker: Wireless: country US
20240721 114912 worker: Wireless: SSID    None
20240721 114912 worker: Wireless: other   None
20240721 114912 worker: --
20240721 114912 worker: -- File sharing
20240721 114912 worker: --
20240721 114912 worker: SMB file sharing:  off
20240721 114912 worker: NFS file sharing:  off
20240721 114912 worker: DLNA file sharing: off
20240721 114912 worker: --
20240721 114912 worker: -- Special configs
20240721 114912 worker: --
20240721 114912 worker: Plexamp:          not installed
20240721 114912 worker: RoonBridge:       not installed
20240721 114912 worker: Allo Piano 2.1:   not detected
20240721 114912 worker: Allo Boss 2:      not detected, OLED script ok
20240721 114912 worker: IQaudIO AMP*:     not detected
20240721 114912 worker: --
20240721 114912 worker: -- ALSA debug
20240721 114912 worker: --
20240721 114912 worker: Cards:  0:vc4hdmi0        1:vc4hdmi1        2:empty           3:empty           
20240721 114912 worker:         4:empty           5:empty           6:empty           7:empty           
20240721 114912 worker: Mixers: 0:none            1:none            2:none            3:none            
20240721 114912 worker:         4:none            5:none            6:none            7:none            
20240721 114912 worker: --
20240721 114912 worker: -- Audio configuration
20240721 114912 worker: --
20240721 114912 worker: Audio device:  0Tonguei HDMI 1
20240721 114912 worker: ALSA card:     has not been reassigned
20240721 114912 worker: MPD config:    updated (iec958 device)
20240721 114913 worker: ALSA output:   HDMI
20240721 114913 worker: ALSA mode:     IEC958 (iec958)
20240721 114913 worker: ALSA mixer     PCM
20240721 114916 worker: ALSA volume:   controller not detected
20240721 114916 worker: ALSA maxvol:   100%
20240721 114916 worker: ALSA loopback: off
20240721 114916 worker: MPD mixer      Hardware
20240721 114916 worker: Audio formats: Alsacap was unable to detect formats
20240721 114916 worker: CamillaDSP:    off
20240721 114916 worker: CDSP volume:   0dB
20240721 114916 worker: CDSP volrange: 60dB
20240721 114916 worker: --
20240721 114916 worker: -- MPD startup
20240721 114916 worker: --
20240721 114916 worker: MPD service:        started
20240721 114916 worker: MPD port 6600:      accepting connections
20240721 114916 worker: MPD ALSA Default:   on
20240721 114916 worker: MPD ALSA Bluetooth: off
20240721 114916 worker: MPD HTTP Server:    off
20240721 114916 worker: MPD volume:         0
20240721 114916 worker: Saved MPD vol:      -1
20240721 114916 worker: Saved SRC vol:      0
20240721 114916 worker: MPD crossfade:      off
20240721 114916 worker: MPD ignore CUE:     no
20240721 114916 worker: MPD first boot:     SDCARD scanned
20240721 114917 worker: MPD first boot:     default playlist loaded
20240721 114917 worker: MPD CDSP volsync:   off
20240721 114917 worker: --
20240721 114917 worker: -- Music sources
20240721 114917 worker: --
20240721 114917 worker: USB drive:      EFI
20240721 114917 worker: USB drive:      RPi Music
20240721 114917 worker: NAS sources:    no music sources defined
20240721 114917 worker: --
20240721 114917 worker: -- Feature availability
20240721 114917 worker: --
20240721 114917 worker: Input select:    available, Source: MPD, Output: Pi HDMI 1
20240721 114917 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240721 114917 worker: AirPlay:         available
20240721 114917 worker: Spotify Connect: available
20240721 114917 worker: Squeezelite:     available
20240721 114917 worker: UPnP client:     available
20240721 114917 worker: Plexamp:         not installed
20240721 114917 worker: RoonBridge:      not installed
20240721 114917 worker: Multiroom:       available
20240721 114917 worker: GPIO buttons:    available
20240721 114917 worker: HTTPS mode:      available
20240721 114917 worker: Stream recorder: n/a
20240721 114917 worker: --
20240721 114917 worker: -- Peripherals
20240721 114917 worker: --
20240721 114917 worker: Local display:   off
20240721 114917 worker: On-screen kbd:   off
20240721 114917 worker: HDMI 4K 60Hz:    off
20240721 114917 worker: Rotary encoder:  off
20240721 114917 worker: USB volume knob: off
20240721 114917 worker: LCD updater:     off
20240721 114917 worker: --
20240721 114917 worker: -- Miscellaneous
20240721 114917 worker: --
20240721 114917 worker: Software update:   Automatic check off
20240721 114917 worker: Auto-CoverView:    off
20240721 114917 worker: CoverView timeout: Never
20240721 114917 worker: Auto-shuffle:      off
20240721 114917 worker: Auto-play:         off
20240721 114917 worker: Web SSH server:    off
20240721 114917 worker: Maintenance task:  360 mins
20240721 114917 worker: Current view:      reset to Playback
20240721 114917 worker: Active flags:      all false
20240721 114917 worker: Reset flags:       skipped
20240721 114917 worker: Session check:     ok
20240721 114917 worker: --
20240721 114917 worker: -- Startup complete 
20240721 114917 worker: --
20240721 114917 worker: Mount monitor:    started
20240721 114917 worker: Radio monitor:    off
20240721 114917 worker: Watchdog monitor: started
20240721 114917 worker: Responsiveness:   Default
20240721 114917 worker: Ready
pi5@pi5:~ $ 


Whew! Thanks for the help folks, it's much appreciated.
Reply
#26
(07-16-2024, 07:32 AM)the_bertrum Wrote:
(07-14-2024, 03:52 AM)thomaschan Wrote: I downloaded the new 9.0.3 yesterday and used it in Pi 4B. However, the Pi did not broadcast the SSID. I tried to enter the SSID and password in my mobile phone to connect to the Pi but no luck.

(07-14-2024, 03:52 AM)thomaschan Wrote: In the Pi Imager, I had entered "protomoode" as the host name. I had also specified user name, password, SSID and SSID password.

This suggests to me that you expect the SSID you put into the imager to result in a WLAN running on the Pi to which you connect your phone.  What you put in the imager needs to be the SSID and password of the wifi network that you expect the Pi to connect to.

Now that I realize the SSID and password are the WLAN Pi/MoOde will connect to upon power on, I use my mobile phone to start a personal hotspot with the same SSID. However, the Pi will not connect. I have tried to enable and disable password on the personal hotspot but Pi still does not connect. 

Need Help!
Reply
#27
There's a conflict having the same SSID for your Wifi network and moode Hotspot. Just use the default Hotspot SSID which would be same as the host name "moode" or whatever you entered in the pi imager.

It can take several minutes for the Hotspot SSID to appear on your smartphones WiFi network list. When it appears connect to it and you should be all set.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: