WiFi sometimes (50% times) doesn't start

Hi,

my wireless connection on BeagleBoard-xM rev. B, installed a minimal
Ubuntu 11.04 image
(ubuntu-11.04-r1-minimal-armel.tar.xz) doesn't always start
successfully. I'm using a WUSB54GC USB dongle. Restarting the network
interface with
sudo /etc/init.d/networking restart
solves the problem, but I have to do it manually. sometimes restarting
once is not enough. Sometimes I see a warning when powering BB-xM up
saying using /etc/init.d/networking restart is deprecated and can
cause some interfaces won't start properly (or something like that).
Can this be the cause?

Is there a way to ensure the network interface starts always? I'd like
to log in to BB-xM remotely, which is impossible at the moment.

Regards,
Tom

Hi,

my wireless connection on BeagleBoard-xM rev. B, installed a minimal
Ubuntu 11.04 image
(ubuntu-11.04-r1-minimal-armel.tar.xz) doesn't always start
successfully. I'm using a WUSB54GC USB dongle. Restarting the network
interface with
sudo /etc/init.d/networking restart
solves the problem, but I have to do it manually. sometimes restarting
once is not enough. Sometimes I see a warning when powering BB-xM up
saying using /etc/init.d/networking restart is deprecated and can
cause some interfaces won't start properly (or something like that).
Can this be the cause?

Looks like that might be a Ralink chipset, I'd really try a
later/newer kernel such as:

http://rcn-ee.net/deb/natty/v3.0.0-d4/install-me.sh

Is there a way to ensure the network interface starts always? I'd like
to log in to BB-xM remotely, which is impossible at the moment.

You could always have a late startup script/cron job that attempts to
ping your network gateway, on a failure restart the network.. Did
that with one of my external wireless nodes for awhile before
switching to an atheros chip-set that just seems to work better..

Regards,

Thanks Robert. Installing the newer kernel didn't help, it's still a
50/50 chance the net will be there after reboot. Now it seems a little
more predictable, though: if there is no network after reboot,
restarting network interface won't help - it's either there after
reboot, or I have to reboot again. So there is another interface not
going up randomly, not being restarted with network interface.

And yes, I'm using WUSB54GC v1 so it's Ralink. Are there any
particular Atheros USB dongles you would personally recommend?

For now, I'll look for a script I could use, hopefully it's easy to
find one with google :).

Regards,
Tom