Hi everybody,
I'm having an issue connecting to wifi using an Intel Advanced-N N6235. Regarding my use case, I was originally trying to get it working on a Yocto image with Java preinstalled found here: Intel-NTU Connected Context Computing Center. After a while, I figured that the image may have been the issue, so I switched back to the Intel supplied Yocto image, but I have not been able to get it to work on that either.
I have been following Sergey's guide (Intel Galileo Meets Wireless - Malinov Family Web Presence), and everything seemed to go well until I tried connecting.
Here is my dmesg output for iwlwifi and wlan0, and ifconfig:
root@clanton:~# dmesg | grep -e 'iwlwifi' -e 'wlan0'
[ 13.804085] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[ 13.810331] iwlwifi 0000:01:00.0: enabling bus mastering
[ 13.810920] iwlwifi 0000:01:00.0: irq 45 for MSI/MSI-X
[ 13.917544] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1
[ 14.202763] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
[ 14.208753] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[ 14.215050] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[ 14.221956] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE disabled
[ 14.228815] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_P2P disabled
[ 14.234772] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6235 AGN, REV=0xB0
[ 14.253130] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
[ 18.455170] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
[ 18.467643] iwlwifi 0000:01:00.0: Radio type=0x2-0x1-0x0
[ 18.905993] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
[ 18.918477] iwlwifi 0000:01:00.0: Radio type=0x2-0x1-0x0
[ 19.401464] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 22.781474] wlan0: authenticate with d8:a2:5e:8d:b9:7e
[ 22.812497] wlan0: send auth to d8:a2:5e:8d:b9:7e (try 1/3)
[ 22.820822] wlan0: authenticated
[ 22.825812] wlan0: waiting for beacon from d8:a2:5e:8d:b9:7e
[ 27.838154] wlan0: authenticate with d8:a2:5e:8d:b9:7e
[ 27.847857] wlan0: send auth to d8:a2:5e:8d:b9:7e (try 1/3)
[ 27.854056] wlan0: deauthenticating from d8:a2:5e:8d:b9:7e by local choice (reason=3)
[ 32.031058] wlan0: authenticate with d8:a2:5e:8d:b9:7e
[ 32.040712] wlan0: send auth to d8:a2:5e:8d:b9:7e (try 1/3)
[ 32.049538] wlan0: authenticated
[ 32.054588] wlan0: waiting for beacon from d8:a2:5e:8d:b9:7e
[ 32.130264] wlan0: associate with d8:a2:5e:8d:b9:7e (try 1/3)
[ 32.138861] wlan0: RX AssocResp from d8:a2:5e:8d:b9:7e (capab=0x411 status=0 aid=1)
[ 32.171852] wlan0: associated
[ 32.175045] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
root@clanton:~# ping google.com
ping: bad address 'google.com'
I found another forum post which had a similar deauthenticating issue here (wifi not working), and as a result tried connecting with security on and off, and checked the wpa_supplicant.conf file to no avail.
wlan0 Link encap:Ethernet HWaddr C4:D9:87:34:33:11
inet6 addr: fe80::c6d9:87ff:fe34:3311/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:43 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10266 (10.0 KiB) TX bytes:1142 (1.1 KiB)
One other thing I found which I think probably is relevant is the fact that ifdown throws this error. It may be because it is not connected, but I thought I'd add it in case it is important:
root@clanton:~# ifdown wlan0
ifdown: interface wlan0 not configured
root@clanton:~# ifup wlan0
udhcpc (v1.20.2) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
root@clanton:~# ifdown wlan0
ifdown: interface wlan0 not configured
If anyone could provide some help, that would be greatly appreciated. Thanks!
Editing this in as an addendum: I tried running iwconfig after ifup, it shows the network:
root@clanton:/etc/init.d# iwconfig
wlan0 IEEE 802.11abgn ESSID:"galileo"
Mode:Managed Frequency:2.462 GHz Access Point: D8:A2:5E:8D:B9:7E
Bit Rate=6 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=70/70 Signal level=-29 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
lo no wireless extensions.
eth0 no wireless extensions.
However, running a ping command to google or another device on the network fails. If I connect with other devices, I am able to access the internet, so I know it's not an issue with the network