Wi-Fi (or WiFi) is a local area wireless computer networking technology that allows electronic devices to connect to the network, mainly using the 2.4 gigahertz (12 cm) UHF and 5 gigahertz (6 cm) SHF ISM radio bands. Wikipedia
Intel Edison Features
Wi-Fi peer-to-peer connectivity with Wi-Fi Direct, Allows two Intel® Edison devices (or one Intel® Edison device and a smartphone) to create a direct Wi-Fi connection to each other without an access point.
Wi-Fi multirole, Allows a connection to an access point simultaneously with Wi-Fi Direct operation.
Wi-Fi IBSS mode, Allows creation of multinode ad hoc networks that contain no access point.
rfkill is a small userspace tool to query the state of the rfkill switches, buttons and subsystem interfaces. Some devices come with a hard switch that lets you kill different types of RF radios: 802.11 / Bluetooth / NFC / UWB / WAN / WIMAX / FM. Some times these buttons may kill more than one RF type. The Linux kernel rfkill subsystem exposes these hardware buttons and lets userspace query its status and set its status through a /dev/rfkill. Given that at times some RF devices do not have hardware rfkill buttons rfkill the Linux kernel also exposes software rfkill capabilities that allows userspace to mimic a hardware rfkill event and turn on or off RF. Rfkill Homepage
edison@ubilinux:~$suPassword:edisonroot@ubilinux:/home/edison#cdroot@ubilinux:~#nano/etc/network/interfaces# interfaces(5) file used by ifup(8) and ifdown(8)autoloifaceloinetloopback#auto usb0#iface usb0 inet static# address 192.168.2.15# netmask 255.255.255.0autowlan0ifacewlan0inetdhcp# For WPAwpa-ssidINFINITUMxxxxwpa-pskyyyy# For WEP#wireless-essid itesm#wireless-mode Managed#wireless-key s:""root@ubilinux:~#ifupwlan0root@ubilinux:~#reboot<rebootyourboard,signinandbecomeroot>
Usage Models, Yocto
Default Configuration
root@Edison:~#configure_edison--wifiConfigureEdison:WiFiConnectionroot@edison:~#ifconfigloLinkencap:LocalLoopbackinetaddr:127.0.0.1Mask:255.0.0.0...usb0Linkencap:EthernetHWaddr5a:2a:15:c5:5f:7binetaddr:192.168.2.15Bcast:192.168.2.255Mask:255.255.255.0...wlan0Linkencap:EthernetHWaddr78:4b:87:a6:cf:5einetaddr:192.168.1.68Bcast:0.0.0.0Mask:255.255.255.0root@edison:~#ping-c38.8.8.8PINGgoogle.com (173.194.115.196): 56 data bytes64bytesfrom173.194.115.196:seq=0ttl=58time=28.487ms64bytesfrom173.194.115.196:seq=1ttl=58time=29.391ms64bytesfrom173.194.115.196:seq=2ttl=58time=29.773ms---google.compingstatistics---3packetstransmitted,3packetsreceived,0%packetlossround-tripmin/avg/max=28.487/29.217/29.773msroot@edison:~#
---configure_edison.orig+++configure_edison@@-60,6+60,15@@ wep_key0="%s"}''' + WEP_26HEX = '''+network={+ssid="%s"+%s+key_mgmt=NONE+group=WEP104WEP40+wep_key0=%s+}+''' WPAPSK = '''network={ ssid="%s"@@-359,10+368,13@@returnwpa_templates.OPEN% (ssid, "scan_ssid=1")elifsecurity==1:password=''-whilelen(password) !=5andlen(password) !=13:-print"Password must be either 5 or 13 characters."+whilelen(password) !=5andlen(password) !=13andlen(password) !=26:+print"Password must be either 5 or 13 ascii characters or 26 hex."password=getNetworkPassword()-returnwpa_templates.WEP% (ssid, "scan_ssid=1",password)+iflen(password) ==26:+returnwpa_templates.WEP_26HEX% (ssid, "scan_ssid=1",password)+else:+returnwpa_templates.WEP% (ssid, "scan_ssid=1",password)elifsecurity==2:password=''whilelen(password) < 8 or len(password) > 63:@@-384,10+396,13@@returnwpa_templates.OPEN% (ssid, "")elifnetwork_map[ssid]=="WEP":password=''-whilelen(password) !=5andlen(password) !=13:-print"Password must be either 5 or 13 characters."+whilelen(password) !=5andlen(password) !=13andlen(password) !=26:+print"Password must be either 5 or 13 ascii characters or 26 hex."password=getNetworkPassword()-returnwpa_templates.WEP% (ssid, "",password)+iflen(password) ==26:+returnwpa_templates.WEP_26HEX% (ssid, "",password)+else:+returnwpa_templates.WEP% (ssid, "",password)elifnetwork_map[ssid]=="WPA-PSK":password=''whilelen(password) < 8 or len(password) > 63:@@-409,10+424,13@@returnwpa_templates.OPEN% (ssid, "scan_ssid=1")elifprotocol=="WEP":password=changewifi[2]-iflen(password) !=5andlen(password) !=13:-print"Password must be either 5 or 13 characters."+iflen(password) !=5andlen(password) !=13andlen(password) !=26:+print"Password must be either 5 or 13 ascii characters or 26 hex."returnNone-returnwpa_templates.WEP% (ssid, "scan_ssid=1",password)+iflen(password) ==26:+returnwpa_templates.WEP_26HEX% (ssid, "scan_ssid=1",password)+else:+returnwpa_templates.WEP% (ssid, "scan_ssid=1",password)elifprotocol=="WPA-PSK":password=changewifi[2]iflen(password) < 8 or len(password) > 63: