Thank you for your donation!


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


Solved: WiFi Connection Lost on changing country
#1
Moode 4.2 on a raspi 3 using stretch lite from 2018-07-18, built using a WiFi connection via the builtin adapter without problem. Enabled the Upnp service then I went to the network configuration and changed the WiFi country to 'Britain(GB)' and restarted. The pi is close to the router, and signal strength was shown as 100% and the routers WiFi is reliable.

At the moment the Raspi boots and blanks the screen, but it appears not to be getting a WiFi network connection from the router, indeed, according to logs, it looks like the PI/Moode thinks is disabled. Plugging in a network cable gets me a network connection and I can use the WEB UI via the cabled IP. But changing the WiFi country back to 'United States' doesn't change behaviour w.r.t WiFi

I have since enabled SSH.

The system information panel looks like this. I've bolded a couple of WiFi related things that look important (as well as the errors at the start):

System Information
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.14.54-v7+/modules.dep.bin'
modprobe: FATAL: Module configs not found in directory /lib/modules/4.14.54-v7+
rmmod: ERROR: ../libkmod/libkmod.c:514 lookup_builtin_file() could not open builtin file '/lib/modules/4.14.54-v7+/modules.builtin.bin'
rmmod: ERROR: Module configs is not currently loaded

  S Y S T E M    P A R A M E T E R S  

Date and time = 2018-08-06 07:54:49
System uptime = up 13 minutes
Timezone = America/Detroit
moOde = Release 4.2 2018-07-11

Host name = moode
ETH0  IP = 172.16.2.13
ETH0  MAC = b8:27:eb:4f:d0:d7
WLAN0 IP = unassigned
WLAN0 MAC = no adapter
WiFi country = US

HDWR REV = Pi-3B 1GB v1.2
SoC = BCM2835
CORES = 4
ARCH = armv7l
RASPBIAN = 9.4
KERNEL = 4.14.54-v7+
KTIMER FREQ = No /proc/config.gz Hz
USB BOOT = not enabled
Warranty = OK

ROOT size = 15G
ROOT used = 13%
ROOT avail = 13G
FS expand = expanded
MEM free = 740 MB
MEM used = 50 MB
Temperature = 49.4°C
 
CPU GOV = performance
MPD SCHDPOL = TS
P3-WIFI = On
P3-BT = On
HDMI = On
ETH0 CHECK = On
MAX USB CUR = Off
UAC2 FIX = Off
SSH server = On

LED0 = on
LED1 = on

  C O R E    S E R V E R S  

PHP-FPM = 7.0.30
NGINX = 1.10.3
SQLite = 3.16.2

  C P U    L O A D  

CPU %usr %sys %idle
all 1.88 1.38 96.75
0 2.02 1.01 96.97
1 1.00 1.50 97.50
2 1.00 1.99 97.01
3 3.48 1.00 95.52

  P R O C E S S    L O A D  

PRI RTPRIO COMMAND         %MEM PSR %CPU
19      - sysinfo.sh       0.2   1  2.0
19      - php-fpm7.0       1.1   1  1.3
19      - php-fpm7.0       0.9   0  0.5
19      - systemd          0.6   3  0.3
19      - kthreadd         0.0   1  0.0
39      - kworker/0:0H     0.0   0  0.0
19      - kworker/u8:0     0.0   0  0.0
39      - mm_percpu_wq     0.0   0  0.0
19      - ksoftirqd/0      0.0   0  0.0

  C L O C K    F R E Q U E N C I E S  

      arm   = 1200 MHz      pwm   = 0 MHz
      core  = 400 MHz       emmc  = 200 MHz
      h264  = 300 MHz       pixel = 148 MHz
      isp   = 300 MHz       vec   = 0 MHz
      v3d   = 300 MHz       hdmi  = 163 MHz
      uart  = 47 MHz       dpi   = 0 MHz

SD card = 50 MHz

  S Y S T E M    V O L T A G E S  

core = 1.3062V
sdram controller = 1.2000V
sdram I/O = 1.2000V
sdram chip = 1.2250V

cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory
cat: /proc/asound/card0/pcm0p/sub0/hw_params: No such file or directory
  U I  C U S T O M I Z A T I O N S  

Theme = Standard
Accent color = Emerald
Alpha blend = 1.0
Adaptive background = No
Background image = No
Playback history = No
Extra metadata = Yes
Library = Artist

  A U D I O    P A R A M E T E R S  

Audio device = On-board audio device
Interface = On-board
Hdwr volume = Controller detected
Mixer name = Invalid card number.
Output stream = Closed
ALSA version = 1.1.3-5+rpi3
SoX version = 0.1.2-2

Volume knob = 0
Volume mute = Unmuted

Bluetooth controller = Off
Airplay receiver = Off
Squeezelite = Off
UPnP client = On
DLNA server = Off

Rotary encoder = Off
Encoder params = 100 2 3 4 5
Crossfeed = Off
Parametric EQ = Off
Graphic EQ = Off
Auto-shuffle = Off
Autoplay = Off
MPD crossfade = Off

  M P D    S E T T I N G S  

