After some search, I discovered that my problem could be related to this one, so to this and finally to this: "ar9331's usb stability issue". In few words, it could be a hardware problem related to the AR9331 chip at all.
I tried to upgrade from hotplug2 to standard udev at Openwrt as said here by sonnyyu but it did not solve the problem.
I report what I made by following the sonnyyu' istructions (not at all):
1. Access the Linino shell (through ssh):
ssh root@arduino.local
2. Run the command:
opkg update
3. Run the command:
opkg remove hotplug2
4. Run the command (I use the vim editor, you can use the nano):
vim /etc/init.d/boot
5. Even if sonnyyu stated the following code
#killall -q hotplug2
#[ -x /sbin/hotplug2 ] && /sbin/hotplug2 --override --persistent \
# --set-rules-file /etc/hotplug2.rules \
#--set-coldplug-cmd /sbin/udevtrigger \
#--max-children 1 >/dev/null 2>&1 &
I didn't found the above code in the '/etc/init.d/boot' file. So, I didn't do anything with that since I thought sonnyyu wanted to mean to comment out it, if present.
6. Run the command:
reboot
Note: After running the above command I was logget out from the shell. I waited quite a while but I can no longer access the shell so I removed and restored power to the Arduino Yun.
7. Run the command:
vim /etc/init.d/udev
8. Add the following code to the '/etc/init.d/udev' file:
#!/bin/sh /etc/rc.common
START=03
start () {
udevd --daemon
}
stop() {
killall -9 udevd
}
9. Run the command:
chmod 755 /etc/init.d/udev
10. Run the command:
/etc/init.d/udev enable
11. Run the command:
/etc/init.d/udev start