Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9876 Discussions

Intel Edison as a Wi-Fi hotspot using external USB to Ethernet adapter and WLAN?

MNova2
Novice
1,908 Views

Hi,

I am wondering if it is possible to make a Wi-Fi hotspot from Intel Edison with the access to the Internet? I would use AX88772B based USB to Ethernet link to provide "eth0" interface on Edison. This interface would be connected to the Internet via router. Then I would configure the wlan0 to Access mode to allow the users to connect to it. From purely technical view, is there any big obstacle in configuring Intel Edison to do a bridge between eth0 to wlan0 interfaces before I start experimenting with it? Now I am waiting for USB OTG cable, I will write about my first tests in 4 or 5 days.

Thanks for any help.

Best,

Marek.

1 Solution
Carlos_M_Intel
Employee
325 Views

Hi haxor

I've never tried something like this but I think you can use https://wiki.archlinux.org/index.php/Software_access_point hostapd for this. In order to install this take a look at the http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html AlexT repositories.

You can get the packages that you need with:

root@edison:~# opkg install http://repo.opkg.net/edison/repo/core2-32/hostapd-daemon-dbg_2.1-r0_core2-32.ipk http://repo.opkg.net/edison/repo/core2-32/hostapd-daemon-dbg_2.1-r0_core2-32.ipk

You can usethat with the specific packages that you need and avoid getting all the packages in the repository.

Regards;

CMata

View solution in original post

9 Replies
Carlos_M_Intel
Employee
326 Views

Hi haxor

I've never tried something like this but I think you can use https://wiki.archlinux.org/index.php/Software_access_point hostapd for this. In order to install this take a look at the http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html AlexT repositories.

You can get the packages that you need with:

root@edison:~# opkg install http://repo.opkg.net/edison/repo/core2-32/hostapd-daemon-dbg_2.1-r0_core2-32.ipk http://repo.opkg.net/edison/repo/core2-32/hostapd-daemon-dbg_2.1-r0_core2-32.ipk

You can usethat with the specific packages that you need and avoid getting all the packages in the repository.

Regards;

CMata

MNova2
Novice
325 Views

Thanks CMata, looks good, I got the hostapd working well. As soon I will get the USB OTG cable, I will test it with a commercial USB - Ethernet adapter. If I will get it working, I will design my own PCB with AX88772B and post the schematics + instructions here for the others (this will take about a month and half from today I think).

By the way, is there any limit of devices which can connect to the same Edison in access mode? I have tested five devices so far (all Wi-Fi enabled devices I had available at the moment) without a problem. For our application, we have the requirements for Edison to cope with a peak of 20 devices downloading simple text-based information from Edison, about 5kB per second, so the bandwidth shouldn't be a problem.

idata
Community Manager
325 Views

Hi everyone,

well his is an old post, but can anyone guide me what steps should I perform in order to make intel edison hotspot ?

I've installed hostapd as CMata_Intel suggested. and I studied some methods on internet how to use hostapd, but I couldn't find /etc/network/interfaces file as guided inhttps://seravo.fi/2014/create-wireless-access-point-hostapd this link.

So please help me solve this problem..

thank you.

Carlos_M_Intel
Employee
325 Views

Hi Falak,

These are some links that may help you with this:

http://trac.gateworks.com/wiki/Yocto/Wireless Yocto/Wireless – Gateworks

https://software.intel.com/en-us/getting-started-with-ap-mode-for-intel-edison-board IoT - Getting started with Access Point (AP) Mode for the Intel® Edison board | Intel® Developer Zone

Try also with the /etc/wpa_supplicant/wpa_supplicant.conf file

Regards,

Charlie

Carlos_M_Intel
Employee
325 Views

Hi haxor

I'm glad that you have your project working. About your last questions, you shouldn't have problems with 20 devices, the limit is restricted by hostapd take a look at the configuration file of it I think it will answer your question.

Regards;

CMata

MNova2
Novice
325 Views

Yesterday I have succesfully got it working with AX88772B. I played Youtube HD videos on two laptops connected to Internet via Edison's AP at the same time without any problem. The first tests done with speedtest.net show that the throughput of Edison is 11Mbit download and 12Mbit upload. Very nice, I expected slower speed. My internet connection speed was around 16Mbit/16Mbit.

The last problem is with the DHCP. I do not know how to configure it to provide network mask and default gateway to the clients. Now it provides just the IP, mask 255.0.0.0 and no gateway. so I have to fill these manually in the laptops. I tried to add some lines in udhcpd config file but it always ended up with not working hostapd at all. Does anybody know?

BBove
Novice
325 Views

Haxor,

How were you able to link the two interfaces together, i have a similar setup but am not able to forward traffic over the Edison. With other platforms, I was able to use iptables and Masquerade the traffic?

Carlos_M_Intel
Employee
325 Views

Hi Bsquared73

Are you trying to do a hotspot like haxor?

What kind of problems are you having with iptables?

Which image version are you using?

Have you tried to use hostapd?

Regards;

CMata

Carlos_M_Intel
Employee
325 Views

Hi haxor

I'm glad that you are having good results in your project! Have you had improvements in this? Take a look athttp://packages.yoctoproject.org/detail?pkgname=dhcp this package and let me know if it's useful for you. I'm not sure if will let you assign the gateways but check it and let me know if works.

Regards;

Cmata

Reply