Version = 0.20.20
Volume control = software
ALSA device = hw:0
SoX resampling = disabled
SoX quality = very high
SoX multithreading = off
Audio buffer (kb) = 4096
Buffer before play = 10%
Output buffer size (kb) = 81920
Volume normalization = no
DSD over PCM (DoP) = no
Replay gain = off

  B L U E T O O T H    S E T T I N G S  

Bluetooth ver = 5.49
Bluealsa ver = Turn BT on for version info
Speaker sharing = No
Resume MPD = No

/var/www/command/sysinfo.sh: line 166: shairport-sync: command not found
  A I R P L A Y    S E T T I N G S  

Version = 
Friendly name = Moode Airplay
ALSA device = hw:0
Volume mixer = auto
Resume MPD = No
Output bit depth = S16
Output sample rate = 44100
Session interruption = no
Session timeout (ms) = 120
Audio buffer (secs) = 0.0

/var/www/command/sysinfo.sh: line 181: squeezelite: command not found
/var/www/command/sysinfo.sh: line 182: squeezelite: command not found
  S Q U E E Z E L I T E    S E T T I N G S  

Version =  "DSD/SRC disabled"
Friendly name = Moode
ALSA device = hw:0
ALSA params = 80:4::1
Output buffers = 40000:100000
Task priority = 45
Codec list = flac,pcm,mp3,ogg,aac,alac,dsd
Resume MPD = No
Other options = -W -D 500 -R E -S /var/loca

  M O O D E    L O G  

    20180806 074030 worker: - Start
    20180806 074031 worker: Successfully daemonized
    20180806 074031 worker: Session loaded
    20180806 074031 worker: Debug logging (off)
    20180806 074031 worker: - Platform
    20180806 074033 worker: Host (moode)
    20180806 074033 worker: Hdwr (Pi-3B 1GB v1.2)
    20180806 074033 worker: Arch (armv7l)
    20180806 074033 worker: Rasp (9.4)
    20180806 074033 worker: Kver (4.14.54-v7+)
    20180806 074033 worker: Ktyp (Standard)
    20180806 074033 worker: Gov  (performance)
    20180806 074033 worker: Rel  (Moode 4.2 2018-07-11)
    20180806 074033 worker: Upd  (None)
    20180806 074033 worker: MPD  (0.20.20)
    20180806 074033 worker: USB boot not enabled yet
    20180806 074033 worker: File system expanded
    20180806 074033 worker: HDMI port on
    20180806 074033 worker: File check ok
    20180806 074033 worker: - Network
    20180806 074033 worker: eth0 exists
    20180806 074033 worker: eth0 wait 0 for IP address
    20180806 074036 worker: eth0 wait 1 for IP address
    20180806 074039 worker: eth0 wait 2 for IP address
    20180806 074042 worker: eth0 wait 3 for IP address
    20180806 074045 worker: eth0 wait 4 for IP address
    20180806 074048 worker: eth0 wait 5 for IP address
    20180806 074051 worker: eth0 wait 6 for IP address
    20180806 074054 worker: eth0 wait 7 for IP address
    20180806 074057 worker: eth0 wait 8 for IP address
    20180806 074100 worker: eth0 wait 9 for IP address
    20180806 074103 worker: eth0 address not assigned
    20180806 074104 worker: wlan0 does not exist
    20180806 074104 worker: - Audio
    20180806 074104 worker: ALSA outputs unmuted
    20180806 074104 worker: ALSA card number (0)
    20180806 074104 worker: Audio output (On-board audio device)
    20180806 074104 worker: ALSA mixer name (Invalid card number.)
    20180806 074104 worker: MPD volume control (software)
    20180806 074104 worker: Hdwr volume controller exists
    20180806 074104 worker: - Services
    20180806 074104 worker: Reset renderer active
    20180806 074106 worker: MPD started
    20180806 074106 worker: MPD scheduler policy (time-share)
    20180806 074106 worker: Configure MPD outputs
    20180806 074106 worker: MPD output 1 ALSA default (on)
    20180806 074106 worker: MPD output 2 ALSA crossfeed (off)
    20180806 074106 worker: MPD output 3 ALSA parametric eq (off)
    20180806 074106 worker: MPD output 4 ALSA graphic eq (off)
    20180806 074106 worker: MPD output 5 ALSA bluetooth (off)
    20180806 074106 worker: MPD crossfade (off)
    20180806 074106 worker: UPnP renderer started
    20180806 074106 worker: - Music sources
    20180806 074106 worker: USB sources (none attached)
    20180806 074106 worker: NAS sources (none configured)
    20180806 074106 worker: - Miscellaneous
    20180806 074106 worker: Volume level (0) restored
    20180806 074106 worker: Maintenance interval (21600)
    20180806 074106 worker: Screen saver timeout (Never)
    20180806 074106 worker: Watchdog started
    20180806 074106 worker: Ready
Reply
#2
Hmmm. I dunno. I went back and also updated the country and kb settings to match WiFi and the problem has as gone - I think. So perhaps just a connection between the settings. I have no clue.

So ATM, don't waste any time on this...
Reply


Forum Jump: