Random startup time with Wifi

Hi, I’m new here.

I have a problem with my Raspberry pi 2 and the Musicbox (0.5.4 beta) startup time. If I plug the Edimax Wifi dongle instead LAN the system needs a lot of time to run around 50 and 240 seconds, or more, randomly. Sometimes It allows me acces to the web interface but doesn’t show any to browse and the volume it’s in 0, and needs to wait a lot to be functional or never start. If I connect the raspberry over ethernet it only needs 40 seconds and it’s ready for all.

The Raspberry it’s literraly located next to the router. I have a shared SMB folder of my computer, and desactivated

#scan_once = false
scan_always = false

What is wrong here?

I’m pretty noob with Linux but I can try what you tell me with WinSCP and Putty.

The OS it’s installed in a Toshiba 8GB MicroSDHC Class 10 30MB/s . I feed the raspberry with a 5V2A charger of course.

1.000.000 of THANKS

Generally its expected that you’d leave your pimusicbox always on and the
startup time, while potentially much longer than necessary, isn’t
particularly important. If there is an issue where the connection never
becomes available or shows no media then that’s something we could
investigate. The first step would be examining the boot log files for any
suspicious error messages.

Hi kingnosticks. I’ve benn looking around of the var/log folder and there are a lot of files.

What files should I look?

For example. Monit.log has a few errors:

[UTC Mar 13 08:18:45] info     : Starting monit daemon
[UTC Mar 13 08:18:45] info     : Monit start delay set -- pause for 300s
[UTC Mar 13 08:18:45] error    : State file '/var/lib/monit/state': Unable to read magic
[UTC Mar 13 08:18:42] info     : Starting monit daemon
[UTC Mar 13 08:18:42] info     : Monit start delay set -- pause for 300s
[UTC Mar 13 08:18:42] error    : State file '/var/lib/monit/state': Unable to read magic
[UTC Mar 13 21:14:18] info     : 'system_MusicBox' Monit started

Inside dmesg

    [    3.453615] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:16:a8:13
[    3.549039] usb 1-1.3: new high-speed USB device number 4 using dwc_otg
[    3.670645] usb 1-1.3: New USB device found, idVendor=7392, idProduct=7811
[    3.679994] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.692330] usb 1-1.3: Product: 802.11n WLAN Adapter
[    3.699921] usb 1-1.3: Manufacturer: Realtek
[    3.706700] usb 1-1.3: SerialNumber: 00e04c000001
[    4.329258] udevd[172]: starting version 175
[    4.671071] bcm2708_i2c_init_pinmode(1,2)
[    4.724207] bcm2708_i2c_init_pinmode(1,3)
[    4.750154] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[    5.098627] random: nonblocking pool is initialized
[    5.111321] pcm512x 1-004d: Failed to reset device: -5
[    5.119365] pcm512x: probe of 1-004d failed with error -5
[    5.128317] pcm512x 1-004c: Failed to reset device: -5
[    5.136839] pcm512x: probe of 1-004c failed with error -5
[    5.186690] usbcore: registered new interface driver rtl8192cu
[    6.696027] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    7.310153] NET: Registered protocol family 10
[    7.369151] bcm2708 watchdog, heartbeat=10 sec (nowayout=0)
[   11.990220] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   12.244368] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   12.255320] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

In other files

Configuring network interfaces...FATAL: Module p80211 not found.
Fri Mar 13 08:18:29 2015: Failed to load p80211.ko.




Error for wireless request "Set Power Management" (8B2C) :

As I said, sometimes it boots fast but other times needs a lot of time or directly doesn’t start the music service. Empty folders and 0db volume.

I understand that the raspberry it’s a low power board, perfect for run 24h, but I want to make a portable audio device with my boombox.

Anyway, thank you again for your help.