[SOLVED] WiFi and SSH - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] WiFi and SSH (/showthread.php?tid=5971) |
WiFi and SSH - hurcheon - 11-30-2023 Hi there, first the SSH, as some of the forum posts involve doing things on the RPi side The RPi is a 4B 4GB, has a 64GB card in it, an IQAudio DAC and is in a case with a touchscreen.
The basic issue is that the WiFi, though set, does not work.
Some of the log Code: 20231130 012905 worker: -- Audio debug Code: 20231130 012905 worker: -- Code: 20231130 012907 worker: -- Network RE: WiFi and SSH - DRONE7 - 11-30-2023 Did you use the RPI imager and set the wifi address? and username/password ? see the setup guide... https://github.com/moode-player/moode/blob/master/www/setup.txt SECURITY AND OPERATING SYSTEM (OS) IMAGE For improved security the OS image does not contain the userid pi, SSH service, WiFi SSID or Access Point password. - Use the official Raspberry Pi Imager to choose a moOde OS image, enable SSH, create a userid and password and optionally a WiFi SSID and password. *** READ THIS *** 1. SSH and userid/password are REQUIRED for correct operation of moOde. 2. Do not set the host name using the Imager. Refer to CUSTOM CONFIGURATIONS in this guide for information on changing the host name. - An Access Point password can be set using the Network Configuration screen after accessing the moOde WebUI, or before first boot via a moodecfg.ini file as described in the CUSTOM CONFIGURATIONS section. - The moOde OS images are listed in the "Media Player OS" category of the Pi Imager, or if they were downloaded directly via the Download page at http://moodeaudio.org they can be selected via the "Use custom" category. - Refer to the links below for more information on operating system security and how to download and use the Raspberry Pi Imager. https://www.raspberrypi.com/software/ https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/ To access the OS command console use Secure Shell (SSH). An easy to use WebSSH terminal is available in the WebUI, System Config screen. RE: WiFi and SSH - TheOldPresbyope - 11-30-2023 @hurcheon Concerning the default user account and SSH, see @DRONE7's response. It covers setting up WiFi too. Nevertheless, concerning the WiFi information you posted Code: 20231130 012907 worker: -- Network Okay, so the Ethernet port is enabled but there's no Ethernet connection. Moving on Code: 20231130 012907 worker: wlan0 adapter exists Okay, so the WiFi adapter is live, and moOde (the underlying Linux actually) has tried for two minutes to associate with your LAN's AP with SSID XXXXX and whatever password you gave it, and failed. Finally, Code: 20231130 013149 worker: wlan0 AP mode activated (SSID XXXXXX) Okay, so moOde has activated its own AP mode. The AP will have the SSID you assigned in the Network configuration. It will associate with WiFi clients if they present the correct credentials and assign them an address in the 172.24.1.x range, and the moOde WebUI will be accessible at 172.24.1.1 with the hostname assigned in the moOde configuration. The AP does not provide DNS service so you have to access it by IP address or by the mDNS artfice hostname.local As an aside, generally it's not helpful to post only selected and redacted portions of the startup log when you're seeking assistance. Regards, Kent RE: WiFi and SSH - hurcheon - 12-01-2023 (11-30-2023, 05:56 AM)DRONE7 Wrote: Did you use the RPI imager and set the wifi address? and username/password ? Cheers hopefully it is as simple as that. My fault for using a "how to make a music device" guide elsewhere on the internet I am about to follow your advice to flash a card. If this does it then I will mark this as solved EDIT: And, of course, this is where I find out my linux laptop can't run Pi imager, as the version of Mint is too old to have the new version of libc6, Not a job for today, but a job for Christmas time, rebuild that RE: WiFi and SSH - hurcheon - 12-01-2023 (11-30-2023, 01:35 PM)TheOldPresbyope Wrote: @hurcheon Hi Kent Thanks, point taken, will bear that in mind for the future RE: WiFi and SSH - hurcheon - 12-01-2023 (11-30-2023, 05:56 AM)DRONE7 Wrote: Did you use the RPI imager and set the wifi address? and username/password ? Hi This done now, WiFi is working, though the moode.local name is not found on the network So I can get there by IP address, but not the URL Any thoughts on how to improve pickup of the alias? I suspect I might have to figure out how to put a static IP on this, just in case RE: WiFi and SSH - TheOldPresbyope - 12-01-2023 (12-01-2023, 12:12 PM)hurcheon Wrote:(11-30-2023, 05:56 AM)DRONE7 Wrote: Did you use the RPI imager and set the wifi address? and username/password ? The fully qualified domain name hostname.local is just vanilla multicast DNS aka mDNS. Possible reasons it might not be found on your LAN
Regards, Kent RE: WiFi and SSH - hurcheon - 12-03-2023 (12-01-2023, 02:06 PM)TheOldPresbyope Wrote:(12-01-2023, 12:12 PM)hurcheon Wrote:(11-30-2023, 05:56 AM)DRONE7 Wrote: Did you use the RPI imager and set the wifi address? and username/password ? I have been trying Chrome and Firefox on Windows 10 - Both Chrome and Firefox connects by IP, not by alias Chromium and Firefox on Linux Mint 20 - both work by the alias Chrome, DuckDuckGo and Firefox on Android 14 - Google Pixel 6 PRO - Chrome /DuckduckGo/Firefox IP only Chrome and Safari on iPad - Chrome doesn't connect with either, iPad takes the alias and IP RE: WiFi and SSH - TheOldPresbyope - 12-03-2023 Sorry, I don't see any evidence of a problem with moOde and its underlying RPiOS.There's plenty of information available about mDNS and its implementation in various OSes. Regards, Kent RE: WiFi and SSH - hurcheon - 12-03-2023 (12-03-2023, 01:20 AM)TheOldPresbyope Wrote: Sorry, I don't see any evidence of a problem with moOde and its underlying RPiOS.There's plenty of information available about mDNS and its implementation in various OSes. I agree, by this stage the lack of machines resolving to the hostname is definitely a problem at THIS side, as some devices connect Thank you for your help |