Hi
I am pasting the whole process I documented that worked for me:

For testing:

root@overo:~# iwconfig wlan0 essid any

root@overo:~# ifconfig wlan0 up

root@overo:~# iwlist wlan0 scan

 

Now configuration:

root@overo:~# cat >> /etc/network/interfaces

allow-hotplug wlan0

auto wlan0

iface wlan0 inet dhcp

        pre-up /sbin/iwconfig wlan0 essid any

        wireless_mode managed

(pressed ctrl C to exit this mode)

Remove networkmanager: (I had to remove it for wifi to work)

root@overo:~# opkg remove networkmanager --force-depends

root@overo:~# ifdown wlan0

root@overo:~# ifup wlan0

 

I entered: ping google.com to check if you have a connection.

root@overo:~# ping google.com

If there is no connection you can try bringing network down and up again.

This will give you information regarding your connections:

root@overo:~# ifconfig –a

For more information:

http://wiki.gumstix.org/index.php?title=Overo_Wifi

The problem for me is that this way wifi does not start by itself on boot, so I tried the following:

1)

Creating the file : "/etc/modprobe.conf" with the content:

options libertas_sdio helper_name="sd8686_helper.bin"

options libertas_sdio fw_name="sd8686.bin"

 

This only works if I connect through serial as usual, and then type "boot", and then it works automatically.

 

2)

Add a script into /etc/init.d/, but first change directory:

cd /etc/init.d/

 

I added a file using "nano myInit.sh"

Then added the following text to the file:

#!/bin/sh

Ifdown wlan0

Ifup wlan0

 

This script should be marked as executable:

chmod +x myInit.sh

 

Your next step is to add a symlink to this script from /etc/rc5.d/

First change directory "cd /etc/rc5.d/"

Then type: "ln -s ../init.d/myInit.sh S96myInit"

 

S: basically says to run a script on startup,

96: is for the ordering of when the scripts are run.

myInit: is a name for our own reference.

 

In order to check that you don't use the same ordering number twice, check using this command:

"ls –la" while in the /etc/rc5.d/ directory

The highest number script which is generally pre-installed on a basic Gumstix Buildroot or OE system is S90, but better check!

 

To check that it works beforehand, type:

/etc/rc5.d/S96myInit

 

For more information:

http://www.iualdii.net/articles/gumstix-boot-scripts



On 20 September 2011 03:08, Brett Hemes <brett.hemes@gmail.com> wrote:

I had some similar issues and was able to work through them.  What does your /etc/network/interfaces file look like (any uncommented wlan0 entries)?

Brett


On Sep 19, 2011 5:58 PM, "joncoops" <joncoops@yahoo.com> wrote:
>
>
> I am trying to get the WiFi working on my Overo Fire follwoing the
> instructions posted at http://wiki.gumstix.org/index.php?title=Overo_Wifi
> and I am getting problems at boot. Once I remove networkmanager the wlan0
> interface does not seem to come up until some time after the boot sequence
> has completed and as a result several of the boot steps fail. I can get the
> WiFi to work if I restart the network after boot /etc/init.d/networking
> restart although it sometimes takes a couple of attempts. I am assuming the
> hardware is good, but that there is something flaky with the kernel or
> driver, any pointers on debuging or fixing the problem would be much
> appreciated.
>
> Below are the boot errors I am seeing.
>
>
> [snip]
> usbcore: registered new interface driver option
> option: v0.7.2:USB Driver for GSM modems
> lib80211: common routines for IEEE802.11 drivers
> cfg80211: Calling CRDA to update world regulatory domain
> libertas_sdio: Libertas SDIO driver
> libertas_sdio: Copyright Pierre Ossman
> Remounting root file system...
>
> udevadm settle - timeout of 8 seconds reached, the event queue contains:
>
> /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0
> (639)
>
> /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p1
> (640)
>
> /sys/devices/platform/omap/omap_hsmmc.0/mmc_host/mmc0/mmc0:b368/block/mmcblk0/mmcblk0p2
> (641)
>
> /sys/devices/platform/omap/omap_hsmmc.1/mmc_host/mmc1/mmc1:0001/mmc1:0001:1
> (644)
> Caching udev devnodes
> Populating dev cache
> NET: Registered protocol family 10
> ALSA: Restoring mixer settings...
> Cleaning: /etc/network/run/ifstate.
> Configuring network interfaces... Error for wireless request "Set Encode"
> (8B2A) :
>    SET failed on device wlan0 ; No such device.
> Failed to bring up wlan0.
> done.
> Starting portmap daemon: portmap.
> [snip]
> ...
> [snip]
> Starting GPE display manager: gpe-dm
>
> .---O---.
> |       |                  .-.           o o
> |   |   |-----.-----.-----.| |   .----..-----.-----.
> |       |     | __  |  ---'| '--.|  .-'|     |     |
> |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
> '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
>                -'  |
>                '---'
>
> The Angstrom Distribution overo ttyO2
>
> Angstrom 2011.03 overo ttyO2
>
> overo login: libertas: 00:19:88:3e:7e:d2, fw 9.70.7p0, cap 0x00000303
> libertas_sdio mmc1:0001:1: wlan0: Features changed: 0x00004800 -> 0x00004000
> libertas: wlan0: Marvell WLAN 802.11 adapter
> libertas: assoc: bss   (null) not in scan results
> ADDRCONF(NETDEV_UP): wlan0: link is not ready
>
> --
> View this message in context: http://old.nabble.com/WiFi-problems-tp32473984p32473984.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users