I'm using a Intel® Centrino® Advanced-N 6205 to create an ad-hoc network on a Intel Galileo Gen 2.

 

First list all network related stuff:

ifconfig -a

enp0s20f6 Link encap:Ethernet  HWaddr 98:4F:EE:05:29:52
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1092 (1.0 KiB)
          Interrupt:51 Base address:0x8000


enp0s20f6:avahi Link encap:Ethernet  HWaddr 98:4F:EE:05:29:52
          inet addr:169.254.196.186  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Interrupt:51 Base address:0x8000


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:720 errors:0 dropped:0 overruns:0 frame:0
          TX packets:720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:52480 (51.2 KiB)  TX bytes:52480 (51.2 KiB)


wlp1s0    Link encap:Ethernet  HWaddr 44:85:D3:01:B4:07
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

We will need the wlp1s0

 

Check which card you are using:

lspci -k | grep -A 3 -i "network"

 

01:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235
        Subsystem: Intel Corporation Centrino Advanced-N 6235 AGN
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

 

My Intel® Centrino® Advanced-N 6205 card was software blocked, so:

rfkill list

0: hci0: bluetooth
        Soft blocked: yes
        Hard blocked: no
1: phy0: wlan
        Soft blocked: yes
        Hard blocked: no

 

rfkill unblock wlan

[  817.137644] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
root@galileo:~# [  817.153309] iwlwifi 0000:01:00.0: Radio type=0x1-0x0-0x1
[  817.612344] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
[  817.627839] iwlwifi 0000:01:00.0: Radio type=0x1-0x0-0x1
[  817.905499] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[  817.919048] wlp1s0: Trigger new scan to find an IBSS to join
[  817.983868] iwlwifi 0000:01:00.0: failed to remove IBSS station 00:00:00:00:0             0:00

 

root@galileo:~# ifconfig wlp1s0 down

root@galileo:~# iwconfig wlp1s0 mode ad-hoc

root@galileo:~# iwconfig wlp1s0 essid GalileoNetwork

root@galileo:~# iwconfig wlp1s0 channel 10

root@galileo:~# ifconfig wlp1s0 192.168.1.2 netmask 255.255.255.0 up

[  867.448653] iwlwifi 0000:01:00.0: L1 Disabled; Enabling L0S
[  867.462518] iwlwifi 0000:01:00.0: Radio type=0x1-0x0-0x1
[  867.749821] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
[  867.767091] wlp1s0: Trigger new scan to find an IBSS to join
root@galileo:~# [  872.945639] wlp1s0: Trigger new scan to find an IBSS to join
[  874.789468] wlp1s0: Creating new IBSS network, BSSID ba:dc:66:9a:d1:68
[  874.800888] iwlwifi 0000:01:00.0: Unable to find TIM Element in beacon
[  874.808718] iwlwifi 0000:01:00.0: Unable to find TIM Element in beacon
[  874.821901] IPv6: ADDRCONF(NETDEV_CHANGE): wlp1s0: link becomes ready

 

This should be visible.

GalileoNetwork.PNG