Ad hoc network or access point colibri vf61

Hello,

I´m trying to make a colibri VF61 accessible via wifi. I think there are two options:

  1. Creating an access Point
  2. Creating an ad hoc network

Both options are good for me.

Option 1

So far I tried to configure an access point with hostapd. The problem seems to be the RTL8188EUS driver (I´ve tried a TP-LINK TL-WN725N v2, LogoLink WL0084E and EDIMAX EW-7811Un). Do you know a solution?

This is the output of “hostapd /etc/hostapd.conf”

[ 1073.866399] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started

Option 2

I tried iwconfig.

root@colibri-vf:~# iwconfig wlan0 mode ad-hoc channel 11 essid "colibriVF"
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.

But it ended in an error.

I think another way is to modify the /etc/network/interfaces file (this would be the way with a raspberry pi). But my Colibri-VF-Image doesn´t have this file.

Here you´ll find the output of “dmesg | grep” usb and “lsusb”.
link text

Do you have any Ideas? Thank you for your help!

Johanens Wiebe

Hi @Jo91

Unfortunately these low-cost Wifi Dongles using RTL8188xx chipset are not working for Ad-Hoc and Access Point Mode. You should get a Wifi Dongle which has driver support for Ad-Hoc and Access Point. With the Colibri iMX6ULL, you can get these two modes out of box.

Best regards, Jaski

Hi @Jo91

Unfortunately the driver for Linux for LM816 does not provide Ad-Hoc or Access Point Mode. We will update the Documentation.

Best regards, Jaski

So the problem is the RTL8188xx driver? There is no solution for it? I think for the raspberry pi there is a way to change hostapd so it works with this driver. Do you have any experience with it?

Best regards, Johannes

Hi @jaski.tx

what is about LM816. It says, it is compatible with Colibri modules and it can be setup as an ad-hoc network. What chipset does it use? In datasheet it just says “Realtek”.

regards, Johannes

Hi,
we are not providing ad-hoc support out of box for LM816.

I think for the raspberry pi there is a way to change hostapd so it works with this driver. Do you have any experience with it?

No, we don’t have experience with this solution.

Best regards, Jaski

Hi @jaski.tx

after a long time I have to ask one more question.

You said that “Unfortunately these low-cost Wifi Dongles using RTL8188xx chipset are not working for Ad-Hoc and Access Point Mode. You should get a Wifi Dongle which has driver support for Ad-Hoc and Access Point.”

My question is now: Is there a Wifi Dongle that supports Ad-Hoc or Access Point Mode for the Colibri VF61 board? Maybe You can suggest one?

Best regards, Johannes

Hi @Jo91

As I already stated before, I would recommend you to Colibri iMX6ULL. Alternatively you can should any Intel or Marvel based Wifi Dongle which has a good Linux Support.

Best regards,
Jaski

Hi @jaski.tx

Thank you for your answer. You said “Alternatively you can should any Intel or Marvel based Wifi Dongle which has a good Linux Support”. Have you tested a specific Wifi Dongle which supports Access Point mode out of the Box for the Colibri VF61 in the past?

Best regards, Johannes

Hi @Jo91

No, we have not tested any Wifi Dongle with support of Access Point mode.

Best regards,
Jaski