The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


wlan not activated
#1
Wink 
Good morning all!

I am impressed by moodeaudio and I am almost there to get it working Big Grin

I have a wifi dongle attached to my Rpi3 - it is well recognized and I am able to scan and select my network. However, after restart it is not activated, i.e. it is not used, even if I pull off the LAN cable and I set "wait for eth0" off.

Login onto the system, and I can see


Quote:pi@moode:~ $ iwconfig wlan0  
wlan0     unassociated  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated    
          Sensitivity:0/0   
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wpa_supi@moode:~ $ systemctl status wpa_supplicant
● wpa_supplicant.service - WPA supplicant
   Loaded: loaded (/lib/systemd/system/wpa_supplicant.service; enabled; vendor p
   Active: active (running) since Sat 2021-02-06 09:42:40 CET; 13min ago
 Main PID: 400 (wpa_supplicant)
    Tasks: 1 (limit: 2063)
   CGroup: /system.slice/wpa_supplicant.service
           └─400 /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
 
Feb 06 09:42:40 moode systemd[1]: Starting WPA supplicant...
Feb 06 09:42:40 moode wpa_supplicant[400]: Successfully initialized wpa_supplica
Feb 06 09:42:40 moode systemd[1]: Started WPA supplicant.
pi@moode:~ $ systemctl status dhcpcd
● dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/dhcpcd.service.d
           └─wait.conf
   Active: active (running) since Sat 2021-02-06 09:42:51 CET; 14min ago
 Main PID: 522 (dhcpcd)
    Tasks: 1 (limit: 2063)
   CGroup: /system.slice/dhcpcd.service
           └─522 /sbin/dhcpcd -q -w
 
Feb 06 09:42:51 moode dhcpcd[377]: eth0: leased 192.168.178.56 for 864000 seconds
Feb 06 09:42:51 moode dhcpcd[377]: eth0: adding route to 192.168.178.0/24
Feb 06 09:42:51 moode dhcpcd[377]: eth0: adding default route via 192.168.178.1
Feb 06 09:42:51 moode dhcpcd[377]: Too few arguments.
Feb 06 09:42:51 moode dhcpcd[377]: Too few arguments.
Feb 06 09:42:51 moode dhcpcd[377]: Failed to get unit file state for ntp.service: No such file or directory
Feb 06 09:42:51 moode dhcpcd[377]: forked to background, child pid 522
Feb 06 09:42:51 moode systemd[1]: Started dhcpcd on all interfaces.
Feb 06 09:43:25 moode dhcpcd[522]: eth0: fe80::5e49:79ff:fe37:47bc is reachable again
Feb 06 09:43:25 moode dhcpcd[522]: eth0: fe80::5e49:79ff:fe37:47bc is reachable again

So, apart from the "Too few arguments" error/warning, I cannot see anything wrong.

If I manually execute


Quote:pi@moode:~ $ sudo iwconfig wlan0 essid MyNet
pi@moode:~ $ sudo ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 169.254.238.30  netmask 255.255.0.0  broadcast 169.254.255.255
        inet6 fe80::a41f:e666:fe48:3cc7  prefixlen 64  scopeid 0x20<link>
        ether 3c:7c:3f:3c:64:1a  txqueuelen 1000  (Ethernet)
        RX packets 122  bytes 14743 (14.3 KiB)
        RX errors 0  dropped 317  overruns 0  frame 0
        TX packets 48  bytes 13069 (12.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Any idea why my wifi does not get automatically activated?

Thanks!
Max
Reply


Messages In This Thread
wlan not activated - by didomax - 02-06-2021, 09:00 AM
RE: wlan not activated - by Tim Curtis - 02-06-2021, 01:44 PM
RE: wlan not activated - by TheOldPresbyope - 02-06-2021, 02:36 PM
RE: wlan not activated - by Tim Curtis - 02-06-2021, 02:48 PM
RE: wlan not activated - by TheOldPresbyope - 02-06-2021, 02:58 PM
RE: wlan not activated - by didomax - 02-06-2021, 06:23 PM
RE: wlan not activated - by Tim Curtis - 02-06-2021, 07:54 PM
RE: wlan not activated - by TheOldPresbyope - 02-06-2021, 07:22 PM
RE: wlan not activated - by didomax - 02-06-2021, 07:52 PM

Forum Jump: