Using Intel® Galileo as access point

Out of many cool things you could do with the Intel® Galileo development board is to use it as a wireless access point. Actually, I'm writing this blog connected to the internet via a Intel® Galileo powered access point.

Setup

The setup here is based on Yocto* Linux from Yocto* meta-intel-iot-devkit layer (see also Intel® IoT Developer Kit). The hw setup is identical to what is described in WiFi access on Intel® Galileo.

connman & wpa-supplicant

In order to support tethering we need to make sure various kernel flags are set as described in following README. Please also note the description on the modifications required for wpa-supplicant.

connmanctl

Once you have boot a kernel with this config you are fine to enable tethering. This is pretty easy and straightforward using the command line tool connmanctl (it's in the package connman-client in case you haven't installed it).


	connmanctl> tether wifi on <SSID to be exposed> <passphrase - at least 8 characters>

	

That's basically it. You might have to switch off / on WiFi to really expose your changes [took me some minutes to figure out ;-)]

connmanctl> disable wifi
connmanctl> enable wifi

If you want to have this setting permanent (i.e. automatic AP mode after reboot) you need to make sure you have following entry


$ cat /etc/connman/main.conf

[General]
PersistentTetheringMode = true

After that you should have a new hotspot powered by Galileo. Below screenshots from the Windows* 8 system I write this blog (chosen SSID: Galileo)

 

Intel® Galileo as Access Point 1

Intel® Galileo as Access Point 2

 

 

For more complete information about compiler optimizations, see our Optimization Notice.

9 comments

Top
Dallas P.'s picture

Matthias the README link to how to configure the kernel for tethering is broken.  Can you fix that link or point me somewhere else where the information resides?

Radu M.'s picture

Hi,

I'm kinda new to the board, but i can find my way through linux. I'd like to configure the Galileo board as an access point as a project for my university, and so far the things i see on this page i relatively simple. The problem is that the README file you linked for the flags which must be configured is not available. shoul i search in the /connman-stable section on github? or do you have them saved somewhere?

 

Thanks,
Radu

Matthias H. (Intel)'s picture

@Slavey K. - have never tried WiFi - WiFi; not sure whether it's supported. What definitely works exposing ethernet via WiFi AP such that you do have internet.

Matthias H. (Intel)'s picture

@Duarte F. - it happened to me that the key wasn't taken the first time but a 2nd time. Don't remember whether there was a message like that you have shown. If it reproducable occurs might be worth analyzing log data

Slavey K.'s picture

I am able to connect with the Galileo to another WIFI network and get access to Internet. If I enable tethering on the Galileo will I be able from it to access the Internet too? Is this something like dual Station + Access Point mode?

Regards,

  SK

Duarte F.'s picture

Hi, 

i followed the article and it works well, but i had a problem when i was trying to connect on galileo network! A error message appear saying "The network security ins´t correct , Please try again". But key that i had putted is the correct.  Do you Know what is the problem? or did you have the same result?

 

Thanks, best regards

Matthias H. (Intel)'s picture

Hi John,

sorry just saw your reply. By now you probably have found the Intel(R) IoT Developer Kit (Beta) image via https://software.intel.com/en-us/iot/getting-started on which you have the described connman.

John M.'s picture

Excellent article, this is exactly what I need. I really want to make my Galileo board into an access point, but I'm stuck on the README: "In order to support tethering we need to make sure various kernel flags..."

Current state: I've got Yocto Linux running from an SD card. I have Wifi working as a client, connecting to my network.

Question: To rebuild the connection manager, do I need a separate build environment? Or should I try and build it on the Galileo board? I'm new to this and some hand holding would be very helpful for me.

Thanks,
John

Add a Comment

Have a technical question? Visit our forums. Have site or software product issues? Contact support.