First post here and a new comer to OE and loving it. Looking forward to the new release once Eden comes out.
I'm having trouble with getting the Wifi working however and it would be nice to get it to work. I see that OE uses Connman to manage the network connections which I am not familiar with coming from Ubuntu. So I'm looking for some assistance in trying to figure out what is going on.
My system is an older Intel Core2 duo with a new GT220 graphics card and 2TB HDD. It has onboard GB Ethernet which is currently plugged in as the wireless is not operational. The Wireless card is a draft-N TP-Link WN951N which has had good support under Linux in my experience (linux-wless.passys.nl/query_part.php?brandname=TP-Link). Also the build I am using is the official 1.02 release.
SSH-ing into the box running 'ifconfig' I have interfaces eth0, wlan0 and lo. I would assume this means that all drivers are present and functioning correctly. Normally I would then run 'iwconfig' and manually set all the wireless parameters but that is not present in OE. I read the network init script and see that it creates a profile at '/var/lib/connman/default.profile' which seems to be fine. I've even taken that file and edited out the unneeded information and created an override config at '/storage/.config/connman.profile' but that hasn't worked either.
according to /var/log/messages you have wlan0 and to be honest all looks normal, so head to the OE configuration addon under XBMC settings and set networking to use WLAN, wlan0 and enter your SSID/passphrase details. Then reboot making sure the Ethernet cable is NOT connected - connman has a hardcoded preference for Ethernet so WLAN will never become active if an Ethernet connection is present
Thanks for the tips. I have tried all sorts of combinations in the OE network settings and always try with the eth0 unplugged as I had heard that connman will default to wired connection if available but I then am forced to connect it after a reboot when the wireless does not work as I don't know how to access console without network access.
openelec user.info kernel: [ 6.316785] ADDRCONF(NETDEV_UP): wlan0: link is not ready
As this seems to be the last line with wlan0 in it. It would be good to see more of a debug log from connman to see what problems it is having.
Ok I figured out how to enable a debug console in OE so I can access it without network access. Note that it would be good to include a boolean variable in the OE network settings to start connman with the debug variable on which could be checked in the init script as I found that something keeps respawning connman when you use the kill command from the console! I have an edited debug log from connman here: pastebin.com/XDD5ptWn
This time I notice that when I kill the connman process there is an invalid pointer error.
The NETDEV_UP message simply means the interface is in an UP state (it's active) but hasn't received an IP yet. The wrong pointer message normally occurs when it cannot find the interface specified. Can you paste the following after waiting 60 seconds from a cold boot: