Search what you want

Thursday, May 19, 2016

Enable wifi dongle TP-LINK TL-WN321G [intel Galileo]

show your info driver
1. $ lsmod | head -5
2. $ rmmod rt...
3. $ modprobe rt...
4. $ lsmod | grep iw
iwlagn                209751  0 
iwlcore               195714  1 iwlagn
mac80211              229095  2 iwlagn,iwlcore
cfg80211              134981  3 iwlagn,iwlcore,mac80211
5. driver you need  -> iwlagn
6. $ modprobe iwlagn
7. $ connmanctl
8. > technologies
9. > enable wifi
10. > scan wifi
11. > services

*AO Wired                ethernet_984fee054b31_cable
    ilkomstudent-ncc     wifi_002586ea01a2_696c6b6f6d73747564656e742d6e6363_managed_psk
    IPB-WIFI-STAFF       wifi_002586ea01a2_4950422d574946492d5354414646_managed_none
    IPB-WIFI-DOSEN       wifi_002586ea01a2_4950422d574946492d444f53454e_managed_none
    IPB-WIFI-MAHASISWA   wifi_002586ea01a2_4950422d574946492d4d4148415349535741_managed_none
    CCNA2                wifi_002586ea01a2_43434e4132_managed_psk
    PHYSICS              wifi_002586ea01a2_50485953494353_managed_psk
    LIBMATH              wifi_002586ea01a2_4c49424d415448_managed_psk
    SVK_Lt3              wifi_002586ea01a2_53564b5f4c7433_managed_psk
    WDSKP_E              wifi_002586ea01a2_5744534b505f45_managed_none
    KPAP_E               wifi_002586ea01a2_4b5041505f45_managed_none

12.> agent on
13. > config wifi_<MAC_a>_<MAC_h>_managed_psk --autoconnect yes --ipv4 dhcp
14. > connect wifi_0cd2926de3ae_486f6d65574c414e_managed_psk
15. enter your password wifi
16. > technologies
/net/connman/technology/wifi
030 
031      Name = WiFi
032 
033      Type = wifi
034 
035      Powered = True
036 
037      Connected = True
038 
039      Tethering = False
040 
041      TetheringIdentifier = Galileo
042 
043      TetheringPassphrase = passphrase

17. Connected = True
18. > quit
19. ifconfig
          wlp0s20f3u1 Link encap:Ethernet  HWaddr 00:25:86:EA:01:A2  
          inet addr:172.29.144.252  Bcast:172.29.144.255  Mask:255.255.255.0
          inet6 addr: fe80::225:86ff:feea:1a2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3285 (3.2 KiB)  TX bytes:11108 (10.8 KiB)
20. you have ip
21. 


referensi:
http://unix.stackexchange.com/questions/98611/testing-which-modules-are-unloaded-with-modprobe
https://software.intel.com/en-us/blogs/2014/04/25/wireless-galileo-on-yocto-linux-iot-devkit-image
https://wiki.archlinux.org/index.php/Connman
https://gist.github.com/kylemanna/6930087
http://www.tutorialspoint.com/unix_commands/modprobe.htm
https://software.intel.com/en-us/blogs/2014/04/25/wireless-galileo-on-yocto-linux-iot-devkit-image
https://communities.intel.com/thread/58940

No comments:

Post a Comment