13 Replies Latest reply on Mar 25, 2014 1:40 PM by shadowrecon

    Intel 6205 mPCIe wifi card

    shadowrecon

        I have spent the better part of a week wasted trying to get my wifi card to work with the slightest bit of hope of an ip address coming up or even the ability to scan for networks. If someone has ad the same issues can you please direct me in the right direction.

       

      Current hardware:

           * Intel Galileo

           * Intel 6205 wifi W/antenna connected

           * PuTTY SSH connection through static ip setup in Arduino sketch

       

       

      Ive followed these guides with absolutely no luck.

           Intel Galileo Meets Wireless - Malinov Family Web Presence

       

       

      EDIT**

          From what im finding out is the wlan0 driver is not loading the driver for the intel 6205 wifi card. i have tried updated firmware and went through the paces time and time again. what are some Linux commands i can use to see active drivers?

       

      EDIT*** here is a terminal print out

      login as: root
      root@clanton:~# iwlist scan
      lo        Interface doesn't support scanning.
      
      
      eth0      Interface doesn't support scanning.
      
      
      root@clanton:~# iwconfig wlan0 essid BOB
      Error for wireless request "Set ESSID" (8B1A) :
          SET failed on device wlan0 ; No such device.
      root@clanton:~# cd ..
      root@clanton:/home# cd ..
      root@clanton:/# ls
      bin         etc         lost+found  opt         sketch      usr
      boot        home        media       proc        sys         var
      dev         lib         mnt         sbin        tmp
      root@clanton:/# cd lib/firmware/
      root@clanton:/lib/firmware# ls
      LICENCE.iwlwifi_firmware  iwlwifi-135-6.ucode       iwlwifi-6000g2a-6.ucode
      root@clanton:/lib/firmware# wpa_passphrase BOB << EOF > /etc/wpa_supplicant.conf
      > livefast
      > EOF
      root@clanton:/lib/firmware# cd ..
      root@clanton:/lib# cd ..
      root@clanton:/# ls
      bin         etc         lost+found  opt         sketch      usr
      boot        home        media       proc        sys         var
      dev         lib         mnt         sbin        tmp
      root@clanton:/# cd etc/network.
      -sh: cd: etc/network.: No such file or directory
      root@clanton:/# cd etc/network/
      root@clanton:/etc/network# ls
      if-down.d       if-post-down.d  if-pre-up.d     if-up.d         interfaces
      root@clanton:/etc/network# vi interfaces
      # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
      
      
      # The loopback interface
      auto lo
      iface lo inet loopback
      
      
      # Wireless interfaces
      auto wlan0
      iface wlan0 inet dhcp
              wireless_mode managed
              wireless_essid any
              wpa-driver wext
              wpa-conf /etc/wpa_supplicant.conf
      
      
      iface atml0 inet dhcp
      
      
      # Wired or wireless interfaces
      auto eth0
      iface eth0 inet dhcp
      iface eth1 inet dhcp
      
      
      # Ethernet/RNDIS gadget (g_ether)
      # ... or on host side, usbnet and random hwaddr
      root@clanton:/etc/network# clear
      root@clanton:/etc/network# /etc/init.d/networking restart
      Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
      Reconfiguring network interfaces...
      ifdown: interface wlan0 not configured
      ifdown: interface eth0 not configured
      Successfully initialized wpa_supplicant
      Could not read interface wlan0 flags: No such device
      WEXT: Could not set interface 'wlan0' UP
      wlan0: Failed to initialize driver interface
      ifconfig: SIOCGIFFLAGS: No such device
      udhcpc (v1.20.2) started
      
        • 2. Re: Intel 6205 mPCIe wifi card
          Intel_Jesus

          Hi shadowrecon,

           

          I am using the Intel Centrino N6205 with no issues. If you run the following command you can see that the driver was loaded correctly

          dmesg | grep 6205
          

          [   13.158660] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0

           

          Following Sergey's blog I ran the following command, replacing MyWiFi with my network SSID. In the next line with ">" I typed my password, hit enter. Then in the new line ">" I typed "EOF"

          wpa_passphrase MyWiFi << EOF > /etc/wpa_supplicant.conf
          

           

          I also added auto wlan0 to my /etc/network/interfaces file.

          Rebooted my board and it connected to my network automatically.

           

          You can also use the Wi-Fi examples in the IDE to connect to WPA,

          WEP or scan for networks.

           

          Regards,

          Intel_JEspinoza

          1 of 1 people found this helpful
          • 3. Re: Intel 6205 mPCIe wifi card
            shadowrecon

                 Thank you for your reply. After running the command "dmesg | grep 6205" the terminal returned nothing. just a new line.


            root@clanton:~# dmesg | grep 6205
            root@clanton:~#
            
            

             

                  I figured that would probably be a good thing to get working first since it should return the same value for almost any Intel Galileo w/Intel 6205 WiFi.

             

            looking at the function list in the bin folder these are the only functions i see:

             

            ash                  gunzip               pidof.sysvinit
            bash                 gzip                 ping
            busybox              hostname             ping6
            cat                  ionice               ps
            chgrp                iostat               pwd
            chmod                ip                   rm
            chown                kill                 rmdir
            cp                   ln                   sed
            cpio                 login                setserial
            cttyhack             login.shadow         sh
            date                 ls                   sleep
            dd                   mkdir                stty
            df                   mknod                sync
            dmesg                mktemp               tar
            dnsdomainname        more                 touch
            dumpkmap             mount                true
            echo                 mountpoint           umount
            egrep                mountpoint.sysvinit  uname
            false                mv                   usleep
            fgrep                netstat              vi
            fsync                nice                 zcat
            grep                 pidof
            

             

             

              I dont see grep but i do see dmesg i understand the or "|" operator but maybe grep could detect the device. what other commands could i run to get a more accurate picture of what is going on in the system. I have hardly any linux knowledge but my way around the terminal for programming in "c" because of a class i took.

            • 4. Re: Intel 6205 mPCIe wifi card
              Intel_Jesus

              Are you booting from the Linux Image for Galileo on the SD card?

               

              Regards,

              Intel_JEspinoza

              • 5. Re: Intel 6205 mPCIe wifi card
                shadowrecon

                sd image.

                I don't know exactly how to determine if it is booting from the sd card, but im sure it as as it doesn't forget sketches.

                 

                Ive uploaded a complete boot output from the dmesg command.

                 

                On line 755 it returned

                [   12.650252] Intel(R) Wireless WiFi driver for Linux, in-tree:
                

                     does this mean the driver was loaded along with the device?

                • 6. Re: Intel 6205 mPCIe wifi card
                  Intel_Jesus

                  Hi shadowrecon,

                   

                  Comparing your dmesg file with my dmesg everything looks the same except for the last lines. It appears that your Wireless Card is not being detected by Galileo. Please make sure your card is properly installed. Take a look at this document for reference (https://communities.intel.com/docs/DOC-22470)

                   

                  Here are the last lines from my file that are different from you dmesg:

                  [   12.611380] Intel(R) Wireless WiFi driver for Linux, in-tree:
                  [   12.617183] Copyright(c) 2003-2012 Intel Corporation
                  [   12.623438] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
                  [   12.629571] iwlwifi 0000:01:00.0: enabling bus mastering
                  [   12.630276] iwlwifi 0000:01:00.0: irq 45 for MSI/MSI-X
                  [   12.722659] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1
                  [   13.013597] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled
                  [   13.019589] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
                  [   13.025940] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
                  [   13.032846] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TESTMODE disabled
                  [   13.039704] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_P2P disabled
                  [   13.045653] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0
                  [   13.067601] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
                  [   13.164077] Bluetooth: Core ver 2.16
                  [   13.172140] NET: Registered protocol family 31
                  [   13.176641] Bluetooth: HCI device and connection manager initialized
                  [   13.200900] Bluetooth: HCI socket layer initialized
                  [   13.205913] Bluetooth: L2CAP socket layer initialized
                  [   13.220417] Bluetooth: SCO socket layer initialized
                  [   13.244243] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
                  [   13.265653] usbcore: registered new interface driver btusb
                  [   13.358077] usbcore: registered new interface driver usbhid
                  [   13.363835] usbhid: USB HID core driver
                  [   17.039733] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
                  [   17.053435] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
                  [   17.489886] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
                  [   17.502329] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0
                  [   27.178629] eth0: device MAC address 00:13:20:ff:19:b9
                  [   37.883401] NET: Registered protocol family 10
                  [   37.951160] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
                  [   37.958615] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
                  

                   

                  Regards,

                  Intel_JEspinoza

                  • 7. Re: Intel 6205 mPCIe wifi card
                    shadowrecon

                    Thank you for that information. I will try to determine why the Galileo is not detecting the wifi card as it is properly inserted.

                     

                    Would linux detect the wifi card properly if it was not loading the driver? or would the driver even matter in this instance since its not detecting that anything is present in the mPCIe slot?

                    • 8. Re: Intel 6205 mPCIe wifi card
                      Intel_Jesus

                      The driver is there /lib/firmware/iwlwifi-6000g2a-6.ucode

                      It might be that your card is defective. Just to be sure, try following

                      Section III: Uploading and Testing Wireless Card in https://communities.intel.com/docs/DOC-22470

                      To make sure your card is working properly.

                       

                      Regards,

                      Intel_JEspinoza


                      • 9. Re: Intel 6205 mPCIe wifi card
                        shadowrecon

                        Ive tried that example with output, instead it says no wifi card is present. Maybe i should try placing the wifi card in my laptop and see if it even works at all.

                        • 10. Re: Intel 6205 mPCIe wifi card
                          Intel_Jesus

                          Yes, i would recommend trying the card in another device. This way we can know if its the card or the board.

                           

                          Regards,

                          Intel_JEspinoza

                          • 11. Re: Intel 6205 mPCIe wifi card
                            shadowrecon

                            Ive just went ahead and ordered a new intel 135n card to see if it will work. Thinking back i can see how it could be a bad card since ive tried everything under the sun when it should of just worked after running the arduino sketch in the first place.

                            • 12. Re: Intel 6205 mPCIe wifi card
                              Intel_Jesus

                              Post back your results when you receive your Intel® Centrino® Wireless-N 135. Or any results you get from trying the Intel® Centrino® Advance-n 6205 on a different device. I would recommend returning your N6205 to the reseller if you believe it’s defective.

                               

                              Regards,

                              Intel_JEspinoza

                              • 13. Re: Intel 6205 mPCIe wifi card
                                shadowrecon

                                So yesterday i received my new intel 135n wifi card plugged it in and ran the example sketch scanning for networks and it worked. Thanks for the help you helped me narrow this problem down and solve it.